From owner-freebsd-acpi@FreeBSD.ORG Thu Jan 19 03:47:46 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9136216A41F for ; Thu, 19 Jan 2006 03:47:46 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3175743D45 for ; Thu, 19 Jan 2006 03:47:45 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.25] ([192.168.42.25]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k0J3liDn039160 for ; Wed, 18 Jan 2006 21:47:44 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43CF0BDF.4030609@centtech.com> Date: Wed, 18 Jan 2006 21:47:43 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1245/Wed Jan 18 10:57:44 2006 on mh2.centtech.com X-Virus-Status: Clean Subject: Dell Latitude D810 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2006 03:47:46 -0000 Running FreeBSD-6-STABLE, I'm able to suspend successfully, but resuming makes the machine boot up as if it was powered off. Any hints on what to start looking at? I've including the console output of the various renditions I've tried, in case it helps. Also, more details can be found here: http://www.googlebit.com/freebsd/ Thanks! with apic disabled (but compiled into the kernel), suspend immediately reboots just after suspending: acpi_lid0: wake_prep enabled fostray irq7 r \_SB_.LID_ (S3) acpi_button0: wake_prep enabled for \_SB_.PBTN (S3) uhci0: wake_prep disabled wake for \_SB_.PCI0.USB0 (S3) uhci1: wake_prep disabled wake for \_SB_.PCI0.USB1 (S3) uhci2: wake_prep disabled wake for \_SB_.PCI0.USB2 (S3) uhci3: wake_prep disabled wake for \_SB_.PCI0.USB4 (S3) ehci0: wake_prep disabled wake for \_SB_.PCI0.USB3 (S3) pci1:0:0: Transition from D0 to D3 pci2:0:0: Transition from D0 to D3 vga0: saving 68 bytes of video state pci0:30:2: Transition from D0 to D3 pci0:31:2: Transition from D0 to D3 ======== acpi_printcpu() debug dump ======== gdt[0097:c07b83c0] idt[07ff:c07b87e0] ldt[0050] tr[0048] efl[00000092] eax[00000001] ebx[c4b6d080] ecx[00000004] edx[c4b7c480] esi[00000003] edi[00000000] ebp[e508ac28] esp[e508ac0c] cr0[8005003b] cr2[0804a32c] cr3[3ea4a000] cr4[00000691] cs[0020] ds[0028] es[0028] fs[0008] gs[001b] ss[0028] Reboots here automatically.. ----------------------------------------------------------- with apic not-disabled, and compiled into the kernel, successfully sleeps, but resuming just boots the machine. acpi_lid0: wake_prep enabled for \_SB_.LID_ (S3) acpi_button0: wake_prep enabled for \_SB_.PBTN (S3) uhci0: wake_prep disabled wake for \_SB_.PCI0.USB0 (S3) uhci1: wake_prep disabled wake for \_SB_.PCI0.USB1 (S3) uhci2: wake_prep disabled wake for \_SB_.PCI0.USB2 (S3) uhci3: wake_prep disabled wake for \_SB_.PCI0.USB4 (S3) ehci0: wake_prep disabled wake for \_SB_.PCI0.USB3 (S3) pci1:0:0: Transition from D0 to D3 pci2:0:0: Transition from D0 to D3 vga0: saving 68 bytes of video state pci0:30:2: Transition from D0 to D3 pci0:31:2: Transition from D0 to D3 ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ======== acpi_printcpu() debug dump ======== gdt[0097:c07b83c0] idt[07ff:c07b87e0] ldt[0050] tr[0048] efl[00000092] eax[00000001] ebx[c4af7b80] ecx[00000004] edx[c4dcd600] esi[00000003] edi[00000000] ebp[e51f8c28] esp[e51f8c0c] cr0[8005003b] cr2[0804a32c] cr3[3ea6b000] cr4[00000691] cs[0020] ds[0028] es[0028] fs[0008] gs[001b] ss[0028] ----------------------------------------------------------- With only the kernel loaded, no modules (except for acpi.ko), same as with modules loaded. ----------------------------------------------------------- with: # sysctl hw.acpi.reset_video=0 hw.acpi.reset_video: 1 -> 0 same thing as above (suspends, trying to resume reboots machine) acpi_lid0: wake_prep enabled for \_SB_.LID_ (S3) acpi_button0: wake_prep enabled for \_SB_.PBTN (S3) uhci0: wake_prep disabled wake for \_SB_.PCI0.USB0 (S3) uhci1: wake_prep disabled wake for \_SB_.PCI0.USB1 (S3) uhci2: wake_prep disabled wake for \_SB_.PCI0.USB2 (S3) uhci3: wake_prep disabled wake for \_SB_.PCI0.USB4 (S3) ehci0: wake_prep disabled wake for \_SB_.PCI0.USB3 (S3) pci1:0:0: Transition from D0 to D3 pci2:0:0: Transition from D0 to D3 vga0: saving 68 bytes of video state pci0:30:2: Transition from D0 to D3 pci0:31:2: Transition from D0 to D3 ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ======== acpi_printcpu() debug dump ======== gdt[0097:c07b83c0] idt[07ff:c07b87e0] ldt[0050] tr[0048] efl[00000092] eax[00000001] ebx[c4af7b80] ecx[00000004] edx[c4dcda80] esi[00000003] edi[00000000] ebp[e5201c28] esp[e5201c0c] cr0[8005003b] cr2[0804a32c] cr3[3ea88000] cr4[00000691] cs[0020] ds[0028] es[0028] fs[0008] gs[001b] ss[0028] ----------------------------------------------------------- with: # sysctl hw.syscons.sc_no_suspend_vtswitch=1 hw.syscons.sc_no_suspend_vtswitch: 0 -> 1 and: hw.acpi.reset_video=1 suspends, but reboots on resume. acpi_lid0: wake_prep enabled for \_SB_.LID_ (S3) acpi_button0: wake_prep enabled for \_SB_.PBTN (S3) uhci0: wake_prep disabled wake for \_SB_.PCI0.USB0 (S3) uhci1: wake_prep disabled wake for \_SB_.PCI0.USB1 (S3) uhci2: wake_prep disabled wake for \_SB_.PCI0.USB2 (S3) uhci3: wake_prep disabled wake for \_SB_.PCI0.USB4 (S3) ehci0: wake_prep disabled wake for \_SB_.PCI0.USB3 (S3) pci1:0:0: Transition from D0 to D3 pci2:0:0: Transition from D0 to D3 vga0: saving 68 bytes of video state pci0:30:2: Transition from D0 to D3 pci0:31:2: Transition from D0 to D3 ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ======== acpi_printcpu() debug dump ======== gdt[0097:c07b83c0] idt[07ff:c07b87e0] ldt[0050] tr[0048] efl[00000092] eax[00000001] ebx[c4af7b80] ecx[00000004] edx[c4dcd900] esi[00000003] edi[00000000] ebp[e51fec28] esp[e51fec0c] cr0[8005003b] cr2[0804a32c] cr3[3ea89000] cr4[00000691] cs[0020] ds[0028] es[0028] fs[0008] gs[001b] ss[0028] ----------------------------------------------------------- with: # sysctl hw.syscons.sc_no_suspend_vtswitch=1 hw.syscons.sc_no_suspend_vtswitch: 0 -> 1 # sysctl hw.acpi.reset_video=0 hw.acpi.reset_video: 1 -> 0 suspends, but resume is instant reboot acpi_lid0: wake_prep enabled for \_SB_.LID_ (S3) acpi_button0: wake_prep enabled for \_SB_.PBTN (S3) uhci0: wake_prep disabled wake for \_SB_.PCI0.USB0 (S3) uhci1: wake_prep disabled wake for \_SB_.PCI0.USB1 (S3) uhci2: wake_prep disabled wake for \_SB_.PCI0.USB2 (S3) uhci3: wake_prep disabled wake for \_SB_.PCI0.USB4 (S3) ehci0: wake_prep disabled wake for \_SB_.PCI0.USB3 (S3) pci1:0:0: Transition from D0 to D3 pci2:0:0: Transition from D0 to D3 vga0: saving 68 bytes of video state pci0:30:2: Transition from D0 to D3 pci0:31:2: Transition from D0 to D3 ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ioapic_suspend: not implemented! ======== acpi_printcpu() debug dump ======== gdt[0097:c07b83c0] idt[07ff:c07b87e0] ldt[0050] tr[0048] efl[00000092] eax[00000001] ebx[c4af7b80] ecx[00000004] edx[c4dcd900] esi[00000003] edi[00000000] ebp[e51fec28] esp[e51fec0c] cr0[8005003b] cr2[0804a32c] cr3[3ea89000] cr4[00000691] cs[0020] ds[0028] es[0028] fs[0008] gs[001b] ss[0028] --------------------------------------------------- apic disabled, but the reboot=0 setting in /boot/loader.conf: suspends, but when attempting to resume, reboots. iacpi_lid0: wake_prep enabled for \_SB_.LID_ (S3) acpi_button0: wake_prep enabled for \_SB_.PBTN (S3) uhci0: wake_prep disabled wake for \_SB_.PCI0.USB0 (S3) uhci1: wake_prep disabled wake for \_SB_.PCI0.USB1 (S3) uhci2: wake_prep disabled wake for \_SB_.PCI0.USB2 (S3) uhci3: wake_prep disabled wake for \_SB_.PCI0.USB4 (S3) ehci0: wake_prep disabled wake for \_SB_.PCI0.USB3 (S3) pci1:0:0: Transition from D0 to D3 pci2:0:0: Transition from D0 to D3 vga0: saving 68 bytes of video state pci0:30:2: Transition from D0 to D3 pci0:31:2: Transition from D0 to D3 ======== acpi_printcpu() debug dump ======== gdt[0097:c07b83c0] idt[07ff:c07b87e0] ldt[0050] tr[0048] efl[00000092] eax[00000001] ebx[c4b6d080] ecx[00000004] edx[c4b7c300] esi[00000003] edi[00000000] ebp[e5087c28] esp[e5087c0c] cr0[8005003b] cr2[0804a32c] cr3[3ea6b000] cr4[00000691] cs[0020] ds[0028] es[0028] fs[0008] gs[001b] ss[0028] -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------