Hi everyone, I had to type this off the screen. My USB keyboard does not work at the ddb prompt so I cannot provide more information.
xhci_pipe_open: pipe=0xffff800000493000 addr=2 depth=1 port=9 speed=2 xhci0: dev 1 dci 3 (epAddr=0x81) xhci0: speed 1 mps 8 rhport 9 route 0x0 xhci0: max ESIT payload = 8, average TRB length = 8 xhci0: xhci_cmd_configure_ep xhci_abort_xfer: xfer=0xffffff021e3482d0 err=CANCELLED xhci0: error stopping ep (3) xhci0: xhci_cmd_configure_ep xhci_pipe_open: pipe=0xffff800000493000 addr=2 depth=1 port=9 speed=2 xhci0: dev 1 dci 3 (epAddr=0x81) xhci0: speed 1 mps 8 rhport 9 route 0x0 uvm_fault(0xffffff01e7f04b60, 0x0, 0, 2) -> e kernel: page fault trap, code=0 Stopped at xhci_pipe_init+0x1d7: movl %ecx,0(%rax) ddb{3}> I built the kernel today and this started happening. My previous build was from the 2nd of Novemember. I believe xhci was disabled at that time. The panic only happens if I have a USB device connected during boot (either my mouse or keyboard). If I plug them in incrementally once I reach the login prompt, the system does not panic. I am providing a dmesg below captured with XHCI_DEBUG enabled. This dmesg was captured by booting with no USB devices attached, then manually attaching my USB mouse and keyboard. Is there anything else I could do to help debug this? OpenBSD 5.6-current (GENERIC.MP) #7: Sun Nov 9 12:19:51 GMT 2014 r...@pancakes.2f30.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 7450062848 (7104MB) avail mem = 7247908864 (6912MB) warning: no entropy supplied by boot loader mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec1e0 (76 entries) bios0: vendor American Megatrends Inc. version "1.03" date 06/18/2014 bios0: Shuttle Inc. XH81V acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT SLIC SSDT SSDT MCFG HPET SSDT SSDT acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) [...] 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) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.97 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.47 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.47 MHz cpu2: 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.47 MHz cpu3: 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus 2 (RP03) acpiprt3 at acpi0: bus 3 (RP04) acpiprt4 at acpi0: bus -1 (PEG0) acpiec0 at acpi0: not present acpicpu0 at acpi0: C1, PSS acpicpu1 at acpi0: C1, PSS acpicpu2 at acpi0: C1, PSS acpicpu3 at acpi0: C1, PSS acpipwrres0 at acpi0: FN00, resource for FAN0 acpipwrres1 at acpi0: FN01, resource for FAN1 acpipwrres2 at acpi0: FN02, resource for FAN2 acpipwrres3 at acpi0: FN03, resource for FAN3 acpipwrres4 at acpi0: FN04, resource for FAN4 acpitz0 at acpi0: critical temperature is 105 degC acpitz1 at acpi0: critical temperature is 105 degC acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID0 acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: Enhanced SpeedStep 3691 MHz: speeds: 3700, 3500, 3300, 3100, 2900, 2700, 2500, 2300, 2200, 2000, 1800, 1600, 1400, 1200, 1000, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06 intagp at vga1 not configured inteldrm0 at vga1 drm0 at inteldrm0 drm: Memory usable by graphics device = 2048M error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before writing to 100000 inteldrm0: 1920x1200 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi azalia0: No codecs found xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi xhci0: xHCI version 1.0 xhci0: CAPLENGTH=0x80 xhci0: DOORBELL=0x3000 xhci0: RUNTIME=0x2000 xhci0: 32 bytes context xhci0: supported page size 0x00000001 xhci0: 17 ports and 32 slots xhci0: 16 scratch pages xhci0: USB3PRM / USB3.0 configurable ports: 0x00000003 xhci0: USB3_PSSEN / Enabled USB3.0 ports under xHCI: 0x00000003 xhci0: XUSB2PRM / USB2.0 ports can switch from EHCI to xHCI:0x00000fff xhci0: XUSB2PR / USB2.0 ports under xHCI: 0x00000fff usb0 at xhci0: USB revision 3.0 xhci_pipe_open: pipe=0xffff800000314000 addr=0 depth=0 port=0 speed=4 uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 xhci_pipe_open: pipe=0xffff800000315000 addr=1 depth=0 port=0 speed=4 xhci0: DCBAAP=00x8e11d000 xhci0: CRCR=00 (000000009d430000) xhci0: ERSTBA=00x9d42ffc0 xhci0: ERDP=00x8e11c000 xhci0: USBCMD=0x5 xhci0: IMAN=0x2 "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 8 int 16 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x05: msi azalia1: codecs: Realtek ALC662 audio0 at azalia1 ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G (0x4c00), msi, address 80:ee:73:9f:1d:3e rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0 ppb2 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: msi pci3 at ppb2 bus 3 re1 at pci3 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G (0x4c00), msi, address 80:ee:73:9f:1d:3d rgephy1 at re1 phy 7: RTL8251 PHY, rev. 0 ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 8 int 23 usb2 at ehci1: USB revision 2.0 uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci0 dev 31 function 0 "Intel H81 LPC" rev 0x05 ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi, AHCI 1.3 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, OCZ-VERTEX4, 1.5> SCSI3 0/direct fixed naa.5e83a970d964259f sd0: 122104MB, 512 bytes/sector, 250069680 sectors, thin ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic 8 int 18 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-12800 SO-DIMM isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 it0 at isa0 port 0x2e/2: IT8728F rev 1, EC port 0xa30 uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.05 addr 2 uhub4 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.05 addr 2 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (509d814c184825ca.a) swap on sd0b dump on sd0b xhci0: port=9 change=0x00 xhci0: port=9 change=0x00 xhci_pipe_open: pipe=0xffff80000048d000 addr=0 depth=1 port=9 speed=2 xhci0: xhci_cmd_slot_control xhci0: dev 1, input=0xffffff009b8c7000 slot=0xffffff009b8c7020 ep0=0xffffff009b8c7040 xhci0: dev 1, setting DCBAA to 0x000000009b8c6000 xhci0: dev 1 dci 1 (epAddr=0x0) xhci0: speed 1 mps 8 rhport 9 route 0x0 xhci0: max ESIT payload = 0, average TRB length = 8 xhci0: xhci_cmd_address_device xhci0: dev 1 addr 1 uhidev0 at uhub0 port 9 configuration 1 interface 0 "Holtek USB Optical gaming mouse" rev 2.00/1.73 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 16 buttons, Z dir wsmouse0 at ums0xhci_pipe_open: pipe=0xffff800000495000 addr=2 depth=1 port=9 speed=2 xhci0: dev 1 dci 3 (epAddr=0x81) xhci0: speed 1 mps 8 rhport 9 route 0x0 xhci0: max ESIT payload = 8, average TRB length = 8 xhci0: xhci_cmd_configure_ep mux 0 uhidev1 at uhub0 port 9 configuration 1 interface 1 "Holtek USB Optical gaming mouse" rev 2.00/1.73 addr 2 xhci0: xhci_cmd_reset_endpoint_async xhci0: xhci_cmd_set_tr_deq_async uhidev1: iclass 3/1 ukbd0 at uhidev1: 8 variable keys, 6 key codes xhci_pipe_open: pipe=0xffff800000497000 addr=2 depth=1 port=9 speed=2 xhci0: dev 1 dci 5 (epAddr=0x82) xhci0: speed 1 mps 8 rhport 9 route 0x0 xhci0: max ESIT payload = 8, average TRB length = 8 xhci0: xhci_cmd_configure_ep wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev2 at uhub0 port 9 configuration 1 interface 2 "Holtek USB Optical gaming mouse" rev 2.00/1.73 addr 2 xhci0: xhci_cmd_reset_endpoint_async xhci0: xhci_cmd_set_tr_deq_async uhidev2: iclass 3/0, 8 report ids uhid0 at uhidev2 reportid 1: input=7, output=0, feature=0 uhid1 at uhidev2 reportid 2: input=0, output=0, feature=15 uhid2 at uhidev2 reportid 3: input=0, output=0, feature=63 uhid3 at uhidev2 reportid 4: input=0, output=0, feature=255 uhid4 at uhidev2 reportid 5: input=0, output=0, feature=255 uhid5 at uhidev2 reportid 6: input=0, output=0, feature=255 uhid6 at uhidev2 reportid 7: input=7, output=0, feature=0 uhid7 at uhidev2 reportid 8: input=7, output=0, feature=0 xhci0: port=10 change=0x00 xhci0: port=10 change=0x00 xhci_pipe_open: pipe=0xffff80000049b000 addr=0 depth=1 port=10 speed=2 xhci0: xhci_cmd_slot_control xhci0: dev 2, input=0xffffff009b8c1000 slot=0xffffff009b8c1020 ep0=0xffffff009b8c1040 xhci0: dev 2, setting DCBAA to 0x000000009b8c0000 xhci0: dev 2 dci 1 (epAddr=0x0) xhci0: speed 1 mps 8 rhport 10 route 0x0 xhci0: max ESIT payload = 0, average TRB length = 8 xhci0: xhci_cmd_address_device xhci0: dev 2 addr 2 uhidev3 at uhub0 port 10 configuration 1 interface 0 "Unicomp Inc Ruffian6_x Kbrd v3_xx" rev 2.00/3.12 addr 3 uhidev3: iclass 3/1 ukbd1 at uhidev3: 8 variable keys, 6 key codes, country code 33 wskbd1 at ukbd1 mux 1 xhci_pipe_open: pipe=0xffff80000049d000 addr=3 depth=1 port=10 speed=2 xhci0: dev 2 dci 3 (epAddr=0x81) xhci0: speed 1 mps 8 rhport 10 route 0x0 xhci0: max ESIT payload = 8, average TRB length = 8 xhci0: xhci_cmd_configure_ep wskbd1: connecting to wsdisplay0