* Re: gmt option in kernel
gmt option in kernel Gregory Nowak
@ ` Kenny Hitt
` Gregory Nowak
` Aaron Howell
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Kenny Hitt @ UTC (permalink / raw)
To: speakup
Hi. It's in the power management section.
Kenny
On Sun, Aug 25, 2002 at 07:52:01AM -0500, Gregory Nowak wrote:
> Hi all.
>
> I was pretty sure that there was a config option when doing make config where you had to answer "y" to something about the hardware clock being set to gmt. However, I've gone through the config twice, and can't find it. My kernel is 2.4.19.
>
> Was this perhaps in the 2.2.x kernels, or am I simply imagining things?
> Thanks to Adam for the info about timeconfig.
> Greg
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: gmt option in kernel
gmt option in kernel Gregory Nowak
` Kenny Hitt
@ ` Aaron Howell
` Toby Fisher
` Kerry Hoath
3 siblings, 0 replies; 6+ messages in thread
From: Aaron Howell @ UTC (permalink / raw)
To: speakup
Greg,
That's an install time option, its not a kernel configuration.
You'll probably find you have a tzconfig utility for setting up your timezone information.
Regards
Aaron
On Sun, Aug 25, 2002 at 07:52:01AM -0500, Gregory Nowak wrote:
> Hi all.
>
> I was pretty sure that there was a config option when doing make config where you had to answer "y" to something about the hardware clock being set to gmt. However, I've gone through the config twice, and can't find it. My kernel is 2.4.19.
>
> Was this perhaps in the 2.2.x kernels, or am I simply imagining things?
> Thanks to Adam for the info about timeconfig.
> Greg
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
+----------------------------------------------------------+
/ |\ _,,,---,,_ /|
/ /,`.-'`' -. ;-;;,_ / |
/ |,4- ) )-,_. ,\ ( `'-' / |
/ '---''(_/--' `-'\_) / |
+----------------------------------------------------------+ |
| Aaron Howell Kitten Internet | |
| aaron@kitten.net.au Internet consultancy, | |
| Phone: +61-417-625550 System administration, | |
| fax: +61-7-36010099 system design/integration. | |
| icq: 6715521 http://www.kitten.net.au | |
| | |
| | +
| | /
| | /
| | /
| |/
+----------------------------------------------------------+
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: gmt option in kernel
gmt option in kernel Gregory Nowak
` Kenny Hitt
` Aaron Howell
@ ` Toby Fisher
` Kerry Hoath
3 siblings, 0 replies; 6+ messages in thread
From: Toby Fisher @ UTC (permalink / raw)
To: speakup
On Sun, 25 Aug 2002, Gregory Nowak wrote:
> Hi all.
>
> I was pretty sure that there was a config option when doing make
> config where you had to answer "y" to something about the hardware
> clock being set to gmt. However, I've gone through the config twice,
> and can't find it. My kernel is 2.4.19.
Hmmm, no, that option's in the Slackware set up, if you go into the set up
utility and go down to the configure your system option, it's in there.
HTH
--
Toby Fisher Email: toby@g0ucu.freeserve.co.uk
Tel.: +44(0)1480 417272 Mobile: +44(0)7974 363239
ICQ: #61744808
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gmt option in kernel
gmt option in kernel Gregory Nowak
` (2 preceding siblings ...)
` Toby Fisher
@ ` Kerry Hoath
3 siblings, 0 replies; 6+ messages in thread
From: Kerry Hoath @ UTC (permalink / raw)
To: speakup
No it is the hwclock program that is called from your rc
scripts that sets the system clock; here is how it works:
When you boot the system; the kernel clock is unset. You run
hwclock
or hwclock -u
if your hardware clock keeps gmt. this sets the kernel's clock to the
cmos clock.
After this point; typing date will yield the right date.
gettimeofday and other clock functions should return correct local time.
As the machine shuts down; an rc.. script
runs hwclock -u -w
or hwclock -w if the time is localtime in the hardware clock.
If the kernel is told that the time source is synchronized by ntpd
or similar; it will write the time value back to the cmos clock every 11 minutes
which is optimal for a room temperature quartz oscillator or so they tell me.
You can tinker with this using adjtimex and friends.
Regards, Kerry.
On Sun, Aug 25, 2002 at 07:52:01AM -0500, Gregory Nowak wrote:
> Hi all.
>
> I was pretty sure that there was a config option when doing make config where you had to answer "y" to something about the hardware clock being set to gmt. However, I've gone through the config twice, and can't find it. My kernel is 2.4.19.
>
> Was this perhaps in the 2.2.x kernels, or am I simply imagining things?
> Thanks to Adam for the info about timeconfig.
> Greg
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
Kerry Hoath: kerry@gotss.net kerry@gotss.eu.org or kerry@gotss.spice.net.au
ICQ: 8226547 msn: kerry@gotss.net Yahoo: kerryhoath@yahoo.com.au
^ permalink raw reply [flat|nested] 6+ messages in thread