On 17/06/15 21:02 Jonathan Gray wrote:
> On Wed, Jun 17, 2015 at 12:46:33PM +0200, Tilo Stritzky wrote:
> > >Synopsis: Asus X102BA does not resume from suspend
> > >Category: <PR category (one line)>
> > >Environment:
> > System : OpenBSD 5.7
> > Details : OpenBSD 5.7-current (GENERIC.MP) #945: Mon Jun 15
> > 01:02:25 MDT 2015
> >
> > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> >
> > Architecture: OpenBSD.i386
> > Machine : i386
> > >Description:
> > On triggering suspend (zzz, magic Fn-key or lidclose) machine
> > shows all signs of suspending (console shows USB devices
> > disconnecting, backlight goes off, fan stops,
> > USB ports are unpowered, power blinkenlight indicates
> > ``suspended'' mode)
> > On wakeup fan spins up and USB devices are powered,
> > blinkenlight goes back to steady (``on'').
> > Screen stays dark (backlight off),
> > machine seems completely locked up.
> >
> > This an older regression, suspend works fine with 5.4 release.
>
> The radeondrm code does not support kabini radeons. Were you running
> the same system with the same processor with 5.4?
>
Below is a dmesg from 5.4 release with a full suspend/resume cycle,
triggered from within X.
The aml parse error would happen once in a while but not often.
OpenBSD 5.4 (GENERIC.MP) #44: Tue Jul 30 12:13:32 MDT 2013
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: AMD A4-1200 APU with Radeon(TM) HD Graphics ("AuthenticAMD" 686-class,
1024KB L2 cache) 1 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,LONG,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,WDT,TOPEXT,ITSC,BMI1
real mem = 1547837440 (1476MB)
avail mem = 1511079936 (1441MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/14/12, SMBIOS rev. 2.7 @ 0xec390 (45
entries)
bios0: vendor American Megatrends Inc. version "X102BA.209" date 08/15/2013
bios0: ASUSTeK COMPUTER INC. X102BA
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT ECDT MCFG HPET SSDT SSDT CRAT SSDT SSDT SSDT
SSDT MSDM
acpi0: wakeup devices LOM_(S4) SBAZ(S4) OHC1(S4) EHC1(S4) OHC2(S4) EHC2(S4)
OHC3(S4) EHC3(S4) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD A4-1200 APU with Radeon(TM) HD Graphics ("AuthenticAMD" 686-class,
1024KB L2 cache) 1 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,LONG,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,WDT,TOPEXT,ITSC,BMI1
ioapic0 at mainbus0: apid 3 pa 0xfec00000, version 21, 24 pins
ioapic1 at mainbus0: apid 4 pa 0xfec01000, version 21, 32 pins
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (GPP0)
acpiprt2 at acpi0: bus 2 (GPP1)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature is 103 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "X102-30" serial type LIon oem "ASUSTek"
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: VGA_
bios0: ROM list: 0xc0000/0xea00
cpu0: 999 MHz: speeds: 1000 900 800 700 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 vendor "AMD", unknown product 0x1536 rev 0x00
vga1 at pci0 dev 1 function 0 vendor "ATI", unknown product 0x9839 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 1 function 1 vendor "ATI", unknown product 0x9840 rev 0x00:
msi
azalia0: no supported codecs
pchb1 at pci0 dev 2 function 0 vendor "AMD", unknown product 0x1538 rev 0x00
ppb0 at pci0 dev 2 function 2 vendor "AMD", unknown product 0x1439 rev 0x00:
apic 4 int 5
pci1 at ppb0 bus 1
"Atheros AR9485" rev 0x01 at pci1 dev 0 function 0 not configured
ppb1 at pci0 dev 2 function 3 vendor "AMD", unknown product 0x1439 rev 0x00:
apic 4 int 6
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 "Realtek 8101E" rev 0x05: RTL8105E (0x4080), apic
4 int 8, address 74:d0:2b:6b:22:d0
rlphy0 at re0 phy 7: RTL8201E 10/100 PHY, rev. 2
vendor "AMD", unknown product 0x7814 (class serial bus subclass USB, rev 0x01)
at pci0 dev 16 function 0 not configured
ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, Samsung SSD 840, EXT0> SCSI3 0/direct fixed
naa.50025388a00a9dfa
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x39: apic 3 int 18,
version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x39: apic 3 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB" rev 0x39: apic 3 int 18,
version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "AMD Hudson-2 USB2" rev 0x39: apic 3 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x3a: polling
iic0 at piixpm0
piixpm0: exec: op 1, addr 0x18, cmdlen 1, len 0, flags 0x08: timeout, status
0x1<BUSY>
azalia1 at pci0 dev 20 function 2 "AMD Hudson-2 HD Audio" rev 0x02: apic 3 int
16
azalia1: codecs: Realtek/0x0282
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
sdhc0 at pci0 dev 20 function 7 vendor "AMD", unknown product 0x7813 rev 0x01:
apic 3 int 16
sdhc0 at 0x10: can't map registers
pchb2 at pci0 dev 24 function 0 vendor "AMD", unknown product 0x1530 rev 0x00
pchb3 at pci0 dev 24 function 1 vendor "AMD", unknown product 0x1531 rev 0x00
pchb4 at pci0 dev 24 function 2 vendor "AMD", unknown product 0x1532 rev 0x00
pchb5 at pci0 dev 24 function 3 vendor "AMD", unknown product 0x1533 rev 0x00
pchb6 at pci0 dev 24 function 4 vendor "AMD", unknown product 0x1534 rev 0x00
pchb7 at pci0 dev 24 function 5 vendor "AMD", unknown product 0x1535 rev 0x00
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 "AMD OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 "AMD OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub4 at uhub0 port 2 "Genesys Logic USB2.0 Hub" rev 2.00/77.64 addr 2
uhidev0 at uhub4 port 3 configuration 1 interface 0 "PIXART USB OPTICAL MOUSE"
rev 1.10/1.00 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
uhidev1 at uhub4 port 4 configuration 1 interface 0 "Cherry Mikroschalter
product 0x0023" rev 2.00/2.20 addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub4 port 4 configuration 1 interface 1 "Cherry Mikroschalter
product 0x0023" rev 2.00/2.20 addr 4
uhidev2: iclass 3/0, 2 report ids
uhid0 at uhidev2 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0
uvideo0 at uhub1 port 3 configuration 1 interface 0 "Chicony Electronics
Co.,Ltd. USB2.0 HD UVC WebCam" rev 2.00/69.63 addr 2
video0 at uvideo0
uhidev3 at uhub3 port 1 configuration 1 interface 0 "Atmel Atmel maXTouch
Digitizer" rev 2.00/20.01 addr 2
uhidev3: iclass 3/0, 5 report ids
uhts0 at uhidev3 reportid 1: 1 button, tip
wsmouse2 at uhts0 mux 0
uhid2 at uhidev3 reportid 2: input=0, output=0, feature=1
uhid3 at uhidev3 reportid 3: input=10, output=0, feature=0
uhts1 at uhidev3 reportid 5
uhts1: touchscreen has no X report
uhidev4 at uhub3 port 1 configuration 1 interface 1 "Atmel Atmel maXTouch
Digitizer" rev 2.00/20.01 addr 2
uhidev4: iclass 3/0, 2 report ids
uhid4 at uhidev4 reportid 1: input=63, output=63, feature=0
uhid5 at uhidev4 reportid 2: input=63, output=63, feature=0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (61d00eca4afcc375.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
### AML PARSE ERROR (0xd19a): Undefined name: \\_SB_.PCI0.PB2_.VGA_.AFN7
error evaluating: \\_WAK
ehci_idone: ex=0xd2726d00 is done!
wsmouse1 detached
ums0 detached
uhidev0 detached
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev1 detached
uhid0 detached
uhid1 detached
uhidev2 detached
uhub4 detached
uhub4 at uhub0 port 2 "Genesys Logic USB2.0 Hub" rev 2.00/77.64 addr 2
uhidev0 at uhub4 port 3 configuration 1 interface 0 "PIXART USB OPTICAL MOUSE"
rev 1.10/1.00 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
uhidev1 at uhub4 port 4 configuration 1 interface 0 "Cherry Mikroschalter
product 0x0023" rev 2.00/2.20 addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub4 port 4 configuration 1 interface 1 "Cherry Mikroschalter
product 0x0023" rev 2.00/2.20 addr 4
uhidev2: iclass 3/0, 2 report ids
uhid0 at uhidev2 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0
wsmouse2: can't attach mux (error=5)
wsmouse2 detached
uhts0 detached
uhid2 detached
uhid3 detached
uhts1 detached
uhidev3 detached
uhid4 detached
uhid5 detached
uhidev4 detached
wsmuxopen: dev already in use
video0 detached
uvideo0 detached
uvideo0 at uhub1 port 3 configuration 1 interface 0 "Chicony Electronics
Co.,Ltd. USB2.0 HD UVC WebCam" rev 2.00/69.63 addr 2
video0 at uvideo0
uhidev3 at uhub3 port 1 configuration 1 interface 0 "Atmel Atmel maXTouch
Digitizer" rev 2.00/20.01 addr 2
uhidev3: iclass 3/0, 5 report ids
uhts0 at uhidev3 reportid 1: 1 button, tip
wsmouse2 at uhts0 mux 0
uhid2 at uhidev3 reportid 2: input=0, output=0, feature=1
uhid3 at uhidev3 reportid 3: input=10, output=0, feature=0
uhts1 at uhidev3 reportid 5
uhts1: touchscreen has no X report
uhidev4 at uhub3 port 1 configuration 1 interface 1 "Atmel Atmel maXTouch
Digitizer" rev 2.00/20.01 addr 2
uhidev4: iclass 3/0, 2 report ids
uhid4 at uhidev4 reportid 1: input=63, output=63, feature=0
uhid5 at uhidev4 reportid 2: input=63, output=63, feature=0