Re: halt -p does not work with GENERIC.MP on 4.2-STABLE
On Fri, 25 Jan 2008 09:43:36 +0100, Pierre Riteau wrote: On Jan 25, 2008 9:13 AM, Nicolas Letellier [EMAIL PROTECTED] wrote: 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 You should try with -current. Much work was done on ACPI since 4.2. And I don't think the developers are interested in these kind of bugs in -stable. I can confirm that it doesn't work on a fairly recent snapshot. It does work with GENERIC but when you do a `halt -p` under GENERIC.MP you get syncing disks and then something like UHCI controller halted and then nothing. This is on a ThinkPad T60 (ACPI only) running amd64. Jona same thing on my thinkpad t60 with a recently fetched -current here on amd64. dmesg: ~ # dmesg OpenBSD 4.2-current (GENERIC.MP) #1: Mon Jan 28 12:50:29 CET 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2145841152 (2046MB) avail mem = 2072260608 (1976MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version 79ETD4WW (2.14 ) date 06/07/2007 bios0: LENOVO 2007QPG acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.29 MHz cpu0: FPU,VME,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,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.00 MHz cpu1: FPU,VME,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,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 acpicpu1 at acpi0: C3, C2 acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T5246 serial 12287 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpidock at acpi0 not configured cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2506000c25 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2000 MHz (1292 mV): speeds: 2000, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 agp0 at pchb0: no integrated graphics ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 (irq 11) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00 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 1 int 17 (irq 11) azalia0: codec[s]: Analog Devices/0x1981, Conexant/0x2bfa, using Analog Devices/0x1981 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 (irq 11) pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int 16 (irq 11), address 00:16:41:e3:4a:ff ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 (irq 11) pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 17 (irq 11), MoW2, address 00:19:d2:07:cf:36 ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 (irq 11) pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 (irq 11) pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17 (irq 11) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19 (irq 11) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19 (irq 11) usb0 at ehci0:
Re: halt -p does not work with GENERIC.MP on 4.2-STABLE
On Jan 26, 2008 5:35 AM, Jona Joachim [EMAIL PROTECTED] wrote: On Fri, 25 Jan 2008 09:43:36 +0100, Pierre Riteau wrote: On Jan 25, 2008 9:13 AM, Nicolas Letellier [EMAIL PROTECTED] wrote: 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 You should try with -current. Much work was done on ACPI since 4.2. And I don't think the developers are interested in these kind of bugs in -stable. I can confirm that it doesn't work on a fairly recent snapshot. It does work with GENERIC but when you do a `halt -p` under GENERIC.MP you get syncing disks and then something like UHCI controller halted and then nothing. This is on a ThinkPad T60 (ACPI only) running amd64. Jona I can confirm that I get the same behaviour with a the last 10 or so snapshots. Works in GENERIC but not GENERIC.MP. BR dunceor
halt -p does not work with GENERIC.MP on 4.2-STABLE
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 @ 0xf/0x1 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: 0xc/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 0xfec0, 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
Re: halt -p does not work with GENERIC.MP on 4.2-STABLE
On Jan 25, 2008 9:13 AM, Nicolas Letellier [EMAIL PROTECTED] wrote: 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 You should try with -current. Much work was done on ACPI since 4.2. And I don't think the developers are interested in these kind of bugs in -stable. -- Pierre Riteau
Re: halt -p does not work with GENERIC.MP on 4.2-STABLE
On Fri, 25 Jan 2008 09:43:36 +0100, Pierre Riteau wrote: On Jan 25, 2008 9:13 AM, Nicolas Letellier [EMAIL PROTECTED] wrote: 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 You should try with -current. Much work was done on ACPI since 4.2. And I don't think the developers are interested in these kind of bugs in -stable. I can confirm that it doesn't work on a fairly recent snapshot. It does work with GENERIC but when you do a `halt -p` under GENERIC.MP you get syncing disks and then something like UHCI controller halted and then nothing. This is on a ThinkPad T60 (ACPI only) running amd64. Jona