Current-Users archive

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

cpuctl fails to identify AMD quad-core Phenom processor



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 |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index