Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clock won't keep time
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
mcuddy
n00b
n00b


Joined: 06 Dec 2004
Posts: 71

PostPosted: Sat Mar 12, 2005 6:46 am    Post subject: Clock won't keep time Reply with quote

Every time I log in to Gento, my clock is no longer accurate. When I start kde, I loose more time. Before long, I am off by a whole day. Any Ideas on how to fix this problem?
Back to top
View user's profile Send private message
tukachinchila
Apprentice
Apprentice


Joined: 11 Mar 2005
Posts: 274
Location: Oregon

PostPosted: Sat Mar 12, 2005 7:02 am    Post subject: Reply with quote

Which clock, hwclock or date, or both?
Do you use NTP?
Do you have RTC (real time clock) support enabled in the kernel?
Is your system dual-boot, or multi-boot? If so, what other OSs are installed, and is the clock off there too?
Does the clock in the BIOS change also?
Back to top
View user's profile Send private message
mcuddy
n00b
n00b


Joined: 06 Dec 2004
Posts: 71

PostPosted: Tue Mar 15, 2005 5:09 am    Post subject: Reply with quote

Both Clocks. I have been trying to use NTP, but the servers keep being down (no compatable server found.)
No, I haven't been using RTC to my knowlege. I multi-boot primarily win98 and gentoo with Mandrake for when problems arise. The time change affects all OSs, but only occurs when I boot Gentoo and when I startx in gentoo.

I haven't checked to BIOS clock, but I assume it is affected since the time changes cary over to other OSs.
Back to top
View user's profile Send private message
tukachinchila
Apprentice
Apprentice


Joined: 11 Mar 2005
Posts: 274
Location: Oregon

PostPosted: Tue Mar 15, 2005 5:41 am    Post subject: Reply with quote

Does the time change by the same amount each time you load X, or is always some random skew? Try looking at your logs to see if anything is actually changing the time.
Back to top
View user's profile Send private message
mcuddy
n00b
n00b


Joined: 06 Dec 2004
Posts: 71

PostPosted: Wed Mar 16, 2005 5:02 am    Post subject: Reply with quote

This is where I show how much of a newbie I am... What logs am I looking for? I've never looked at logs before...
Back to top
View user's profile Send private message
tukachinchila
Apprentice
Apprentice


Joined: 11 Mar 2005
Posts: 274
Location: Oregon

PostPosted: Wed Mar 16, 2005 5:41 am    Post subject: Reply with quote

It's going to depend on which system logger you are using, but everything you need will be in the /var/log directory. Try looking in any of these files (you won't have all of them):
    /var/log/messages
    /var/log/everything/current
    /var/log/critical/current
    /var/log/kernel/current

You can also try running this command for some more information:
Code:
/bin/dmesg
Back to top
View user's profile Send private message
gen-next
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2005
Posts: 128
Location: San Diego

PostPosted: Thu Mar 17, 2005 9:54 am    Post subject: Reply with quote

use the date command

Code:
# date ddmmhhhhyyyy


hth
vb
_________________
gen-next says it alll!!.
Back to top
View user's profile Send private message
mcuddy
n00b
n00b


Joined: 06 Dec 2004
Posts: 71

PostPosted: Fri Mar 18, 2005 5:18 am    Post subject: Reply with quote

I didn't find anything suspicious in the logs you mentioned, but found a couple of suspicious lines in dmesg, but it looks clean to me. What do you think? (I marked the lines that looked suspicious with ****stars****)

