A Weird K6 Bug
A Weird K6 Bug
The AMD-K6 processor has a bug that prevents reliable
operation when more than 32 MB of RAM is used.
The most common symptoms are segmentation violations
(see The SIG11 FAQ)
while compiling the Linux kernel.
It can be reproduced, up to now, only when doing heavy compilations, probably
because only compilations stress the system enough. It is not a gcc problem,
as it is sometimes the program that launches gcc (it can be make, or sh) that
dies.
This bug has been seen by many people all around the world.
The general consensus among them is that the bug only depends on the
amount of memory used :
- With 32 MB of RAM, or less, no problem.
- With more than 32 MB, sporadic compile failures have been observed.
According to AMD :
If you have problems with 32 MB or less,
read the The SIG11 FAQ,
it is not the same problem.
This bug has already been described, and is still discussed in :
The problem is hard to reproduce. It is probably why it only surfaces now,
a few month after the K6 introduction.
ALL people that have tried to stress test their K6, except one,
with the scripts that follow, have found the problem.
If your K6 seems to work well with more than 32 MB, it only means that you
have not been faced the bug in the past. But, you may have to face
corrupted data, segmentation violations and other nice things in the future.
With Linux
- Goto to /usr/src/linux
- Apply this patch to Rules.make
- Run the following script
- Let the script run for a few hours (at least 100 loops).
loops.
With Windows NT, Windows 95 and OS/2
- Get k6bugs.zip
- Get and install a port of gcc for win32
- Follow the instructions provided in k6bugs.zip
By email, to poulot@wanadoo.fr.
[FAQ page]
[News page]
[Tests page]
Updated: 97/09/23.
Faq updated: 97/09/23.
News updated: 97/09/23.
Tests updated: 97/09/22.
Send comments to poulot@wanadoo.fr