Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Time Wrong [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
bobpaul
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2005
Posts: 148

PostPosted: Fri Sep 02, 2005 1:35 pm    Post subject: Time Wrong [Solved] Reply with quote

Everyday I have to adjust the clock because it's around as much as 6 hours ahead.

I leave my computer on 24/7 so it's not the clock battery on my mobo. I tried emerging ntp and telling gnome to syncronise with internet time servers (I selected 2 or 3 server to have it panel clock prefs gui)

What could be causing this?


Last edited by bobpaul on Wed Sep 07, 2005 5:04 am; edited 1 time in total
Back to top
View user's profile Send private message
StarDragon
Guru
Guru


Joined: 19 Jun 2005
Posts: 390
Location: tEXas

PostPosted: Fri Sep 02, 2005 1:37 pm    Post subject: Reply with quote

Make sure you are using the correct chipset drivers for your mother board, I know if you don't set that up correctly the clock will go crazy.
_________________
"After all, a person's a person, no matter how small."--Horton Hears A Who!
Back to top
View user's profile Send private message
bobpaul
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2005
Posts: 148

PostPosted: Fri Sep 02, 2005 1:43 pm    Post subject: Reply with quote

You mean the kernel northbridge module?

[Edit]I already have nForce/nForce2 enabled under "/dev/agpgart (AGP Support)" and "AMD and nVidia IDE support" enabled under "Generic Busmaster PCI DMA Support"

I don't see anything else about nVidia or nForce in my kernel config... Am I still leaving something out?

I'm using an Epox 8RDA+ motherboard with the nVidia nForce2 chipset.
[/Edit]


Last edited by bobpaul on Fri Sep 02, 2005 6:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Prlwytzkofsky
n00b
n00b


Joined: 18 Oct 2004
Posts: 21
Location: The Netherlands

PostPosted: Fri Sep 02, 2005 3:48 pm    Post subject: Reply with quote

Have you set the correct timezone on your system? I apologize if this seems extremely obvious.
And another thing: you have emerged ntp, but have you also followed the HOWTO NTP?
Just a thought.
Back to top
View user's profile Send private message
bobpaul
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2005
Posts: 148

PostPosted: Fri Sep 02, 2005 6:51 pm    Post subject: Reply with quote

Prlwytzkofsky wrote:
Have you set the correct timezone on your system? I apologize if this seems extremely obvious.
And another thing: you have emerged ntp, but have you also followed the HOWTO NTP?
Just a thought.


I emerged ntp cause the gnome panel applet told me it couldn't update time form the interweb without ntp installed... I Guess I assumed the gnome panel applet would take care of the config, but I'll check out the howto. Note that it was a problem before I emerged ntp, and that was just something I was trying to help keep it in line.

I think my timezone is set correctly. That's just set by making a symbolic link to your timezone file, right? Cause I've done that from the Gentoo Documentation a couple of times to no avail. If there's something other than just a symbolic link, I'm doing it wrong.

Don't worry about insulting my intelligence. I'm a smart guy, but there's a reason it says n00b below my name over there ;)
Back to top
View user's profile Send private message
a13x
Apprentice
Apprentice


Joined: 05 Jan 2005
Posts: 215

PostPosted: Fri Sep 02, 2005 10:01 pm    Post subject: Reply with quote

Don't worry, you are not alone. My clock is always 3 hours ahead. I made some investigations about this. My Gentoo install is fairly new, about a week old. When I set the date and checked it, everything was alright. After I linked the timezone info to /etc/localtime things got screwed. After every reboot my time is always 3 hours ahead. I haven't managed to fix this yet because I have other problems.

edit;

Ok I found a temporary solution. Relink another zoneinfo to /etc/localtime. For example I linked my localtime to the Azores time although I'm in Central Europe. My time is displayed correctly now.

P.S.: I think this whole zone info thingy is really FUBAR.
Back to top
View user's profile Send private message
aceFruchtsaft
Guru
Guru


Joined: 16 May 2004
Posts: 438
Location: Vienna, Austria

PostPosted: Fri Sep 02, 2005 10:36 pm    Post subject: Reply with quote

Maybe your CMOS clock is set to UTC, but the OS thinks it's local time (or the other way round...).
Check your settings in /etc/conf.d/clock.
Back to top
View user's profile Send private message
atrus123
Guru
Guru


Joined: 06 Jul 2005
Posts: 339
Location: Annapolis, MD

PostPosted: Fri Sep 02, 2005 10:49 pm    Post subject: Reply with quote

Are you using the AMD64 arch on a Turion by any chance? If so, I just ran into this same problem. I could just watch my clock move twice or more as fast as it was supposed to. I had everything correct, and it would still do it.

I never actually resolved the situation even though I spent a good long while working on it.

But because I needed my wireless working correctly (bloody Broadcom), I finally defaulted back to x86. The clock issue ceased. It now works as it is supposed to.

But I miss the AMD64 version. It was a good 5% faster.

J.
Back to top
View user's profile Send private message
StarDragon
Guru
Guru


Joined: 19 Jun 2005
Posts: 390
Location: tEXas

PostPosted: Tue Sep 06, 2005 1:37 pm    Post subject: Reply with quote

bobpaul wrote:
You mean the kernel northbridge module?

[Edit]I already have nForce/nForce2 enabled under "/dev/agpgart (AGP Support)" and "AMD and nVidia IDE support" enabled under "Generic Busmaster PCI DMA Support"

I don't see anything else about nVidia or nForce in my kernel config... Am I still leaving something out?

I'm using an Epox 8RDA+ motherboard with the nVidia nForce2 chipset.
[/Edit]


Check your lspci mine looks like this:
Code:

0000:00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] System Controller (rev 13)
0000:00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] AGP Bridge
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
0000:00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
0000:00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
0000:00:0c.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
0000:00:0e.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 03)
0000:00:0f.0 Multimedia audio controller: Creative Labs [SB Live! Value] EMU10k1X
0000:00:0f.1 Input device controller: Creative Labs [SB Live! Value] Input device controller
0000:01:05.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3] (rev a3)


