I'm trying to debug the following panic.
I can't get a crash dump.
At the DDB prompt, either "boot sync" or "boot dump"
the system prints "Syncing disks: 2" and nothing more.
I've tried:
removing all disks and/or controllers other than
the disk holding the root
removing physical memory so it is 4G < swap space (5G)
unplugging the offending USB device after the panic
running 6.0 release, 6.0 stable, and the snapshot below
The panic and hang are identical for all cases.
Is there something obvious about my configuration which is
causing this?
Alternatively, is the panic known? It's 100% reproduceable.
I'll submit bug reports for both if that's the best approach.
I wanted to try to debug this myself to possibly get a fix
quickly.
thanks
Geoff Steckel
panic: ehci_device_clear_toggle: queue active
Stopped at Debugger+0x9: leave
TID PID UID PRFLAGS PFLAGS CPU COMMAND
* 2171 2171 0 0x3 0 0 avrdude
Debugger() at Debugger+0x9
panic() at panic+0xfe
ehci_device_clear_toggle() at ehci_device_clear_toggle+0x2b
usbd_clear_endpoint_stall() at usbd_clear_endpoint_stall+0x24
ugen_do_read() at ugen_do_read+0x4e6
ugenread() at ugenread+0x48
spec_read() at spec_read+0x2c5
VOP_READ() at VOP_READ+0x3f
vn_read() at vn_read+0xa1
dofilereadv() at dofilereadv+0x204
sys_read() at sys_read+0x89
syscall() at syscall+0x27b
--- syscall (number 3) ---
end trace frame: 0x0, count: 3
0x108592d58a1a:
Mar 10 20:26:39 store /bsd: OpenBSD 6.1-beta (GENERIC.MP) #224: Thu Mar
9 18:50:15 MST 2017
Mar 10 20:26:39 store /bsd:
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Mar 10 20:26:39 store /bsd: real mem = 8466022400 (8073MB)
Mar 10 20:26:39 store /bsd: avail mem = 8204775424 (7824MB)
Mar 10 20:26:39 store /bsd: mpath0 at root
Mar 10 20:26:39 store /bsd: scsibus0 at mpath0: 256 targets
Mar 10 20:26:39 store /bsd: mainbus0 at root
Mar 10 20:26:39 store /bsd: bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb450
(20 entries)
Mar 10 20:26:39 store /bsd: bios0: vendor American Megatrends Inc.
version "4.6.5" date 06/05/2013
Mar 10 20:26:39 store /bsd: bios0: BIOSTAR Group NM70I-1037U
Mar 10 20:26:39 store /bsd: acpi0 at bios0: rev 2
Mar 10 20:26:39 store /bsd: acpi0: sleep states S0 S1 S4 S5
Mar 10 20:26:39 store /bsd: acpi0: tables DSDT FACP APIC FPDT MCFG HPET
SSDT SSDT SSDT
Mar 10 20:26:39 store /bsd: acpi0: wakeup devices PS2K(S4) UAR1(S4)
P0P1(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) USB6(S4) USB7(S4)
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) [...]
Mar 10 20:26:39 store /bsd: acpitimer0 at acpi0: 3579545 Hz, 24 bits
Mar 10 20:26:39 store /bsd: acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
Mar 10 20:26:39 store /bsd: cpu0 at mainbus0: apid 0 (boot processor)
Mar 10 20:26:39 store /bsd: cpu0: Intel(R) Celeron(R) CPU 1037U @
1.80GHz, 1796.21 MHz
Mar 10 20:26:39 store /bsd: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
Mar 10 20:26:39 store /bsd: cpu0: 256KB 64b/line 8-way L2 cache
Mar 10 20:26:39 store /bsd: cpu0: TSC frequency 1796209080 Hz
Mar 10 20:26:39 store /bsd: cpu0: smt 0, core 0, package 0
Mar 10 20:26:39 store /bsd: mtrr: Pentium Pro MTRR support, 10 var
ranges, 88 fixed ranges
Mar 10 20:26:39 store /bsd: cpu0: apic clock running at 99MHz
Mar 10 20:26:39 store /bsd: cpu0: mwait min=64, max=64,
C-substates=0.2.1.1.2, IBE
Mar 10 20:26:39 store /bsd: cpu1 at mainbus0: apid 2 (application processor)
Mar 10 20:26:39 store /bsd: cpu1: Intel(R) Celeron(R) CPU 1037U @
1.80GHz, 1795.92 MHz
Mar 10 20:26:39 store /bsd: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
Mar 10 20:26:39 store /bsd: cpu1: 256KB 64b/line 8-way L2 cache
Mar 10 20:26:39 store /bsd: cpu1: smt 0, core 1, package 0
Mar 10 20:26:39 store /bsd: ioapic0 at mainbus0: apid 2 pa 0xfec00000,
version 20, 24 pins
Mar 10 20:26:39 store /bsd: acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
Mar 10 20:26:39 store /bsd: acpihpet0 at acpi0: 14318179 Hz
Mar 10 20:26:39 store /bsd: acpiprt0 at acpi0: bus 0 (PCI0)
Mar 10 20:26:39 store /bsd: acpiprt1 at acpi0: bus -1 (P0P1)
Mar 10 20:26:39 store /bsd: acpiprt2 at acpi0: bus 2 (RP01)
Mar 10 20:26:39 store /bsd: acpiprt3 at acpi0: bus 3 (RP02)
Mar 10 20:26:39 store /bsd: acpiprt4 at acpi0: bus -1 (RP03)
Mar 10 20:26:39 store /bsd: acpiprt5 at acpi0: bus -1 (RP04)
Mar 10 20:26:39 store /bsd: acpiprt6 at acpi0: bus -1 (RP05)
Mar 10 20:26:39 store /bsd: acpiprt7 at acpi0: bus -1 (RP06)
Mar 10 20:26:39 store /bsd: acpiprt8 at acpi0: bus -1 (RP07)
Mar 10 20:26:39 store /bsd: acpiprt9 at acpi0: bus -1 (RP08)
Mar 10 20:26:39 store /bsd: acpiprt10 at acpi0: bus 1 (PEG0)
Mar 10 20:26:39 store /bsd: acpiprt11 at acpi0: bus -1 (PEG1)
Mar 10 20:26:39 store /bsd: acpiprt12 at acpi0: bus -1 (PEG2)
Mar 10 20:26:39 store /bsd: acpiprt13 at acpi0: bus -1 (PEG3)
Mar 10 20:26:39 store /bsd: acpiec0 at acpi0: not present
Mar 10 20:26:39 store /bsd: acpicpu0 at acpi0: C2(350@80 mwait.1@0x20),
C1(1000@1 mwait.1), PSS
Mar 10 20:26:39 store /bsd: acpicpu1 at acpi0: C2(350@80 mwait.1@0x20),
C1(1000@1 mwait.1), PSS
Mar 10 20:26:39 store /bsd: acpipwrres0 at acpi0: FN00, resource for FAN0
Mar 10 20:26:39 store /bsd: acpipwrres1 at acpi0: FN01, resource for FAN1
Mar 10 20:26:39 store /bsd: acpipwrres2 at acpi0: FN02, resource for FAN2
Mar 10 20:26:39 store /bsd: acpipwrres3 at acpi0: FN03, resource for FAN3
Mar 10 20:26:39 store /bsd: acpipwrres4 at acpi0: FN04, resource for FAN4
Mar 10 20:26:39 store /bsd: acpitz0 at acpi0: critical temperature is
105 degC
Mar 10 20:26:39 store /bsd: acpitz1 at acpi0: critical temperature is
105 degC
Mar 10 20:26:39 store /bsd: acpitz2 at acpi0: critical temperature is
126 degC
Mar 10 20:26:39 store /bsd: "INT3F0D" at acpi0 not configured
Mar 10 20:26:39 store /bsd: "PNP0303" at acpi0 not configured
Mar 10 20:26:39 store /bsd: "PNP0400" at acpi0 not configured
Mar 10 20:26:39 store /bsd: "PNP0501" at acpi0 not configured
Mar 10 20:26:39 store /bsd: acpibtn0 at acpi0: PWRB
Mar 10 20:26:39 store /bsd: "INT3394" at acpi0 not configured
Mar 10 20:26:39 store /bsd: "PNP0C0B" at acpi0 not configured
Mar 10 20:26:39 store last message repeated 4 times
Mar 10 20:26:39 store /bsd: acpivideo0 at acpi0: GFX0
Mar 10 20:26:39 store /bsd: acpivout0 at acpivideo0: DD02
Mar 10 20:26:39 store /bsd: cpu0: Enhanced SpeedStep 1796 MHz: speeds:
1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
Mar 10 20:26:39 store /bsd: pci0 at mainbus0 bus 0
Mar 10 20:26:39 store /bsd: pchb0 at pci0 dev 0 function 0 "Intel Core
3G Host" rev 0x09
Mar 10 20:26:39 store /bsd: ppb0 at pci0 dev 1 function 0 "Intel Core 3G
PCIE" rev 0x09: msi
Mar 10 20:26:39 store /bsd: pci1 at ppb0 bus 1
Mar 10 20:26:39 store /bsd: mpii0 at pci1 dev 0 function 0 "Symbios
Logic SAS2008" rev 0x02: msi
Mar 10 20:26:39 store /bsd: mpii0: Eval Board, firmware 2.0.50.0 IR, MPI 2.0
Mar 10 20:26:39 store /bsd: scsibus1 at mpii0: 128 targets
Mar 10 20:26:39 store /bsd: inteldrm0 at pci0 dev 2 function 0 "Intel HD
Graphics 2500" rev 0x09
Mar 10 20:26:39 store /bsd: drm0 at inteldrm0
Mar 10 20:26:39 store /bsd: inteldrm0: msi
Mar 10 20:26:39 store /bsd: inteldrm0: 1920x1200, 32bpp
Mar 10 20:26:39 store /bsd: wsdisplay0 at inteldrm0 mux 1: console (std,
vt100 emulation)
Mar 10 20:26:39 store /bsd: wsdisplay0: screen 1-5 added (std, vt100
emulation)
Mar 10 20:26:39 store /bsd: "Intel 7 Series MEI" rev 0x04 at pci0 dev 22
function 0 not configured
Mar 10 20:26:39 store /bsd: ehci0 at pci0 dev 26 function 0 "Intel 7
Series USB" rev 0x04: apic 2 int 16
Mar 10 20:26:39 store /bsd: usb0 at ehci0: USB revision 2.0
Mar 10 20:26:39 store /bsd: uhub0 at usb0 configuration 1 interface 0
"Intel EHCI root hub" rev 2.00/1.00 addr 1
Mar 10 20:26:39 store /bsd: azalia0 at pci0 dev 27 function 0 "Intel 7
Series HD Audio" rev 0x04: msi
Mar 10 20:26:39 store /bsd: azalia0: codecs: Realtek ALC662,
Intel/0x2806, using Realtek ALC662
Mar 10 20:26:39 store /bsd: audio0 at azalia0
Mar 10 20:26:39 store /bsd: ppb1 at pci0 dev 28 function 0 "Intel 7
Series PCIE" rev 0xc4: msi
Mar 10 20:26:39 store /bsd: pci2 at ppb1 bus 2
Mar 10 20:26:39 store /bsd: ppb2 at pci0 dev 28 function 1 "Intel 7
Series PCIE" rev 0xc4: msi
Mar 10 20:26:39 store /bsd: pci3 at ppb2 bus 3
Mar 10 20:26:39 store /bsd: re0 at pci3 dev 0 function 0 "Realtek 8168"
rev 0x07: RTL8168E/8111E-VL (0x2c80), msi, address b8:97:5a:5c:28:df
Mar 10 20:26:39 store /bsd: rgephy0 at re0 phy 7: RTL8169S/8110S/8211
PHY, rev. 5
Mar 10 20:26:39 store /bsd: ehci1 at pci0 dev 29 function 0 "Intel 7
Series USB" rev 0x04: apic 2 int 23
Mar 10 20:26:39 store /bsd: usb1 at ehci1: USB revision 2.0
Mar 10 20:26:39 store /bsd: uhub1 at usb1 configuration 1 interface 0
"Intel EHCI root hub" rev 2.00/1.00 addr 1
Mar 10 20:26:39 store /bsd: pcib0 at pci0 dev 31 function 0 "Intel NM70
LPC" rev 0x04
Mar 10 20:26:39 store /bsd: ahci0 at pci0 dev 31 function 2 "Intel 7
Series AHCI" rev 0x04: msi, AHCI 1.3
Mar 10 20:26:39 store /bsd: ahci0: port 0: 6.0Gb/s
Mar 10 20:26:39 store /bsd: ahci0: port 2: 3.0Gb/s
Mar 10 20:26:39 store /bsd: ahci0: port 4: 3.0Gb/s
Mar 10 20:26:39 store /bsd: ahci0: port 5: 3.0Gb/s
Mar 10 20:26:39 store /bsd: scsibus2 at ahci0: 32 targets
Mar 10 20:26:39 store /bsd: sd0 at scsibus2 targ 0 lun 0: <ATA, SanDisk
SDSSDP06, 2.0.> SCSI3 0/direct fixed naa.5001b4498e7f1be5
Mar 10 20:26:39 store /bsd: sd0: 61057MB, 512 bytes/sector, 125045424
sectors, thin
Mar 10 20:26:39 store /bsd: sd1 at scsibus2 targ 2 lun 0: <ATA, WDC
WD30EZRX-00D, 80.0> SCSI3 0/direct fixed naa.50014ee0590e804b
Mar 10 20:26:39 store /bsd: sd1: 2861588MB, 512 bytes/sector, 5860533168
sectors
Mar 10 20:26:39 store /bsd: sd2 at scsibus2 targ 4 lun 0: <ATA, WDC
WD30EZRX-00D, 80.0> SCSI3 0/direct fixed naa.50014ee0590e892f
Mar 10 20:26:39 store /bsd: sd2: 2861588MB, 512 bytes/sector, 5860533168
sectors
Mar 10 20:26:39 store /bsd: sd3 at scsibus2 targ 5 lun 0: <ATA,
ST2000DM001-9YN1, CC4C> SCSI3 0/direct fixed naa.5000c50050f08f56
Mar 10 20:26:39 store /bsd: sd3: 1907729MB, 512 bytes/sector, 3907029168
sectors
Mar 10 20:26:39 store /bsd: ichiic0 at pci0 dev 31 function 3 "Intel 7
Series SMBus" rev 0x04: apic 2 int 18
Mar 10 20:26:39 store /bsd: iic0 at ichiic0
Mar 10 20:26:39 store /bsd: spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM
PC3-12800
Mar 10 20:26:39 store /bsd: spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM
PC3-12800
Mar 10 20:26:39 store /bsd: isa0 at pcib0
Mar 10 20:26:39 store /bsd: isadma0 at isa0
Mar 10 20:26:39 store /bsd: com0 at isa0 port 0x3f8/8 irq 4: ns16550a,
16 byte fifo
Mar 10 20:26:39 store /bsd: pckbc0 at isa0 port 0x60/5 irq 1 irq 12
Mar 10 20:26:39 store /bsd: pckbd0 at pckbc0 (kbd slot)
Mar 10 20:26:39 store /bsd: wskbd0 at pckbd0: console keyboard, using
wsdisplay0
Mar 10 20:26:39 store /bsd: pcppi0 at isa0 port 0x61
Mar 10 20:26:39 store /bsd: spkr0 at pcppi0
Mar 10 20:26:39 store /bsd: lpt0 at isa0 port 0x378/4 irq 7
Mar 10 20:26:39 store /bsd: it0 at isa0 port 0x2e/2: IT8728F rev 1, EC
port 0xa30
Mar 10 20:26:39 store /bsd: vmm disabled by firmware
Mar 10 20:26:39 store /bsd: vmm at mainbus0 not configured
Mar 10 20:26:39 store /bsd: uhub2 at uhub0 port 1 configuration 1
interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
Mar 10 20:26:39 store /bsd: sd4 at scsibus1 targ 2 lun 0: <ATA, WDC
WD10SPCX-21K, 1A01> SCSI3 0/direct fixed naa.50014ee604a6cef1
Mar 10 20:26:39 store /bsd: sd4: 953869MB, 512 bytes/sector, 1953525168
sectors
Mar 10 20:26:39 store /bsd: sd5 at scsibus1 targ 4 lun 0: <ATA,
ST2000DM001-9YN1, CC4C> SCSI3 0/direct fixed naa.5000c50050e23c7f
Mar 10 20:26:39 store /bsd: sd5: 1907729MB, 512 bytes/sector, 3907029168
sectors
Mar 10 20:26:39 store /bsd: sd6 at scsibus1 targ 5 lun 0: <ATA,
ST2000DM001-9YN1, CC4C> SCSI3 0/direct fixed naa.5000c50050cc8825
Mar 10 20:26:39 store /bsd: sd6: 1907729MB, 512 bytes/sector, 3907029168
sectors
Mar 10 20:26:39 store /bsd: ugen0 at uhub2 port 2 "ATMEL AVRISP mkII"
rev 1.10/2.00 addr 3
Mar 10 20:26:39 store /bsd: uhub3 at uhub2 port 3 configuration 1
interface 0 "NEC hub" rev 2.00/1.00 addr 4
Mar 10 20:26:39 store /bsd: uhub4 at uhub3 port 3 configuration 1
interface 0 "ATEN International product 0x8021" rev 1.10/1.00 addr 5
Mar 10 20:26:39 store /bsd: uhidev0 at uhub4 port 1 configuration 1
interface 0 "IOGEAR GCS1804 V1.5.141" rev 1.10/1.00 addr 6
Mar 10 20:26:39 store /bsd: uhidev0: iclass 3/1
Mar 10 20:26:39 store /bsd: ukbd0 at uhidev0: 8 variable keys, 6 key codes
Mar 10 20:26:39 store /bsd: wskbd1 at ukbd0 mux 1
Mar 10 20:26:39 store /bsd: wskbd1: connecting to wsdisplay0
Mar 10 20:26:39 store /bsd: uhidev1 at uhub4 port 1 configuration 1
interface 1 "IOGEAR GCS1804 V1.5.141" rev 1.10/1.00 addr 6
Mar 10 20:26:39 store /bsd: uhidev1: iclass 3/1
Mar 10 20:26:39 store /bsd: ums0 at uhidev1: 5 buttons, Z dir
Mar 10 20:26:39 store /bsd: wsmouse0 at ums0 mux 0
Mar 10 20:26:39 store /bsd: uhidev2 at uhub4 port 2 configuration 1
interface 0 "Logitech USB Trackball" rev 1.10/14.00 addr 7
Mar 10 20:26:39 store /bsd: uhidev2: iclass 3/1
Mar 10 20:26:39 store /bsd: ums1 at uhidev2: 5 buttons
Mar 10 20:26:39 store /bsd: wsmouse1 at ums1 mux 0
Mar 10 20:26:39 store /bsd: uaudio0 at uhub2 port 4 configuration 1
interface 0 "Burr-Brown from TI USB Audio CODEC" rev 1.10/1.00 addr 8
Mar 10 20:26:39 store /bsd: uaudio0: audio rev 1.00, 2 mixer controls
Mar 10 20:26:39 store /bsd: audio1 at uaudio0
Mar 10 20:26:39 store /bsd: uhidev3 at uhub2 port 4 configuration 1
interface 3 "Burr-Brown from TI USB Audio CODEC" rev 1.10/1.00 addr 8
Mar 10 20:26:39 store /bsd: uhidev3: iclass 3/0
Mar 10 20:26:39 store /bsd: uhid0 at uhidev3: input=1, output=0, feature=0
Mar 10 20:26:39 store /bsd: uhub5 at uhub1 port 1 configuration 1
interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
Mar 10 20:26:39 store /bsd: vscsi0 at root
Mar 10 20:26:39 store /bsd: scsibus3 at vscsi0: 256 targets
Mar 10 20:26:39 store /bsd: softraid0 at root
Mar 10 20:26:39 store /bsd: scsibus4 at softraid0: 256 targets
Mar 10 20:26:39 store /bsd: sd7 at scsibus4 targ 1 lun 0: <OPENBSD, SR
RAID 1, 006> SCSI2 0/direct fixed
Mar 10 20:26:39 store /bsd: sd7: 2759181MB, 512 bytes/sector, 5650803952
sectors
Mar 10 20:26:39 store /bsd: root on sd0a (2a081791fe686cf5.a) swap on
sd0b dump on sd0b
Mar 10 20:26:40 store savecore: no core dump
Mar 10 20:34:36 store syslogd: start