All of lore.kernel.org
 help / color / mirror / Atom feed
* [CFT] Athlon testers needed.
@ 2002-11-20 18:53 Dave Jones
  2002-11-20 20:11 ` erich
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2002-11-20 18:53 UTC (permalink / raw)
  To: Linux Kernel

In some obscure documentation, I found out that recent Athlons
(model 8 stepping 1 and greater) behave better with certain MSRs
programmed slightly differently to those of earlier models.
It's likely a lot of BIOSen out there don't get this right
(Especially in the BIOS older than CPU case).

x86info[1] will be able to dump these registers (run as root
and use -m option), and mail me the results so I can confirm
my suspicions.  I've a patch pending, but I'd rather get some
test data before unleashing it on unsuspecting victims.

I'm particularly interested in hearing from folks who have
been experiencing problems with model 8 and above Athlons,
earlier models are less interesting for the moment.

		Dave

[1] http://www.codemonkey.org.uk/x86info/x86info-1.11.tar.gz


-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

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

* Re: [CFT] Athlon testers needed.
@ 2002-11-20 20:07 Petr Vandrovec
  0 siblings, 0 replies; 4+ messages in thread
From: Petr Vandrovec @ 2002-11-20 20:07 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

On 20 Nov 02 at 18:53, Dave Jones wrote:
> and use -m option), and mail me the results so I can confirm
> my suspicions.  I've a patch pending, but I'd rather get some
> test data before unleashing it on unsuspecting victims.
> 
> [1] http://www.codemonkey.org.uk/x86info/x86info-1.11.tar.gz

.../x86info-1.11.tgz... Unfortunately, all my athlons are model 6.
I'll have to buy some new ;-)
                                            Petr Vandrovec
                                                        

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

* Re: [CFT] Athlon testers needed.
  2002-11-20 18:53 [CFT] Athlon testers needed Dave Jones
@ 2002-11-20 20:11 ` erich
  2002-11-21 15:13   ` Dave Jones
  0 siblings, 1 reply; 4+ messages in thread
From: erich @ 2002-11-20 20:11 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel


Dave Jones <davej@codemonkey.org.uk> wrote:

> In some obscure documentation, I found out that recent Athlons
> (model 8 stepping 1 and greater) behave better with certain MSRs
> programmed slightly differently to those of earlier models.
> It's likely a lot of BIOSen out there don't get this right
> (Especially in the BIOS older than CPU case).
> 
> x86info[1] will be able to dump these registers (run as root
> and use -m option), and mail me the results so I can confirm
> my suspicions.  I've a patch pending, but I'd rather get some
> test data before unleashing it on unsuspecting victims.
> 
> I'm particularly interested in hearing from folks who have
> been experiencing problems with model 8 and above Athlons,
> earlier models are less interesting for the moment.
> 
> 		Dave
> 
> [1] http://www.codemonkey.org.uk/x86info/x86info-1.11.tar.gz


2 points:

  --  The link is:

	http://www.codemonkey.org.uk/x86info/x86info-1.11.tgz

  --  A note to those not in the know to load the "msr" driver
      first, for example on my RedHat system:

	insmod msr


In any case, here's the result from my recently acquired Athlon
XP 2600+:


			31       23       15       7 
MSR: 0x0000002a=0x00000000 : 00000000 00000000 00000000 00000000
MSR: 0xc0000080=0x00000000 : 00000000 00000000 00000000 00000000
MSR: 0xc0010010=0x00160604 : 00000000 00010110 00000110 00000100
MSR: 0xc0010015=0x080b9008 : 00001000 00001011 10010000 00001000
MSR: 0xc001001b=0x6003d22f : 01100000 00000011 11010010 00101111

Family: 6 Model: 8 Stepping: 1
CPU Model : Athlon XP (Thoroughbred)[B0]
Processor name string: AMD Athlon(tm) XP Processor

PowerNOW! Technology information
Available features:
	  Temperature sensing diode present.


For comparison, here is the output from an Athlon XP 1800+:

			31       23       15       7 
MSR: 0x0000002a=0x00000000 : 00000000 00000000 00000000 00000000
MSR: 0xc0000080=0x00000000 : 00000000 00000000 00000000 00000000
MSR: 0xc0010010=0x00168604 : 00000000 00010110 10000110 00000100
MSR: 0xc0010015=0x01001008 : 00000001 00000000 00010000 00001000
MSR: 0xc001001b=0x6003d22f : 01100000 00000011 11010010 00101111

Family: 6 Model: 6 Stepping: 2
CPU Model : Athlon MP (palomino)
Processor name string: AMD Athlon(TM) MP 1800+

PowerNOW! Technology information
Available features:
	  Temperature sensing diode present.


--
    Erich Stefan Boleyn     <erich@uruk.org>     http://www.uruk.org/
"Reality is truly stranger than fiction; Probably why fiction is so popular"

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

* Re: [CFT] Athlon testers needed.
  2002-11-20 20:11 ` erich
@ 2002-11-21 15:13   ` Dave Jones
  0 siblings, 0 replies; 4+ messages in thread
From: Dave Jones @ 2002-11-21 15:13 UTC (permalink / raw)
  To: erich; +Cc: Linux Kernel

On Wed, Nov 20, 2002 at 12:11:35PM -0800, erich@uruk.org wrote:
 > In any case, here's the result from my recently acquired Athlon
 > XP 2600+:
 > 
 > 			31       23       15       7 
 > MSR: 0x0000002a=0x00000000 : 00000000 00000000 00000000 00000000
 > MSR: 0xc0000080=0x00000000 : 00000000 00000000 00000000 00000000
 > MSR: 0xc0010010=0x00160604 : 00000000 00010110 00000110 00000100
 > MSR: 0xc0010015=0x080b9008 : 00001000 00001011 10010000 00001000
 > MSR: 0xc001001b=0x6003d22f : 01100000 00000011 11010010 00101111
 > 
 > Family: 6 Model: 8 Stepping: 1
 > CPU Model : Athlon XP (Thoroughbred)[B0]

Bingo, this has the bug.

 > For comparison, here is the output from an Athlon XP 1800+:
 > 
 > 			31       23       15       7 
 > MSR: 0x0000002a=0x00000000 : 00000000 00000000 00000000 00000000
 > MSR: 0xc0000080=0x00000000 : 00000000 00000000 00000000 00000000
 > MSR: 0xc0010010=0x00168604 : 00000000 00010110 10000110 00000100
 > MSR: 0xc0010015=0x01001008 : 00000001 00000000 00010000 00001000
 > MSR: 0xc001001b=0x6003d22f : 01100000 00000011 11010010 00101111
 > 
 > Family: 6 Model: 6 Stepping: 2
 > CPU Model : Athlon MP (palomino)

This one is ok.
The bug is that c001001b are being programmed the same way.
They need different programming on newer models, which older
BIOSes are unaware of.

I'll cook up a patch and send a complete description after a quick
compile test. Thanks for the report.

		Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

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

end of thread, other threads:[~2002-11-21 15:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-20 18:53 [CFT] Athlon testers needed Dave Jones
2002-11-20 20:11 ` erich
2002-11-21 15:13   ` Dave Jones
  -- strict thread matches above, loose matches on Subject: below --
2002-11-20 20:07 Petr Vandrovec

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.