LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   System clock is slow (https://www.linuxquestions.org/questions/linux-hardware-18/system-clock-is-slow-104676/)

Hcman 10-16-2003 09:29 AM

System clock is slow
 
I run arch linux 0.5 on kernel 2.4.22 and lately I have noticed that my clock is 5 mintues slow when I come back after leaving it on for a few hours.

I can correct the problem with ntpdate obviosuly but after a while, same thing happens.

I don't expect my clock to me perfectly accurate but 5 minutes in a few hours......
What could be the problem?

HC

faheyd 10-17-2003 03:28 AM

Please post motherboard make/model/version, bios version, output of 'lspci -v'. Take a look in your /proc filesystem for anything strange concerning dma/irq/cpu stuff. Post 'uname -r' results also. Are you running dual CPUs? Doing anything/running anything unusual?
Thanks!

Hcman 10-20-2003 01:41 PM

Thanks for your reply.
Here is the info

BIOS: Phoenix bios 4.0 release 6.0
I could not find the motherboard model in google and I don't have the means to open my laptop right now. I hope lspci will tell you enough.

lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 80)
Flags: bus master, medium devsel, latency 8
Memory at ec000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: e8100000-e81fffff
Prefetchable memory behind bridge: f0000000-f7ffffff
Capabilities: [80] Power Management version 2

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 42)
Subsystem: VIA Technologies, Inc. VT82C686/A PCI to ISA Bridge
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06) (prog-if
8a [Master SecP PriP])
Subsystem: VIA Technologies, Inc. VT8235 Bus Master ATA133/100/66/33 IDE
Flags: bus master, medium devsel, latency 64
I/O ports at 1840 [size=16]
Capabilities: [c0] Power Management version 2

00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 1a) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 1800 [size=32]
Capabilities: [80] Power Management version 2

00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
Subsystem: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
Flags: medium devsel, IRQ 10
Capabilities: [68] Power Management version 2

00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
Subsystem: Compaq Computer Corporation: Unknown device 0097
Flags: medium devsel, IRQ 5
I/O ports at 1000 [size=256]
I/O ports at 1854 [size=4]
I/O ports at 1850 [size=4]
Capabilities: [c0] Power Management version 2

00:09.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
Subsystem: Compaq Computer Corporation: Unknown device 8d89
Flags: medium devsel, IRQ 4
Memory at e8000000 (32-bit, non-prefetchable) [size=64K]
I/O ports at 1858 [size=8]
Capabilities: [40] Power Management version 2

00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
Subsystem: Compaq Computer Corporation: Unknown device b103
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at ffbfe000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=0
Memory window 1: fbbfd000-ffbfc000 (prefetchable)
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
16-bit legacy interface ports at 0001

00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at 1400 [size=256]
Memory at e8010000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: S3 Inc. VT8636A [ProSavage KN133] AGP4X VGA Controller (TwisterK)
(rev 01) (prog-if 00 [VGA])
Subsystem: Compaq Computer Corporation: Unknown device 0086
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 5
Memory at e8100000 (32-bit, non-prefetchable) [size=512K]
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Capabilities: [80] AGP version 2.0

uname -r
2.4.22-101703

/proc/dma says 4: cascade

/proc/irq contains 0 1 10 11 12 13 14 15 2 3 4 5 6 7 8 9 prof_cpu_mask
The numbers are empty directories and 'prof_cpu_mask' says ffffffff


/proc/cpuinfo says

processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 7
model name : mobile AMD Duron(tm) Processor
stepping : 1
cpu MHz : 1096.536
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext
3dnowext 3dnow
bogomips : 2154.49

I am not running dual CPUs. The only unusual thing I run is VMware (VMware Workstation 4.0.2
build-5592) I guess. That has an option to sync the guest OS clock with the host OS clock.
My clock seems to go slow even when I don't have VMware running though. Could the syncing be messing it up. I turned it off so we'll see.

Thanks!
HC

faheyd 10-20-2003 01:54 PM

I think you solved it. It could also be the power management on the laptop, which you would have to turn it off to test.

Hcman 10-20-2003 02:20 PM

I hope so. It's amazing, even when windows is just on there as a guest it can screw up my computer ;-)
As for power management; I've been running kernels patched for acpi for almost a year now and I've never noticed it do anything to my clock.

Thank you.

HC

Hcman 10-21-2003 09:39 PM

Quick update:

I have turned syncing off in vmware and my clock is fine again.

HC

faheyd 10-21-2003 09:43 PM

Send a query to VMware and ask for some comments.


All times are GMT -5. The time now is 09:52 AM.