Hi Martin Just to add another dimension to this, the same snapshot caused a suspend resume regession for me (I also get a crash if I replug the wireless keyboard/mouse). If I try to suspend with or without a USB flash drive attached I get the same crash. The trace etc below looks fairly similar to what is already reported.
Also, before this I was unable to suspend whenever I had a USB flash drive attached, whether it was mounted or not. The system wouldn't actually crash, it would just automatically resume as soon as it was suspended. I think this started around a month or so ago and there were no suspend problems before that. Thanks, Peter OpenBSD 5.5-current (GENERIC.MP) #16: Sat Mar 22 01:04:40 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3193958400 (3045MB) avail mem = 3100270592 (2956MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0450 (77 entries) bios0: vendor Dell Inc. version "2.6.4" date 03/01/2010 bios0: Dell Inc. OptiPlex 745 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SSDT SSDT SSDT acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5) PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) D CPU 3.40GHz, 3389.50 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,PDCM,NXE,LONG,LAHF cpu0: 2MB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64 cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) D CPU 3.40GHz, 3389.03 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,PDCM,NXE,LONG,LAHF cpu1: 2MB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 4 (PCI4) acpiprt1 at acpi0: bus 2 (PCI2) acpiprt2 at acpi0: bus -1 (PCI3) acpiprt3 at acpi0: bus 1 (PCI1) acpiprt4 at acpi0: bus 3 (PCI5) acpiprt5 at acpi0: bus -1 (PCI6) acpiprt6 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: VBTN cpu0: Enhanced SpeedStep 3389 MHz: speeds: 3400, 2400 MHz memory map conflict 0xbf603c00/0x9fc400 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82Q965 PCIE" rev 0x02: msi pci1 at ppb0 bus 1 vga1 at pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02 intagp0 at vga1 agp0 at intagp0: aperture at 0xd0000000, size 0x10000000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1024x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel 82Q965 Video" rev 0x02 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 8 int 16 uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 8 int 17 ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 8 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1983 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x02: msi pci3 at ppb2 bus 3 bge0 at pci3 dev 0 function 0 "Broadcom BCM5754" rev 0x02, BCM5754/5787 A2 (0xb002): msi, address 00:18:8b:66:ff:e6 brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0 uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 8 int 23 uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 8 int 17 uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: apic 8 int 18 ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 8 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xf2 pci4 at ppb3 bus 4 pcib0 at pci0 dev 31 function 0 "Intel 82801H LPC" rev 0x02 pciide0 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using apic 8 int 20 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: <ADATA SP800> wd0: 16-sector PIO, LBA48, 30533MB, 62533296 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <PLDS, DVD+-RW DS-8W2S, 2D16> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x02: apic 8 int 20 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5 spdmem2 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-5300CL5 spdmem3 at iic0 addr 0x53: 1GB DDR2 SDRAM non-parity PC2-5300CL5 pciide1 at pci0 dev 31 function 5 "Intel 82801H SATA" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide1: using apic 8 int 20 for native-PCI interrupt usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 "Intel UHCI 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, using wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 umass0 at uhub1 port 6 configuration 1 interface 0 " USB DISK 2.0" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <, USB DISK 2.0, PMAP> SCSI2 0/direct removable serial.13fe410029C1ABCDC706 sd0: 7640MB, 512 bytes/sector, 15646720 sectors uhidev0 at uhub5 port 2 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/23.01 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub5 port 2 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/23.01 addr 2 uhidev1: iclass 3/1, 17 report ids ums0 at uhidev1 reportid 2: 16 buttons, Z dir wsmouse0 at ums0 mux 0 uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0 uhid2 at uhidev1 reportid 16: input=6, output=6, feature=0 uhid3 at uhidev1 reportid 17: input=19, output=19, feature=0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed sd1: 27454MB, 512 bytes/sector, 56226972 sectors root on sd1a (72082edb903076f1.a) swap on sd1b dump on sd1b OpenBSD 5.5-current (GENERIC.MP) #16: Sat Mar 22 01:04:40 MDT 2014 Welcome to OpenBSD on host. user@host ~: zzz Suspending system... user@host ~: wskbd1: disconnecting from wsdisplay0 wskbd1 detached ukbd0 detached uhidev0 detached uvm_fault(0xffffffff81dc6f00, 0x24, 0, 1) -> e kernel: page fault trap, code=0 Stopped at strlcpy+0x16: movzbl 0(%rcx),%eax trace strlcpy() at strlcpy+0x16 config_detach() at config_detach+0x97 config_detach() at config_detach+0x143 usb_disconnect_port() at usb_disconnect_port+0x6a uhub_explore() at uhub_explore+0x12b usb_explore() at usb_explore+0xcf usb_task_thread() at usb_task_thread+0xb2 end trace frame: 0x0, count: -7 ddb{1}> ps PID PPID PGRP UID S FLAGS WAIT COMMAND 22844 1 22844 0 3 0x83 ttyin getty 23517 1 23517 0 3 0x83 ttyin getty 30448 1 30448 0 3 0x83 ttyin getty 9878 1 9878 0 3 0x83 ttyin getty 30544 1 30544 1000 3 0x83 ttyin ksh 12801 1 12801 0 3 0x80 select cron 19855 1 19855 0 3 0x80 kqread apmd 3617 1 3617 516 3 0x90 select privoxy 14825 1 14825 548 3 0x90 poll polipo 8353 1 8353 99 3 0x90 poll sndiod 20399 26920 26920 95 3 0x90 kqread smtpd 3183 26920 26920 95 3 0x90 kqread smtpd 16623 26920 26920 95 3 0x90 kqread smtpd 26105 26920 26920 95 3 0x90 kqread smtpd 8396 26920 26920 95 3 0x90 kqread smtpd 16197 26920 26920 95 3 0x90 kqread smtpd 13910 26920 26920 95 3 0x90 kqread smtpd 13910 26920 26920 95 3 0x90 kqread smtpd 4203 26920 26920 103 3 0x90 kqread smtpd 26920 1 26920 0 3 0x80 kqread smtpd 11310 1 11310 0 3 0x80 select sshd 20457 1 20457 0 3 0x80 poll ntpd 13750 7993 13750 83 3 0x90 poll ntpd 7993 1 7993 83 3 0x90 poll ntpd 29734 18030 18030 74 3 0x90 bpf pflogd 18030 1 18030 0 3 0x80 netio pflogd 21598 7913 7913 73 2 0x90 syslogd 7913 1 7913 0 3 0x80 netio syslogd 14590 0 0 0 3 0x4200 aiodoned aiodoned 9329 0 0 0 3 0x4200 syncer update 29701 0 0 0 3 0x4200 cleaner cleaner 23719 0 0 0 3 0x4200 reaper reaper 9188 0 0 0 3 0x4200 pgdaemon pagedaemon 27032 0 0 0 3 0x4200 bored sensors 11267 0 0 0 3 0x4200 bored srdis 10990 0 0 0 3 0x4200 bored crypto 22377 0 0 0 3 0x4200 pftm pfpurge *23561 0 0 0 7 0x4200 usbtask 23975 0 0 0 3 0x4200 usbatsk usbatsk 28231 0 0 0 3 0x4200 bored intelrel 26245 0 0 0 7 0x40004600 acpi0 2311 0 0 0 3 0x40004200 idle1 21875 0 0 0 3 0x4200 bored systq 11093 0 0 0 3 0x4200 bored syswq 11089 0 0 0 3 0x40004200 idle0 1 0 1 0 3 0x82 wait init 0 -1 0 0 3 0x200 scheduler swapper