Re: System clock loses time at approx 17 secs per two hours

2001-04-02 Thread Gerhard Mack

My system loses time while I use the framebuffer.

Gerhard

On Mon, 2 Apr 2001, A.Sajjad Zaidi wrote:

> Have you considered using NTP (Network Time Protocol)?
> 
> A.Sajjad Zaidi
> 
> 
> Eric Gillespie wrote:
> 
> > First off, CC: back to me, as my machine can't handle an estimated 200
> > messages a day for me to sign up to the list 8-( - Anyway..
> >
> > I updated my kernel to 2.4.3 when the patch was released. (Tarballs -
> > wonderful things!)
> >
> > However, I noticed that the kernel timer loses seconds over time with both the
> > 2.4.2 and 2.4.3 kernels (seems to be at a steady rate...), and the rate of
> > loss is NOT related to the CMOS clock. I compared against a 2.2.18 kernel,
> > which lost about 1 second in 14 hours - about what I'd expect with my
> > machine).
> >
> > Now, has anybody else noticed their 2.4.x kernel losing time?  If so, and
> > anyone knows how I can fix it so it behaves like 2.2.18, I'd be grateful.
> >
> > 
> > Can't say I like the April Fools release on "behalf" of Linus.
> > 
> >
> > ===
> > Some relevant data:
> >  Linux version 2.4.3 ([EMAIL PROTECTED])
> >  (gcc version 2.95.3 19991030 (prerelease)) #2 Sat Mar 31 09:52:39 NZST 2001
> >
> > Software present (among others)
> > Gnu C  2.95.3  Gnu make   3.77
> > binutils   2.9.5.0.31  Linux C Library2.2.2
> > Dynamic linker (ldd)   2.2.2
> >
> > Processor information (from /proc/cpuinfo) for a Cyrix-M II-300:
> > processor   : 0
> > vendor_id   : CyrixInstead
> > cpu family  : 6
> > model   : 2
> > model name  : M II 3.5x Core/Bus Clock
> > stepping: 8
> > cpu MHz : 233.030
> > fdiv_bug: no
> > hlt_bug : no
> > f00f_bug: no
> > coma_bug: no
> > fpu : yes
> > fpu_exception   : yes
> > cpuid level : 1
> > wp  : yes
> > flags   : fpu de tsc msr cx8 pge cmov mmx cyrix_arr
> > bogomips: 465.30
> >
> > Loaded driver and hardware information (/proc/ioports, /proc/iomem)
> > ==Drivers==
> > -001f : dma1
> > 0020-003f : pic1
> > 0040-005f : timer
> > 0060-006f : keyboard
> > 0080-008f : dma page reg
> > 00a0-00bf : pic2
> > 00c0-00df : dma2
> > 00f0-00ff : fpu
> > 0170-0177 : ide1
> > 01f0-01f7 : ide0
> > 0213-0213 : isapnp read
> > 0220-022f : soundblaster
> > 02f8-02ff : serial(auto)
> > 0300-031f : eth0
> > 0376-0376 : ide1
> > 0388-038b : Yamaha OPL3
> > 03c0-03df : vesafb
> > 03f6-03f6 : ide0
> > 0a79-0a79 : isapnp write
> > 0cf8-0cff : PCI conf1
> > 4000-400f : Silicon Integrated Systems [SiS] 5513 [IDE]
> >   4000-4007 : ide0
> >   4008-400f : ide1
> > e000-e07f : Silicon Integrated Systems [SiS] 5597/5598 VGA
> > ==memory info==
> > -0009efff : System RAM
> > 000a-000b : Video RAM area
> > 000c-000c7fff : Video ROM
> > 000f-000f : System ROM
> > 0010-01cf : System RAM
> >   0010-001e9c4f : Kernel code
> >   001e9c50-002445d7 : Kernel data
> > 0800-082f : vesafb
> > e100-e13f : Silicon Integrated Systems [SiS] 5597/5598 VGA
> > e140-e140 : Silicon Integrated Systems [SiS] 5597/5598 VGA
> > e141-e141 : Rockwell International HCF 56k V90 FaxModem
> > [7.5.] PCI information ('lspci -vvv' as root)
> > ==PCI Information==
> >
> > 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 5597 [SiS5582] (rev 10)
> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
>Stepping- SERR- FastB2B-
> > Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR-  > Latency: 64 set
> >
> > 00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 01)
> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
>Stepping- SERR- FastB2B-
> > Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR-  > Latency: 0 set
> >
> > 00:01.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) 
>(prog-if 8a [Master SecP PriP])
> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
>Stepping- SERR- FastB2B-
> > Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-  > Latency: 64 set
> > Interrupt: pin A routed to IRQ 14
> > Region 0: I/O ports at 
> > Region 1: I/O ports at 
> > Region 2: I/O ports at 
> > Region 3: I/O ports at 
> > Region 4: I/O ports at 4000 [size=16]
> >
> > 00:0b.0 Serial controller: Rockwell International HCF 56k V90 FaxModem (rev 01) 
>(prog-if 00 [8250])
> > Subsystem: Aztech System Ltd MDP3858SP-A SVD Modem
> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
>Stepping- SERR- FastB2B-
> > Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-  > Latency: 64 set
> > Interrupt: pin A routed to IRQ 11
> > Region 0: Memory at e141 (32-bit, 

Re: System clock loses time at approx 17 secs per two hours

2001-04-02 Thread A.Sajjad Zaidi

Have you considered using NTP (Network Time Protocol)?

A.Sajjad Zaidi


Eric Gillespie wrote:

> First off, CC: back to me, as my machine can't handle an estimated 200
> messages a day for me to sign up to the list 8-( - Anyway..
>
> I updated my kernel to 2.4.3 when the patch was released. (Tarballs -
> wonderful things!)
>
> However, I noticed that the kernel timer loses seconds over time with both the
> 2.4.2 and 2.4.3 kernels (seems to be at a steady rate...), and the rate of
> loss is NOT related to the CMOS clock. I compared against a 2.2.18 kernel,
> which lost about 1 second in 14 hours - about what I'd expect with my
> machine).
>
> Now, has anybody else noticed their 2.4.x kernel losing time?  If so, and
> anyone knows how I can fix it so it behaves like 2.2.18, I'd be grateful.
>
> 
> Can't say I like the April Fools release on "behalf" of Linus.
> 
>
> ===
> Some relevant data:
>  Linux version 2.4.3 ([EMAIL PROTECTED])
>  (gcc version 2.95.3 19991030 (prerelease)) #2 Sat Mar 31 09:52:39 NZST 2001
>
> Software present (among others)
> Gnu C  2.95.3  Gnu make   3.77
> binutils   2.9.5.0.31  Linux C Library2.2.2
> Dynamic linker (ldd)   2.2.2
>
> Processor information (from /proc/cpuinfo) for a Cyrix-M II-300:
> processor   : 0
> vendor_id   : CyrixInstead
> cpu family  : 6
> model   : 2
> model name  : M II 3.5x Core/Bus Clock
> stepping: 8
> cpu MHz : 233.030
> fdiv_bug: no
> hlt_bug : no
> f00f_bug: no
> coma_bug: no
> fpu : yes
> fpu_exception   : yes
> cpuid level : 1
> wp  : yes
> flags   : fpu de tsc msr cx8 pge cmov mmx cyrix_arr
> bogomips: 465.30
>
> Loaded driver and hardware information (/proc/ioports, /proc/iomem)
> ==Drivers==
> -001f : dma1
> 0020-003f : pic1
> 0040-005f : timer
> 0060-006f : keyboard
> 0080-008f : dma page reg
> 00a0-00bf : pic2
> 00c0-00df : dma2
> 00f0-00ff : fpu
> 0170-0177 : ide1
> 01f0-01f7 : ide0
> 0213-0213 : isapnp read
> 0220-022f : soundblaster
> 02f8-02ff : serial(auto)
> 0300-031f : eth0
> 0376-0376 : ide1
> 0388-038b : Yamaha OPL3
> 03c0-03df : vesafb
> 03f6-03f6 : ide0
> 0a79-0a79 : isapnp write
> 0cf8-0cff : PCI conf1
> 4000-400f : Silicon Integrated Systems [SiS] 5513 [IDE]
>   4000-4007 : ide0
>   4008-400f : ide1
> e000-e07f : Silicon Integrated Systems [SiS] 5597/5598 VGA
> ==memory info==
> -0009efff : System RAM
> 000a-000b : Video RAM area
> 000c-000c7fff : Video ROM
> 000f-000f : System ROM
> 0010-01cf : System RAM
>   0010-001e9c4f : Kernel code
>   001e9c50-002445d7 : Kernel data
> 0800-082f : vesafb
> e100-e13f : Silicon Integrated Systems [SiS] 5597/5598 VGA
> e140-e140 : Silicon Integrated Systems [SiS] 5597/5598 VGA
> e141-e141 : Rockwell International HCF 56k V90 FaxModem
> [7.5.] PCI information ('lspci -vvv' as root)
> ==PCI Information==
>
> 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 5597 [SiS5582] (rev 10)
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
>Stepping- SERR- FastB2B-
> Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR-  Latency: 64 set
>
> 00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 01)
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
>Stepping- SERR- FastB2B-
> Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR-  Latency: 0 set
>
> 00:01.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 
>8a [Master SecP PriP])
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
>Stepping- SERR- FastB2B-
> Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-  Latency: 64 set
> Interrupt: pin A routed to IRQ 14
> Region 0: I/O ports at 
> Region 1: I/O ports at 
> Region 2: I/O ports at 
> Region 3: I/O ports at 
> Region 4: I/O ports at 4000 [size=16]
>
> 00:0b.0 Serial controller: Rockwell International HCF 56k V90 FaxModem (rev 01) 
>(prog-if 00 [8250])
> Subsystem: Aztech System Ltd MDP3858SP-A SVD Modem
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
>Stepping- SERR- FastB2B-
> Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-  Latency: 64 set
> Interrupt: pin A routed to IRQ 11
> Region 0: Memory at e141 (32-bit, non-prefetchable) [size=64K]
> Capabilities: [40] Power Management version 1
> Flags: PMEClk- AuxPwr+ DSI+ D1+ D2+ PME+
> Status: D0 PME-Enable- DSel=0 DScale=3 PME-
>
> 00:14.0 VGA compatible controller: Silicon Integrated Systems [SiS] 5597/5598 VGA 
>(rev 68) (prog-if 00 [VGA])
> Subsystem: Silicon Integrated 

