2.4.0-test1-ac15, 2.2.14: hwclock hangs on /dev/rtc

From: Frank van Maarseveen (F.vanMaarseveen@inter.NL.net)
Date: Sun Jun 18 2000 - 08:45:33 EST


I didn't bother to report it earlier but when issuing the hwclock command
it always hangs trying to read from /dev/rtc. Excerpt from strace output:

gettimeofday({961335142, 924275}, NULL) = 0
getuid() = 0
open("/dev/rtc", O_RDONLY) = 3
close(3) = 0
open("/dev/rtc", O_RDONLY) = 3
ioctl(3, 0x7003, 0) = 0
read(3, <unfinished ...>
[have to ^C]

I have a IWILL DBL100 mobo + 2xPIII 450 MHz.

Simply removing /dev/rtc is a workaround: hwclock will go directly to the
hardware. However, manipulating the hardware clock that way is unclean
for SMP.

-- 
Frank

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



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:15 EST