On 24/04/14(Thu) 21:47, Nils R wrote:
> Hi bugs@,
> 
> my machine stopped resuming from suspend.  I was following -current until the 
> time when 5.5 was tagged, and back then, my machine always resumed without 
> any problems.  Now, i updated to the latest snapshot from 22.4..  With that, 
> the machine goes to sleep, but does not quite wake up -- the fan starts, and 
> i can open/close the cd drive, but the screen stays black and there is no 
> network/ssh.  It doesn't matter whether i suspend from tty or from X.
> 
> Any thoughts?

You can try reverting the last commit to /sys/dev/usb/usb.c and see if
it is the cause of your problem.  If that's the case, could you try
suspending/resuming without any usb device attached and if that helps
try to find which device breaks your resume.

> 
> Best,
> Nils
> 
> dmesg:
> OpenBSD 5.5-current (GENERIC.MP) #80: Tue Apr 22 08:36:02 MDT 2014
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3738107904 (3564MB)
> avail mem = 3629875200 (3461MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (61 entries)
> bios0: vendor Award Software International, Inc. version "F4" date 07/28/2010
> bios0: Gigabyte Technology Co., Ltd. GA-880GMA-UD2H
> acpi0 at bios0: rev 0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT HPET MCFG MATS APIC
> acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) 
> USB6(S3) SBAZ(S4) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) P2P_(S5) PCE2(S4) 
> PCE3(S4) PCE4(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpihpet0 at acpi0: 14318180 Hz
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD Athlon(tm) II X2 240e Processor, 2813.25 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
> 16-way L2 cache
> cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
> cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
> cpu0: AMD erratum 721 detected and fixed
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 200MHz
> cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: AMD Athlon(tm) II X2 240e Processor, 2812.92 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
> 16-way L2 cache
> cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
> cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
> cpu1: AMD erratum 721 detected and fixed
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 2
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 5 (PEX0)
> acpiprt2 at acpi0: bus 6 (PEX1)
> acpiprt3 at acpi0: bus -1 (PEX2)
> acpiprt4 at acpi0: bus -1 (PEX3)
> acpiprt5 at acpi0: bus 4 (P2P_)
> acpiprt6 at acpi0: bus -1 (PCE2)
> acpiprt7 at acpi0: bus -1 (PCE3)
> acpiprt8 at acpi0: bus -1 (PCE4)
> acpiprt9 at acpi0: bus -1 (PCE5)
> acpiprt10 at acpi0: bus -1 (PCE6)
> acpiprt11 at acpi0: bus -1 (PCE7)
> acpiprt12 at acpi0: bus 2 (PCE9)
> acpiprt13 at acpi0: bus 3 (PCEA)
> acpiprt14 at acpi0: bus -1 (PCEB)
> acpiprt15 at acpi0: bus -1 (PCEC)
> acpiprt16 at acpi0: bus 1 (AGP_)
> acpicpu0 at acpi0: PSS
> acpicpu1 at acpi0: PSS
> acpibtn0 at acpi0: PWRB
> cpu0: 2813 MHz: speeds: 2800 2100 1600 800 MHz
> pci0 at mainbus0 bus 0
> 0:0:0: mem address conflict 0xe0000000/0x20000000
> pchb0 at pci0 dev 0 function 0 "AMD RS880 Host" rev 0x00
> ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00
> pci1 at ppb0 bus 1
> radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 4250" rev 0x00
> drm0 at radeondrm0
> radeondrm0: apic 2 int 18
> azalia0 at pci1 dev 5 function 1 "ATI Radeon HD 4200 HD Audio" rev 0x00: msi
> azalia0: no supported codecs
> ppb1 at pci0 dev 9 function 0 "AMD RS780 PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2
> "NEC xHCI" rev 0x03 at pci2 dev 0 function 0 not configured
> ppb2 at pci0 dev 10 function 0 "AMD RS780 PCIE" rev 0x00: msi
> pci3 at ppb2 bus 3
> re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D 
> (0x2800), msi, address 1c:6f:65:82:ec:b9
> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
> ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 2 int 19, 
> AHCI 1.2
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, SAMSUNG SSD 830, CXM0> SCSI3 0/direct 
> fixed naa.5002538043584d30
> sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
> sd1 at scsibus1 targ 1 lun 0: <ATA, WDC WD10EADS-19M, 01.0> SCSI3 0/direct 
> fixed naa.50014ee25a2d138a
> sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
> cd0 at scsibus1 targ 4 lun 0: <Optiarc, DVD RW AD-7260S, 1.03> ATAPI 5/cdrom 
> removable
> ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, 
> version 1.0, legacy support
> ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
> ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, 
> version 1.0, legacy support
> ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
> piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x41: polling
> iic0 at piixpm0
> spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600
> spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600
> azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 2 int 16
> azalia1: codecs: Realtek/0x0892
> audio0 at azalia1
> pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
> ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
> pci4 at ppb3 bus 4
> ath0 at pci4 dev 6 function 0 "Atheros AR2413" rev 0x01: apic 2 int 20
> ath0: AR2413 7.8 phy 4.5 rf 5.6, FCC2A*, address 74:ea:3a:d2:ab:e0
> ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int 18, 
> version 1.0, legacy support
> ppb4 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00: msi
> pci5 at ppb4 bus 5
> jmb0 at pci5 dev 0 function 0 "JMicron JMB368 IDE" rev 0x00
> pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to 
> native-PCI
> pciide0: using apic 2 int 17 for native-PCI interrupt
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 disabled (no drives)
> ppb5 at pci0 dev 21 function 1 "ATI SB800 PCIE" rev 0x00: msi
> pci6 at ppb5 bus 6
> ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, 
> version 1.0, legacy support
> ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17
> usb2 at ehci2: USB revision 2.0
> uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1
> pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00
> pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00
> pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00
> km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00
> pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00
> usb3 at ohci0: USB revision 1.0
> uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb4 at ohci1: USB revision 1.0
> uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> it0 at isa0 port 0x2e/2: IT8720F rev 8, EC port 0x228
> usb5 at ohci2: USB revision 1.0
> uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb6 at ohci3: USB revision 1.0
> uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> uhidev0 at uhub3 port 5 configuration 1 interface 0 "Logitech USB-PS/2 
> Optical Mouse" rev 2.00/21.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 8 buttons, Z dir
> wsmouse0 at ums0 mux 0
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (6de79c244a03d47a.a) swap on sd0b dump on sd0b
> WARNING: / was not properly unmounted
> drm: initializing kernel modesetting (RS880 0x1002:0x9715 0x1458:0xD000).
> radeondrm0: VRAM: 512M 0x00000000C0000000 - 0x00000000DFFFFFFF (512M used)
> radeondrm0: GTT: 512M 0x00000000A0000000 - 0x00000000BFFFFFFF
> drm: PCIE GART of 512M enabled (table at 0x00000000C0040000).
> radeondrm0: 1680x1050
> wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)

Reply via email to