LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-26-2006, 12:16 PM   #1
hungrigerhaifisch
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Rep: Reputation: 15
Unhappy Lost in Time (Debian AMD64)


For some obscure reason, the time setting on my computer is totally muddled up.

As I dual boot with winXP I've set my 'hardware clock' to my local time.
I have configured my timezone correctly, and have also set the 'software clock' to localtime.

Code:
~$ cat /etc/timezone
Europe/Berlin
Code:
~$ nano /etc/default/rcS
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=no
However:

Code:
~$ date
Sun Mar 26 22:04:07 CEST 2006
gives the wrong time, whereas:

Code:
~$ date -u
Sun Mar 26 20:05:15 UTC 2006
gives the right time...

Strangely enough, ntpd does not set my time right, although it starts up at boot time, AND I have configuered its use in GNOME.
If I set the 'software clock' manually using 'date' or by using GNOME, the time setting is lost on reboot. When the system goes down, I get a message:

Quote:
cannot acsess the hardware clock via any known method
There shouldn't be the need to write the 'new time' to the 'harware clock', as this is correct (local time) on every reboot.

I'm running Debian AMD64 unstable.
 
Old 03-26-2006, 01:21 PM   #2
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
Same thing happened to me with Etch for a few weeks several months ago,no matter what I tried. Neither XP,nor Kanotix,nor SW exhibited time problem. After several Etch/Sid upgrades problem went away. Enjoy Debian
 
Old 03-26-2006, 08:53 PM   #3
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Get rid of ntpd unless you have a need to run a ntp server. Install ntpdate if you want your time sync'd with a ntp server. You are probably getting the error because you do not have rtc.ko or genrtc.ko loaded.
 
Old 03-28-2006, 05:00 AM   #4
hungrigerhaifisch
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dracae
Get rid of ntpd unless you have a need to run a ntp server. Install ntpdate if you want your time sync'd with a ntp server. You are probably getting the error because you do not have rtc.ko or genrtc.ko loaded.
Thank You, You were right. I got muddled up with ntpd and ntpdate
I also don't have neither the rtc.ko nor the genrtc.ko module, but do I really need it?

Using ntpdate, the time displays correctly now, however, I still don't understand why it doesn't without ntpdate, as it should. Why is UTC giving me my local time, when my 'local time' gives me, something very different, although my timezone is properly set up?
 
Old 03-28-2006, 09:07 AM   #5
rbochan
Member
 
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
Quote:
Originally Posted by hungrigerhaifisch
...I still don't understand why it doesn't without ntpdate, as it should. Why is UTC giving me my local time, when my 'local time' gives me, something very different, although my timezone is properly set up?

By chance, do you have /usr on its own partition?
If so, clicky clicky...
 
Old 03-28-2006, 09:43 PM   #6
hungrigerhaifisch
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rbochan
By chance, do you have /usr on its own partition?
If so, clicky clicky...
Ok, very interesting, but, no, I don't have /usr on its own partition...sorry there...
I did however recompile my kernel, and now the disturbing error-message during 'shutdown' has been resolved.
I simply added support for the rtc. that was it...ntpdate is also working fine...well at least my clock now works...(DON'T INSTALL/USE AMD64-DEBIAN SID!!!)
 
Old 03-28-2006, 09:48 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Just for the record, I'm using large portions of Sid on both AMD64 & my 32 bit laptop with no problems.
 
Old 03-28-2006, 10:07 PM   #8
hungrigerhaifisch
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Original Poster
Rep: Reputation: 15
Then you can think of yourself as 'very lucky'...just for the record...and by the way, I did not want to start a 'flame-war' just comment on my expirience.
Thanks for not helping though...


For a laugh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
synce on debian amd64 scooper86 Linux - Laptop and Netbook 0 12-24-2005 11:53 AM
Debian on a AMD64 carlosinfl Debian 1 09-03-2005 09:36 PM
debian-installer amd64 andymadigan Debian 1 07-28-2005 01:18 PM
Debian for AMD64 logosys Debian 3 07-18-2005 01:33 PM
amd64 and debian tsitras Debian 10 03-06-2005 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration