[Techtalk] hwclock problems

mhf at berlios.de mhf at berlios.de
Mon Mar 7 08:35:33 EST 2005


On Friday 04 March 2005 12:01, Dan wrote:
> >>I'm running Debian (Sarge). When I run the hwclock.sh
> >> startup script, it just hangs: /sbin/hwclock never
> >> terminates.
> >
> > What happens if you run
> > the hwclock command (extracted from the script) after
> > you're booted?
>
> It's /sbin/hwclock that hangs; the script hangs only
> because the command hangs. If I run the command outside
> the script it still hangs:
>
> dan at localhost:~$ ps -efl --headers | grep hwclock
> 4 S root      8412  8411  0  76   0 -   447 rtc_re 10:50
> pts/2 00:00:00 hwclock --hctosys --utc
> 0 R dan       8414  5609  0  78   0 -   458 -      10:50
> pts/3 00:00:00 grep hwclock
>
> But the command must succeed before hanging, because the
> Linux clock is set correctly at startup, right?
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://linuxchix.org/cgi-bin/mailman/listinfo/techtalk

If your kernel is older, you could try hwclock --directisa 
(see man page), i used it some time ago with broken 
in-kernel ACPI. 

	Regards
	Michael


More information about the Techtalk mailing list