Dell Latitude D810

Eric Anderson anderson at centtech.com
Wed Jan 18 19:47:46 PST 2006


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.
------------------------------------------------------------------------



More information about the freebsd-acpi mailing list