PATCH: power down acpi and pci devices in suspend/resume

Norikatsu Shigemura nork at FreeBSD.org
Sat Nov 20 08:05:59 PST 2004


On Fri, 19 Nov 2004 23:52:13 -0800
Nate Lawson <nate at root.org> wrote:
> If you have problems, please let me know the info it prints before the 
> hang so I can figure out what the problem device is.

	Wow!!  Almost works for me, without X11.  With X11, on resume,
	machine is hanging up.

	I attached acpidump -t -d to this mail.  Please see also.

# acpiconf -s 3   on conssole at 00:18:27
switch to X(ttyp4) manually and hang up at 00:19:29
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Nov 21 00:18:27 pelsia acpi: suspend at 20041121 00:18:27
Nov 21 00:18:30 pelsia kernel: acpi: _SxD is D2
Nov 21 00:18:30 pelsia kernel: pci2: Failed to set ACPI power state D2 on \_SB_.PCI0.PCIB.OHC0: AE_BAD_PARAMETER
Nov 21 00:18:30 pelsia kernel: acpi: _SxD is D2
Nov 21 00:18:30 pelsia kernel: pci2: Failed to set ACPI power state D2 on \_SB_.PCI0.PCIB.OHC1: AE_BAD_PARAMETER
Nov 21 00:18:30 pelsia kernel: acpi: _SxD is D2
Nov 21 00:18:30 pelsia kernel: pci2: Failed to set ACPI power state D2 on \_SB_.PCI0.PCIB.EHC1: AE_BAD_PARAMETER
Nov 21 00:18:30 pelsia kernel: cbb0: bad Vcc request. ctrl=0xffffff88, status=0xffffffff
Nov 21 00:18:30 pelsia kernel: cbb_power: 0V
Nov 21 00:18:30 pelsia kernel: cbb1: bad Vcc request. ctrl=0xffffff88, status=0xffffffff
Nov 21 00:18:30 pelsia kernel: cbb_power: 0V
Nov 21 00:18:30 pelsia kernel: fwohci0: fwohci_pci_suspend
Nov 21 00:18:30 pelsia kernel: usb2: reset timeout
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.FIGD into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.MBRD into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_PR_.CPU0 into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_TZ_.THRM into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.BAT0 into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.ADP1 into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PWRB into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.LID_ into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi: _SxD is D2
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0 into D2 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi0: failed to set ACPI power state D2 on \_SB_.PCI0: AE_BAD_PARAMETER
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.PS2M into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.TIMR into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.IPIC into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.RTC_ into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.MATH into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.DMAC into D3 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.FIGD into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.PCI0.FIGD into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.MBRD into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.PCI0.LPCB.MBRD into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_PR_.CPU0 into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_PR_.CPU0 into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_TZ_.THRM into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_TZ_.THRM into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.BAT0 into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.BAT0 into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.ADP1 into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.ADP1 into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PWRB into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.PWRB into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.LID_ into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.LID_ into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0 into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.PCI0 into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.PS2M into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.PCI0.LPCB.PS2M into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.TIMR into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.PCI0.LPCB.TIMR into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.IPIC into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.PCI0.LPCB.IPIC into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.RTC_ into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.PCI0.LPCB.RTC_ into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.MATH into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.PCI0.LPCB.MATH into D0
Nov 21 00:18:45 pelsia kernel: acpi attempting to switch \_SB_.PCI0.LPCB.DMAC into D0 (if supported)
Nov 21 00:18:45 pelsia kernel: acpi succeeded putting \_SB_.PCI0.LPCB.DMAC into D0
Nov 21 00:18:45 pelsia kernel: fwohci0: Phy 1394a available S400, 2 ports.
Nov 21 00:18:45 pelsia kernel: fwohci0: Link S400, max_rec 2048 bytes.
Nov 21 00:18:45 pelsia kernel: fwohci0: Initiate bus reset
Nov 21 00:18:45 pelsia kernel: usb2: config timeout
Nov 21 00:18:45 pelsia kernel: wakeup from sleeping state (slept 00:00:15)
Nov 21 00:18:45 pelsia kernel: ichsmb0: irq 0x02 during -1
Nov 21 00:18:45 pelsia kernel: fwohci0: BUS reset
Nov 21 00:18:45 pelsia kernel: fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
Nov 21 00:18:45 pelsia kernel: firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
Nov 21 00:18:45 pelsia kernel: firewire0: bus manager 0 (me)
Nov 21 00:18:45 pelsia kernel: fwohci0: unrecoverable error
Nov 21 00:18:46 pelsia acpi: resumed at 20041121 00:18:46
Nov 21 00:19:29 pelsia kernel: pid 2836 (Xorg), uid 0: exited on signal 6 (core dumped)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acpidump-t-d.txt.bz2
Type: application/octet-stream
Size: 10929 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20041121/163e8fab/acpidump-t-d.txt.obj


More information about the freebsd-acpi mailing list