Frederik Schueler wrote:
Hello,

On Thu, Jun 30, 2005 at 03:50:54PM +0200, Håkan Stefansson wrote:

The problem is that the system time was not correctly set up at boot and there is no /dev/rtc device file. hwclock --hctosys complains about that and refuses to set the system clock.

you presumably need to add genrtc (or rtc, if your booard supports it) to /etc/modules.


If I manually create the device file (mknod rtc c 10 135), then hwclock --hctosys works and sets the time correctly. Now, if I reboot the system, the problem is back and the /dev/rtc I created has disappeared!


sounds like you have udev installed :-) loading the module creates the
device.

I added rtc to /etc/modules and rebooted. That solved the problem.
Thanks!

Håkan Stedfansson


HTH
Frederik Schueler



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to