Re: System clock loses time at approx 17 secs per two hours

2001-04-02 Thread A.Sajjad Zaidi

Have you considered using NTP (Network Time Protocol)?

A.Sajjad Zaidi


Eric Gillespie wrote:

 First off, CC: back to me, as my machine can't handle an estimated 200
 messages a day for me to sign up to the list 8-( - Anyway..

 I updated my kernel to 2.4.3 when the patch was released. (Tarballs -
 wonderful things!)

 However, I noticed that the kernel timer loses seconds over time with both the
 2.4.2 and 2.4.3 kernels (seems to be at a steady rate...), and the rate of
 loss is NOT related to the CMOS clock. I compared against a 2.2.18 kernel,
 which lost about 1 second in 14 hours - about what I'd expect with my
 machine).

 Now, has anybody else noticed their 2.4.x kernel losing time?  If so, and
 anyone knows how I can fix it so it behaves like 2.2.18, I'd be grateful.

 offtopic
 Can't say I like the April Fools release on "behalf" of Linus.
 /offtopic

 ===
 Some relevant data:
  Linux version 2.4.3 ([EMAIL PROTECTED])
  (gcc version 2.95.3 19991030 (prerelease)) #2 Sat Mar 31 09:52:39 NZST 2001

 Software present (among others)
 Gnu C  2.95.3  Gnu make   3.77
 binutils   2.9.5.0.31  Linux C Library2.2.2
 Dynamic linker (ldd)   2.2.2

 Processor information (from /proc/cpuinfo) for a Cyrix-M II-300:
 processor   : 0
 vendor_id   : CyrixInstead
 cpu family  : 6
 model   : 2
 model name  : M II 3.5x Core/Bus Clock
 stepping: 8
 cpu MHz : 233.030
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 1
 wp  : yes
 flags   : fpu de tsc msr cx8 pge cmov mmx cyrix_arr
 bogomips: 465.30

 Loaded driver and hardware information (/proc/ioports, /proc/iomem)
 ==Drivers==
 -001f : dma1
 0020-003f : pic1
 0040-005f : timer
 0060-006f : keyboard
 0080-008f : dma page reg
 00a0-00bf : pic2
 00c0-00df : dma2
 00f0-00ff : fpu
 0170-0177 : ide1
 01f0-01f7 : ide0
 0213-0213 : isapnp read
 0220-022f : soundblaster
 02f8-02ff : serial(auto)
 0300-031f : eth0
 0376-0376 : ide1
 0388-038b : Yamaha OPL3
 03c0-03df : vesafb
 03f6-03f6 : ide0
 0a79-0a79 : isapnp write
 0cf8-0cff : PCI conf1
 4000-400f : Silicon Integrated Systems [SiS] 5513 [IDE]
   4000-4007 : ide0
   4008-400f : ide1
 e000-e07f : Silicon Integrated Systems [SiS] 5597/5598 VGA
 ==memory info==
 -0009efff : System RAM
 000a-000b : Video RAM area
 000c-000c7fff : Video ROM
 000f-000f : System ROM
 0010-01cf : System RAM
   0010-001e9c4f : Kernel code
   001e9c50-002445d7 : Kernel data
 0800-082f : vesafb
 e100-e13f : Silicon Integrated Systems [SiS] 5597/5598 VGA
 e140-e140 : Silicon Integrated Systems [SiS] 5597/5598 VGA
 e141-e141 : Rockwell International HCF 56k V90 FaxModem
 [7.5.] PCI information ('lspci -vvv' as root)
 ==PCI Information==

 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 5597 [SiS5582] (rev 10)
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
 Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort+ SERR- PERR-
 Latency: 64 set

 00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 01)
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
 Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
 Latency: 0 set

 00:01.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 
