NetBSD Problem Report #46931

From gregoire.sutre@gmail.com  Sun Sep  9 21:58:11 2012
Return-Path: <gregoire.sutre@gmail.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 8DD4363B9BC
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  9 Sep 2012 21:58:11 +0000 (UTC)
Message-Id: <20120909215747.C4315361B6@yosemite.localdomain>
Date: Sun,  9 Sep 2012 23:57:47 +0200 (CEST)
From: gregoire.sutre@gmail.com
Reply-To: gregoire.sutre@gmail.com
To: gnats-bugs@gnats.NetBSD.org
Subject: Lock-up at resume apparently due usb(4)
X-Send-Pr-Version: 3.95

>Number:         46931
>Category:       kern
>Synopsis:       Lock-up at resume apparently due usb(4)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 09 22:00:00 +0000 2012
>Last-Modified:  Tue Sep 25 23:20:02 +0000 2012
>Originator:     Grégoire Sutre
>Release:        NetBSD 6.99.11 (2012-09-09)
>Organization:
>Environment:
System: NetBSD yosemite 6.99.11 NetBSD 6.99.11 (GENERIC) #11: Sun Sep 9 23:17:41 CEST 2012 sutre@tahoe:/data/sutre/NetBSD/build/data/sutre/NetBSD/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

My laptop locks up at resume with a GENERIC kernel, but
it resumes fine if usb(4) is disabled in userconf.

Below are the working and failing dmesg.


Working: With usb(4) disabled
----------------------------------------------------------

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.11 (GENERIC) #11: Sun Sep  9 23:17:41 CEST 2012
	sutre@tahoe:/data/sutre/NetBSD/build/data/sutre/NetBSD/src/sys/arch/amd64/compile/GENERIC
