AMD K15 sensor support

From: Sam Fourman Jr. <sfourman_at_gmail.com>
Date: Tue, 21 Feb 2012 09:58:52 -0600
I was wondering if anyone is aware of any ongoing effort to support the on
CPU temp sensors on the AMD K15 CPU's

amdtemp only supports up to K11 so far as I can tell



Sam Fourman Jr.



Titan# dmesg
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #1 r231712: Tue Feb 14 15:46:59 CST 2012
    root_at_Titan:/usr/obj/usr/src/sys/TITAN amd64
WARNING: WITNESS option enabled, expect reduced performance.
link_elf_obj: symbol PHYS_TO_VM_PAGE undefined
KLD file vboxdrv.ko - could not finalize loading
module_register: module pci/sdhci already exists!
Module pci/sdhci failed to register: 17
CPU: AMD FX(tm)-6100 Six-Core Processor              (3624.21-MHz K8-class
CPU)
  Origin = "AuthenticAMD"  Id = 0x600f12  Family = 15  Model = 1  Stepping
= 2

Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>

Features2=0x1e98220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD
Features2=0x1c9bfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,NodeId,Topology,<b23>,<b24>>
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16497942528 (15733 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <GBT    GBTUACPI>
FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
FreeBSD/SMP: 1 package(s) x 6 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
ioapic0: Changing APIC ID to 8
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ctl: CAM Target Layer loaded
cryptosoft0: <software crypto> on motherboard
acpi0: <GBT GBTUACPI> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, cfca0000 (3) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
cpu4: <ACPI CPU> on acpi0
cpu5: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on
acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
atrtc0: <AT realtime clock> port 0x70-0x73 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 18 at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xdf00-0xdf7f mem
0xf8000000-0xf9ffffff,0xd0000000-0xd7ffffff,0xdc000000-0xdfffffff irq 18 at
device 0.0 on pci1
nvidia0: <GeForce GT 545> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
hdac0: <NVIDIA GT116 HDA Controller> mem 0xfbffc000-0xfbffffff irq 19 at
device 0.1 on pci1
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 9.0 on pci0
pci2: <ACPI PCI bus> on pcib2
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfd1f8000-0xfd1fffff irq 17
at device 0.0 on pci2
xhci0: 64 byte context size.
usbus0 on xhci0
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 10.0 on pci0
pci3: <ACPI PCI bus> on pcib3
ahci0: <Marvell 88SE9172 AHCI SATA controller> port
0xef00-0xef07,0xee00-0xee03,0xed00-0xed07,0xec00-0xec03,0xeb00-0xeb0f mem
0xfdbff000-0xfdbff1ff irq 18 at device 0.0 on pci3
ahci0: AHCI v1.00 with 2 6Gbps ports, Port Multiplier supported with FBS
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahci1: <ATI IXP700 AHCI SATA controller> port
0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f mem
0xfdfff000-0xfdfff3ff irq 19 at device 17.0 on pci0
ahci1: AHCI v1.20 with 6 6Gbps ports, Port Multiplier supported
ahcich2: <AHCI channel> at channel 0 on ahci1
ahcich3: <AHCI channel> at channel 1 on ahci1
ahcich4: <AHCI channel> at channel 2 on ahci1
ahcich5: <AHCI channel> at channel 3 on ahci1
ahcich6: <AHCI channel> at channel 4 on ahci1
ahcich7: <AHCI channel> at channel 5 on ahci1
ohci0: <OHCI (generic) USB controller> mem 0xfdffe000-0xfdffefff irq 18 at
device 18.0 on pci0
usbus1: <OHCI (generic) USB controller> on ohci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfdffd000-0xfdffd0ff irq 17
at device 18.2 on pci0
usbus2: EHCI version 1.0
usbus2: <EHCI (generic) USB 2.0 controller> on ehci0
ohci1: <OHCI (generic) USB controller> mem 0xfdffc000-0xfdffcfff irq 18 at
device 19.0 on pci0
usbus3: <OHCI (generic) USB controller> on ohci1
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfdffb000-0xfdffb0ff irq 17
at device 19.2 on pci0
usbus4: EHCI version 1.0
usbus4: <EHCI (generic) USB 2.0 controller> on ehci1
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
hdac1: <ATI SB600 HDA Controller> mem 0xfdff4000-0xfdff7fff irq 16 at
device 20.2 on pci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci4: <ACPI PCI bus> on pcib4
fwohci0: <VIA Fire II (VT6306)> port 0xbf00-0xbf7f mem
0xfddff000-0xfddff7ff irq 22 at device 14.0 on pci4
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:49:e5:50:51:51:05:00
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0xcfd84000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:49:e5:51:05:00
fwe0: Ethernet address: 02:49:e5:51:05:00
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:49:e5:50:51:51:05:00 _at_ 0xfffe00000000, S400,
maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER
mode
ohci2: <OHCI (generic) USB controller> mem 0xfdffa000-0xfdffafff irq 18 at
device 20.5 on pci0
usbus5: <OHCI (generic) USB controller> on ohci2
pcib5: <ACPI PCI-PCI bridge> at device 21.0 on pci0
pci5: <ACPI PCI bus> on pcib5
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port
0xae00-0xaeff mem 0xfd9ff000-0xfd9fffff,0xfd9f8000-0xfd9fbfff irq 17 at
device 0.0 on pci5
re0: Using 1 MSI-X message
re0: Chip rev. 0x2c800000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 50:e5:49:bd:28:28
pcib6: <ACPI PCI-PCI bridge> at device 21.1 on pci0
pci6: <ACPI PCI bus> on pcib6
xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfd8f8000-0xfd8fffff irq 17
at device 0.0 on pci6
xhci1: 64 byte context size.
usbus6 on xhci1
pcib7: <ACPI PCI-PCI bridge> at device 21.2 on pci0
pci7: <ACPI PCI bus> on pcib7
pcib8: <ACPI PCI-PCI bridge> at device 21.3 on pci0
pci8: <ACPI PCI bus> on pcib8
ohci3: <OHCI (generic) USB controller> mem 0xfdff9000-0xfdff9fff irq 18 at
device 22.0 on pci0
usbus7: <OHCI (generic) USB controller> on ohci3
ehci2: <EHCI (generic) USB 2.0 controller> mem 0xfdff8000-0xfdff80ff irq 17
at device 22.2 on pci0
usbus8: EHCI version 1.0
usbus8: <EHCI (generic) USB 2.0 controller> on ehci2
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcd7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me)
firewire0: bus manager 0
ZFS filesystem version 5
ZFS storage pool version 28
Timecounters tick every 1.000 msec
hdacc0: <NVIDIA (0x0015) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0015) HDA CODEC Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0015) HDA CODEC PCM (HDMI/DP 8ch)> at nid 5 on hdaa0
hdacc1: <NVIDIA (0x0015) HDA CODEC> at cad 1 on hdac0
hdaa1: <NVIDIA (0x0015) HDA CODEC Audio Function Group> at nid 1 on hdacc1
pcm1: <NVIDIA (0x0015) HDA CODEC PCM (HDMI/DP 8ch)> at nid 5 on hdaa1
hdacc2: <NVIDIA (0x0015) HDA CODEC> at cad 2 on hdac0
hdaa2: <NVIDIA (0x0015) HDA CODEC Audio Function Group> at nid 1 on hdacc2
pcm2: <NVIDIA (0x0015) HDA CODEC PCM (HDMI/DP 8ch)> at nid 5 on hdaa2
hdacc3: <NVIDIA (0x0015) HDA CODEC> at cad 3 on hdac0
hdaa3: <NVIDIA (0x0015) HDA CODEC Audio Function Group> at nid 1 on hdacc3
pcm3: <NVIDIA (0x0015) HDA CODEC PCM (HDMI/DP 8ch)> at nid 5 on hdaa3
hdacc4: <Realtek ALC889 HDA CODEC> at cad 0 on hdac1
hdaa4: <Realtek ALC889 HDA CODEC Audio Function Group> at nid 1 on hdacc4
pcm4: <Realtek ALC889 HDA CODEC PCM (Rear Analog 7.1/2.0)> at nid
20,22,21,23 and 24,26 on hdaa4
pcm5: <Realtek ALC889 HDA CODEC PCM (Front Analog)> at nid 27 and 25 on
hdaa4
pcm6: <Realtek ALC889 HDA CODEC PCM (Rear Digital)> at nid 30 on hdaa4
pcm7: <Realtek ALC889 HDA CODEC PCM (Onboard Digital)> at nid 17 on hdaa4
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 5.0Gbps Super Speed USB v3.0
usbus7: 12Mbps Full Speed USB v1.0
usbus8: 480Mbps High Speed USB v2.0
ugen0.1: <0x1b6f> at usbus0
uhub0: <0x1b6f XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
uhub2: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
uhub4: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <0x1b6f> at usbus6
uhub6: <0x1b6f XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus6
ugen7.1: <ATI> at usbus7
uhub7: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus7
ugen8.1: <ATI> at usbus8
uhub8: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus8
uhub5: 2 ports with 2 removable, self powered
uhub7: 4 ports with 4 removable, self powered
uhub1: 5 ports with 5 removable, self powered
uhub3: 5 ports with 5 removable, self powered
uhub0: 4 ports with 4 removable, self powered
uhub6: 4 ports with 4 removable, self powered
uhub8: 4 ports with 4 removable, self powered
uhub2: 5 ports with 5 removable, self powered
uhub4: 5 ports with 5 removable, self powered
ugen1.2: <Logitech> at usbus1
ugen3.2: <Logitech> at usbus3
ums1: <Logitech USB-PS2 Optical Mouse, class 0/0, rev 2.00/21.00, addr 2>
on usbus1
ukbd0: <USB Keyboard> on usbus3
ums1: 8 buttons and [XYZ] coordinates ID=0
kbd2 at ukbd0
uhid0: <USB Keyboard> on usbus3
ada0 at ahcich3 bus 0 scbus3 target 0 lun 0
ada0: <ST3250820AS 3.AAD> ATA-7 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 238475MB (488397168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad10
SMP: AP CPU #1 Launched!
cd0 at ahcich2 bus 0 scbus2 target 0 lun 0
cd0: <Optiarc DVD RW AD-7190S 1.01> Removable CD-ROM SCSI-0 device
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present -
tray closed
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #5 Launched!
Timecounter "TSC-low" frequency 14157085 Hz quality 1000
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/ada0p2 [rw]...
lock order reversal:
 1st 0xffffff83de30e8f8 bufwait (bufwait) _at_ /usr/src/sys/kern/vfs_bio.c:2658
 2nd 0xfffffe0012346200 dirhash (dirhash) _at_
/usr/src/sys/ufs/ufs/ufs_dirhash.c:284
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x37
_witness_debugger() at _witness_debugger+0x2c
witness_checkorder() at witness_checkorder+0x853
_sx_xlock() at _sx_xlock+0x5d
ufsdirhash_acquire() at ufsdirhash_acquire+0x33
ufsdirhash_add() at ufsdirhash_add+0x19
ufs_direnter() at ufs_direnter+0x977
ufs_makeinode() at ufs_makeinode+0x28f
VOP_CREATE_APV() at VOP_CREATE_APV+0x8d
vn_open_cred() at vn_open_cred+0x46a
kern_openat() at kern_openat+0x1f9
amd64_syscall() at amd64_syscall+0x39e
Xfast_syscall() at Xfast_syscall+0xf7
--- syscall (5, FreeBSD ELF64, sys_open), rip = 0x80094931c, rsp =
0x7fffffffd798, rbp = 0x800c0708b ---
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
re0: link state changed to UP
acquiring duplicate lock of same type: "os.lock_mtx"
 1st os.lock_mtx _at_ nvidia_os.c:872
 2nd os.lock_mtx _at_ nvidia_os.c:872
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x37
_witness_debugger() at _witness_debugger+0x2c
witness_checkorder() at witness_checkorder+0x93a
_mtx_lock_flags() at _mtx_lock_flags+0x85
os_acquire_spinlock() at os_acquire_spinlock+0x1a
_nv014437rm() at _nv014437rm+0x9
lock order reversal:
 1st 0xfffffe0012156620 pseudofs (pseudofs) _at_
/usr/src/sys/kern/vfs_syscalls.c:4181
 2nd 0xffffffff811cafc0 allproc (allproc) _at_
/usr/src/sys/fs/pseudofs/pseudofs_vnops.c:765
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x37
_witness_debugger() at _witness_debugger+0x2c
witness_checkorder() at witness_checkorder+0x853
_sx_slock() at _sx_slock+0x63
pfs_readdir() at pfs_readdir+0x101
kern_getdirentries() at kern_getdirentries+0x135
sys_getdirentries() at sys_getdirentries+0x23
amd64_syscall() at amd64_syscall+0x39e
Xfast_syscall() at Xfast_syscall+0xf7
--- syscall (196, FreeBSD ELF64, sys_getdirentries), rip = 0x80153624c, rsp
= 0x7fffffffd558, rbp = 0x1 ---
pid 1776 (perl5.12.4), uid 0: exited on signal 6 (core dumped)
pid 1774 (perl5.12.4), uid 0: exited on signal 6 (core dumped)
lock order reversal:
 1st 0xfffffe014285b098 ufs (ufs) _at_ /usr/src/sys/kern/vfs_syscalls.c:3583
 2nd 0xffffff83df9bb358 bufwait (bufwait) _at_
/usr/src/sys/ufs/ffs/ffs_vnops.c:260
 3rd 0xfffffe017cf787f8 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2167
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x37
_witness_debugger() at _witness_debugger+0x2c
witness_checkorder() at witness_checkorder+0x853
__lockmgr_args() at __lockmgr_args+0xdc6
ffs_lock() at ffs_lock+0x8c
VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b
_vn_lock() at _vn_lock+0x47
vget() at vget+0x7b
vfs_hash_get() at vfs_hash_get+0xd5
ffs_vgetf() at ffs_vgetf+0x48
softdep_sync_buf() at softdep_sync_buf+0x56a
ffs_syncvnode() at ffs_syncvnode+0x2b3
ffs_fsync() at ffs_fsync+0x43
sys_fsync() at sys_fsync+0x14d
amd64_syscall() at amd64_syscall+0x39e
Xfast_syscall() at Xfast_syscall+0xf7
--- syscall (95, FreeBSD ELF64, sys_fsync), rip = 0x80a91884c, rsp =
0x7ffffe78ccb8, rbp = 0 ---


-- 

Sam Fourman Jr.
Fourman Networks
http://www.fourmannetworks.com
Received on Tue Feb 21 2012 - 14:58:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC