NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/38667: cpuctl does not properly deal with AMD Phenom



Paul Goyette wrote:
The following reply was made to PR bin/38667; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: Chris Gilbert <chris%dokein.co.uk@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, 
netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/38667: cpuctl does not properly deal with AMD Phenom
Date: Sat, 17 May 2008 05:45:52 -0700 (PDT)

 On Sat, 17 May 2008, Chris Gilbert wrote:
>> + case 0x01:
 >>  +            switch (model) {
 >>  +                    case 0x02:
 >>  +                            ret = "Phenom";
 >
 > I think this would have to actually be "Family 10h", as Opteron's also
 > report the same cpuid.  See page 5 of:
 > 
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/41322.pdf
 >
 > If you're ok with that I'll check in the change.
Hmmm, when all this was still in-kernel we were able to differentiate (or at least, unambiguously identify my quad-core Phenom). Here's the dmesg output from previous 4.99.60 kernel: cpu0 at mainbus0 apid 0: (boot processor)
   cpu0: AMD Phenom(tm) 9600 Quad-Core Processor, 2310.80 MHz
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That's not actually the kernel. That's the embedded ID string in the CPU that has the branding info. My quad-core also had an AMD unknown CPU (or similar) line in the output.

Thanks,
Chris


Home | Main Index | Thread Index | Old Index