8a [Master SecP PriP])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
 Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR-
 Latency: 64 set
 Interrupt: pin A routed to IRQ 14
 Region 0: I/O ports at ignored
 Region 1: I/O ports at ignored
 Region 2: I/O ports at ignored
 Region 3: I/O ports at ignored
 Region 4: I/O ports at 4000 [size=16]

 00:0b.0 Serial controller: Rockwell International HCF 56k V90 FaxModem (rev 01) 
(prog-if 00 [8250])
 Subsystem: Aztech System Ltd MDP3858SP-A SVD Modem
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
 Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
 Latency: 64 set
 Interrupt: pin A routed to IRQ 11
 Region 0: Memory at e141 (32-bit, non-prefetchable) [size=64K]
 Capabilities: [40] Power Management version 1
 Flags: PMEClk- AuxPwr+ DSI+ D1+ D2+ PME+
 Status: D0 PME-Enable- DSel=0 DScale=3 PME-

 00:14.0 VGA compatible controller: Silicon Integrated Systems [SiS] 5597/5598 VGA 
(rev 68) (prog-if 00 [VGA])
 Subsystem: Silicon 

Re: System clock loses time at approx 17 secs per two hours

2001-04-02 Thread Gerhard Mack

My system loses time while I use the framebuffer.

Gerhard

