>Synopsis: ehci_sync_hc: kernel panic, protection fault trap on boot
>Category: kernel
>Environment:
System : OpenBSD 5.9
Details : OpenBSD 5.9-beta (GENERIC.MP) #1811: Mon Jan 11 01:47:58
MST 2016
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
Booting the machine results in a panic. The last lines are:
...
uhub7 at usb7 "ATI OHCI root hub" rev 1.00/1.00 addr 1
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
kernel: protection fault trap, code=0
Stopped at usb_allocmem+0x175: cmpq %rbx,0(%rax)
ddb{0}>
I'll send pictures of the ddb output in a second mail. Apologies to
Martin for not beeing helpful this morning.
>How-To-Repeat:
boot the latest snapshot kernel on my machine
>Fix:
unknown
dmesg:
OpenBSD 5.9-beta (GENERIC.MP) #1811: Mon Jan 11 01:47:58 MST 2016
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3738107904 (3564MB)
avail mem = 3620679680 (3452MB)
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 "F5" date 09/30/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, 20253.62 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,PAGE1GB,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, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X2 240e Processor, 2812.93 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,PAGE1GB,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
bus 0
extent `pcimem' (0x0 - 0xffffffffffffffff), flags=0
0x0 - 0x9ffff
0xe0000 - 0xcfefffff
0xfec00000 - 0xffffffffffffffff
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: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
cpu0: 20253 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
xhci0 at pci2 dev 0 function 0 "NEC xHCI" rev 0x03: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "NEC xHCI root hub" rev 3.00/1.00 addr 1
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/8211 PHY, rev. 2
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 2 int 19, AHCI
1.2
ahci0: port 0: 6.0Gb/s
ahci0: port 1: 3.0Gb/s
ahci0: port 2: 3.0Gb/s
ahci0: port 4: 1.5Gb/s
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
sd2 at scsibus1 targ 2 lun 0: <ATA, WDC WD20EURS-63S, 51.0> SCSI3 0/direct
fixed naa.50014ee25c36df7d
sd2: 1907729MB, 512 bytes/sector, 3907029168 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
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "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
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 "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
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
usb3 at ehci2: USB revision 2.0
uhub3 at usb3 "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
usb4 at ohci0: USB revision 1.0
uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb5 at ohci1: USB revision 1.0
uhub5 at usb5 "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 irq 1 irq 12
pckbd0 at pckbc0 (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
usb6 at ohci2: USB revision 1.0
uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb7 at ohci3: USB revision 1.0
uhub7 at usb7 "ATI OHCI root hub" rev 1.00/1.00 addr 1
uvideo0 at uhub1 port 5 configuration 1 interface 0 "Logitech Webcam C310" rev
2.00/0.10 addr 2
video0 at uvideo0
uaudio0 at uhub1 port 5 configuration 1 interface 2 "Logitech Webcam C310" rev
2.00/0.10 addr 2
uaudio0: audio descriptors make no sense, error=4
ugen0 at uhub1 port 5 configuration 1 "Logitech Webcam C310" rev 2.00/0.10 addr
2
umass0 at uhub2 port 5 configuration 1 interface 0 "Generic Mass Storage
Device" rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd3 at scsibus2 targ 1 lun 0: <Generic-, SD/MMC, 1.00> SCSI0 0/direct removable
sd4 at scsibus2 targ 1 lun 1: <Generic-, Compact Flash, 1.01> SCSI0 0/direct
removable
sd5 at scsibus2 targ 1 lun 2: <Generic-, SM/xD-Picture, 1.02> SCSI0 0/direct
removable
sd6 at scsibus2 targ 1 lun 3: <Generic-, MS/MS-Pro, 1.03> SCSI0 0/direct
removable
uhidev0 at uhub5 port 1 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
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (6de79c244a03d47a.a) swap on sd0b dump on sd0b
radeondrm0: 1680x1050
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
usbdevs:
Controller /dev/usb0:
addr 1: super speed, self powered, config 1, xHCI root hub(0x0000),
NEC(0x1033), rev 1.00
port 1 disabled
port 2 disabled
port 3 disabled
port 4 disabled
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), ATI(0x1002),
rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 addr 2: high speed, power 500 mA, config 1, Webcam C310(0x081b),
Logitech(0x046d), rev 0.10, iSerialNumber A841A4D0
Controller /dev/usb2:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), ATI(0x1002),
rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 addr 2: high speed, power 250 mA, config 1, Mass Storage
Device(0x6362), Generic(0x058f), rev 1.00, iSerialNumber 058F63626476
Controller /dev/usb3:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), ATI(0x1002),
rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), ATI(0x1002),
rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered
Controller /dev/usb5:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), ATI(0x1002),
rev 1.00
port 1 addr 2: low speed, power 98 mA, config 1, USB-PS/2 Optical
Mouse(0xc01d), Logitech(0x046d), rev 21.00
port 2 powered
port 3 powered
port 4 powered
port 5 powered
Controller /dev/usb6:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), ATI(0x1002),
rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb7:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), ATI(0x1002),
rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered