Current-Users archive

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

Re: cpuctl fails to identify AMD quad-core Phenom processor



Hi,

My Phenom works with Gigabyte motherboard (MA78GM-S2H)

    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0.1 (mpkrnl) #0: Sat Nov 22 00:20:40 PST 2008
        root@Phenom64:/usr/src/sys/arch/amd64/compile/mpkrnl
total memory = 4093 MB
avail memory = 3937 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Phenom(tm) 9850 Quad-Core Processor, 2505.45 MHz
cpu0: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW>
cpu0: features2: 802009<SSE3,MONITOR>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 512 KB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 16 4 MB entries fully
associative
cpu0: DTLB 48 4 KB entries fully associative, 48 4 MB entries fully
associative
cpu0: AMD Power Management features: 1f9<STC,TM,TTP,TS>
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 8 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: AMD Phenom(tm) 9850 Quad-Core Processor, 2505.35 MHz
cpu1: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu1: features: ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW>
cpu1: features2: 802009<SSE3,MONITOR>
cpu1: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu1: L2 cache 512 KB 64B/line 16-way
cpu1: ITLB 32 4 KB entries fully associative, 16 4 MB entries fully
associative
cpu1: DTLB 48 4 KB entries fully associative, 48 4 MB entries fully
associative
cpu1: AMD Power Management features: 1f9<STC,TM,TTP,TS>
cpu2 at mainbus0: apid 2 (application processor)
cpu2: starting
cpu2: AMD Phenom(tm) 9850 Quad-Core Processor, 2505.35 MHz
cpu2: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu2: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu2: features: ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW>
cpu2: features2: 802009<SSE3,MONITOR>
cpu2: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu2: L2 cache 512 KB 64B/line 16-way
cpu2: ITLB 32 4 KB entries fully associative, 16 4 MB entries fully
associative
cpu2: DTLB 48 4 KB entries fully associative, 48 4 MB entries fully
associative
cpu2: AMD Power Management features: 1f9<STC,TM,TTP,TS>
cpu3 at mainbus0: apid 3 (application processor)
cpu3: starting
cpu3: AMD Phenom(tm) 9850 Quad-Core Processor, 2505.35 MHz
cpu3: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu3: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu3: features: ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW>
cpu3: features2: 802009<SSE3,MONITOR>
cpu3: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu3: L2 cache 512 KB 64B/line 16-way
cpu3: ITLB 32 4 KB entries fully associative, 16 4 MB entries fully
associative
cpu3: DTLB 48 4 KB entries fully associative, 48 4 MB entries fully
associative
cpu3: AMD Power Management features: 1f9<STC,TM,TTP,TS>

with top -S command
load averages:  1.07,  1.06,  0.78                                         
up 0 days,  0:25   09:00:59
61 processes:  58 sleeping, 1 stopped, 2 on processor
CPU0 states:  2.0% user,  0.0% nice, 11.4% system, 71.6% interrupt, 14.9%
idle
CPU1 states:  1.5% user,  0.0% nice,  2.0% system,  0.0% interrupt, 96.5%
idle
CPU2 states:  2.0% user,  0.0% nice,  7.0% system,  0.0% interrupt, 91.0%
idle
CPU3 states: 52.7% user,  0.0% nice,  2.5% system,  0.0% interrupt, 44.8%
idle
Memory: 674M Act, 18M Inact, 2392K Wired, 52M Exec, 444M File, 3134M Free
Swap: 2000M Total, 2000M Free

  PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
 1531 root       2    0    29M   33M select/0   1:10  1.90%  1.90% XFree86
  224 root       2    0    12M   20M poll/0     0:15  0.98%  0.98% Terminal
  209 root       2    0    36M   69M poll/0     1:48  0.00%  0.00%
firefox-bin
  353 root       2    0  2716K 8268K poll/0     0:04  0.00%  0.00%
xfce4-cpugra



-----------------------------------------------------

Paul Goyette wrote:
> 
> Just updated to 4.99.62 from sources current as of 2008-05-14 at 
> 13:20:42 UTC.
> 
> cpuctl seems to work fine on my dual-core AMD64 processors, but on my 
> quad-core Phenom I get the following:
> 
> speedy {91} dmesg | grep cpu
> cpu0 at mainbus0 apid 0: AMD 686-class, 2310MHz, id 0x100f22
> cpu0: AMD Power Management features: 1f9<STC,TM,TTP,TS>
> cpu0: 8 page colors
> cpu1 at mainbus0 apid 1: AMD 686-class, 2310MHz, id 0x100f22
> cpu1: AMD Power Management features: 1f9<STC,TM,TTP,TS>
> cpu2 at mainbus0 apid 2: AMD 686-class, 2310MHz, id 0x100f22
> cpu2: AMD Power Management features: 1f9<STC,TM,TTP,TS>
> cpu3 at mainbus0 apid 3: AMD 686-class, 2310MHz, id 0x100f22
> cpu3: AMD Power Management features: 1f9<STC,TM,TTP,TS>
> speedy {92} cpuctl identify 0
> Segmentation fault (core dumped)
> speedy {93} cpuctl identify 1
> Segmentation fault (core dumped)
> speedy {94} cpuctl identify 2
> Segmentation fault (core dumped)
> speedy {95} cpuctl identify 3
> Segmentation fault (core dumped)
> 
> The backtrace looks like this:
> 
> speedy {96} gdb /usr/sbin/cpuctl cpuctl.core
> GNU gdb 6.5
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "x86_64--netbsd"...(no debugging symbols found)
> 
> Reading symbols from /usr/lib/libc.so.12...(no debugging symbols
> found)...done.
> Loaded symbols for /usr/lib/libc.so.12
> Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols
> found)...done.
> Loaded symbols for /usr/libexec/ld.elf_so
> 
> Core was generated by `cpuctl'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00007f7ffdb8deab in strstr () from /usr/lib/libc.so.12
> (gdb) bt
> #0  0x00007f7ffdb8deab in strstr () from /usr/lib/libc.so.12
> #1  0x00000000004022a5 in amd_family6_probe ()
> #2  0x00000000004032d2 in identifycpu ()
> #3  0x00000000004015e8 in cpu_identify ()
> #4  0x0000000000401796 in main ()
> (gdb)
> 
> ----------------------------------------------------------------------
> |   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
> | Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost  
>  |
> | Network Engineer | 0786 F758 55DE 53BA 7731 | 
> pgoyette%juniper.net@localhost |
> ----------------------------------------------------------------------
> 
> 

-- 
View this message in context: 
http://www.nabble.com/cpuctl-fails-to-identify-AMD-quad-core-Phenom-processor-tp17245669p20665016.html
Sent from the current-users mailing list archive at Nabble.com.



Home | Main Index | Thread Index | Old Index