Ted Unangst wrote:
there is a diff from gordon klok in the snapshots that should improve support for k7 and k8 family powernow (cool and quiet). i'd like to know where/if it works, what messages get printed, and if hw.setperf does anything useful. md5 -t with setperf=0 and 100 would be nice.
There is no hw.setperf available. The motherboard is ASRock K7VM4 with a VIA KM400 chipset. $ sysctl hw hw.machine=i386 hw.model=AMD Athlon(tm) XP 2800+ ("AuthenticAMD" 686-class, 512KB L2 cache) hw.ncpu=1 hw.byteorder=1234 hw.physmem=536387584 hw.usermem=535908352 hw.pagesize=4096 hw.disknames=wd0,cd0 hw.diskcount=2 hw.sensors.0=lm0, VCORE_A, volts_dc, 1.74 V hw.sensors.1=lm0, VCORE_B, volts_dc, 0.00 V hw.sensors.2=lm0, +3.3V, volts_dc, 3.33 V hw.sensors.3=lm0, +5V, volts_dc, 4.91 V hw.sensors.4=lm0, +12V, volts_dc, 11.49 V hw.sensors.5=lm0, -12V, volts_dc, 0.63 V hw.sensors.6=lm0, -5V, volts_dc, 1.74 V hw.sensors.7=lm0, +5VSB, volts_dc, 5.04 V hw.sensors.8=lm0, VBAT, volts_dc, 3.95 V hw.sensors.9=lm0, Temp1, temp, 54.00 degC / 129.20 degF hw.sensors.10=lm0, Temp2, temp, 38.50 degC / 101.30 degF hw.cpuspeed=2083 OpenBSD 3.8-current (GENERIC) #218: Thu Oct 27 04:13:58 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 2800+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.09 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE cpu0: AMD Powernow: TS real mem = 536387584 (523816K) avail mem = 482570240 (471260K) using 4278 buffers containing 26923008 bytes (26292K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 03/15/04, BIOS32 rev. 0 @ 0xfdac0 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7ce0/144 (7 entries) pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8235 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xd000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8378 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8377 PCI-PCI" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon 9200 SE Sec" rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "ATI Radeon 9200 SE" rev 0x01 at pci1 dev 0 function 1 not configured uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 3 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 10 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <ST3120026A> wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <LITE-ON, LTR-48246S, SS0B> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 5 ac97: codec id 0x434d4961 (C-Media Electronics CMI9739) audio0 at auvia0 vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11 address 00:0b:6a:37:6d:d2 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI 0x000008, model 0x4063 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 lm0 at isa0 port 0x290/8: W83697HF npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask ff6d netmask ff6d ttymask ffef pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support uhidev0 at uhub0 port 2 configuration 1 interface 0 uhidev0: Logitech USB Receiver, rev 1.10/16.00, addr 2, iclass 3/1 ums0 at uhidev0: 16 buttons and Z dir. wsmouse0 at ums0 mux 0 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302