Suspend/Resume issues on Asus P7P55D Pro Motherboard

Andrew Klaus andrewklaus at gmail.com
Thu Dec 29 06:45:43 UTC 2011


Hi Guys,

I'm at a loss here..  I've tried everything I can think of, but still can't
get this working. FreeBSD seems to run fine on my desktop, and seems to
suspend properly (all fans and drives spin down). I'm running into an issue
when resuming from S3 sleep. The screen never comes back (it stays black),
and only on occasion can I still make an ssh connection. I've tried messing
around with ACPI settings in the bios (enabling/disabling in various
combinations), along with the following.

I've all of these on FreeBSD 8.2-Release, compiled and upgraded to
8.2-STABLE, and also on 9.0-RC3.

- Loaded acpi_video.ko, radeon.ko (I have an ATI Radeon 4350 installed)
- Tried hw.acpi.osname set to "Windows 2001", "Windows 2006", etc.
- Set these individually and together:
    hw.acpi.reset_video=1
    hw.syscons.sc_no_suspend_vtswitch=1

Any help would be great guys!

Thanks in advance,

Andrew

dmesg output from the following commands:
# sysctl debug.bootverbose=1
# sysctl debug.acpi.suspend_bounce=1
# acpiconf -s 3

Here >> http://pastebin.com/6yxHyrm6

9.0-RC3 Dmesg: http://pastebin.com/Mg4XLiE6

Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RC3 #0: Sun Dec  4 08:56:36 UTC 2011
    root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
CPU: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz (2675.03-MHz K8-class
CPU)
  Origin = "GenuineIntel"  Id = 0x106e5  Family = 6  Model = 1e  Stepping =
5

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>