On Mon, 2 Apr 2001, A.Sajjad Zaidi wrote:

 Have you considered using NTP (Network Time Protocol)?
 
 A.Sajjad Zaidi
 
 
 Eric Gillespie wrote:
 
  First off, CC: back to me, as my machine can't handle an estimated 200
  messages a day for me to sign up to the list 8-( - Anyway..
 
  I updated my kernel to 2.4.3 when the patch was released. (Tarballs -
  wonderful things!)
 
  However, I noticed that the kernel timer loses seconds over time with both the
  2.4.2 and 2.4.3 kernels (seems to be at a steady rate...), and the rate of
  loss is NOT related to the CMOS clock. I compared against a 2.2.18 kernel,
  which lost about 1 second in 14 hours - about what I'd expect with my
  machine).
 
  Now, has anybody else noticed their 2.4.x kernel losing time?  If so, and
  anyone knows how I can fix it so it behaves like 2.2.18, I'd be grateful.
 
  offtopic
  Can't say I like the April Fools release on "behalf" of Linus.
  /offtopic
 
  ===
  Some relevant data:
   Linux version 2.4.3 ([EMAIL PROTECTED])
   (gcc version 2.95.3 19991030 (prerelease)) #2 Sat Mar 31 09:52:39 NZST 2001
 
  Software present (among others)
  Gnu C  2.95.3  Gnu make   3.77
  binutils   2.9.5.0.31  Linux C Library2.2.2
  Dynamic linker (ldd)   2.2.2
 
  Processor information (from /proc/cpuinfo) for a Cyrix-M II-300:
  processor   : 0
  vendor_id   : CyrixInstead
  cpu family  : 6
  model   : 2
  model name  : M II 3.5x Core/Bus Clock
  stepping: 8
  cpu MHz : 233.030
  fdiv_bug: no
  hlt_bug : no
  f00f_bug: no
  coma_bug: no
  fpu : yes
  fpu_exception   : yes
  cpuid level : 1
  wp  : yes
  flags   : fpu de tsc msr cx8 pge cmov mmx cyrix_arr
  bogomips: 465.30
 
  Loaded driver and hardware information (/proc/ioports, /proc/iomem)
  ==Drivers==
  -001f : dma1
  0020-003f : pic1
  0040-005f : timer
  0060-006f : keyboard
  0080-008f : dma page reg
  00a0-00bf : pic2
  00c0-00df : dma2
  00f0-00ff : fpu
  0170-0177 : ide1
  01f0-01f7 : ide0
  0213-0213 : isapnp read
  0220-022f : soundblaster
  02f8-02ff : serial(auto)
  0300-031f : eth0
  0376-0376 : ide1
  0388-038b : Yamaha OPL3
  03c0-03df : vesafb
  03f6-03f6 : ide0
  0a79-0a79 : isapnp write
  0cf8-0cff : PCI conf1
  4000-400f : Silicon Integrated Systems [SiS] 5513 [IDE]