total memory = 8117 MB
avail memory = 7866 MB
timecounter: Timecounters tick every 10.000 msec
No bootinfo commands at boot
userconf: configure system autoconfiguration:
uc> disable usb
[351] usb* disabled
[352] usb* disabled
[353] usb* disabled
[354] usb* disabled
uc> quit
Continuing...
RTC BIOS diagnostic error 0x30<config_unit,memory_size>
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.6 @ 0xf2460 (66 entries)
Dell Inc. Latitude E4310 (0001)
mainbus0 (root)
ACPI Warning: 32/64X FACS address mismatch in FADT - 0xDB76BF40/0x00000000DB76ED40, using 32 (20110623/tbfadt-517)
cpu0 at mainbus0 apid 0cpu0: 8 page colors
cpu0: calibrating local timer
cpu0: apic clock running at 133 MHz
timecounter: Timecounter "lapic" frequency 133097183 Hz quality -100
: Intel(R) Core(TM) i5 CPU       M 540  @ 2.53GHz, id 0x20655
cpu0: PAT enabled
cpu1 at mainbus0 apid 4cpu1: 2 page colors
x86_ipi_init: ESR 00000040
: Intel(R) Core(TM) i5 CPU       M 540  @ 2.53GHz, id 0x20655
cpu1: PAT enabled
cpu2 at mainbus0 apid 1cpu2: 2 page colors
: Intel(R) Core(TM) i5 CPU       M 540  @ 2.53GHz, id 0x20655
cpu2: PAT enabled
cpu3 at mainbus0 apid 5cpu3: 2 page colors
: Intel(R) Core(TM) i5 CPU       M 540  @ 2.53GHz, id 0x20655
cpu3: PAT enabled
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <DELL  , E2     ,06222004>, AslId <MSFT,00010013>
acpi0: SCI interrupting at int 9
acpi0: fixed power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
acpi0: ACPI-Fast 24-bit timer
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (ECDV, PNP0C09-0): io 0x930,0x934
FWHD (INT0800) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
UAR1 (PNP0501) at acpi0 not configured
pckbc2 at acpi0 (PS2M, DLL0410) (aux port): irq 12
PDRC (PNP0C02) at acpi0 not configured
A_CC (SMO8800) at acpi0 not configured
acpivga0 at acpi0 (VID): ACPI Display Adapter
acpivga0: capabilities: _DOS _DOD
acpiout0 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
acpiout0: capabilities: _DCS _DGS _DSS
acpiout1 at acpivga0 (LCD, 0x0400): ACPI Display Output Device
acpiout1: capabilities: _BCL _BCM _BQC _DCS _DGS _DSS
acpiout1: brightness levels: 0 6 13 20 26 33 40 46 53 60 66 73 80 86 93 100
acpiout2 at acpivga0 (DVI, 0x0302): ACPI Display Output Device
acpiout2: capabilities: _DCS _DGS _DSS
acpiout3 at acpivga0 (DVI2, 0x0303): ACPI Display Output Device
acpiout3: capabilities: _DCS _DGS _DSS
acpiout4 at acpivga0 (DP, 0x0300): ACPI Display Output Device
acpiout4: capabilities: _DCS _DGS _DSS
acpiout5 at acpivga0 (DP2, 0x0301): ACPI Display Output Device
acpiout5: capabilities: _DCS _DGS _DSS
acpivga0: connected output devices:
acpivga0:   0x0100 (acpiout0): Ext. Monitor, head 0
acpivga0:   0x0400 (acpiout1): Unknown Output Device, head 0
acpivga0:   0x0302 (acpiout2): Unknown Output Device, head 0
acpivga0:   0x0303 (acpiout3): Unknown Output Device, head 0
acpivga0:   0x0300 (acpiout4): Unknown Output Device, head 0
acpivga0:   0x0301 (acpiout5): Unknown Output Device, head 0
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PBTN, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SBTN, PNP0C0E): ACPI Sleep Button
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
acpibat0: SMP LION rechargeable battery
acpibat0: model number DELL Y266P09, serial number 132
acpibat0: granularity: low->warn 0.028 Ah, warn->full 0.028 Ah
acpibat1 at acpi0 (BAT1, PNP0C0A-2): ACPI Battery
acpiwmi0 at acpi0 (AMW0, PNP0C14-0): ACPI WMI Interface
acpiwmi0: {8D9DDCBC-A997-11DA-B012-B622A1EF5492} oid 4141 count 01 flags 00
acpiwmi0: {A80593CE-A997-11DA-B012-B622A1EF5492} oid 4142 count 01 flags 02
acpiwmi0: {9DBB5994-A997-11DA-B012-B622A1EF5492} oid 00D0 count 01 flags 08
acpiwmi0: {A3776CE0-1E88-11DB-A98B-0800200C9A66} oid 4342 count 01 flags 00
acpiwmi0: {05901221-D566-11D1-B2F0-00A0C9062910} oid 4F4D count 01 flags 00
wmidell0 at acpiwmi0: Dell WMI mappings
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: synaptics_probe: Not synaptics.
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x0044 (rev. 0x02)
agp0 at pchb0: detected 32764k stolen memory
agp0: aperture at 0xe0000000, size 0x10000000
vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x0046 (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
wm0 at pci0 dev 25 function 0: PCH LAN (82577LM) Controller (rev. 0x05)
wm0: interrupting at ioapic0 pin 20
wm0: PCI-Express bus
wm0: FLASH
wm0: Ethernet address 5c:26:0a:13:8f:e1
ihphy0 at wm0 phy 2: i82577 10/100/1000 media interface, rev. 3
ihphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ehci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x3b3c (rev. 0x05)
ehci0: interrupting at ioapic0 pin 16
ehci0: EHCI version 1.0
usb at ehci0 not configured
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0 vendor 0x111D product 0x7605 nid 0x01: Sigmatel 92HD81B1X5
hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
    nid=0D [pin: Speaker (Built-In)]
           nid=13 [audio output] [source: dac]
    nid=0B [pin: HP Out (Black Jack)]
           nid=13 [audio output] [source: dac]
hdafg0: ADC01 2ch: Mic In [Jack]
    nid=0A [pin: Mic In (Black Jack)]
    nid=0F [pin: Mic In (Black Jack)]
hdafg0: ADC02 2ch: Mic In [Built-In]
    nid=11 [pin: Mic In (Built-In)]
hdafg0: DAC03 2ch: Speaker [Jack]
    nid=0E [pin: Speaker (Black Jack)]
           nid=14 [audio output] [source: dac]
hdafg0: 2ch/2ch 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, independent
hdafg1 at hdaudio0 vendor 0x8086 product 0x2804 nid 0x01: Intel G45 HDMI
hdafg1: DP00 8ch: Digital Out [Jack]
    nid=04 [pin: Digital Out (Jack)]
           nid=02 [audio output] [source: dac]
hdafg1: DP01 8ch: Digital Out [Jack]
    nid=05 [pin: Digital Out (Jack)]
           nid=03 [audio output] [source: dac]
hdafg1: 8ch/0ch 48000Hz PCM16*
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x3b42 (rev. 0x05)
ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x3b44 (rev. 0x05)
ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
iwn0 at pci2 dev 0 function 0: vendor 0x8086 product 0x422b (rev. 0x35)
iwn0: interrupting at ioapic0 pin 17
iwn0: MIMO 3T3R, MoW, address 00:24:d7:55:88:5c
iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ppb2 at pci0 dev 28 function 2: vendor 0x8086 product 0x3b46 (rev. 0x05)
ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
sdhc0 at pci3 dev 0 function 0: vendor 0x1180 product 0xe822 (rev. 0x01)
sdhc0: interrupting at ioapic0 pin 18
sdhc0: SD Host Specification 1.0, rev.4
sdhc0: using DMA transfer
sdmmc0 at sdhc0 slot 0
ppb3 at pci0 dev 28 function 3: vendor 0x8086 product 0x3b48 (rev. 0x05)
ppb3: PCI Express 2.0 <Root Port of PCI-E Root Complex>
ppb3: disabling notification events
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
ehci1 at pci0 dev 29 function 0: vendor 0x8086 product 0x3b34 (rev. 0x05)
ehci1: interrupting at ioapic0 pin 17
ehci1: EHCI version 1.0
usb at ehci1 not configured
ppb4 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xa5)
pci5 at ppb4 bus 10
pci5: i/o space, memory space enabled
pcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x3b0f (rev. 0x05)
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x3b2f (rev. 0x05)
ahcisata0: interrupting at ioapic0 pin 18
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP 0xffffffffe720ff65<SXS,EMS,PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SALP,SSNTF,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 4
atabus3 at ahcisata0 channel 5
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x3b30 (rev. 0x05)
ichsmb0: interrupting at ioapic0 pin 18
iic0 at ichsmb0: I2C bus
isa0 at pcib0
tpm0 at isa0 iomem 0xfed40000-0xfed44fff irq 7: device 0x200114e4 rev 0x20
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   3 us, pow  1000 mW
acpicpu0: C2: FFH, lat 205 us, pow   500 mW
acpicpu0: C3: FFH, lat 245 us, pow   350 mW, bus master check
acpicpu0: P0: FFH, lat  10 us, pow 25000 mW, 2533 MHz
acpicpu0: P1: FFH, lat  10 us, pow 23390 mW, 2399 MHz
acpicpu0: P2: FFH, lat  10 us, pow 21835 mW, 2266 MHz
acpicpu0: P3: FFH, lat  10 us, pow 20334 mW, 2133 MHz
acpicpu0: P4: FFH, lat  10 us, pow 18817 mW, 1999 MHz
acpicpu0: P5: FFH, lat  10 us, pow 17351 mW, 1866 MHz
acpicpu0: P6: FFH, lat  10 us, pow 15937 mW, 1733 MHz
acpicpu0: P7: FFH, lat  10 us, pow 14528 mW, 1599 MHz
acpicpu0: P8: FFH, lat  10 us, pow 13163 mW, 1466 MHz
acpicpu0: P9: FFH, lat  10 us, pow 11835 mW, 1333 MHz
acpicpu0: P10: FFH, lat  10 us, pow 10512 mW, 1199 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
acpicpu0: id 1, lapic id 0, cap 0x0bfd, flags 0x0018e297
acpicpu0: P-state coordination: 4 CPUs, domain 0, type HW_ALL
coretemp0 at cpu0: thermal sensor, 1 C resolution
acpicpu1 at cpu1: ACPI CPU
acpicpu1: id 2, lapic id 4, cap 0x0bfd, flags 0x0018e297
acpicpu1: P-state coordination: 4 CPUs, domain 0, type HW_ALL
coretemp1 at cpu1: thermal sensor, 1 C resolution
acpicpu2 at cpu2: ACPI CPU
acpicpu2: id 3, lapic id 1, cap 0x0bfd, flags 0x0018e297
acpicpu2: P-state coordination: 4 CPUs, domain 0, type HW_ALL
acpicpu3 at cpu3: ACPI CPU
acpicpu3: id 4, lapic id 5, cap 0x0bfd, flags 0x0018e297
acpicpu3: P-state coordination: 4 CPUs, domain 0, type HW_ALL
Initializing SSP: 45291c373d45e494 a1455eef81cf785c d315c50281585b10 768ea86fc4a5c4a2 e8a528be456af074 3df2c66b0491c7a1 cfdf02248274fa61 2ec3e5ff77bc40e9 
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
cpu1: TSC skew=4 drift=-8
cpu2: TSC skew=-8 drift=-2
cpu3: TSC skew=6 drift=-8
cpu1: running
cpu2: running
cpu3: running
TSC not known safe on this CPU
timecounter: Timecounter "TSC" frequency 2527193920 Hz quality -100
acpicpu3: ACPI CPUs started
acpiacad0: AC adapter online.
acpiacad0: AC adapter connected
ahcisata0 port 0: device present, speed: 3.0Gb/s
ahcisata0 port 1: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0
wd0: <SAMSUNG SSD PM800 2.5" 128GB>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 119 GB, 248085 cyl, 16 head, 63 sec, 512 bytes/sect x 250069680 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 1 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVD+/-RW GU40N, KWCA9M44239, A102> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
cd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
crypto: assign driver 0, flags 2
crypto: driver 0 registers alg 1 flags 0 maxoplen 0
crypto: driver 0 registers alg 2 flags 0 maxoplen 0
crypto: driver 0 registers alg 3 flags 0 maxoplen 0
crypto: driver 0 registers alg 4 flags 0 maxoplen 0
crypto: driver 0 registers alg 5 flags 0 maxoplen 0
crypto: driver 0 registers alg 26 flags 0 maxoplen 0
crypto: driver 0 registers alg 27 flags 0 maxoplen 0
crypto: driver 0 registers alg 29 flags 0 maxoplen 0
crypto: driver 0 registers alg 33 flags 0 maxoplen 0
crypto: driver 0 registers alg 17 flags 0 maxoplen 0
crypto: driver 0 registers alg 6 flags 0 maxoplen 0
crypto: driver 0 registers alg 19 flags 0 maxoplen 0
crypto: driver 0 registers alg 7 flags 0 maxoplen 0
crypto: driver 0 registers alg 20 flags 0 maxoplen 0
crypto: driver 0 registers alg 15 flags 0 maxoplen 0
crypto: driver 0 registers alg 24 flags 0 maxoplen 0
crypto: driver 0 registers alg 25 flags 0 maxoplen 0
crypto: driver 0 registers alg 8 flags 0 maxoplen 0
crypto: driver 0 registers alg 21 flags 0 maxoplen 0
crypto: driver 0 registers alg 16 flags 0 maxoplen 0
crypto: driver 0 registers alg 9 flags 0 maxoplen 0
crypto: driver 0 registers alg 10 flags 0 maxoplen 0
crypto: driver 0 registers alg 13 flags 0 maxoplen 0
crypto: driver 0 registers alg 14 flags 0 maxoplen 0
crypto: driver 0 registers alg 28 flags 0 maxoplen 0
crypto: driver 0 registers alg 30 flags 0 maxoplen 0
crypto: driver 0 registers alg 31 flags 0 maxoplen 0
crypto: driver 0 registers alg 32 flags 0 maxoplen 0
crypto: driver 0 registers alg 11 flags 0 maxoplen 0
crypto: driver 0 registers alg 18 flags 0 maxoplen 0
crypto: driver 0 registers alg 23 flags 0 maxoplen 0
crypto: driver 0 registers alg 22 flags 0 maxoplen 0
raidattach: Asked for 8 units
Kernelized RAIDframe activated
pad: requested 1 units
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
Searching for RAID components...
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
iwn0: radio is disabled by hardware switch
iwn0: cannot assign link-local address
iwn0: radio is disabled by hardware switch
iwn0: radio is disabled by hardware switch
iwn0: cannot assign link-local address
cprng sysctl: WARNING pseudorandom rekeying.
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)



