Red Hat Bugzilla – Bug 182598
ia64: /dev/efirtc accessed before udev runs
Last modified: 2007-11-30 17:11:24 EST
Description of problem:
On ia64 platforms, hwclock is accessed via /dev/efirtc. This file is
'created' by udev which runs AFTER the hwclock sync is performed.
Version-Release number of selected component (if applicable): latest rawhide
pull (fedora-devel branch)
How reproducible: 100%
Steps to Reproduce:
1. Install Fedora ia64
Following error is seen on the console:
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Setting clock (localtime): Tue Feb 21 20:00:15 EST 2006 [ OK ]
No errors should be seen.
The bug is that /dev/efirtc does not exist.
This differs from RHEL -- in that case the clock starts AFTER udev has run and
the modules have loaded:
Press 'I' to enter interactive startup.
Starting udev: [ OK ]
Initializing hardware... storage network audio done[ OK ]
Configuring kernel parameters: [ OK ]
Setting clock (localtime): Tue Feb 21 11:07:55 EST 2006 [ OK ]
Is there a reason that the rc.sysinit has been modified to startup the clock
before udev and module loading?
/dev/rtc is handled in mkinitrd. /dev/efirtc probably should be as well.
So what's the correct major/minor for the device?
[root@altix3 ~]# ls -l /dev/efirtc
crw------- 1 root root 10, 136 Feb 22 08:31 /dev/efirtc
Ok, I've committed it to cvs head. Next build will have it.
Created attachment 129358 [details]
Additional patch for mkinitrd to correctly initialize /dev/efirtc
This patch is needed to fix the problem ...
Hmmm ... the patch above seems to have a bug in it :(
Fujitsu has opened an IT related to this problem (IT100192) and
Mori-san gave us a pointer to this bug.
I tested the patch above on my box (PRIMEQUEST) and it seems that
it fixed the problem. According to your last comments, there may
still be a bug in the patch. Could you tell me what kind of bug
do you think there is in the patch? I'd like to share that information
with Fujitsu engineers if appropriate.
This BZ is closed, however, please see
OK. I understand the situation.