[Eisfair] Problem mit hwclock nach Update
Marcus Roeckrath
marcus.roeckrath at gmx.de
Mi Dez 16 17:43:56 CET 2015
Halo Uwe,
Uwe Kunze wrote:
> > als adhock Loesung
> >
> > cd /dev
> > rm rtc rtc0
> > mknod rtc0 c 254 0
> > ln -s rtc0 rtc
>
> Jetzt siehts SO aus:
>
> > hwclock from util-linux 2.26.2
> > Using the /dev interface to the clock.
> > Last drift adjustment done at 1450249286 seconds after 1969
> > Last calibration done at 1450249286 seconds after 1969
> > Hardware clock is on UTC time
> > Assuming hardware clock is kept in UTC time.
> > Waiting for clock tick...
> > /dev/rtc does not have interrupt functions. Waiting in loop for time
> from /dev/rtc to change
> > hwclock: ioctl(RTC_RD_TIME) to /dev/rtc to read the time failed:
> Inappropriate ioctl for device
> > ...synchronization failed
>
> Irgendwas klemmt scheinbar immernoch.
> Übrigens geht jetzt die Version aus 2.23.1 auch nicht mehr ...
Hier funktioniert der Workaround klaglos:
eis # cd /dev
eis # ls -la rtc*
lrwxrwxrwx 1 root root 4 Dec 16 17:39 rtc -> rtc0
crw------- 1 root root 254, 0 Dec 16 17:38 rtc0
eis # hwclock --version
hwclock from util-linux 2.26.2
eis # hwclock
Wed Dec 16 17:41:04 2015 .106725 seconds
Habe nur noch chmod 0600 auf rtc0 ausgeführt, da das alte rtc auch 0600
hatte. Legt man den Device-Node mit mknod ohne -m-Option an, hat der 0644,
was aber auch egal ist.
Welchen Kernel hast Du installiert.
--
Gruss Marcus
Mehr Informationen über die Mailingliste Eisfair