public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* It hurts when I shoot myself in the foot
@ 2002-05-22 16:15 Chris
  2002-05-22 23:39 ` H. Peter Anvin
  0 siblings, 1 reply; 17+ messages in thread
From: Chris @ 2002-05-22 16:15 UTC (permalink / raw)
  To: linux-kernel


A Cautionary Tale for Silly People
----------------------------------

For the past year now, I've had "ping" problems.

It pauses when it runs, and always returns warnings like so:

"Warning: time of day goes back, taking countermeasures"

I looked _everywhere_ on the net trying to find the problem.

I upgraded the kernel many times.
I upgraded glibc a few times.
I upgraded iputils a few times as well.

Nothing helped.

The clock was sync'd with an atomic clock every night.

Still, I kept getting the problem.

Then while moving log files around today, I noticed that the clock 'second'
didn't move.  Weird.

So I ran this:
  
  while :
  do
    date "+%H:%M:%S"
  done

I got interesting results:

17:05:24
17:05:24
17:05:24
17:05:33
17:05:33
17:05:25
17:05:25
17:05:33
17:05:25
17:05:25

Nice huh!

 Why?  

I looked inside the box and found a Pentium II 400, and a Pentium II 450.

Oddly enough they run together as a 266.

[root@hercules root]#cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 5
model name	: Pentium II (Deschutes)
stepping	: 2
cpu MHz		: 265.915
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips	: 530.84

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 5
model name	: Pentium II (Deschutes)
stepping	: 1
cpu MHz		: 265.915
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips	: 663.55


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2002-05-24 18:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-22 16:15 It hurts when I shoot myself in the foot Chris
2002-05-22 23:39 ` H. Peter Anvin
2002-05-23  3:48   ` Andreas Dilger
2002-05-23  4:49     ` Mike Fedyk
2002-05-23  5:42       ` Andreas Dilger
2002-05-23 17:33         ` Mike Fedyk
2002-05-23 22:28           ` Vojtech Pavlik
2002-05-24  7:32             ` Mike Fedyk
2002-05-24  7:36               ` Vojtech Pavlik
2002-05-24 15:28         ` Alan Cox
2002-05-24 15:20           ` Kasper Dupont
2002-05-24 15:50             ` Alan Cox
2002-05-24 15:36               ` Kasper Dupont
2002-05-24 16:09                 ` Alan Cox
2002-05-24 16:39                   ` Kasper Dupont
2002-05-24 18:44                     ` Alan Cox
2002-05-24 16:36                 ` Austin Gonyou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox