Kernel Time and DST
From: Christos Dimitrakakis (olethrosdc_at_oohay.com)
Date: 12/15/03
- Next message: T Shilo: "Re: Linux needs to be taught how to count..."
- Previous message: Schwa Alien: "Re: Linux on Router to replace win98"
- Next in thread: P Gentry: "Re: Kernel Time and DST"
- Reply: P Gentry: "Re: Kernel Time and DST"
- Reply: Bill Davidsen: "Re: Kernel Time and DST"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 15 Dec 2003 14:34:14 +0100
I had RH9 installed this summer on my system. Ever since the change from
DST to normal time there had been a problem with the kernel time. This is
what happens.
I boot up the system. Checking the BIOS settings, the hw clock says the
correct time, say 10:00. I am on CET, which is UCT+1.
When the kernel boots up it says:
Setting clock (localtime) : 10:00 UCT
After boot has finished, date says: 11:00 CET, which is wrong.
I tried setting TZ=Europe/Zurich in rc.sysinit, just before the hwclock
call. Looking at the hwclock arguments, they are: --localtime --hctosys.
Debug output from hwclock says that minadjust is -60min, which is
correct.
Furthermore, after booting has finished, calling hwclock with the same
arguments gives me the correct time. I have no idea why the time is
incorrect when the kernel boots up and yet it is correct afterwards. Can
someone help?
Cheers, Christos
-- Christos Dimitrakakis IDIAP (http://www.idiap.ch/~dimitrak/main.html)
- Next message: T Shilo: "Re: Linux needs to be taught how to count..."
- Previous message: Schwa Alien: "Re: Linux on Router to replace win98"
- Next in thread: P Gentry: "Re: Kernel Time and DST"
- Reply: P Gentry: "Re: Kernel Time and DST"
- Reply: Bill Davidsen: "Re: Kernel Time and DST"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|