Re: 3.2-rc2 freezes on boot for AMD K6 - bisected to commit bcb80e53877c2045d9e52f4a71372c3fe6501f6f

From: Larry Finger
Date: Sat Dec 03 2011 - 15:46:56 EST


On 11/30/2011 01:09 AM, Larry Finger wrote:
On 11/29/2011 11:59 PM, Srivatsa S. Bhat wrote:
On 11/30/2011 10:24 AM, Larry Finger wrote:

I have an ancient laptop with an AMD-K6 CPU that freezes on boot with
3.2-rc2. The problem was bisected to commit bcb80e53877c2.

The cpuinfo for this box is:

cpu.1: cpuinfo
----- /proc/cpuinfo -----
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 12
cpu MHz : 428.804
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 cx8 pge mmx syscall 3dnow
k6_mtrr up
bogomips : 857.60
clflush size : 32
cache_alignment : 32
address sizes : 32 bits physical, 32 bits virtual
power management:

----- /proc/cpuinfo end -----

This patch is quite simple, thus it appears that rdmsr() is OK, but that
rdmsr_safe() is not.

I am happy to provide any other info regarding this box.



Hi Larry,

Can you please try out the patch posted in
https://lkml.org/lkml/2011/11/28/178 ?

This patch will be available in mainline kernel from -rc4.
https://lkml.org/lkml/2011/11/28/457

Srivatsa,

Thanks for the reference. That patch does fix my problem. Too bad that the bad
commit was not in the subject of that other thread so that I could have found it
with Google.

Borislav,

I just updated mainline to 3.2-rc4, and that patch is not included. Please check with Ingo to see why it was not available. It is a real show stopper for old AMD CPUs.

Thanks,

Larry

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