On Fri, Jun 17, 2005 at 11:15:28AM -0500, Rick Pettit wrote: > I just loaded a recent 3.7 snapshot and now I seem to be having APM issues.
please try -current. > > Not long ago I was running a 3.6 snapshot and didn't have problems with a > "sudo reboot" or a "sudo shutdown -h -p now". I was also able to unplug A/C > power without locking up the machine. > > Now, when I perform a "sudo reboot" or a "sudo shutdown -h -p now" I see the > message indicating syncing completed and that the machine is rebooting or > shutting down but then it just stops and I have to manually reset. > > When I unplug A/C power the machine locks up and the fan spins like mad. > > Here are the current sysctl settings relevant to apm: > > [EMAIL PROTECTED] /home/rpettit $ sysctl -a | grep apm > machdep.apmwarn=5 > machdep.apmhalt=1 > > Last but not least, here is the dmesg: > > OpenBSD 3.7-current (GENERIC) #189: Fri Jun 10 14:44:35 MDT 2005 > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Intel Pentium III ("GenuineIntel" 686-class) 848 MHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE > real mem = 267927552 (261648K) > avail mem = 237666304 (232096K) > using 3296 buffers containing 13500416 bytes (13184K) of memory > mainbus0 (root) > bios0 at mainbus0: AT/286+(00) BIOS, date 07/02/02, BIOS32 rev. 0 @ 0xffe90 > apm0 at bios0: Power Management spec V1.2 > apm0: battery life expectancy 98% > apm0: AC on, battery charge high, charging, estimated 9:25 hours > apm0: flags 30102 dobusy 0 doidle 1 > pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbc20/192 (10 entries) > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371 ISA and IDE" rev > 0x00) > pcibios0: PCI bus #5 is the last bus > bios0: ROM list: 0xc0000/0x10000 > cpu0 at mainbus0 > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > pchb0 at pci0 dev 0 function 0 "Intel 82815 Hub" rev 0x02: rng active, 7Kb/sec > ppb0 at pci0 dev 1 function 0 "Intel 82815 AGP" rev 0x02 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 0 function 0 "ATI Rage 128 Mobility MF" rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x02 > pci2 at ppb1 bus 2 > esa0 at pci2 dev 3 function 0 "ESS Maestro 3" rev 0x10: irq 5 > ac97: codec id 0x83847609 (SigmaTel STAC9721/23) > ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D > audio0 at esa0 > ppb2 at pci2 dev 6 function 0 unknown vendor 0x1668 product 0x0100 rev 0x11 > pci3 at ppb2 bus 3 > fxp0 at pci3 dev 4 function 0 "Intel 82557" rev 0x08, i82559: irq 10, address > 00:20:e0:64:07:72 > inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 > "AT&T/Lucent LTMODEM" rev 0x01 at pci3 dev 8 function 0 not configured > cbb0 at pci2 dev 15 function 0 "Texas Instruments PCI4451 CardBus" rev 0x00: > irq 10 > cbb1 at pci2 dev 15 function 1 "Texas Instruments PCI4451 CardBus" rev 0x00: > irq 10 > "Texas Instruments PCI4451 FireWire" rev 0x00 at pci2 dev 15 function 2 not > configured > cardslot0 at cbb0 slot 0 flags 0 > cardbus0 at cardslot0: bus 4 device 0 cacheline 0x8, lattimer 0x20 > pcmcia0 at cardslot0 > cardslot1 at cbb1 slot 1 flags 0 > cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0x20 > pcmcia1 at cardslot1 > ichpcib0 at pci0 dev 31 function 0 "Intel 82801BAM LPC" rev 0x02 > pciide0 at pci0 dev 31 function 1 "Intel 82801BAM IDE" rev 0x02: DMA, channel > 0 wired to compatibility, channel 1 wired to compatibility > wd0 at pciide0 channel 0 drive 0: <HITACHI_DK23EA-40> > wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors > atapiscsi0 at pciide0 channel 0 drive 1 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <LG, DVD-ROM DRN8080B, 1.11> SCSI0 5/cdrom > removable > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 > cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 ignored (disabled) > uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x02: irq 10 > usb0 at uhci0: USB revision 1.0 > uhub0 at usb0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > isa0 at ichpcib0 > 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 > sysbeep0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > 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 ef4d netmask ef4d ttymask ffcf > pctr: 686-class user-level performance counters enabled > mtrr: Pentium Pro MTRR support > uhidev0 at uhub0 port 1 configuration 1 interface 0 > uhidev0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1 > ums0 at uhidev0: 5 buttons and Z dir. > wsmouse1 at ums0 mux 0 > dkcsum: wd0 matched BIOS disk 80 > root on wd0a > rootdev=0x0 rrootdev=0x300 rawdev=0x302 > WARNING: / was not properly unmounted > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This is the result of a manual reset when removing A/C power locked up the > machine. > > -Rick -- Alexander Yurchenko (aka grange)