Features2=0x98e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16532037632 (15766 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <121410 APIC1811>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  2
 cpu2 (AP): APIC ID:  4
 cpu3 (AP): APIC ID:  6
ioapic0: Changing APIC ID to 7
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <121410 XSDT1811> on motherboard
ACPI: Overriding _OS definition with "Windows 2006"
acpi0: Power Button (fixed)
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, dff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
ACPI Warning: Incorrect checksum in table [OEMB] - 0xD7, should be 0xD6
(20110527/tbutils-282)
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
acpi_ec0: <Embedded Controller: GPE 0x18> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 3.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem
0xe0000000-0xefffffff,0xf7de0000-0xf7deffff irq 16 at device 0.0 on pci1
drm0: <ATI Radeon HD 4350> on vgapci0
info: [drm] MSI enabled 1 message(s)
info: [drm] Initialized radeon 1.31.0 20080613
hdac0: <ATI RV730 High Definition Audio Controller> mem
0xf7dfc000-0xf7dfffff irq 17 at device 0.1 on pci1
pci0: <base peripheral> at device 8.0 (no driver attached)
pci0: <base peripheral> at device 8.1 (no driver attached)
pci0: <base peripheral> at device 8.2 (no driver attached)
pci0: <base peripheral> at device 8.3 (no driver attached)
pci0: <base peripheral> at device 16.0 (no driver attached)
pci0: <base peripheral> at device 16.1 (no driver attached)
ehci0: <Intel PCH USB 2.0 controller USB-B> mem 0xf7cfe000-0xf7cfe3ff irq
16 at device 26.0 on pci0
usbus0: EHCI version 1.0
usbus0: <Intel PCH USB 2.0 controller USB-B> on ehci0
hdac1: <Intel 5 Series/3400 Series High Definition Audio Controller> mem
0xf7cf8000-0xf7cfbfff irq 22 at device 27.0 on pci0
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci5: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0
pci4: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
pci3: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 18 at device 28.6 on pci0
pci2: <ACPI PCI bus> on pcib5
ahci0: <JMicron JMB363 AHCI SATA controller> mem 0xf7efa000-0xf7efbfff irq
18 at device 0.0 on pci2
ahci0: AHCI v1.00 with 2 3Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
atapci0: <JMicron JMB363 UDMA133 controller> port
0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f irq
19 at device 0.1 on pci2
ata2: <ATA channel 0> on atapci0
ehci1: <Intel PCH USB 2.0 controller USB-A> mem 0xf7cfd000-0xf7cfd3ff irq
23 at device 29.0 on pci0
usbus1: EHCI version 1.0
usbus1: <Intel PCH USB 2.0 controller USB-A> on ehci1
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci6: <ACPI PCI bus> on pcib6
em0: <Intel(R) PRO/1000 Legacy Network Connection 1.0.3> port 0xec00-0xec3f
mem 0xf7fe0000-0xf7ffffff,0xf7fc0000-0xf7fdffff irq 16 at device 1.0 on pci6
em0: Ethernet address: 00:07:e9
fwohci0: <VIA Fire II (VT6306)> port 0xe880-0xe8ff mem
0xf7f9f800-0xf7f9ffff irq 18 at device 3.0 on pci6
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:1e:8c
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:1e:8c
fwe0: Ethernet address: 02:1e:8c
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:1e:8c:00 @ 0xfffe00000000, S400, maxrec 2048
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x648c000
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER
mode
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci1: <Intel 5 Series/3400 Series AHCI SATA controller> port
0xb880-0xb887,0xb800-0xb803,0xb480-0xb487,0xb400-0xb403,0xb080-0xb09f mem
0xf7cf7000-0xf7cf77ff irq 21 at device 31.2 on pci0
ahci1: AHCI v1.30 with 6 3Gbps ports, Port Multiplier supported
ahcich2: <AHCI channel> at channel 0 on ahci1
ahcich3: <AHCI channel> at channel 1 on ahci1
ahcich4: <AHCI channel> at channel 2 on ahci1
ahcich5: <AHCI channel> at channel 3 on ahci1
ahcich6: <AHCI channel> at channel 4 on ahci1
ahcich7: <AHCI channel> at channel 5 on ahci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
orm0: <ISA Option ROM> at iomem 0xd1000-0xd3fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me)
firewire0: bus manager 0
hdac0: HDA Codec #0: ATI R6xx HDMI
pcm0: <HDA ATI R6xx HDMI PCM #0 HDMI> at cad 0 nid 1 on hdac0
hdac1: HDA Codec #0: VIA VT1828S
pcm1: <HDA VIA VT1828S PCM #0 Analog> at cad 0 nid 1 on hdac1
pcm2: <HDA VIA VT1828S PCM #1 HDMI> at cad 0 nid 1 on hdac1
pcm3: <HDA VIA VT1828S PCM #2 Digital> at cad 0 nid 1 on hdac1
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ada0 at ahcich3 bus 0 scbus4 target 0 lun 0
ada0: <WDC WD5001AALS-00E3A0 05.01D05> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad12
SMP: AP CPU #3 Launched!
cd0 at ata2 bus 0 scbus2 target 0 lun 0
SMP: AP CPU #1 Launched!
cd0: <HL-DT-ST DVDRAM GSA-4163B A106> Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
SMP: AP CPU #2 Launched!
Root mount waiting for: usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
Root mount waiting for: usbus1 usbus0
ugen0.2: <vendor 0x8087> at usbus0
uhub2: <vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2> on
usbus0
ugen1.2: <vendor 0x8087> at usbus1
uhub3: <vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2> on
usbus1
Root mount waiting for: usbus1 usbus0
uhub2: 6 ports with 6 removable, self powered
uhub3: 8 ports with 8 removable, self powered
Trying to mount root from ufs:/dev/ada0p2 [rw]...
WARNING: / was not properly dismounted
(ada0:ahcich3:0:0:0): spin-down
vga0: saving 68 bytes of video state
vga0: saving color palette
pci0:1:0:0: Transition from D0 to D3
pci0:1:0:1: Transition from D0 to D3
pci0:0:3:0: Transition from D0 to D3
pci0:0:28:0: Transition from D0 to D3
pci0:0:28:4: Transition from D0 to D3
pci0:0:28:5: Transition from D0 to D3
pci0:2:0:0: Transition from D0 to D3
pci0:2:0:1: Transition from D0 to D3
pci0:0:28:6: Transition from D0 to D3
fwohci0: fwohci_pci_suspend
pci0:6:1:0: Transition from D0 to D3
pci0:6:3:0: Transition from D0 to D3
pci0:0:26:0: Transition from D0 to D3
pci0:0:27:0: Transition from D0 to D3
pci0:0:29:0: Transition from D0 to D3
pci0:0:31:2: Transition from D0 to D3
pci0: set ACPI power state D0 on \\_SB_.PCI0.P0P3
pci0:0:3:0: Transition from D3 to D0
pci0: set ACPI power state D0 on \\_SB_.PCI0.USBE
pci0:0:26:0: Transition from D3 to D0
pci0:0:27:0: Transition from D3 to D0
pci0: set ACPI power state D0 on \\_SB_.PCI0.BR20
pci0:0:28:0: Transition from D3 to D0
pci0: set ACPI power state D0 on \\_SB_.PCI0.BR24
pci0:0:28:4: Transition from D3 to D0
pci0: set ACPI power state D0 on \\_SB_.PCI0.BR25
pci0:0:28:5: Transition from D3 to D0
pci0: set ACPI power state D0 on \\_SB_.PCI0.BR26
pci0:0:28:6: Transition from D3 to D0
pci0: set ACPI power state D0 on \\_SB_.PCI0.EUSB
pci0:0:29:0: Transition from D3 to D0
pci0: set ACPI power state D0 on \\_SB_.PCI0.BR1E
pci0: set ACPI power state D0 on \\_SB_.PCI0.SBRG
pci0: set ACPI power state D0 on \\_SB_.PCI0.SATA
pci0:0:31:2: Transition from D3 to D0
pci0: set ACPI power state D0 on \\_SB_.PCI0.P0P3
pci0:1:0:0: Transition from D3 to D0
pci0:1:0:1: Transition from D3 to D0
pci0: set ACPI power state D0 on \\_SB_.PCI0.BR20
pci0: set ACPI power state D0 on \\_SB_.PCI0.BR24
pci0: set ACPI power state D0 on \\_SB_.PCI0.BR25
pci0: set ACPI power state D0 on \\_SB_.PCI0.BR26
pci2: set ACPI power state D0 on \\_SB_.PCI0.BR26.JMB0
pci0:2:0:0: Transition from D3 to D0
pci2: set ACPI power state D0 on \\_SB_.PCI0.BR26.JMB1
pci0:2:0:1: Transition from D3 to D0
ahcich0: AHCI reset...
ahcich0: SATA connect timeout time=10000us status=00000000
ahcich0: AHCI reset: device not found
ahcich1: AHCI reset...
ahcich1: SATA connect timeout time=10000us status=00000000
ahcich1: AHCI reset: device not found
ata2: reset tp1 mask=03 ostat0=50 ostat1=00
ata2: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata2: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
ata2: reset tp2 stat0=00 stat1=00 devices=0x10000
pci0: set ACPI power state D0 on \\_SB_.PCI0.BR1E
pci0:6:1:0: Transition from D3 to D0
pci0:6:3:0: Transition from D3 to D0
em0: Link is Down
em0: link state changed to DOWN
fwohci0: fwphy_rddata:: 0x2 loop=100, retry=101
fwohci0: Phy 1394 only S100, 0 ports.
fwohci0: fwphy_rddata:: 0x2 loop=100, retry=101
fwohci0: Link S400, max_rec 2048 bytes.
fwohci0: max_rec 2048 -> 512
fwohci0: Initiate bus reset
em0: Link is up 1000 Mbps Full Duplex
em0: link state changed to UP
fwohci0: fwphy_rddata:: 0x1 loop=100, retry=101
fwohci0: fwphy_rddata:: 0x1 loop=100, retry=101
hdac1: Enabling headphone/speaker audio routing switching:
hdac1: as=0 sense nid=40 [UNSOL]
hdac1: Pin sense: nid=40 res=0x00000000
ahcich2: AHCI reset...
ahcich2: SATA connect timeout time=10000us status=00000000
ahcich2: AHCI reset: device not found
ahcich3: AHCI reset...
ahcich3: SATA connect time=100us status=00000123
ahcich3: AHCI reset: device found
ahcich4: AHCI reset...
ahcich4: SATA connect timeout time=10000us status=00000000
ahcich4: AHCI reset: device not found
ahcich5: AHCI reset...
ahcich5: SATA connect timeout time=10000us status=00000000
ahcich5: AHCI reset: device not found
ahcich6: AHCI reset...
ahcich6: SATA connect timeout time=10000us status=00000000
ahcich6: AHCI reset: device not found
ahcich7: AHCI reset...
ahcich7: SATA connect timeout time=10000us status=00000000
ahcich7: AHCI reset: device not found
(ada0:ahcich3:0:0:0): resume
ahcich3: AHCI reset: device ready after 100ms


More information about the freebsd-acpi mailing list