Skip to contentSkip to conversation

2.6.15-rc4 RTC problems

DISCUSSION Badari Pulavarty 2 participants 2 messages Dec 1, 2005 – Dec 5, 2005

lore
Share & tools
lore
#0 lore raw

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 ...>
#1 lore raw
Quoted 10 lines · Badari Pulavarty

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.

Quoted 5 lines
# strace /sbin/hwclock --adjust -u
....
open("/dev/rtc", O_RDONLY|O_LARGEFILE)  = 3
ioctl(3, RTC_UIE_ON, 0)                 = 0
read(3, <unfinished ...>

Are you using HPET? (see dmesg)
Do some interrupts arrive? (see /proc/interrupts)

Regards,
Clemens