4000-4007 : ide0
4008-400f : ide1
  e000-e07f : Silicon Integrated Systems [SiS] 5597/5598 VGA
  ==memory info==
  -0009efff : System RAM
  000a-000b : Video RAM area
  000c-000c7fff : Video ROM
  000f-000f : System ROM
  0010-01cf : System RAM
0010-001e9c4f : Kernel code
001e9c50-002445d7 : Kernel data
  0800-082f : vesafb
  e100-e13f : Silicon Integrated Systems [SiS] 5597/5598 VGA
  e140-e140 : Silicon Integrated Systems [SiS] 5597/5598 VGA
  e141-e141 : Rockwell International HCF 56k V90 FaxModem
  [7.5.] PCI information ('lspci -vvv' as root)
  ==PCI Information==
 
  00:00.0 Host bridge: Silicon Integrated Systems [SiS] 5597 [SiS5582] (rev 10)
  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
  Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort+ SERR- PERR-
  Latency: 64 set
 
  00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 01)
  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
  Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
  Latency: 0 set
 
  00:01.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) 
(prog-if 8a [Master SecP PriP])
  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
  Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR-
  Latency: 64 set
  Interrupt: pin A routed to IRQ 14
  Region 0: I/O ports at ignored
  Region 1: I/O ports at ignored
  Region 2: I/O ports at ignored
  Region 3: I/O ports at ignored
  Region 4: I/O ports at 4000 [size=16]
 
  00:0b.0 Serial controller: Rockwell International HCF 56k V90 FaxModem (rev 01) 
