adt(4) on Sun W1100z OpenBSD6.0-stable returns weird(?) temperature and RPM

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

adt(4) on Sun W1100z OpenBSD6.0-stable returns weird(?) temperature and RPM

janus
Hello openbsd-misc,

I've got a legacy "Sun Microsystems W1100z" running 6.0-stable AMD64

I've noticed that the ADT driver correctly attaches, but reports weird
(excessive?)
temperature and RPM. Is adt7467 supported?

###
adt0 at iic0 addr 0x2e: adt7467 rev 0x71

$ sysctl -a | grep -e  degC -e RPM
hw.sensors.acpitz0.temp0=45.00 degC (zone temperature)
hw.sensors.adt0.temp0=109.00 degC (Remote)
hw.sensors.adt0.temp1=109.00 degC (Internal)
hw.sensors.adt0.temp2=0.00 degC (Remote)
hw.sensors.adt0.fan0=675000 RPM
hw.sensors.adt0.fan2=675000 RPM
hw.sensors.kate0.temp2=63.00 degC
###

Full `dmesg' and full `sysctl -a' follows. (sections divided by ###)

I've changed kern.hostname to <HOSTNAME> in sysctl output to protect the
guilty...

Thank you for your time,
Jan Vlach

### DMESG

OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43 MDT 2016
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2130051072 (2031MB)
avail mem = 2061082624 (1965MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.33 @ 0xefeb0 (37 entries)
bios0: vendor Sun Microsystems version "R01-B5 S0" date 03/17/2006
bios0: Sun Microsystems W1100z/2100z
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SRAT APIC SSDT
acpi0: wakeup devices USB0(S1) USB1(S1) Z009(S1) Z00A(S1) Z00B(S1) G0PA(S4) G0PB(S4) G1PA(S4) G1PB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Opteron(tm) Processor 144, 1795.16 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: AMD errata 89, 97, 101 present, BIOS upgrade may be required
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 24 pins
ioapic1 at mainbus0: apid 2 pa 0xe8000000, version 11, 4 pins
ioapic2 at mainbus0: apid 3 pa 0xe8010000, version 11, 4 pins
ioapic3 at mainbus0: apid 4 pa 0xe8500000, version 11, 4 pins
ioapic4 at mainbus0: apid 5 pa 0xe8510000, version 11, 4 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (TP2P)
acpiprt2 at acpi0: bus 2 (G0PA)
acpiprt3 at acpi0: bus 3 (G0PB)
acpiprt4 at acpi0: bus 9 (Z00D)
acpiprt5 at acpi0: bus 14 (G1PA)
acpiprt6 at acpi0: bus 19 (G1PB)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpitz0 at acpi0: critical temperature is 65 degC
acpibtn0 at acpi0: PWRB
"PNP0A05" at acpi0 not configured
"PNP0501" at acpi0 not configured
"PNP0501" at acpi0 not configured
cpu0: Cool'n'Quiet K8 1795 MHz: speeds: 1800 1000 MHz
pci0 at mainbus0 bus 0
ppb0 at pci0 dev 6 function 0 "AMD 8111" rev 0x07
pci1 at ppb0 bus 1
pciide0 at pci1 dev 2 function 0 "CMD Technology SiI3512 SATA" rev 0x01: DMA
pciide0: using apic 1 int 17 for native-PCI interrupt
ohci0 at pci1 dev 3 function 0 "NEC USB" rev 0x43: apic 1 int 18, version 1.0, legacy support
ohci1 at pci1 dev 3 function 1 "NEC USB" rev 0x43: apic 1 int 19, version 1.0, legacy support
ehci0 at pci1 dev 3 function 2 "NEC USB" rev 0x04: apic 1 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
amdpcib0 at pci0 dev 7 function 0 "AMD 8111 LPC" rev 0x05
pciide1 at pci0 dev 7 function 1 "AMD 8111 IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide1 channel 0 drive 0: <HDS722580VLAT20>
wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors
wd1 at pciide1 channel 0 drive 1: <WDC WD800BB-22JHC0>
wd1: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
wd2 at pciide1 channel 1 drive 0: <IC35L090AVV207-0>
wd2: 16-sector PIO, LBA48, 76293MB, 156250000 sectors
wd2(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
amdiic0 at pci0 dev 7 function 2 "AMD 8111 SMBus" rev 0x02: SCI
iic0 at amdiic0
adt0 at iic0 addr 0x2e: adt7467 rev 0x71
amdpm0 at pci0 dev 7 function 3 "AMD 8111 Power" rev 0x05
ppb1 at pci0 dev 10 function 0 "AMD 8131 PCIX" rev 0x12
pci2 at ppb1 bus 2
aapic0 at pci0 dev 10 function 1 "AMD 8131 PCIX IOAPIC" rev 0x01
ppb2 at pci0 dev 11 function 0 "AMD 8131 PCIX" rev 0x12
pci3 at ppb2 bus 3
bge0 at pci3 dev 2 function 0 "Broadcom BCM5703X" rev 0x02, BCM5702/5703 A2 (0x1002): apic 3 int 0, address 00:0a:e4:2a:31:92
brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
aapic1 at pci0 dev 11 function 1 "AMD 8131 PCIX IOAPIC" rev 0x01
pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pci4 at pchb0 bus 8
pchb1 at pci4 dev 0 function 0 "AMD 8151 Sys Control" rev 0x14
agp at pchb1 not configured
ppb3 at pci4 dev 1 function 0 "AMD 8151 AGP" rev 0x14
pci5 at ppb3 bus 9
vga1 at pci5 dev 0 function 0 "NVIDIA Quadro FX 500/600" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb4 at pci4 dev 3 function 0 "AMD 8131 PCIX" rev 0x12
pci6 at ppb4 bus 14
aapic2 at pci4 dev 3 function 1 "AMD 8131 PCIX IOAPIC" rev 0x01
ppb5 at pci4 dev 4 function 0 "AMD 8131 PCIX" rev 0x12
pci7 at ppb5 bus 19
aapic3 at pci4 dev 4 function 1 "AMD 8131 PCIX IOAPIC" rev 0x01
pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00
isa0 at amdpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
uhidev0 at uhub1 port 1 configuration 1 interface 0 "Fujitsu Component Type 6 Mouse" rev 1.10/1.05 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons
wsmouse0 at ums0 mux 0
uhidev1 at uhub2 port 1 configuration 1 interface 0 "Fujitsu Component Type 6 Keyboard" rev 1.10/2.00 addr 2
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes, country code 33
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
sd0 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd0: 12288MB, 512 bytes/sector, 25166144 sectors
sd1 at scsibus2 targ 2 lun 0: <OPENBSD, SR RAID 5, 006> SCSI2 0/direct fixed
sd1: 128009MB, 512 bytes/sector, 262163456 sectors
root on sd0a (fa2990a1df709542.a) swap on sd0b dump on sd0b


### SYSCTL -A
kern.ostype=OpenBSD
kern.osrelease=6.0
kern.osrevision=201609
kern.version=OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43 MDT 2016
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

kern.maxvnodes=29306
kern.maxproc=1310
kern.maxfiles=7030
kern.argmax=262144
kern.securelevel=1
kern.hostname=<HOSTNAME
kern.hostid=0
kern.clockrate=tick = 10000, tickadj = 40, hz = 100, profhz = 100, stathz = 100
kern.posix1version=200809
kern.ngroups=16
kern.job_control=1
kern.saved_ids=1
kern.boottime=Fri Sep  2 11:10:14 2016
kern.domainname=
kern.maxpartitions=16
kern.rawpartition=2
kern.maxthread=1950
kern.nthreads=87
kern.osversion=GENERIC.MP#2319
kern.somaxconn=128
kern.sominconn=80
kern.usermount=0
kern.nosuidcoredump=1
kern.fsync=1
kern.sysvmsg=1
kern.sysvsem=1
kern.sysvshm=1
kern.arandom=986638177
kern.msgbufsize=65488
kern.malloc.buckets=16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144,524288
kern.malloc.bucket.16=(calls = 1213189 total_allocated = 1280 total_free = 253 elements = 256 high watermark = 1280 could_free = 0)
kern.malloc.bucket.32=(calls = 4536265 total_allocated = 6912 total_free = 5888 elements = 128 high watermark = 640 could_free = 40828)
kern.malloc.bucket.64=(calls = 240858242 total_allocated = 2176 total_free = 1345 elements = 64 high watermark = 320 could_free = 861139)
kern.malloc.bucket.128=(calls = 29342960 total_allocated = 11136 total_free = 8772 elements = 32 high watermark = 160 could_free = 22508776)
kern.malloc.bucket.256=(calls = 6251185 total_allocated = 688 total_free = 265 elements = 16 high watermark = 80 could_free = 1757346)
kern.malloc.bucket.512=(calls = 3356773 total_allocated = 24736 total_free = 24376 elements = 8 high watermark = 40 could_free = 1333354)
kern.malloc.bucket.1024=(calls = 6304705 total_allocated = 728 total_free = 2 elements = 4 high watermark = 20 could_free = 0)
kern.malloc.bucket.2048=(calls = 841 total_allocated = 40 total_free = 1 elements = 2 high watermark = 10 could_free = 0)
kern.malloc.bucket.4096=(calls = 3319513 total_allocated = 44 total_free = 1 elements = 1 high watermark = 5 could_free = 0)
kern.malloc.bucket.8192=(calls = 749 total_allocated = 204 total_free = 1 elements = 1 high watermark = 5 could_free = 0)
kern.malloc.bucket.16384=(calls = 18816 total_allocated = 5 total_free = 0 elements = 1 high watermark = 5 could_free = 0)
kern.malloc.bucket.32768=(calls = 21 total_allocated = 12 total_free = 0 elements = 1 high watermark = 5 could_free = 0)
kern.malloc.bucket.65536=(calls = 7612422 total_allocated = 4 total_free = 0 elements = 1 high watermark = 5 could_free = 0)
kern.malloc.bucket.131072=(calls = 1 total_allocated = 1 total_free = 0 elements = 1 high watermark = 5 could_free = 0)
kern.malloc.bucket.262144=(calls = 0 total_allocated = 0 total_free = 0 elements = 1 high watermark = 5 could_free = 0)
kern.malloc.bucket.524288=(calls = 0 total_allocated = 0 total_free = 0 elements = 1 high watermark = 5 could_free = 0)
kern.malloc.kmemnames=free,,devbuf,debug,pcb,rtable,,fragtbl,,ifaddr,soopts,sysctl,,,ioctlops,,,,,iov,mount,,NFS_req,NFS_mount,,vnodes,namecache,UFS_quota,UFS_mount,shm,VM_map,sem,dirhash,ACPI,VM_pmap,,,,file,file_desc,,proc,subproc,VFS_cluster,,,MFS_node,,,Export_Host,NFS_srvsock,,NFS_daemon,ip_moptions,in_multi,ether_multi,mrt,ISOFS_mount,ISOFS_node,MSDOSFS_mount,MSDOSFS_fat,MSDOSFS_node,ttys,exec,miscfs_mount,fusefs_mount,,,,,,,,,pfkey_data,tdb,xform_data,,pagedep,inodedep,newblk,,,indirdep,,,,,,,,,VM_swap,,,,,,UVM_amap,UVM_aobj,,USB,USB_device,USB_HC,,memdesc,,,crypto_data,,IPsec_creds,,,,emuldata,,,,,,,,,ip6_options,NDP,,,temp,NTFS_mount,NTFS_node,NTFS_fnode,NTFS_dir,NTFS_hash,NTFS_attr,NTFS_data,NTFS_decomp,NTFS_vrun,kqueue,,SYN_cache,UDF_mount,UDF_file_entry,UDF_file_id,,AGP_Memory,DRM
kern.malloc.kmemstat.free=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.devbuf=(inuse = 1955, calls = 1233463, memuse = 1255K, limblocks = 0, mapblocks = 0, maxused = 1256K, limit = 78644K, spare = 0, sizes = (16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536))
kern.malloc.kmemstat.debug=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.pcb=(inuse = 92, calls = 3020178, memuse = 20K, limblocks = 0, mapblocks = 0, maxused = 23K, limit = 78644K, spare = 0, sizes = (16,32,128,1024,2048))
kern.malloc.kmemstat.rtable=(inuse = 127, calls = 639246, memuse = 7K, limblocks = 0, mapblocks = 0, maxused = 8K, limit = 78644K, spare = 0, sizes = (16,32,64,128,256))
kern.malloc.kmemstat.fragtbl=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.ifaddr=(inuse = 59, calls = 13326, memuse = 14K, limblocks = 0, mapblocks = 0, maxused = 14K, limit = 78644K, spare = 0, sizes = (32,64,128,256,4096))
kern.malloc.kmemstat.soopts=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.sysctl=(inuse = 3, calls = 5, memuse = 3K, limblocks = 0, mapblocks = 0, maxused = 3K, limit = 78644K, spare = 0, sizes = (128,1024))
kern.malloc.kmemstat.ioctlops=(inuse = 0, calls = 3255, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 4K, limit = 78644K, spare = 0, sizes = (256,512,1024,2048,4096))
kern.malloc.kmemstat.iov=(inuse = 0, calls = 29950, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 8K, limit = 78644K, spare = 0, sizes = (256,512,1024,2048,4096,8192))
kern.malloc.kmemstat.mount=(inuse = 9, calls = 18, memuse = 9K, limblocks = 0, mapblocks = 0, maxused = 10K, limit = 78644K, spare = 0, sizes = (1024))
kern.malloc.kmemstat.NFS_req=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.NFS_mount=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.vnodes=(inuse = 58, calls = 317522, memuse = 4K, limblocks = 0, mapblocks = 0, maxused = 86K, limit = 78644K, spare = 0, sizes = (64,128,256))
kern.malloc.kmemstat.namecache=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.UFS_quota=(inuse = 1, calls = 1, memuse = 32K, limblocks = 0, mapblocks = 0, maxused = 32K, limit = 78644K, spare = 0, sizes = (32768))
kern.malloc.kmemstat.UFS_mount=(inuse = 37, calls = 57, memuse = 82K, limblocks = 0, mapblocks = 0, maxused = 82K, limit = 78644K, spare = 0, sizes = (16,32,256,512,2048,4096,8192,32768))
kern.malloc.kmemstat.shm=(inuse = 2, calls = 2, memuse = 2K, limblocks = 0, mapblocks = 0, maxused = 2K, limit = 78644K, spare = 0, sizes = (256,1024))
kern.malloc.kmemstat.VM_map=(inuse = 2, calls = 2, memuse = 1K, limblocks = 0, mapblocks = 0, maxused = 1K, limit = 78644K, spare = 0, sizes = (256))
kern.malloc.kmemstat.sem=(inuse = 2, calls = 2, memuse = 1K, limblocks = 0, mapblocks = 0, maxused = 1K, limit = 78644K, spare = 0, sizes = (32,128))
kern.malloc.kmemstat.dirhash=(inuse = 579, calls = 58305, memuse = 112K, limblocks = 0, mapblocks = 0, maxused = 212K, limit = 78644K, spare = 0, sizes = (16,32,64,128,256,512,1024))
kern.malloc.kmemstat.ACPI=(inuse = 1587, calls = 24618332, memuse = 188K, limblocks = 0, mapblocks = 0, maxused = 204K, limit = 78644K, spare = 0, sizes = (16,32,64,128,256,512,1024,2048))
kern.malloc.kmemstat.VM_pmap=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.file=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.file_desc=(inuse = 3, calls = 41, memuse = 2K, limblocks = 0, mapblocks = 0, maxused = 7K, limit = 78644K, spare = 0, sizes = (512,1024))
kern.malloc.kmemstat.proc=(inuse = 23, calls = 23, memuse = 11K, limblocks = 0, mapblocks = 0, maxused = 11K, limit = 78644K, spare = 0, sizes = (64,1024,4096))
kern.malloc.kmemstat.subproc=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.VFS_cluster=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.MFS_node=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.Export_Host=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.NFS_srvsock=(inuse = 1, calls = 1, memuse = 1K, limblocks = 0, mapblocks = 0, maxused = 1K, limit = 78644K, spare = 0, sizes = (128))
kern.malloc.kmemstat.NFS_daemon=(inuse = 1, calls = 1, memuse = 16K, limblocks = 0, mapblocks = 0, maxused = 16K, limit = 78644K, spare = 0, sizes = (16384))
kern.malloc.kmemstat.ip_moptions=(inuse = 0, calls = 68, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 2K, limit = 78644K, spare = 0, sizes = (16,128))
kern.malloc.kmemstat.in_multi=(inuse = 63, calls = 13924, memuse = 4K, limblocks = 0, mapblocks = 0, maxused = 5K, limit = 78644K, spare = 0, sizes = (32,64,128))
kern.malloc.kmemstat.ether_multi=(inuse = 11, calls = 155, memuse = 1K, limblocks = 0, mapblocks = 0, maxused = 1K, limit = 78644K, spare = 0, sizes = (32))
kern.malloc.kmemstat.mrt=(inuse = 3, calls = 3, memuse = 1K, limblocks = 0, mapblocks = 0, maxused = 1K, limit = 78644K, spare = 0, sizes = (32))
kern.malloc.kmemstat.ISOFS_mount=(inuse = 1, calls = 2, memuse = 32K, limblocks = 0, mapblocks = 0, maxused = 33K, limit = 78644K, spare = 0, sizes = (512,32768))
kern.malloc.kmemstat.ISOFS_node=(inuse = 0, calls = 1927476, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 12199K, limit = 78644K, spare = 0, sizes = (512))
kern.malloc.kmemstat.MSDOSFS_mount=(inuse = 1, calls = 1, memuse = 16K, limblocks = 0, mapblocks = 0, maxused = 16K, limit = 78644K, spare = 0, sizes = (16384))
kern.malloc.kmemstat.MSDOSFS_fat=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.MSDOSFS_node=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.ttys=(inuse = 420, calls = 420, memuse = 1777K, limblocks = 0, mapblocks = 0, maxused = 1777K, limit = 78644K, spare = 0, sizes = (512,1024,4096,8192))
kern.malloc.kmemstat.exec=(inuse = 0, calls = 1852940, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 3K, limit = 78644K, spare = 0, sizes = (16,32,256,1024))
kern.malloc.kmemstat.miscfs_mount=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.fusefs_mount=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.pfkey_data=(inuse = 1, calls = 2, memuse = 1K, limblocks = 0, mapblocks = 0, maxused = 1K, limit = 78644K, spare = 0, sizes = (128))
kern.malloc.kmemstat.tdb=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.xform_data=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.pagedep=(inuse = 1, calls = 1, memuse = 8K, limblocks = 0, mapblocks = 0, maxused = 8K, limit = 78644K, spare = 0, sizes = (8192))
kern.malloc.kmemstat.inodedep=(inuse = 1, calls = 234551, memuse = 32K, limblocks = 0, mapblocks = 0, maxused = 1139K, limit = 78644K, spare = 0, sizes = (128,32768))
kern.malloc.kmemstat.newblk=(inuse = 1, calls = 1, memuse = 1K, limblocks = 0, mapblocks = 0, maxused = 1K, limit = 78644K, spare = 0, sizes = (512))
kern.malloc.kmemstat.indirdep=(inuse = 0, calls = 3355, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 928K, limit = 78644K, spare = 0, sizes = (16384))
kern.malloc.kmemstat.VM_swap=(inuse = 7, calls = 7, memuse = 147K, limblocks = 0, mapblocks = 0, maxused = 147K, limit = 78644K, spare = 0, sizes = (16,64,2048,65536,131072))
kern.malloc.kmemstat.UVM_amap=(inuse = 1806, calls = 4852914, memuse = 115K, limblocks = 0, mapblocks = 0, maxused = 267K, limit = 78644K, spare = 0, sizes = (16,32,64,128,256,1024))
kern.malloc.kmemstat.UVM_aobj=(inuse = 2, calls = 3, memuse = 3K, limblocks = 0, mapblocks = 0, maxused = 3K, limit = 78644K, spare = 0, sizes = (16,2048))
kern.malloc.kmemstat.USB=(inuse = 58, calls = 71, memuse = 14K, limblocks = 0, mapblocks = 0, maxused = 14K, limit = 78644K, spare = 0, sizes = (16,32,64,128,256,8192))
kern.malloc.kmemstat.USB_device=(inuse = 16, calls = 18, memuse = 1K, limblocks = 0, mapblocks = 0, maxused = 1K, limit = 78644K, spare = 0, sizes = (16,32,64,128,256))
kern.malloc.kmemstat.USB_HC=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.memdesc=(inuse = 1, calls = 2, memuse = 4K, limblocks = 0, mapblocks = 0, maxused = 5K, limit = 78644K, spare = 0, sizes = (32,4096))
kern.malloc.kmemstat.crypto_data=(inuse = 1, calls = 1, memuse = 1K, limblocks = 0, mapblocks = 0, maxused = 1K, limit = 78644K, spare = 0, sizes = (1024))
kern.malloc.kmemstat.IPsec_creds=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.emuldata=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.ip6_options=(inuse = 0, calls = 51, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 1K, limit = 78644K, spare = 0, sizes = (32,128))
kern.malloc.kmemstat.NDP=(inuse = 11, calls = 157, memuse = 1K, limblocks = 0, mapblocks = 0, maxused = 2K, limit = 78644K, spare = 0, sizes = (32,64,128,256))
kern.malloc.kmemstat.temp=(inuse = 114, calls = 263995827, memuse = 53K, limblocks = 0, mapblocks = 0, maxused = 182K, limit = 78644K, spare = 0, sizes = (16,32,64,128,256,512,1024,2048,4096,8192,16384,65536))
kern.malloc.kmemstat.NTFS_mount=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.NTFS_node=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.NTFS_fnode=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.NTFS_dir=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.NTFS_hash=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.NTFS_attr=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.NTFS_data=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.NTFS_decomp=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.NTFS_vrun=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.kqueue=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.SYN_cache=(inuse = 2, calls = 2, memuse = 16K, limblocks = 0, mapblocks = 0, maxused = 16K, limit = 78644K, spare = 0, sizes = (8192))
kern.malloc.kmemstat.UDF_mount=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.UDF_file_entry=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.UDF_file_id=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.AGP_Memory=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.malloc.kmemstat.DRM=(inuse = 0, calls = 0, memuse = 0K, limblocks = 0, mapblocks = 0, maxused = 0K, limit = 78644K, spare = 0, sizes = (none))
kern.cp_time=6414701,1184972699,3092569,272166,35838790
kern.nchstats.good_hits=412439281
kern.nchstats.negative_hits=9892486
kern.nchstats.bad_hits=462147
kern.nchstats.false_hits=2782
kern.nchstats.misses=26056580
kern.nchstats.long_names=7393512
kern.nchstats.pass2=1872519
kern.nchstats.2passes=1951857
kern.nchstats.ncs_revhits=34081
kern.nchstats.ncs_revmiss=111
kern.nchstats.ncs_dothits=0
kern.nchstats.nch_dotdothits=0
kern.forkstat.forks=1718648
kern.forkstat.vforks=9067
kern.forkstat.tforks=152821
kern.forkstat.kthreads=21
kern.forkstat.fork_pages=1204912622
kern.forkstat.vfork_pages=5023022
kern.forkstat.tfork_pages=0
kern.forkstat.kthread_pages=0
kern.nselcoll=1196
kern.tty.tk_nin=1276036
kern.tty.tk_nout=651940576
kern.tty.tk_rawcc=1271588
kern.tty.tk_cancc=4448
kern.ccpu=1948
kern.fscale=2048
kern.nprocs=78
kern.stackgap_random=262144
kern.splassert=1
kern.nfiles=233
kern.ttycount=70
kern.numvnodes=29306
kern.seminfo.semmni=10
kern.seminfo.semmns=60
kern.seminfo.semmnu=30
kern.seminfo.semmsl=60
kern.seminfo.semopm=100
kern.seminfo.semume=10
kern.seminfo.semusz=112
kern.seminfo.semvmx=32767
kern.seminfo.semaem=16384
kern.shminfo.shmmax=33554432
kern.shminfo.shmmin=1
kern.shminfo.shmmni=128
kern.shminfo.shmseg=128
kern.shminfo.shmall=8192
kern.maxclusters=6144
kern.timecounter.tick=1
kern.timecounter.timestepwarnings=0
kern.timecounter.hardware=acpitimer0
kern.timecounter.choice=i8254(0) acpitimer0(1000) dummy(-1000000)
kern.maxlocksperuid=1024
kern.bufcachepercent=20
kern.wxabort=0
kern.consdev=ttyC0
kern.netlivelocks=27
kern.pool_debug=0
kern.global_ptrace=0
vm.loadavg=1.35 1.32 1.30
vm.psstrings=0x7f7ffffd44a0
vm.swapencrypt.enable=1
vm.swapencrypt.keyscreated=0
vm.swapencrypt.keysdeleted=0
vm.nkmempages=32768
vm.anonmin=10
vm.vtextmin=5
vm.vnodemin=10
fs.posix.setuid=1
net.inet.ip.forwarding=1
net.inet.ip.redirect=1
net.inet.ip.ttl=64
net.inet.ip.sourceroute=0
net.inet.ip.directed-broadcast=0
net.inet.ip.portfirst=1024
net.inet.ip.portlast=49151
net.inet.ip.porthifirst=49152
net.inet.ip.porthilast=65535
net.inet.ip.maxqueue=300
net.inet.ip.encdebug=0
net.inet.ip.ipsec-expire-acquire=30
net.inet.ip.ipsec-invalid-life=60
net.inet.ip.ipsec-pfs=1
net.inet.ip.ipsec-soft-allocs=0
net.inet.ip.ipsec-allocs=0
net.inet.ip.ipsec-soft-bytes=0
net.inet.ip.ipsec-bytes=0
net.inet.ip.ipsec-timeout=86400
net.inet.ip.ipsec-soft-timeout=80000
net.inet.ip.ipsec-soft-firstuse=3600
net.inet.ip.ipsec-firstuse=7200
net.inet.ip.ipsec-enc-alg=aes
net.inet.ip.ipsec-auth-alg=hmac-sha1
net.inet.ip.mtudisc=1
net.inet.ip.mtudisctimeout=600
net.inet.ip.ipsec-comp-alg=deflate
net.inet.ip.ifq.len=0
net.inet.ip.ifq.maxlen=256
net.inet.ip.ifq.drops=22
net.inet.ip.mforwarding=0
net.inet.ip.multipath=0
net.inet.ip.mrtproto=19
net.inet.ip.arpqueued=0
net.inet.ip.arptimeout=1200
net.inet.ip.arpdown=20
net.inet.icmp.maskrepl=0
net.inet.icmp.bmcastecho=0
net.inet.icmp.errppslimit=100
net.inet.icmp.rediraccept=0
net.inet.icmp.redirtimeout=600
net.inet.icmp.tstamprepl=1
net.inet.ipip.allow=0
net.inet.tcp.rfc1323=1
net.inet.tcp.keepinittime=150
net.inet.tcp.keepidle=14400
net.inet.tcp.keepintvl=150
net.inet.tcp.slowhz=2
net.inet.tcp.baddynamic=1,7,9,11,13,15,17,18,19,20,21,22,23,25,37,42,43,49,53,57,67,68,70,77,79,80,87,88,95,101,102,103,104,105,106,107,109,110,111,113,115,117,119,123,129,135,137,138,139,143,152,163,164,177,178,179,191,194,199,201,202,204,206,210,213,220,372,389,427,433,443,444,445,464,465,468,512,513,514,515,521,526,530,531,532,540,543,544,545,548,554,556,587,631,636,646,706,749,750,751,754,760,871,873,888,901,993,995,1080,1109,1127,1433,1434,1524,1525,1529,1723,1900,2049,2105,2106,2108,2110,2111,2112,2120,2121,2401,2600,2601,2602,2603,2604,2605,2606,2607,2608,2627,2983,3031,3109,3260,3306,3389,3517,3689,3690,4190,4444,4500,4559,5002,5060,5222,5269,5280,5298,5353,5354,5432,5680,5900,6000,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6514,6566,7000,7001,7002,7003,7004,7005,7006,7007,7008,7009,7326,8025,8026,8140,8953,9418,10050,10051,16992,16993,16994,16995,20005
net.inet.tcp.sack=1
net.inet.tcp.mssdflt=512
net.inet.tcp.rstppslimit=100
net.inet.tcp.ackonpush=0
net.inet.tcp.ecn=0
net.inet.tcp.syncachelimit=10255
net.inet.tcp.synbucketlimit=105
net.inet.tcp.rfc3390=2
net.inet.tcp.reasslimit=3072
net.inet.tcp.sackholelimit=32768
net.inet.tcp.always_keepalive=0
net.inet.tcp.synuselimit=100000
net.inet.tcp.rootonly=2049
net.inet.tcp.synhashsize=293
net.inet.udp.checksum=1
net.inet.udp.baddynamic=7,9,13,18,19,22,37,39,49,53,67,68,69,70,80,88,105,107,109,110,111,123,129,135,137,138,139,143,161,162,163,164,177,178,179,191,194,199,201,202,204,206,210,213,220,372,389,427,444,445,464,468,500,512,513,514,517,518,520,525,533,546,547,548,554,587,623,631,636,646,664,706,749,750,751,993,995,1433,1434,1524,1525,1645,1646,1701,1723,1812,1813,1900,2049,2401,3031,3517,3689,3784,3785,4190,4444,4500,4559,4789,5002,5060,5298,5353,5354,5432,7000,7001,7002,7003,7004,7005,7006,7007,7008,7009,8025,8067,9418,10050,10051,16992,16993,16994,16995,20005,26740
net.inet.udp.recvspace=41600
net.inet.udp.sendspace=9216
net.inet.udp.rootonly=2049
net.inet.gre.allow=0
net.inet.gre.wccp=0
net.inet.esp.enable=1
net.inet.esp.udpencap=1
net.inet.esp.udpencap_port=4500
net.inet.ah.enable=1
net.inet.mobileip.allow=0
net.inet.etherip.allow=0
net.inet.ipcomp.enable=0
net.inet.carp.allow=1
net.inet.carp.preempt=0
net.inet.carp.log=2
net.inet.divert.recvspace=65636
net.inet.divert.sendspace=65636
net.inet6.ip6.forwarding=0
net.inet6.ip6.redirect=1
net.inet6.ip6.hlim=64
net.inet6.ip6.mrtproto=103
net.inet6.ip6.maxfragpackets=200
net.inet6.ip6.log_interval=5
net.inet6.ip6.hdrnestlimit=10
net.inet6.ip6.dad_count=1
net.inet6.ip6.auto_flowlabel=1
net.inet6.ip6.defmcasthlim=1
net.inet6.ip6.use_deprecated=1
net.inet6.ip6.maxfrags=200
net.inet6.ip6.mforwarding=0
net.inet6.ip6.multipath=0
net.inet6.ip6.multicast_mtudisc=0
net.inet6.ip6.neighborgcthresh=2048
net.inet6.ip6.maxifprefixes=16
net.inet6.ip6.maxifdefrouters=16
net.inet6.ip6.maxdynroutes=4096
net.inet6.ip6.dad_pending=0
net.inet6.ip6.mtudisctimeout=600
net.inet6.ip6.ifq.len=0
net.inet6.ip6.ifq.maxlen=256
net.inet6.ip6.ifq.drops=0
net.inet6.icmp6.redirtimeout=600
net.inet6.icmp6.nd6_prune=1
net.inet6.icmp6.nd6_delay=5
net.inet6.icmp6.nd6_umaxtries=3
net.inet6.icmp6.nd6_mmaxtries=3
net.inet6.icmp6.errppslimit=100
net.inet6.icmp6.nd6_maxnudhint=0
net.inet6.icmp6.mtudisc_hiwat=1280
net.inet6.icmp6.mtudisc_lowat=256
net.inet6.icmp6.nd6_debug=0
net.inet6.divert.recvspace=65636
net.inet6.divert.sendspace=65636
net.bpf.bufsize=32768
net.bpf.maxbufsize=2097152
net.mpls.ttl=255
net.mpls.maxloop_inkernel=16
net.mpls.mapttl_ip=1
net.mpls.mapttl_ip6=0
net.pipex.enable=0
net.pipex.inq.len=0
net.pipex.inq.maxlen=256
net.pipex.inq.drops=0
net.pipex.outq.len=0
net.pipex.outq.maxlen=256
net.pipex.outq.drops=0
hw.machine=amd64
hw.model=AMD Opteron(tm) Processor 144
hw.ncpu=1
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=wd0:2118804ad9b44579,wd1:5546b7309edc00c4,wd2:f24a3cfb278a033f,sd0:fa2990a1df709542,sd1:f475eae0076f7cb1
hw.diskcount=5
hw.sensors.acpitz0.temp0=45.00 degC (zone temperature)
hw.sensors.adt0.temp0=109.00 degC (Remote)
hw.sensors.adt0.temp1=109.00 degC (Internal)
hw.sensors.adt0.temp2=0.00 degC (Remote)
hw.sensors.adt0.fan0=675000 RPM
hw.sensors.adt0.fan2=675000 RPM
hw.sensors.adt0.volt0=2.59 VDC (+2.5Vin)
hw.sensors.adt0.volt1=1.55 VDC (Vccp)
hw.sensors.adt0.volt2=3.33 VDC (Vcc)
hw.sensors.adt0.volt3=3.26 VDC (+5V)
hw.sensors.adt0.volt4=12.00 VDC (+12V)
hw.sensors.kate0.temp2=62.00 degC
hw.sensors.softraid0.drive0=online (sd0), OK
hw.sensors.softraid0.drive1=online (sd1), OK
hw.cpuspeed=1795
hw.setperf=100
hw.vendor=Sun Microsystems
hw.product=W1100z/2100z
hw.version=602-2688-03
hw.serialno=0448EM100J
hw.uuid=11223344-5566-7788-99aa-bbccddeeff00
hw.physmem=2130051072
hw.usermem=2130038784
hw.ncpufound=1
hw.allowpowerdown=1
hw.perfpolicy=manual
machdep.console_device=ttyC0
machdep.bios.diskinfo.128=bootdev = 0xa0000200, cylinders = 1022, heads = 16, sectors = 63
machdep.bios.diskinfo.129=bootdev = 0xa0020200, cylinders = 1022, heads = 16, sectors = 63
machdep.bios.diskinfo.130=bootdev = 0xa0010200, cylinders = 1022, heads = 16, sectors = 63
machdep.bios.cksumlen=1
machdep.allowaperture=2
machdep.cpuvendor=AuthenticAMD
machdep.cpuid=3930
machdep.cpufeature=127663103
machdep.kbdreset=0
machdep.xcrypt=0
machdep.lidsuspend=1
ddb.radix=16
ddb.max_width=80
ddb.max_line=24
ddb.tab_stop_width=8
ddb.panic=1
ddb.console=0
ddb.log=1
ddb.trigger=0
vfs.mounts.ffs has 9 mounted instances
vfs.ffs.max_softdeps=23704
vfs.ffs.sd_tickdelay=2
vfs.ffs.sd_worklist_push=140504
vfs.ffs.sd_blk_limit_push=7579
vfs.ffs.sd_ino_limit_push=766
vfs.ffs.sd_blk_limit_hit=4268
vfs.ffs.sd_ino_limit_hit=620
vfs.ffs.sd_sync_limit_hit=3144
vfs.ffs.sd_indir_blk_ptrs=3355
vfs.ffs.sd_inode_bitmap=11281
vfs.ffs.sd_direct_blk_ptrs=83064
vfs.ffs.sd_dir_entry=52122
vfs.ffs.dirhash_dirsize=2560
vfs.ffs.dirhash_maxmem=2097152
vfs.ffs.dirhash_mem=918077
vfs.nfs.iothreads=-1
vfs.fuse.fusefs_open_devices=0
vfs.fuse.fusefs_fbufs_in=0
vfs.fuse.fusefs_fbufs_wait=0
vfs.fuse.fusefs_pool_pages=0

Reply | Threaded
Open this post in threaded view
|

Re: adt(4) on Sun W1100z OpenBSD6.0-stable returns weird(?) temperature and RPM

Theo de Raadt-2
> I've noticed that the ADT driver correctly attaches, but reports weird
> (excessive?)
> temperature and RPM. Is adt7467 supported?
>
> ###
> adt0 at iic0 addr 0x2e: adt7467 rev 0x71
>
> $ sysctl -a | grep -e  degC -e RPM
> hw.sensors.acpitz0.temp0=45.00 degC (zone temperature)
> hw.sensors.adt0.temp0=109.00 degC (Remote)
> hw.sensors.adt0.temp1=109.00 degC (Internal)
> hw.sensors.adt0.temp2=0.00 degC (Remote)
> hw.sensors.adt0.fan0=675000 RPM
> hw.sensors.adt0.fan2=675000 RPM
> hw.sensors.kate0.temp2=63.00 degC

Early sensor devices were rather annoying.  Registers indicate a value
which needs to be scaled using per-device tables.  Assuming the device
has been properly wired externally with registers and capacitors.  If
that wiring diagram was changed, the vendor who put them into the
machine would know but we wouldn't.  We've even seen chips with some
of the sensors pins left floating or tied to ground.

These drivers were best effort.