On Dec 02 20:04:18, Jan Stary wrote: > This is 4.6-stable on a HP EliteBook 8530w (demsg below). > > $ sysctl hw.setperf > hw.setperf=5 > > I wonder how the 5 got there. I am not setting it; > acpi is disabled (because boot hangs with acpi enabled), > apmd is not running.
No really, what could possibly set hw.setperf besides sysctl (which I do not call) and apmd (which is not running)? And where does the number 5 come from? Or, what obvious triviality have I overlooked? Is hw.setperf meaningless when apm/acpi is disabled? Has anyone experienced the same (on this machine or another)? > Note how the kernel is confused (or lied to?) about > the CPU's possible frequencies. Is that relevant to > the hw.setperf setting? > > > Thanks > > Jan > > > OpenBSD 4.6-stable (GENERIC.MP) #1: Mon Oct 26 12:21:36 CET 2009 > r...@hp.stare.cz:/usr/src/sys/arch/i386/compile/GENERIC.MP > RTC BIOS diagnostic error bb<clock_battery,config_unit,memory_size,fixed_disk> > cpu0: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz ("GenuineIntel" 686-class) > 2.53 GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR > real mem = 2125561856 (2027MB) > avail mem = 2046459904 (1951MB) > RTC BIOS diagnostic error bb<clock_battery,config_unit,memory_size,fixed_disk> > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 11/10/08, SMBIOS rev. 2.4 @ 0x7edc4000 > (21 entries) > bios0: vendor Hewlett-Packard version "68PDV Ver. F.06" date 12/15/2008 > bios0: Hewlett-Packard HP EliteBook 8530w > acpi at bios0 function 0x0 not configured > pcibios at bios0 function 0x1a not configured > bios0: ROM list: 0xc0000/0xe200 0xce800/0x1000 > cpu0 at mainbus0: (uniprocessor) > cpu0: unknown Enhanced SpeedStep CPU, msr 0x0617492506004925 > cpu0: using only highest and lowest power states > cpu0: Enhanced SpeedStep 2528 MHz: speeds: 19467, 1600 MHz > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 > ppb0 at pci0 dev 1 function 0 "Intel GM45 PCIE" rev 0x07: irq 10 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x065c rev 0xa1 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > "Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured > pciide0 at pci0 dev 3 function 2 "Intel GM45 PT IDER" rev 0x07: DMA > (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI > pciide0: using irq 11 for native-PCI interrupt > pciide0: channel 0 ignored (not responding; disabled or no drives?) > pciide0: channel 1 ignored (not responding; disabled or no drives?) > "Intel GM45 AMT SOL" rev 0x07 at pci0 dev 3 function 3 not configured > em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: irq 10, > address 00:23:7d:e7:ac:60 > uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: irq 10 > uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: irq 10 > uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: irq 11 > ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: irq 10 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: irq 10 > azalia0: RIRB time out > azalia0: codecs: Analog Devices AD1984A, AT&T/Lucent/0x1040, using Analog > Devices AD1984A > audio0 at azalia0 > ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: irq 10 > pci2 at ppb1 bus 2 > ppb2 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: irq 10 > pci3 at ppb2 bus 3 > iwn0 at pci3 dev 0 function 0 "Intel WiFi Link 5300" rev 0x00: irq 10, MIMO > 3T3R, MoW, address 00:21:6a:0f:b2:8e > ppb3 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: irq 11 > pci4 at ppb3 bus 4 > ppb4 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: irq 10 > pci5 at ppb4 bus 69 > uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: irq 10 > uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: irq 10 > uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: irq 11 > ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: irq 10 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93 > pci6 at ppb5 bus 134 > "Ricoh 5C832 Firewire" rev 0x06 at pci6 dev 9 function 0 not configured > sdhc0 at pci6 dev 9 function 1 "Ricoh 5C822 SD/MMC" rev 0x25: irq 10 > sdmmc0 at sdhc0 > "Ricoh 5C843 MMC" rev 0x14 at pci6 dev 9 function 2 not configured > "Ricoh 5C592 Memory Stick" rev 0x14 at pci6 dev 9 function 3 not configured > "Ricoh 5C852 xD" rev 0x14 at pci6 dev 9 function 4 not configured > cbb0 at pci6 dev 9 function 5 "Ricoh 5C476 CardBus" rev 0xbb: irq 10 > cardslot0 at cbb0 slot 0 flags 0 > cardbus0 at cardslot0: bus 135 device 0 cacheline 0x0, lattimer 0x20 > pcmcia0 at cardslot0 > pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03 > ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: irq 10, AHCI 1.2 > scsibus0 at ahci0: 32 targets > sd0 at scsibus0 targ 0 lun 0: <ATA, Hitachi HTS72322, FCDO> SCSI3 0/direct > fixed > sd0: 238475MB, 512 bytes/sec, 488397168 sec total > cd0 at scsibus0 targ 1 lun 0: <HL-DT-ST, DVDRAM GSA-T50L, SC04> ATAPI 5/cdrom > removable > usb2 at uhci0: USB revision 1.0 > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb3 at uhci1: USB revision 1.0 > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb4 at uhci2: USB revision 1.0 > uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb5 at uhci3: USB revision 1.0 > uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb6 at uhci4: USB revision 1.0 > uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb7 at uhci5: USB revision 1.0 > uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > 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 > pms0 at pckbc0 (aux slot) > pckbc0: using irq 12 for aux slot > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > midi0 at pcppi0: <PC speaker> > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > biomask ef7d netmask ef7d ttymask ffff > mtrr: Pentium Pro MTRR support > "RICOH, Bay8Controller" (manufacturer 0x0, product 0x0) at pcmcia0 function 0 > not configured > uvideo0 at uhub0 port 5 configuration 1 interface 0 "Chicony Electronics Co., > Ltd. CKA7216" rev 2.00/32.18 addr 2 > video0 at uvideo0 > ugen0 at uhub3 port 1 "AuthenTec Fingerprint Sensor" rev 2.00/17.03 addr 2 > softraid0 at root > root on sd0a swap on sd0b dump on sd0b > iwn0: radio is disabled by hardware switch > iwn0: radio is disabled by hardware switch > iwn0: radio is disabled by hardware switch > iwn0: RF switch: radio disabled > scsibus1 at softraid0: 1 targets > sd1 at scsibus1 targ 0 lun 0: <OPENBSD, SR CRYPTO, 003> SCSI2 0/direct fixed > sd1: 161450MB, 512 bytes/sec, 330649751 sec total > > hw.machine=i386 > hw.model=Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz ("GenuineIntel" 686-class) > hw.ncpu=1 > hw.byteorder=1234 > hw.pagesize=4096 > hw.disknames=sd0,cd0,sd1 > hw.diskcount=3 > hw.sensors.cpu0.temp0=35.00 degC > hw.sensors.softraid0.drive0=online (sd1), OK > hw.cpuspeed=2528 > hw.setperf=5 > hw.vendor=Hewlett-Packard > hw.product=HP EliteBook 8530w > hw.version=F.06 > hw.serialno=2CE905GXS6 > hw.uuid=a48b2712-28f4-dd11-8643-2c486701a006 > hw.physmem=2125561856 > hw.usermem=2125549568 > hw.ncpufound=1