bash-2.05b# /bin/dmesg
Linux version 2.6.9-gentoo-r9 (root@Knoppix) (gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #1 SMP Sun Dec 5 15:52:26 MST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 61424 pages, LIFO batch:14
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 BIOSTA ) @ 0x000f7b00
ACPI: RSDT (v001 BIOSTA AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3000
ACPI: FADT (v001 BIOSTA AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3040
ACPI: DSDT (v001 VIA694 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
Built 1 zonelists
Kernel command line: BOOT_IMAGE=Gentoo ro root=1603
No local APIC present or hardware disabled
Initializing CPU#0
CPU 0 irqstacks, hard=c0523000 soft=c051b000
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 996.716 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 254300k/262080k available (2901k kernel code, 7216k reserved, 1063k data, 212k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
****Calibrating delay loop... 1961.98 BogoMIPS (lpj=980992)****
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0183f9ff c1c7f9ff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
ACPI: IRQ9 SCI: Level Trigger.
CPU0: AMD Athlon(tm) processor stepping 02
****per-CPU timeslice cutoff: 731.68 usecs.****
****task migration cache decay timeout: 1 msecs.****
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb380, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040816
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:07.2[D] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:07.3[D] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 11 (level, low) -> IRQ 11
Machine check exception polling timer started.
audit: initializing netlink socket (disabled)
audit(1111094065.588:0): initialized
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
PCI: Disabling Via external APIC routing
inotify init: minor=63
lp: driver loaded but no devices found
Linux agpgart interface v0.100 (c) Dave Jones
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Processor [CPU0] (supports C1 C2, 2 throttling states)
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 5 (level, low) -> IRQ 5
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: GenPS/2 Genius Wheel Mouse on isa0060/serio1
parport0: PC-style at 0x378 [PCSPP(,...)]
lp0: using parport0 (polling).
parport_pc: Via 686A parallel port: io=0x378
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: Maxtor 6Y060L0, ATA DISK drive
hdb: Conner Peripherals 420MB - CFS420A, ATA DISK drive
Probing IDE interface ide1...
hdc: WDC WD153BA, ATA DISK drive
hdd: PCRW1208, ATAPI CD/DVD-ROM drive
Probing IDE interface ide2...
****ide2: Wait for ready failed before probe !****
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 120103200 sectors (61492 MB) w/2048KiB Cache, CHS=65535/16/63
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 >
hdb: max request size: 128KiB
hdb: 832608 sectors (426 MB) w/64KiB Cache, CHS=826/16/63
hdb: cache flushes not supported
/dev/ide/host0/bus0/target1/lun0: p1
hdc: max request size: 128KiB
hdc: 30043440 sectors (15382 MB) w/2048KiB Cache, CHS=29805/16/63
hdc: cache flushes not supported
/dev/ide/host1/bus0/target0/lun0: p1 p2 p3
hdd: ATAPI 32X CD-ROM CD-R/RW drive, 4096kB Cache
Uniform CD-ROM driver Revision: 3.20
libata version 1.02 loaded.
ieee1394: raw1394: /dev/raw1394 device initialized
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:07.2[D] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:07.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:07.2: irq 10, io base 0000d400
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:07.3[D] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:07.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller(#2)
uhci_hcd 0000:00:07.3: irq 10, io base 0000d800
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
ALSA device list:
No soundcards found.
oprofile: using timer interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
ip_conntrack version 2.1 (2047 buckets, 16376 max) - 304 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI wakeup devices:
SLPB PCI0 USB0 USB1 UAR1 UAR2 LPT1
ACPI: (supports S0 S1 S4 S5)
ReiserFS: hdc3: found reiserfs format "3.6" with standard journal
ReiserFS: hdc3: using ordered data mode
ReiserFS: hdc3: journal params: device hdc3, size 8192, journal first block 18,max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdc3: checking transaction log (hdc3)
ReiserFS: hdc3: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 212k freed
Adding 500464k swap on /dev/hdc2. Priority:-1 extents:1
spurious 8259A interrupt: IRQ7.
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 10 (level, low) -> IRQ 10
Linux Tulip driver version 1.1.13 (May 11, 2002)
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 11 (level, low) -> IRQ 11
tulip0: MII transceiver #1 config 1000 status 786d advertising 05e1.
eth0: ADMtek Comet rev 17 at 0xd0916000, 00:0C:41:23:37:53, IRQ 11.
eth0: Setting full-duplex based on MII#1 link partner capability of 45e1.
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Fri Mar 18, 2005 6:10 am    Post subject: Reply with quote

This usually helps:
Code:
rm /etc/adjtime
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