Lenny -> "unable to set system clock" beim booten beheben

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
joeb72
Beiträge: 348
Registriert: 29.10.2006 19:06:49

Lenny -> "unable to set system clock" beim booten beheben

Beitrag von joeb72 » 24.05.2008 10:34:39

Bei vielen kann Lenny wohl die Uhrzeit beim booten nicht einstellen, was wiederum zu kurzen hängern beim booten sowie zu der Fehlermeldung "unable to set system clock" führt...
Das hier schafft Abhilfe:

In den Dateien

/etc/init.d/hwclock.sh
und
/etc/init.d/hwclockfirst.sh

den Eintrag HWCLOCKPARS suchen und dahinter "--directisa" schreiben.
Dann sieht das ganze also so aus:
HWCLOCKPARS="--directisa"

Neu booten und es geht!

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: Lenny -> "unable to set system clock" beim booten beheben

Beitrag von rendegast » 24.05.2008 14:05:06

Könntest Du auch in /etc/default/rcS zufügen.
Dann bleiben die Skripte unangetastet, bzgl späterer Upgrades.
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

adaimantos
Beiträge: 11
Registriert: 29.08.2007 08:17:11

Re: Lenny -> "unable to set system clock" beim booten beheben

Beitrag von adaimantos » 24.05.2008 17:28:35

Einwandfrei, und das beste ist die Uhrzeit stimmt wieder! :)

Was hat denn den Fehler verursacht und wie funktioniert dieses HWCLOCKPARS="--directisa"?

Danielx
Beiträge: 6419
Registriert: 14.08.2003 17:52:23

Re: Lenny -> "unable to set system clock" beim booten beheben

Beitrag von Danielx » 24.05.2008 20:23:19

adaimantos hat geschrieben:wie funktioniert dieses HWCLOCKPARS="--directisa"?
man hwclock:

Code: Alles auswählen

--directisa
              is  meaningful  only on an ISA machine or an Alpha (which imple‐
              ments enough of ISA to be, roughly speaking, an ISA machine  for
              hwclock’s  purposes).   For  other  machines,  it has no effect.
              This option tells hwclock to use explicit  I/O  instructions  to
              access  the  Hardware  Clock.  Without this option, hwclock will
              try to use the /dev/rtc device (which it assumes to be driven by
              the rtc device driver).  If it is unable to open the device (for
              read), it will use the explicit I/O instructions anyway.

Antworten