(prog-if 00 [8250])
  Subsystem: Aztech System Ltd MDP3858SP-A SVD Modem
  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
  Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
  Latency: 64 set
  Interrupt: pin A routed to IRQ 11
  Region 0: Memory at e141 (32-bit, non-prefetchable) [size=64K]
  Capabilities: [40] Power Management version 1
  Flags: 

System clock loses time at approx 17 secs per two hours

2001-04-01 Thread Eric Gillespie

First off, CC: back to me, as my machine can't handle an estimated 200
messages a day for me to sign up to the list 8-( - Anyway..

I updated my kernel to 2.4.3 when the patch was released. (Tarballs -
wonderful things!)

However, I noticed that the kernel timer loses seconds over time with both the
2.4.2 and 2.4.3 kernels (seems to be at a steady rate...), and the rate of
loss is NOT related to the CMOS clock. I compared against a 2.2.18 kernel,
which lost about 1 second in 14 hours - about what I'd expect with my
machine).

Now, has anybody else noticed their 2.4.x kernel losing time?  If so, and
anyone knows how I can fix it so it behaves like 2.2.18, I'd be grateful.


Can't say I like the April Fools release on "behalf" of Linus.


===
Some relevant data:
 Linux version 2.4.3 ([EMAIL PROTECTED])
 (gcc version 2.95.3 19991030 (prerelease)) #2 Sat Mar 31 09:52:39 NZST 2001

Software present (among others) 
Gnu C  2.95.3  Gnu make   3.77
binutils   2.9.5.0.31  Linux C Library2.2.2
Dynamic linker (ldd)   2.2.2

Processor information (from /proc/cpuinfo) for a Cyrix-M II-300:
processor   : 0
vendor_id   : CyrixInstead
cpu family  : 6
model   : 2
model name  : M II 3.5x Core/Bus Clock
stepping: 8
cpu MHz : 233.030
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu de tsc msr cx8 pge cmov mmx cyrix_arr
bogomips: 465.30

Loaded driver and hardware information (/proc/ioports, /proc/iomem)
==Drivers==
-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
0220-022f : soundblaster
02f8-02ff : serial(auto)
0300-031f : eth0
0376-0376 : ide1
0388-038b : Yamaha OPL3
03c0-03df : vesafb
03f6-03f6 : ide0
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
4000-400f : Silicon Integrated Systems [SiS] 5513 [IDE]
  4000-4007 : ide0
  4008-400f : ide1
e000-e07f : Silicon Integrated Systems [SiS] 5597/5598 VGA
==memory info==
-0009efff : System RAM
000a-000b : Video RAM area
000c-000c7fff : Video ROM
000f-000f : System ROM
0010-01cf : System RAM
  0010-001e9c4f : Kernel code
  001e9c50-002445d7 : Kernel data
0800-082f : vesafb
e100-e13f : Silicon Integrated Systems [SiS] 5597/5598 VGA
e140-e140 : Silicon Integrated Systems [SiS] 5597/5598 VGA
e141-e141 : Rockwell International HCF 56k V90 FaxModem
[7.5.] PCI information ('lspci -vvv' as root)
==PCI Information==

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 5597 [SiS5582] (rev 10)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- 
Region 1: I/O ports at 
Region 2: I/O ports at 
Region 3: I/O ports at 
Region 4: I/O ports at 4000 [size=16]

00:0b.0 Serial controller: Rockwell International HCF 56k V90 FaxModem (rev 01) 
(prog-if 00 [8250])
Subsystem: Aztech System Ltd MDP3858SP-A SVD Modem
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR-  [disabled] [size=32K]



-- 
 /|   _,.:*^*:.,   |\   Cheers from the Viking family, 
| |_/'  viking@ `\_| |including Pippin, our cat
|flying-brick| $FunnyMail  Bilbo   : Now far ahead the Road has gone,
 \_.caverock.net.nz_/ 5.39in LOTR  : Let others follow it who can!


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