Failing: With usb(4) enabled but ugen and uvideo disabled
----------------------------------------------------------

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.11 (GENERIC) #11: Sun Sep  9 23:17:41 CEST 2012
	sutre@tahoe:/data/sutre/NetBSD/build/data/sutre/NetBSD/src/sys/arch/amd64/compile/GENERIC
total memory = 8117 MB
avail memory = 7866 MB
timecounter: Timecounters tick every 10.000 msec
No bootinfo commands at boot
userconf: configure system autoconfiguration:
uc> disable ugen
[373] ugen* disabled
uc> disable uvideo
[390] uvideo* disabled
uc> quit
Continuing...
RTC BIOS diagnostic error 0x30<config_unit,memory_size>
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.6 @ 0xf2460 (66 entries)
Dell Inc. Latitude E4310 (0001)
mainbus0 (root)
ACPI Warning: 32/64X FACS address mismatch in FADT - 0xDB76BF40/0x00000000DB76ED40, using 32 (20110623/tbfadt-517)
cpu0 at mainbus0 apid 0cpu0: 8 page colors
cpu0: calibrating local timer
cpu0: apic clock running at 133 MHz
timecounter: Timecounter "lapic" frequency 133089246 Hz quality -100
: Intel(R) Core(TM) i5 CPU       M 540  @ 2.53GHz, id 0x20655
cpu0: PAT enabled
cpu1 at mainbus0 apid 4cpu1: 2 page colors
x86_ipi_init: ESR 00000040
: Intel(R) Core(TM) i5 CPU       M 540  @ 2.53GHz, id 0x20655
cpu1: PAT enabled
cpu2 at mainbus0 apid 1cpu2: 2 page colors
: Intel(R) Core(TM) i5 CPU       M 540  @ 2.53GHz, id 0x20655
cpu2: PAT enabled
cpu3 at mainbus0 apid 5cpu3: 2 page colors
: Intel(R) Core(TM) i5 CPU       M 540  @ 2.53GHz, id 0x20655
cpu3: PAT enabled
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <DELL  , E2     ,06222004>, AslId <MSFT,00010013>
acpi0: SCI interrupting at int 9
acpi0: fixed power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
acpi0: ACPI-Fast 24-bit timer
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (ECDV, PNP0C09-0): io 0x930,0x934
FWHD (INT0800) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
UAR1 (PNP0501) at acpi0 not configured
pckbc2 at acpi0 (PS2M, DLL0410) (aux port): irq 12
PDRC (PNP0C02) at acpi0 not configured
A_CC (SMO8800) at acpi0 not configured
acpivga0 at acpi0 (VID): ACPI Display Adapter
acpivga0: capabilities: _DOS _DOD
acpiout0 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
acpiout0: capabilities: _DCS _DGS _DSS
acpiout1 at acpivga0 (LCD, 0x0400): ACPI Display Output Device
acpiout1: capabilities: _BCL _BCM _BQC _DCS _DGS _DSS
acpiout1: brightness levels: 0 6 13 20 26 33 40 46 53 60 66 73 80 86 93 100
acpiout2 at acpivga0 (DVI, 0x0302): ACPI Display Output Device
acpiout2: capabilities: _DCS _DGS _DSS
acpiout3 at acpivga0 (DVI2, 0x0303): ACPI Display Output Device
acpiout3: capabilities: _DCS _DGS _DSS
acpiout4 at acpivga0 (DP, 0x0300): ACPI Display Output Device
acpiout4: capabilities: _DCS _DGS _DSS
acpiout5 at acpivga0 (DP2, 0x0301): ACPI Display Output Device
acpiout5: capabilities: _DCS _DGS _DSS
acpivga0: connected output devices:
acpivga0:   0x0100 (acpiout0): Ext. Monitor, head 0
acpivga0:   0x0400 (acpiout1): Unknown Output Device, head 0
acpivga0:   0x0302 (acpiout2): Unknown Output Device, head 0
acpivga0:   0x0303 (acpiout3): Unknown Output Device, head 0
acpivga0:   0x0300 (acpiout4): Unknown Output Device, head 0
acpivga0:   0x0301 (acpiout5): Unknown Output Device, head 0
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PBTN, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SBTN, PNP0C0E): ACPI Sleep Button
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
acpibat0: SMP LION rechargeable battery
acpibat0: model number DELL Y266P09, serial number 132
acpibat0: granularity: low->warn 0.028 Ah, warn->full 0.028 Ah
acpibat1 at acpi0 (BAT1, PNP0C0A-2): ACPI Battery
acpiwmi0 at acpi0 (AMW0, PNP0C14-0): ACPI WMI Interface
acpiwmi0: {8D9DDCBC-A997-11DA-B012-B622A1EF5492} oid 4141 count 01 flags 00
acpiwmi0: {A80593CE-A997-11DA-B012-B622A1EF5492} oid 4142 count 01 flags 02
acpiwmi0: {9DBB5994-A997-11DA-B012-B622A1EF5492} oid 00D0 count 01 flags 08
acpiwmi0: {A3776CE0-1E88-11DB-A98B-0800200C9A66} oid 4342 count 01 flags 00
acpiwmi0: {05901221-D566-11D1-B2F0-00A0C9062910} oid 4F4D count 01 flags 00
wmidell0 at acpiwmi0: Dell WMI mappings
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: synaptics_probe: Not synaptics.
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x0044 (rev. 0x02)
agp0 at pchb0: detected 32764k stolen memory
agp0: aperture at 0xe0000000, size 0x10000000
vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x0046 (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
wm0 at pci0 dev 25 function 0: PCH LAN (82577LM) Controller (rev. 0x05)
wm0: interrupting at ioapic0 pin 20
wm0: PCI-Express bus
wm0: FLASH
wm0: Ethernet address 5c:26:0a:13:8f:e1
ihphy0 at wm0 phy 2: i82577 10/100/1000 media interface, rev. 3
ihphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ehci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x3b3c (rev. 0x05)
ehci0: interrupting at ioapic0 pin 16
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
usb0: WARNING: power management not supported
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0 vendor 0x111D product 0x7605 nid 0x01: Sigmatel 92HD81B1X5
hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
    nid=0D [pin: Speaker (Built-In)]
           nid=13 [audio output] [source: dac]
    nid=0B [pin: HP Out (Black Jack)]
           nid=13 [audio output] [source: dac]
hdafg0: ADC01 2ch: Mic In [Jack]
    nid=0A [pin: Mic In (Black Jack)]
    nid=0F [pin: Mic In (Black Jack)]
hdafg0: ADC02 2ch: Mic In [Built-In]
    nid=11 [pin: Mic In (Built-In)]
hdafg0: DAC03 2ch: Speaker [Jack]
    nid=0E [pin: Speaker (Black Jack)]
           nid=14 [audio output] [source: dac]
hdafg0: 2ch/2ch 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, independent
hdafg1 at hdaudio0 vendor 0x8086 product 0x2804 nid 0x01: Intel G45 HDMI
hdafg1: DP00 8ch: Digital Out [Jack]
    nid=04 [pin: Digital Out (Jack)]
           nid=02 [audio output] [source: dac]
hdafg1: DP01 8ch: Digital Out [Jack]
    nid=05 [pin: Digital Out (Jack)]
           nid=03 [audio output] [source: dac]
hdafg1: 8ch/0ch 48000Hz PCM16*
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x3b42 (rev. 0x05)
ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x3b44 (rev. 0x05)
ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
iwn0 at pci2 dev 0 function 0: vendor 0x8086 product 0x422b (rev. 0x35)
iwn0: interrupting at ioapic0 pin 17
iwn0: MIMO 3T3R, MoW, address 00:24:d7:55:88:5c
iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ppb2 at pci0 dev 28 function 2: vendor 0x8086 product 0x3b46 (rev. 0x05)
ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
sdhc0 at pci3 dev 0 function 0: vendor 0x1180 product 0xe822 (rev. 0x01)
sdhc0: interrupting at ioapic0 pin 18
sdhc0: SD Host Specification 1.0, rev.4
sdhc0: using DMA transfer
sdmmc0 at sdhc0 slot 0
ppb3 at pci0 dev 28 function 3: vendor 0x8086 product 0x3b48 (rev. 0x05)
ppb3: PCI Express 2.0 <Root Port of PCI-E Root Complex>
ppb3: disabling notification events
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
ehci1 at pci0 dev 29 function 0: vendor 0x8086 product 0x3b34 (rev. 0x05)
ehci1: interrupting at ioapic0 pin 17
ehci1: EHCI version 1.0
usb1 at ehci1: USB revision 2.0
usb1: WARNING: power management not supported
ppb4 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xa5)
pci5 at ppb4 bus 10
pci5: i/o space, memory space enabled
pcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x3b0f (rev. 0x05)
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x3b2f (rev. 0x05)
ahcisata0: interrupting at ioapic0 pin 18
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP 0xffffffffe720ff65<SXS,EMS,PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SALP,SSNTF,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 4
atabus3 at ahcisata0 channel 5
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x3b30 (rev. 0x05)
ichsmb0: interrupting at ioapic0 pin 18
iic0 at ichsmb0: I2C bus
isa0 at pcib0
tpm0 at isa0 iomem 0xfed40000-0xfed44fff irq 7: device 0x200114e4 rev 0x20
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   3 us, pow  1000 mW
acpicpu0: C2: FFH, lat 205 us, pow   500 mW
acpicpu0: C3: FFH, lat 245 us, pow   350 mW, bus master check
acpicpu0: P0: FFH, lat  10 us, pow 25000 mW, 2533 MHz
acpicpu0: P1: FFH, lat  10 us, pow 23390 mW, 2399 MHz
acpicpu0: P2: FFH, lat  10 us, pow 21835 mW, 2266 MHz
acpicpu0: P3: FFH, lat  10 us, pow 20334 mW, 2133 MHz
acpicpu0: P4: FFH, lat  10 us, pow 18817 mW, 1999 MHz
acpicpu0: P5: FFH, lat  10 us, pow 17351 mW, 1866 MHz
acpicpu0: P6: FFH, lat  10 us, pow 15937 mW, 1733 MHz
acpicpu0: P7: FFH, lat  10 us, pow 14528 mW, 1599 MHz
acpicpu0: P8: FFH, lat  10 us, pow 13163 mW, 1466 MHz
acpicpu0: P9: FFH, lat  10 us, pow 11835 mW, 1333 MHz
acpicpu0: P10: FFH, lat  10 us, pow 10512 mW, 1199 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
acpicpu0: id 1, lapic id 0, cap 0x0bfd, flags 0x0018e297
acpicpu0: P-state coordination: 4 CPUs, domain 0, type HW_ALL
coretemp0 at cpu0: thermal sensor, 1 C resolution
acpicpu1 at cpu1: ACPI CPU
acpicpu1: id 2, lapic id 4, cap 0x0bfd, flags 0x0018e297
acpicpu1: P-state coordination: 4 CPUs, domain 0, type HW_ALL
coretemp1 at cpu1: thermal sensor, 1 C resolution
acpicpu2 at cpu2: ACPI CPU
acpicpu2: id 3, lapic id 1, cap 0x0bfd, flags 0x0018e297
acpicpu2: P-state coordination: 4 CPUs, domain 0, type HW_ALL
acpicpu3 at cpu3: ACPI CPU
acpicpu3: id 4, lapic id 5, cap 0x0bfd, flags 0x0018e297
acpicpu3: P-state coordination: 4 CPUs, domain 0, type HW_ALL
Initializing SSP: 75310afbb07bb767 3e63b58f0ce9c35d c964f4e405c6d775 c9017d412eac553a ffdbfe1c8f9913ec e0dc88f0ad154751 de119fb9257c4bbe d59fc2a034c5b6d 
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
cpu1: TSC skew=-2 drift=4
cpu2: TSC skew=-20 drift=16
cpu3: TSC skew=6 drift=-4
cpu1: running
cpu2: running
cpu3: running
TSC not known safe on this CPU
timecounter: Timecounter "TSC" frequency 2527175200 Hz quality -100
acpicpu3: ACPI CPUs started
acpiacad0: AC adapter online.
acpiacad0: AC adapter connected
uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
ahcisata0 port 1: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0
wd0: <SAMSUNG SSD PM800 2.5" 128GB>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 119 GB, 248085 cyl, 16 head, 63 sec, 512 bytes/sect x 250069680 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 1 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVD+/-RW GU40N, KWCA9M44239, A102> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
cd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
uhub2 at uhub0 port 1: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2
uhub2: single transaction translator
uhub3 at uhub1 port 1: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2
uhub3: single transaction translator
uhub2: 6 ports with 6 removable, self powered
uhub3: 8 ports with 8 removable, self powered
uhub4 at uhub2 port 1: vendor 0x413c product 0x2513, class 9/0, rev 2.00/a0.05, addr 3
uhub4: multiple transaction translators
uhub4: 3 ports with 3 removable, self powered
Broadcom Corp 5880, class 0/0, rev 1.10/1.01, addr 3, uhub3 port 8 not configured
uhub5 at uhub2 port 2: vendor 0x413c product 0x2513, class 9/0, rev 2.00/a0.05, addr 4
uhub5: multiple transaction translators
uhub5: 3 ports with 3 removable, self powered
CN0F5CWW7866409802FKA01 Laptop_Integrated_Webcam_2M, class 239/2, rev 2.00/a7.20, addr 5, uhub2 port 4 not configured
crypto: assign driver 0, flags 2
crypto: driver 0 registers alg 1 flags 0 maxoplen 0
crypto: driver 0 registers alg 2 flags 0 maxoplen 0
crypto: driver 0 registers alg 3 flags 0 maxoplen 0
crypto: driver 0 registers alg 4 flags 0 maxoplen 0
crypto: driver 0 registers alg 5 flags 0 maxoplen 0
crypto: driver 0 registers alg 26 flags 0 maxoplen 0
crypto: driver 0 registers alg 27 flags 0 maxoplen 0
crypto: driver 0 registers alg 29 flags 0 maxoplen 0
crypto: driver 0 registers alg 33 flags 0 maxoplen 0
crypto: driver 0 registers alg 17 flags 0 maxoplen 0
crypto: driver 0 registers alg 6 flags 0 maxoplen 0
crypto: driver 0 registers alg 19 flags 0 maxoplen 0
crypto: driver 0 registers alg 7 flags 0 maxoplen 0
crypto: driver 0 registers alg 20 flags 0 maxoplen 0
crypto: driver 0 registers alg 15 flags 0 maxoplen 0
crypto: driver 0 registers alg 24 flags 0 maxoplen 0
crypto: driver 0 registers alg 25 flags 0 maxoplen 0
crypto: driver 0 registers alg 8 flags 0 maxoplen 0
crypto: driver 0 registers alg 21 flags 0 maxoplen 0
crypto: driver 0 registers alg 16 flags 0 maxoplen 0
crypto: driver 0 registers alg 9 flags 0 maxoplen 0
crypto: driver 0 registers alg 10 flags 0 maxoplen 0
crypto: driver 0 registers alg 13 flags 0 maxoplen 0
crypto: driver 0 registers alg 14 flags 0 maxoplen 0
crypto: driver 0 registers alg 28 flags 0 maxoplen 0
crypto: driver 0 registers alg 30 flags 0 maxoplen 0
crypto: driver 0 registers alg 31 flags 0 maxoplen 0
crypto: driver 0 registers alg 32 flags 0 maxoplen 0
crypto: driver 0 registers alg 11 flags 0 maxoplen 0
crypto: driver 0 registers alg 18 flags 0 maxoplen 0
crypto: driver 0 registers alg 23 flags 0 maxoplen 0
crypto: driver 0 registers alg 22 flags 0 maxoplen 0
raidattach: Asked for 8 units
Kernelized RAIDframe activated
pad: requested 1 units
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
Searching for RAID components...
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
iwn0: radio is disabled by hardware switch
iwn0: cannot assign link-local address
iwn0: radio is disabled by hardware switch
iwn0: radio is disabled by hardware switch
iwn0: cannot assign link-local address
cprng sysctl: WARNING pseudorandom rekeying.
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)



