Hello, I use OpenBSD 4.2-stable with a core2duo laptop. When I use GENERIC kernel, 'halt -p' works perfectly. However, when I use GENERIC.MP, 'halt -p' does not work and says :
apm0: APM set power state: interface not connected (3) the operating system has halted Please press any key to reboot As you can see, the machine does not shutdown powerdown with GENERIC.MP. Powerdown works with GENERIC. I copied my /bsd.mp to /bsd to use it as default kernel. With GENERIC.MP avec 'config -ef /bsd', I tried to disable apm. Same result. I tried to enable acpi. Same result. I tried to enable acpi and apm in the kernel, same result. I tried to enable apmd_flags="-C" in /etc/rc.conf.local, same result. I don't understand why powerdown the machine is impossible with GENERIC.MP. With a Core2Duo CPU, I would like to user SMP kernel. Or, is SMP kernel really important with a double core CPU? See my dmesg : OpenBSD 4.2-stable (GENERIC.MP) #2: Fri Jan 25 09:53:58 CET 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR real mem = 1073115136 (1023MB) avail mem = 1029959680 (982MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/27/06, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xfc660 (35 entries) bios0: vendor American Megatrends Inc. version "A6JCMAS.219 " date 07/27/2006 bios0: ASUSTeK Computer Inc. A6JC 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 3.0 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf56b0/224 (12 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801GBM LPC" rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc0000/0xf000 mainbus0: Intel MP Specification (Version 1.4) cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166 MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) CPU T2300 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR mainbus0: bus 0 is type PCI mainbus0: bus 1 is type PCI mainbus0: bus 2 is type PCI mainbus0: bus 3 is type PCI mainbus0: bus 4 is type PCI mainbus0: bus 5 is type PCI mainbus0: bus 6 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a2c06000a2c cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1667 MHz (1404 mV): speeds: 1667, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03 pci_intr_map: bus 0 dev 1 func 0 pin 2; line 3 pci_intr_map: no MP mapping found pci_intr_map: bus 0 dev 1 func 0 pin 3; line 4 pci_intr_map: no MP mapping found pci_intr_map: bus 0 dev 1 func 0 pin 4; line 5 pci_intr_map: no MP mapping found pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7300 Go" rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 2 int 21 (irq 3) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Realtek ALC880 (rev. 8.0), HDA version 1.0 azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02 pci_intr_map: bus 0 dev 28 func 0 pin 2; line 3 pci_intr_map: no MP mapping found pci_intr_map: bus 0 dev 28 func 0 pin 3; line 4 pci_intr_map: no MP mapping found pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800), apic 2 int 16 (irq 11), address 00:18:f3:5b:f6:31 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb2 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02 pci_intr_map: bus 0 dev 28 func 3 pin 2; line 3 pci_intr_map: no MP mapping found pci_intr_map: bus 0 dev 28 func 3 pin 3; line 4 pci_intr_map: no MP mapping found pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 2 int 19 (irq 5), MoW2, address 00:13:02:dd:05:5f uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 2 int 23 (irq 7) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 2 int 19 (irq 5) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 2 int 18 (irq 4) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 2 int 22 (irq 6) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2 int 23 (irq 7) usb0 at ehci0: USB revision 2.0 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 pci_intr_map: bus 0 dev 30 func 0 pin 1; line 3 pci_intr_map: no MP mapping found pci_intr_map: bus 0 dev 30 func 0 pin 2; line 3 pci_intr_map: no MP mapping found pci4 at ppb3 bus 4 cbb0 at pci4 dev 1 function 0 "Ricoh 5C476 CardBus" rev 0xb3: apic 2 int 17 (irq 3) "Ricoh 5C552 Firewire" rev 0x08 at pci4 dev 1 function 1 not configured sdhc0 at pci4 dev 1 function 2 "Ricoh 5C822 SD/MMC" rev 0x17: apic 2 int 19 (irq 5) sdmmc0 at sdhc0 "Ricoh 5C592 Memory Stick" rev 0x08 at pci4 dev 1 function 3 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0x40 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <HTS541010G9AT00> wd0: 16-sector PIO, LBA48, 95396MB, 195371568 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CD/DVDW TS-L532U, AS04> 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) usb1 at uhci0: USB revision 1.0 uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4: Intel UHCI root hub, rev 1.00/1.00, addr 1 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 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support apm0: disconnected ugen0 at uhub0 port 7 ugen0: Syntek USB2.0, rev 2.00/0.05, addr 2 uhidev0 at uhub2 port 1 configuration 1 interface 0 uhidev0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1 ums0 at uhidev0: 3 buttons and Z dir. wsmouse1 at ums0 mux 0 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b Thanks. Best regards, -Nicolas