Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

Re: WARNING: New K6 bug

Clemmitt Sigler (siglercm@alphamb2.phys.vt.edu)
Sun, 14 Jun 1998 17:26:14 -0400 (EDT)

On Fri, 12 Jun 1998, Mike Montour wrote:
> Clemmitt Sigler wrote:
> Please try running the attached program from a regular user (non-root)
> account.
<snip>
> > Here is how to reproduce it :
> >
> > $ cat a.s
> > .text
> > .align 4096 /* r1 */
> > .globl _start
> > _start:
> > movl _start, %edi /* S1 */
> > cmpb 0x80000000(%edi),%dl /* r2, S2 */
> > je nowhere /* r3 */
> > ret
> > $ as -o a.o a.s
> > $ ld -defsym nowhere=0xc0000000 a.o
> > $ ./a.out

This causes an immediate and total lock-up of my CPU, so it does have
this CPU bug in it. It's a brand new AMD K6-266, so I guess they
didn't implement a new stepping on these 0.25 micron CPUs :^( They
said it would be fixed in the next stepping.

> > [...]
> > > > Also, you might
> > > > try running the program cpuspd3e that you can download from the AMD
> > > > web site (http://www.amd.com/K6/k6docs/cpuspd3e.exe) on your chip and
> > > > posting the results.
>
> CPUSPD3.EXE says :
>
> AMD-K6/PR2-233 Processor
>
> So, the labelling appears to be correct. Not as many technical details as I
> had hoped for, however.

Mine just said "Unknown speed detected." It knew it was an AMD CPU,
but it couldn't figure out its speed. The little assembler source
has a data table in it that only goes up to 233MHz, so it couldn't
figure out my K6-266 running at 300MHz :^(

> Last night, I got another clue. I was doing something that caused a 'sleeping'
> hard drive to spin up, and the system locked right at that moment. I have
> not been able to reproduce the problem, but I turned off hard-drive spindown
> and ran some 'crashme's overnight (2.1.105) and the system survived. I will
> abuse the system some more today

OK, I would still be really surprised if this CPU bug, which apparently
has existed since the original K6's, is causing your RH5.1 kernel crashes.
Please let us know what the problem turns out to be when you diagnose it.

Clemmitt Sigler
Va. Tech Physics Dept.