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.
Changing hw.serperf freezes the systems. Well more or less, I can ping it, but no interaction with the machine is possible, neither "physicaly" via the console nor via ssh. In the dmesg I see the following line "cpu0: AMD Cool`n'Quiet K8: 0 available states" which can be the reason for the freeze ? setperf tries to change power state, but has no state to change to.. The machine in question is built on a Asus A8V Deluxe motherboard (VIA K8T800Pro/VT8237) and the CPU is a Athlon 64 3000+ (venice). dmesg: 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) 64 Processor 3000+ ("AuthenticAMD" 686-class, 512KB L2 cache) 1.81 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 cpu0: AMD Powernow: TS FID VID TTP TM STC cpu0: AMD Cool`n'Quiet K8: 0 available states real mem = 536125440 (523560K) avail mem = 482324480 (471020K) using 4278 buffers containing 26910720 bytes (26280K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 05/19/05, BIOS32 rev. 0 @ 0xf0010 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf59d0/224 (12 entries) pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8237 ISA" rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc0000/0x9000 0xc9000/0x6000 0xcf000/0x1000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA K8HTB Host" rev 0x00 pchb1 at pci0 dev 0 function 1 "VIA K8HTB Host" rev 0x00 pchb2 at pci0 dev 0 function 2 "VIA K8HTB Host" rev 0x00 pchb3 at pci0 dev 0 function 3 "VIA K8HTB Host" rev 0x00 pchb4 at pci0 dev 0 function 4 "VIA K8HTB Host" rev 0x00 pchb5 at pci0 dev 0 function 7 "VIA K8HTB Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00 pci1 at ppb0 bus 1 skc0 at pci0 dev 10 function 0 "Marvell SKv2" rev 0x13: irq 10 skc0: Marvell Yukon Lite (0x9) sk0 at skc0 port A: address 00:11:d8:a8:51:96 eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5 ppb1 at pci0 dev 11 function 0 vendor "Hint", unknown product 0x0021 rev 0x13 pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "Matrox MGA G400/G450 AGP" rev 0x85 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ahc1 at pci0 dev 13 function 0 "Adaptec AHA-2940U" rev 0x00: irq 5 scsibus0 at ahc1: 16 targets ahc1: target 1 using 8bit transfers ahc1: target 1 using asynchronous transfers sd0 at scsibus0 targ 1 lun 0: <COMPAQ, ST32171W, 0682> SCSI2 0/direct fixed sd0: 2006MB, 5172 cyl, 5 head, 158 sec, 512 bytes/sec, 4110000 sec total ubsec0 at pci0 dev 14 function 0 "Broadcom 5821" rev 0x02: 3DES MD5 SHA1 RNG PK, irq 3 pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA pciide0: using irq 10 for native-PCI interrupt pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide1: channel 0 disabled (no drives) atapiscsi0 at pciide1 channel 1 drive 1 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <LITE-ON, DVD SOHD-16P9S, FS07> SCSI0 5/ cdrom removable cd0(pciide1:1:1): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: 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 0x81: irq 11 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 0x81: irq 10 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 4 "VIA VT6202 USB" rev 0x86: irq 5 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 VT8237 ISA" rev 0x00 auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: irq 5 ac97: codec id 0x414c4790 (Avance Logic ALC850) audio0 at auvia0 pchb6 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb7 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb8 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb9 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 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 lm0 at isa0 port 0x290/8: W83627THF npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo biomask ffe5 netmask ffed ttymask ffef pctr: user-level cycle counter enabled ahc1: target 1 using 16bit transfers ahc1: target 1 synchronous at 20.0MHz, offset = 0x8 dkcsum: sd0 matches BIOS drive 0x80 root on sd0a rootdev=0x400 rrootdev=0xd00 rawdev=0xd02 -- Jonathan Fromer