knoppmyth.net Forum Index knoppmyth.net
The home of KnoppMyth.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Howto: fix daylight savings time in pre-R5E50 systems
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    knoppmyth.net Forum Index -> Usage/HowTo
View previous topic :: View next topic  
Author Message
graysky



Joined: 10 Dec 2003
Posts: 1754
Location: /dev/null

PostPosted: Thu Feb 08, 2007 1:20 pm    Post subject: Howto: fix daylight savings time in pre-R5E50 systems Reply with quote

As the topic suggests, you only need to do this if your system is pre-R5E50 (I have an R5D1 system that needed the fix). It's all due to Congress changing the start and end times for daylight savings time (DST) as part of some energy conservation bill which is effective this year. If you're running a release of KM that older than (I think) R5E50, you might be at risk of having messed up start/stop times.

Credit for this goes to George; I'm just posting it in this section. Here is the original thread.

Test Your System
Issue this command to see when your DST will start and stop:
Code:
$ zdump -v /etc/localtime | grep 2007


Before updating my box
Code:
$ zdump -v /etc/localtime | grep 2007
/etc/localtime  Sun Apr  1 06:59:59 2007 UTC = Sun Apr  1 01:59:59 2007 EST isdst=0 gmtoff=-18000
/etc/localtime  Sun Apr  1 07:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Oct 28 05:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Oct 28 06:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 EST isdst=0 gmtoff=-18000


If your system displays dates that aren't March 11 for the start and Nov 4 for the end, you're out of date.

Update Your Timezone Data
You can update by doing this:
Code:
$ wget http://debian.oregonstate.edu/debian/pool/main/t/tzdata/tzdata_2007b-1_all.deb
# dpkg --install tzdata_2007b-1_all.deb

Which should return something similar to this:
Code:
Selecting previously deselected package tzdata.
(Reading database ... 61550 files and directories currently installed.)
Unpacking tzdata (from tzdata_2007b-1_all.deb) ...
Replacing files in old package libc6 ...
Setting up tzdata (2007b-1) ...
Current default timezone: 'US/Eastern'.
Local time is now:      Thu Feb  8 16:13:09 EST 2007.
Universal Time is now:  Thu Feb  8 21:13:09 UTC 2007.
Run 'tzconfig' if you wish to change it.


Test Your System Again
After the update, issue the zdump like you did before to see when your DST will start and stop:
Code:
$ zdump -v /etc/localtime | grep 2007
/etc/localtime  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
/etc/localtime  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 EST isdst=0 gmtoff=-18000

_________________
KM user since R4


Last edited by graysky on Wed Feb 21, 2007 2:19 am; edited 2 times in total
Back to top
View user's profile Send private message
galaxiejer



Joined: 16 Aug 2005
Posts: 1

PostPosted: Thu Feb 15, 2007 6:07 pm    Post subject: Reply with quote

Thank you! This saved me hours of both trying to figure out if R5D1 was already up to date as well as how to patch it.

It would be kinda cool if this was a prominent post around here as this likely affects quite a few people.
Back to top
View user's profile Send private message
graysky



Joined: 10 Dec 2003
Posts: 1754
Location: /dev/null

PostPosted: Fri Feb 16, 2007 5:24 pm    Post subject: Reply with quote

Dunno what the breakdown is on users and versions of KM... I suspect most are up-to-date and this issue is non-existent on the current release.
_________________
KM user since R4
Back to top
View user's profile Send private message
Pain



Joined: 19 Mar 2006
Posts: 41

PostPosted: Fri Feb 16, 2007 7:34 pm    Post subject: Reply with quote

This info saved me from wasting a Friday night! Cool
Back to top
View user's profile Send private message
Too Many Secrets



Joined: 20 Oct 2006
Posts: 847
Location: LA, CA

PostPosted: Fri Feb 16, 2007 11:15 pm    Post subject: Reply with quote

Thanks! I'm now updated.
Back to top
View user's profile Send private message Send e-mail
bigbro



Joined: 24 Dec 2005
Posts: 400
Location: Eastern Or, United States