Notice how mine has the VIA Techonologies chipset, that needs to be enabled in your device drivers under your kernel.

It's under Device Drivers --> ATA/ATAPI Support
_________________
"After all, a person's a person, no matter how small."--Horton Hears A Who!
Back to top
View user's profile Send private message
laurentgedm
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 164
Location: Brussels

PostPosted: Tue Sep 06, 2005 4:14 pm    Post subject: Reply with quote

For the clock problem on a turion 64, i just had to add a parameter to the kernel line in my grub.conf: no_timer_check.

Code:

title Gentoo 2.6.12
root (hd0,5)
kernel /kernel-2.6.12-r9-27-08-2005 root=/dev/hda7 no_timer_check
Back to top
View user's profile Send private message
bobpaul
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2005
Posts: 148

PostPosted: Wed Sep 07, 2005 5:03 am    Post subject: Reply with quote

aceFruchtsaft wrote:
Maybe your CMOS clock is set to UTC, but the OS thinks it's local time (or the other way round...).
Check your settings in /etc/conf.d/clock.


That was it! Thanks much!
Back to top
View user's profile Send private message
Bodger
n00b
n00b


Joined: 18 Nov 2004
Posts: 47

PostPosted: Thu Sep 08, 2005 7:32 pm    Post subject: Reply with quote

I am facing this problem right now and am totally bumfuzzled on it.

- I have gone back and forth on whether the clock is set to local or UTC
- I am in Central Time in the USA (Chicago/Houston time). My localtime is soft linked to CST6CDT.
- My MOBO clock is correct, I did the following tests.
1) Booted to BIOS, set the clock (it was screwed up from the latest NTPd)
2) Left it in BIOS mode for a few hours, clock was fine the entire time.
3) After booting into Gentoo and waiting for my clock to start a drastic drift, I would call hwclock which tells the time of the mobo clock and it is correct.
- I have had all permutations of the NTP/NTPClient running via rc-update and init.d

My MOBO is an ASUS with an Nvidia North bridge here is my lspci.

Quote:

0000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev a2)
0000:00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev a2)
0000:00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev a2)
0000:00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev a2)
0000:00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev a2)
0000:00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev a2)
0000:00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
0000:00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
0000:00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev a2)
0000:01:07.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
0000:01:08.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
0000:02:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)


Not sure if it is relevant but these are the modules loaded from /sys/module/

Quote:

8250 ipt_ULOG scsi_mod snd_pcm_oss tveeprom
drm ipt_recent sg snd_rawmidi uhci_hcd
ehci_hcd ivtv snd snd_seq usb_storage
i2c_algo_bit lockd snd_cmipci snd_seq_device usbcore
i2c_core msp3400 snd_hwdep snd_seq_dummy usbhid
i8042 ohci1394 snd_mixer_oss snd_seq_midi_event usblp
ide_cd oprofile snd_mpu401_uart snd_seq_oss videodev
ieee1394 processor snd_opl3_lib snd_timer
ip_conntrack psmouse snd_page_alloc soundcore
ipt_LOG saa7115 snd_pcm tuner


This is a relative new load (3/4 months) and it may have had this clock drift before and I did not notice it or a recent emerge --update world caused it.

Any ideas?

Julian
Back to top
View user's profile Send private message
cyberdork33
n00b
n00b


Joined: 26 Jan 2005
Posts: 71
Location: Huntsville, AL

PostPosted: Tue Sep 20, 2005 7:26 pm    Post subject: Reply with quote

atrus123 wrote:
Are you using the AMD64 arch on a Turion by any chance? If so, I just ran into this same problem. I could just watch my clock move twice or more as fast as it was supposed to. I had everything correct, and it would still do it.

I never actually resolved the situation even though I spent a good long while working on it.

But because I needed my wireless working correctly (bloody Broadcom), I finally defaulted back to x86. The clock issue ceased. It now works as it is supposed to.

But I miss the AMD64 version. It was a good 5% faster.

J.


I got ndiswrapper working on mine with some 64-bit drivers from Acer. I believe they are attached to a message in the ubuntu forums...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
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