2.6.15-rc4 RTC problems

From: Badari Pulavarty
Date: Thu Dec 01 2005 - 18:56:07 EST


Hi,

I am having troubles booting my 8-way P-III machine.
On boot it hangs in init script boot.clock.
It prints,

"Setting up the CMOS clock"

and hangs. So I disabled that script and brought up
the machine and ran command manually. It looks like
it waits forever to read from /dev/rtc.

Is this a known issue ? How do I fix the problem ?

Thanks,
Badari

# strace /sbin/hwclock --adjust -u
....
....
open("/dev/rtc", O_RDONLY|O_LARGEFILE) = 3
close(3) = 0
stat64("/etc/adjtime", {st_mode=S_IFREG|0644, st_size=44, ...}) = 0
open("/etc/adjtime", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=44, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40186000
read(3, "0.288490 1133479037 0.000000\n113"..., 131072) = 44
close(3) = 0
munmap(0x40186000, 131072) = 0
open("/dev/rtc", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, RTC_UIE_ON, 0) = 0
read(3, <unfinished ...>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/