>How-To-Repeat:

Suspend and resume on a Dell Latitude E4310 (Core i5).

>Fix:

Unknown.

>Audit-Trail:
From: =?ISO-8859-1?Q?Gr=E9goire_Sutre?= <gregoire.sutre@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/46931: Lock-up at resume apparently due usb(4)
Date: Tue, 25 Sep 2012 02:49:49 +0200

 I've made more experiments, and the problem seems to be i/o related.
 The machine does not in fact lock up, as it responds to ping.  But
 the shell locks up after resume as soon as it accesses the disk.

 The conditions under which the bug happens are rather strange.  So,
 for the sake of reproducibility, I detail the procedure that I used
 for testing.  The problem arises with -current, but does not occur
 with 6.0 RC2.


 1. Download and burn the iso image on a DVD+RW.  I tried:
     - NetBSD-6.0_RC2-amd64.iso
     - NetBSD-6.99.11-amd64.iso  [NetBSD-daily/HEAD/201209230730Z]

 2. Boot on the DVD, then exit the install system and re-install a
 fresh base system on the hard drive (wd0a):

 mount /dev/wd0a /mnt
 cd /mnt
 rm -rf .cshrc .profile [a-z]*
 for s in base etc kern-GENERIC modules ; do
      tar -zxpf /amd64/binary/sets/$s.tgz
 done
 cp -p usr/mdec/boot .
 echo "/dev/wd0a / ffs rw,log 1 1" > etc/fstab
 echo "PermitRootLogin yes" >> etc/ssh/sshd_config
 cd dev
 ./MAKEDEV all
 cd /
 umount /mnt
 reboot

 3. Boot NetBSD from the hard drive, as single user, then accept the
 default shell (/bin/sh), and then source a test script that contains
 the following:

 sysctl -w hw.acpi.sleep.vbios=0
 mount /
 /etc/rc.d/syslogd start
 sleep 5
 echo -e '\a'
 sysctl -w hw.acpi.sleep.state=3
 echo -e '\a'
 sleep 0.5
 ls
 echo -e '\a'

 Wait for a few seconds after suspend and press the power button.


 I use beeps in the script since the laptop's panel remains blank
 after resume, but that's another story.

 Normally, there should be two beeps after resume.  However, with
 the -current installation, there is only one beep, and the shell
 becomes unresponsive.  Furthermore, pressing the power button does
 not shut the system down.  There is no such problem with 6.0 RC2.

 The problem with -current does not occur if syslogd is stopped
 before suspend in the above script.  Moreover, as mentioned in the
 original report, the problem does not occur if usb(4) is disabled
 in userconf.  Another way that seems to avoid the problem is to
 read the disk with ls and cat on a few directories and files before
 launching the above script.

 Getting back to the case where the machine exhibits the problem,
 by monitoring with an ssh connection, I can run top before suspend.
 Then, top resumes without problem (but of course, the ssh connection
 locks up as soon as I leave top).

 Before suspend, top shows:

 52 root      85    0    23M 1944K kqueue/0   0:00  0.00%  0.00% syslogd

 After suspend:

 52 root     117    0    23M 1964K tstile/2   0:00  0.00%  0.00% syslogd

 and syslogd remains in the tstile/2 state.

From: =?ISO-8859-1?Q?Gr=E9goire_Sutre?= <gregoire.sutre@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/46931: Lock-up at resume apparently due usb(4)
Date: Wed, 26 Sep 2012 01:16:49 +0200

 Strangely enough, the issue depends on the DVD used to re-install
 a fresh base system in step 2, not on the sets themselves:

 - installing the -current sets with the 6.0 RC2 bootable DVD does
    not trigger the resume issue later in step 3.

 - installing the 6.0 RC2 sets with the -current bootable DVD does
    trigger the resume issue later in step 3.

 This leaves me clueless. :-/

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.