PostPosted: Sat Feb 17, 2007 9:30 am    Post subject: Reply with quote

Thanks for the very straightforward steps.

I had found how to do it, but hadn't taken the time to decipher exactly what I needed.

This worked!

Good Job!
_________________
KnoppMyth R5.5
MBE: AMD64 3400+, K8N Neo4 Plat., 1Gig, Asus Extreme N6200, 320G pata, 2x320Gsata, 750Gsata, PVR-150 Retail w/Blaster
SBE: AMD XP2000, GA 7ZMMH, 1 Gig, XFX 256M 6200, 20 Gig, PVR-150 Retail w/Blaster
SBE: AMD Dur1800, 512M, PVR500
Back to top
View user's profile Send private message Yahoo Messenger
graysky



Joined: 10 Dec 2003
Posts: 1754
Location: /dev/null

PostPosted: Sat Feb 17, 2007 11:41 am    Post subject: Reply with quote

Glad you both found it useful. Credit for this really goes to George. I just wrote it up as a formal howto.
_________________
KM user since R4
Back to top
View user's profile Send private message
khrusher



Joined: 13 Apr 2004
Posts: 889
Location: Groton, MA

PostPosted: Sat Feb 17, 2007 12:19 pm    Post subject: Reply with quote

Thanks, worked perfectly .... R5A16 here
_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
quaffapint



Joined: 06 Jul 2006
Posts: 40

PostPosted: Sat Feb 17, 2007 4:54 pm    Post subject: Reply with quote

It's only appropriate that since 'George' caused the problem, that now 'George' fixes it Wink .

Thanks, graysky, for the nice and simple writeup.
Back to top
View user's profile Send private message
graysky



Joined: 10 Dec 2003
Posts: 1754
Location: /dev/null

PostPosted: Mon Feb 19, 2007 1:14 pm    Post subject: Reply with quote

Glad to contribute as always Smile
_________________
KM user since R4
Back to top
View user's profile Send private message
pyranha



Joined: 11 Jan 2006
Posts: 3
Location: Michigan

PostPosted: Tue Feb 20, 2007 1:16 pm    Post subject: Reply with quote

Thanks for the great instructions but it looks like the tzdata_2007a-3_all.deb file is no longer up on the site. Tried the tzdata_2007b-1_all.deb instead and it seemed to work just fine.
_________________
KnoppMyth R5C7
ASUS P4P800-E Deluxe w/ on board sound
Intel P4 3.0E Prescott 800MHz w/ 1024 Cache
1 GB DDR 400 (PC 3200)
Geforce FX5200 128MB 64-bit DDR AGP
Maxtor 250 GB Hard Drive
DVD/CDRom
pcHDTV? HD-3000
Back to top
View user's profile Send private message
graysky



Joined: 10 Dec 2003
Posts: 1754
Location: /dev/null

PostPosted: Wed Feb 21, 2007 2:20 am    Post subject: Reply with quote

Thanks for the info -- I updated the guide accordingly.
_________________
KM user since R4
Back to top
View user's profile Send private message
aclose



Joined: 23 Mar 2005
Posts: 5
Location: Chicagoland

PostPosted: Sun Mar 04, 2007 10:05 am    Post subject: thank you Reply with quote

nice to know i'm now DST updated a week before it goes into effect. Smile
thanks for the howto.
now i really need to look into upgrading to the latest R5 release...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Khan



Joined: 06 Mar 2005
Posts: 34

PostPosted: Mon Mar 05, 2007 7:09 pm    Post subject: wh00t! Reply with quote

graysky and George,
Thanks a ton for this quick and easy update to the DST mess. I'm just not ready to upgrade to R5E50 yet Razz
Back to top
View user's profile Send private message
graysky



Joined: 10 Dec 2003
Posts: 1754
Location: /dev/null

PostPosted: Tue Mar 06, 2007 10:14 am    Post subject: Reply with quote

Glad it helped you!
_________________
KM user since R4
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    knoppmyth.net Forum Index -> Usage/HowTo All times are GMT - 8 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group