hwclock stalls at boot on i915/dell optiplex gx280

Bug #8375 reported by Scott Dier
12
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Medium
Ben Collins

Bug Description

For some reason the machine stalls until a ctl-c at boot from hwclock. Setting
this to a higher priority because most of the new dell machines use i915 and
this could make it a bit difficult for people to install on newer hw.

test35:/home/sdier# strace -f -F /etc/init.d/hwclock.sh start
execve("/etc/init.d/hwclock.sh", ["/etc/init.d/hwclock.sh", "start"], [/* 22
vars */]) = 0
uname({sys="Linux", node="test35", ...}) = 0
brk(0) = 0x80e0000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40016000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=35470, ...}) = 0
old_mmap(NULL, 35470, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\342\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=246352, ...}) = 0
old_mmap(NULL, 247692, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40020000
old_mmap(0x40054000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x34000) = 0x40054000
old_mmap(0x4005c000, 1932, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4005c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\323\31"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9180, ...}) = 0
old_mmap(NULL, 12036, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4005d000
old_mmap(0x4005f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x1000) = 0x4005f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0xX\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1246308, ...}) = 0
old_mmap(NULL, 1256620, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40060000
old_mmap(0x40188000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x127000) = 0x40188000
old_mmap(0x40191000, 7340, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40191000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40193000
set_thread_area({entry_number:-1 -> 6, base_addr:0x40193460, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
munmap(0x40017000, 35470) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3) = 0
brk(0) = 0x80e0000
brk(0) = 0x80e0000
brk(0x80e1000) = 0x80e1000
brk(0) = 0x80e1000
brk(0x80e2000) = 0x80e2000
getuid32() = 0
getgid32() = 0
geteuid32() = 0
getegid32() = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
time(NULL) = 1095889297
brk(0) = 0x80e2000
brk(0x80e3000) = 0x80e3000
brk(0) = 0x80e3000
brk(0x80e4000) = 0x80e4000
open("/etc/mtab", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=198, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
read(3, "/dev/sda2 / unknown rw,errors=re"..., 4096) = 198
close(3) = 0
munmap(0x40017000, 4096) = 0
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
read(3, "MemTotal: 906748 kB\nMemFre"..., 1024) = 572
close(3) = 0
munmap(0x40017000, 4096) = 0
brk(0) = 0x80e4000
brk(0x80e5000) = 0x80e5000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="test35", ...}) = 0
stat64("/home/sdier", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getpid() = 5211
getppid() = 5210
getpgrp() = 5210
rt_sigaction(SIGCHLD, {0x8075611, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/etc/init.d/hwclock.sh", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff840) = -1 ENOTTY (Inappropriate
ioctl for device)
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "#!/bin/sh\n# hwclock.sh\tSet and a"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255) = 255
close(3) = 0
fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=3691, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR) = 0
brk(0) = 0x80e5000
brk(0x80e6000) = 0x80e6000
brk(0) = 0x80e6000
brk(0x80e7000) = 0x80e7000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "#!/bin/sh\n# hwclock.sh\tSet and a"..., 3691) = 3691
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/etc/default/rcS", {st_mode=S_IFREG|0644, st_size=642, ...}) = 0
open("/etc/default/rcS", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=642, ...}) = 0
brk(0) = 0x80e7000
brk(0x80e8000) = 0x80e8000
read(3, "#\n#\tDefaults for the boot script"..., 642) = 642
close(3) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/lib/lsb/init-functions", {st_mode=S_IFREG|0644, st_size=5990, ...}) = 0
open("/lib/lsb/init-functions", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=5990, ...}) = 0
brk(0) = 0x80e8000
brk(0x80ea000) = 0x80ea000
read(3, "# /lib/lsb/init-functions for De"..., 5990) = 5990
close(3) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0) = 0x80ea000
brk(0x80eb000) = 0x80eb000
brk(0) = 0x80eb000
brk(0x80ec000) = 0x80ec000
brk(0) = 0x80ec000
brk(0x80ed000) = 0x80ed000
brk(0) = 0x80ed000
brk(0x80ee000) = 0x80ee000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0) = 0x80ee000
brk(0x80ef000) = 0x80ef000
brk(0) = 0x80ef000
brk(0x80f0000) = 0x80f0000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0) = 0x80f0000
brk(0x80f1000) = 0x80f1000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0) = 0x80f1000
brk(0x80f2000) = 0x80f2000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0) = 0x80f2000
brk(0x80f3000) = 0x80f3000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0) = 0x80f3000
brk(0x80f4000) = 0x80f4000
brk(0) = 0x80f4000
brk(0x80f5000) = 0x80f5000
brk(0) = 0x80f5000
brk(0x80f6000) = 0x80f6000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/etc/adjtime", {st_mode=S_IFREG|0644, st_size=45, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
brk(0) = 0x80f6000
brk(0x80f7000) = 0x80f7000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, " * Setting the System Clock usin"..., 69 * Setting the System Clock
using the Hardware Clock as reference...
) = 69
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/sbin/hwclock", {st_mode=S_IFREG|0755, st_size=30336, ...}) = 0
stat64("/sbin/hwclock", {st_mode=S_IFREG|0755, st_size=30336, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -1, [3690], SEEK_CUR) = 0
clone(Process 5212 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x401934a8) = 5212
[pid 5211] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 5211] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[pid 5211] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 5211] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[pid 5211] rt_sigaction(SIGINT, {0x807477c, [], 0}, {SIG_DFL}, 8) = 0
[pid 5211] waitpid(-1, Process 5211 suspended
 <unfinished ...>
[pid 5212] getpid() = 5212
[pid 5212] close(255) = 0
[pid 5212] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 5212] rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 5212] rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 5212] rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 5212] rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 5212] rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
[pid 5212] rt_sigaction(SIGCHLD, {SIG_DFL}, {0x8075611, [], 0}, 8) = 0
[pid 5212] execve("/sbin/hwclock", ["hwclock", "--hctosys", "--utc"], [/* 21
vars */]) = 0
[pid 5212] uname({sys="Linux", node="test35", ...}) = 0
[pid 5212] brk(0) = 0x8051000
[pid 5212] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
[pid 5212] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
[pid 5212] open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
[pid 5212] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 5212] fstat64(3, {st_mode=S_IFREG|0644, st_size=35470, ...}) = 0
[pid 5212] old_mmap(NULL, 35470, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
[pid 5212] close(3) = 0
[pid 5212] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
[pid 5212] open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
[pid 5212] read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0xX\1\000"..., 512) = 512
[pid 5212] fstat64(3, {st_mode=S_IFREG|0644, st_size=1246308, ...}) = 0
[pid 5212] old_mmap(NULL, 1256620, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40020000
[pid 5212] old_mmap(0x40148000, 36864, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x127000) = 0x40148000
[pid 5212] old_mmap(0x40151000, 7340, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40151000
[pid 5212] close(3) = 0
[pid 5212] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40153000
[pid 5212] set_thread_area({entry_number:-1 -> 6, base_addr:0x40153080,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
[pid 5212] munmap(0x40017000, 35470) = 0
[pid 5212] gettimeofday({1095889297, 880804}, NULL) = 0
[pid 5212] brk(0) = 0x8051000
[pid 5212] brk(0x8072000) = 0x8072000
[pid 5212] brk(0) = 0x8072000
[pid 5212] getuid32() = 0
[pid 5212] open("/dev/rtc", O_RDONLY|O_LARGEFILE) = 3
[pid 5212] close(3) = 0
[pid 5212] open("/dev/rtc", O_RDONLY|O_LARGEFILE) = 3
[pid 5212] ioctl(3, RTC_UIE_ON, 0) = 0
[pid 5212] read(3,

Revision history for this message
Matt Zimmerman (mdz) wrote :

Please send dmesg output. Is the rtc module loaded? Does it print any messages?

Revision history for this message
Scott Dier (sdier) wrote :

Created an attachment (id=256)
dmesg

Revision history for this message
Scott Dier (sdier) wrote :

The rtc module is loaded, no messages are shown on the console.

Revision history for this message
Herbert Xu (herbert-gondor) wrote :

Typical IRQ problem. Please try acpi=off, then noapic and both together if it
still doesn't work.

Revision history for this message
Scott Dier (sdier) wrote :

acpi=off worked. I'm using --directisa instead with hwclock because I need acpi
to use HT on these machines. I'm bringing down the severity because this isn't
as enigmatic as it was before -- most likely *another* dell acpi bug. :)

Thanks,

Revision history for this message
Herbert Xu (herbert-gondor) wrote :

Another workaround would be pci=noacpi.

For the purposes of forwarding this upstream, is this a regression? That is, was
there a previous 2.6 kernel that is able to get RTC interrupts with ACPI IRQ
routing enabled?

Revision history for this message
Scott Dier (sdier) wrote :

Unknown, I've not tried previous 2.6 kernels on this machine -- this was a brand
new machine.

Are there other kernels that I could easily try?

Revision history for this message
Herbert Xu (herbert-gondor) wrote :

Can you please try noapic by itself as well? I'd also like to see the contents
of /proc/interrupts with and without pci=noacpi.

Revision history for this message
Scott Dier (sdier) wrote :

It still happens with noapic.

--- normal
           CPU0 CPU1
  0: 86876 0 IO-APIC-edge timer
  7: 2 0 IO-APIC-edge parport0
  8: 0 0 IO-APIC-edge rtc
  9: 0 0 IO-APIC-level acpi
 16: 2989 0 IO-APIC-level eth0
 18: 0 0 IO-APIC-level uhci_hcd
 20: 3714 0 IO-APIC-level libata
 21: 330 0 IO-APIC-level uhci_hcd, ehci_hcd
 22: 0 0 IO-APIC-level uhci_hcd
 23: 3 0 IO-APIC-level uhci_hcd, Intel ICH
NMI: 0 0
LOC: 86754 86807
ERR: 0
MIS: 0

-- with pci=noacpi
           CPU0 CPU1
  0: 79266 0 IO-APIC-edge timer
  2: 0 0 XT-PIC cascade
  7: 2 0 IO-APIC-edge parport0
  8: 0 0 IO-APIC-edge rtc
  9: 0 0 IO-APIC-edge acpi
 16: 2917 0 IO-APIC-level eth0
 18: 0 0 IO-APIC-level uhci_hcd
 20: 3662 0 IO-APIC-level libata
 21: 314 0 IO-APIC-level uhci_hcd, ehci_hcd
 22: 0 0 IO-APIC-level uhci_hcd
 23: 1 0 IO-APIC-level uhci_hcd, Intel ICH
NMI: 0 0
LOC: 79143 79088
ERR: 0
MIS: 0

Revision history for this message
Scott Dier (sdier) wrote :

I also see this on the Dell Dimension 8400, an Intel 925X based system.

Revision history for this message
Herbert Xu (herbert-gondor) wrote :

Thanks. Could I please have the dmesg with pci=noacpi as well?

Revision history for this message
Jesus Cea (jcea) wrote :

Dell 8400 here. Linux stalls both booting (as described in other commands) and
shutting down, while trying to access HwClock.

Revision history for this message
Jesus Cea (jcea) wrote :

"other comments" = "other commands". Sorry

Revision history for this message
dmatrix7 (dmatrix7) wrote :

Same problem here on a brand new Dell PowerEdge SC1420. Hangs at setting the
hardware clock on default Warty kernel and 686-smp kernel.

Revision history for this message
Matt Zimmerman (mdz) wrote :

Does the suggested workaround work for everyone (pci=noacpi)? Could someone
provide dmesg output after booting with pci=noacpi, as requested?

Revision history for this message
dmatrix7 (dmatrix7) wrote :

Created an attachment (id=681)
dmesg output from default kernel

Revision history for this message
dmatrix7 (dmatrix7) wrote :

Created an attachment (id=682)
/proc/interrups on default kernel

Revision history for this message
dmatrix7 (dmatrix7) wrote :

Created an attachment (id=683)
dmesg output from pci=noacpi kernel

Revision history for this message
dmatrix7 (dmatrix7) wrote :

Created an attachment (id=684)
/proc/interrupts on pci=noacpi kernel

Revision history for this message
dmatrix7 (dmatrix7) wrote :

If I can provide anything else please let me know. I have to put this server
into production in the next couple of days. For now the fix for me was to not
apply pci=noacpi and use --directisa in /etc/init.d/hwclock.sh on a 686-smp kernel.

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #20)
> If I can provide anything else please let me know. I have to put this server
> into production in the next couple of days. For now the fix for me was to not
> apply pci=noacpi and use --directisa in /etc/init.d/hwclock.sh on a 686-smp
kernel.

By way of clarification, did pci=noacpi fail to correct the problem for you? Or
did you not test it?

Revision history for this message
dmatrix7 (dmatrix7) wrote :

Sorry for not specifying in my last message. No pci=noacpi does not help on my
system, still hangs on hwclock. I have not tried acpi=off yet or anything else.
Any suggestions what else to try? The only thing that fixed it for me was
putting --directisa into /etc/init.d/hwclock.sh.

Revision history for this message
Matt Zimmerman (mdz) wrote :

If you can, it might help to try "noapic" and "acpi=off" (separately)

Revision history for this message
Bill Sconce (sconce) wrote :

(In reply to comment #23)
> If you can, it might help to try "noapic" and "acpi=off" (separately)

(In reply to comment #5)
> acpi=off worked. I'm using --directisa instead with hwclock because I need acpi
> to use HT on these machines. I'm bringing down the severity because this isn't
> as enigmatic as it was before -- most likely *another* dell acpi bug. :)

Hi -

I'm an instructor at a community college in New Hampshire. For our spring
course I thought to install Ubuntu in our LAMP lab - sixteen new machines,
a good chance to show off truly Free software (as opposed to Fedora, which
we've used previously).

The new machines, unfortunately, are Dell GX280s. I encountered this hang,
and not being a kernel developer but just an instructor, spent quite a
while trying to find out what was wrong. (Since a hang is, from a user's
standpoint, worse than any possible error message, given that there is
no error message.)

I was able to discover from Debian postings about the "acpi=off" workaround,
and I was able to complete the pilot install. (So Ubuntu is still in the
running for our spring classes.)

But allow me to say that the priority should not be lowered, because it IS
enigmatic to people in the field. (Yes, as a former hardware support engineer
I'm aware that it's Dell's bug, not Ubuntu's. That's life in PC-land,
and I'm not trying to be flip or offensive. It's just that ANYONE who's
trying their first Ubuntu install on what looks to a neophyte like the
"latest and greatest" will get burned by the worst of errors, the silent
failure. Neophytes are likely to just walk away, angry and frustrated.)

Bill Sconce
In Spec, Inc.
Lyndeborough, New Hampshire
<email address hidden>

[Forgive me if this isn't the right way to help out using Bugzilla.]

Revision history for this message
Samuel Lidén Borell (samuellb) wrote :

I have the same problem on a Dell Dimension 5000, but if i press Ctrl-C the
installer freezes (but the keyboard still works) later, when pressing enter at
the first dialog box after reboot. If I press ESC instead I get to a menu and
everything except "Configure Timezone" works. I've made a CD-ROM integrity check
and the CD is OK.

Revision history for this message
Matt Zimmerman (mdz) wrote :

Has anyone been able to test whether this problem still exists with the 2.6.10
kernel in Hoary?

Revision history for this message
Ben Collins (ben-collins) wrote :

Closing because of age. Please reopen if the problem still affects Breezy.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.