System clock loses time at approx 17 secs per two hours

2001-04-01 Thread Eric Gillespie

First off, CC: back to me, as my machine can't handle an estimated 200
messages a day for me to sign up to the list 8-( - Anyway..

I updated my kernel to 2.4.3 when the patch was released. (Tarballs -
wonderful things!)

However, I noticed that the kernel timer loses seconds over time with both the
2.4.2 and 2.4.3 kernels (seems to be at a steady rate...), and the rate of
loss is NOT related to the CMOS clock. I compared against a 2.2.18 kernel,
which lost about 1 second in 14 hours - about what I'd expect with my
machine).

Now, has anybody else noticed their 2.4.x kernel losing time?  If so, and
anyone knows how I can fix it so it behaves like 2.2.18, I'd be grateful.

offtopic
Can't say I like the April Fools release on "behalf" of Linus.
/offtopic

===
Some relevant data:
 Linux version 2.4.3 ([EMAIL PROTECTED])
 (gcc version 2.95.3 19991030 (prerelease)) #2 Sat Mar 31 09:52:39 NZST 2001

Software present (among others) 
Gnu C  2.95.3  Gnu make   3.77
binutils   2.9.5.0.31  Linux C Library2.2.2
Dynamic linker (ldd)   2.2.2

Processor information (from /proc/cpuinfo) for a Cyrix-M II-300:
processor   : 0
vendor_id   : CyrixInstead
cpu family  : 6
model   : 2
model name  : M II 3.5x Core/Bus Clock
stepping: 8
cpu MHz : 233.030
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu de tsc msr cx8 pge cmov mmx cyrix_arr
bogomips: 465.30

Loaded driver and hardware information (/proc/ioports, /proc/iomem)
==Drivers==
-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
0220-022f : soundblaster
02f8-02ff : serial(auto)
0300-031f : eth0
0376-0376 : ide1
0388-038b : Yamaha OPL3
03c0-03df : vesafb
03f6-03f6 : ide0
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
4000-400f : Silicon Integrated Systems [SiS] 5513 [IDE]
  4000-4007 : ide0
  4008-400f : ide1
e000-e07f : Silicon Integrated Systems [SiS] 5597/5598 VGA
==memory info==
-0009efff : System RAM
000a-000b : Video RAM area
000c-000c7fff : Video ROM
000f-000f : System ROM
0010-01cf : System RAM
  0010-001e9c4f : Kernel code
  001e9c50-002445d7 : Kernel data
0800-082f : vesafb
e100-e13f : Silicon Integrated Systems [SiS] 5597/5598 VGA
e140-e140 : Silicon Integrated Systems [SiS] 5597/5598 VGA
e141-e141 : Rockwell International HCF 56k V90 FaxModem
[7.5.] PCI information ('lspci -vvv' as root)
==PCI Information==

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 5597 [SiS5582] (rev 10)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort+ SERR- PERR-
Latency: 64 set

00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 01)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0 set

00:01.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 
8a [Master SecP PriP])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 64 set
Interrupt: pin A routed to IRQ 14
Region 0: I/O ports at ignored
Region 1: I/O ports at ignored
Region 2: I/O ports at ignored
Region 3: I/O ports at ignored
Region 4: I/O ports at 4000 [size=16]

00:0b.0 Serial controller: Rockwell International HCF 56k V90 FaxModem (rev 01) 
(prog-if 00 [8250])
Subsystem: Aztech System Ltd MDP3858SP-A SVD Modem
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 64 set
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e141 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 1
Flags: PMEClk- AuxPwr+ DSI+ D1+ D2+ PME+
Status: D0 PME-Enable- DSel=0 DScale=3 PME-

00:14.0 VGA compatible controller: Silicon Integrated Systems [SiS] 5597/5598 VGA (rev 
68) (prog-if 00 [VGA])
Subsystem: Silicon Integrated Systems [SiS]: Unknown device 0200
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium