NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/52408: NetBSD 8.0 BETA hangs on warm boot if USB 3.0 controller present
>Number: 52408
>Category: kern
>Synopsis: NetBSD 8.0 BETA hangs on warm boot if USB 3.0 controller present
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 16 00:05:00 +0000 2017
>Originator: Harry Waddell
>Release: netbsd-8 BETA 201707141610Z
>Organization:
Caravan Publishing
>Environment:
NetBSD netbsd-8-release.local.caravan-epub.com 8.0_BETA NetBSD 8.0_BETA (GENERIC.201707141610Z) amd64
>Description:
I'm seeing problems with warm booting the netbsd 8 beta kernel on amd64.
On a cold boot, it's fine. On a warm boot, it hangs.
On my vmware fusion pro ( 8.5.6 ) vm if a USB 3.0 device is present, warm boot fails. Configuring the vm with a USB 2.0 device allows the system to behave normally.
I suspect I may have a similar problem on an older xeon system, but have not yet driven to the colo to confirm. ( it won't warm boot, but unclear on usb involvement right now)
I connected a serial console to my vmware vm and obtained the following:
NetBSD 8.0_BETA (GENERIC.201707141610Z)
total memory = 2047 MB
avail memory = 1966 MB
cpu_rng: RDRAND
running cgd selftest aes-xts-256 aes-xts-512 done
mainbus0 (root)
ACPI: RSDP 0x00000000000F6A10 000024 (v02 PTLTD )
ACPI: XSDT 0x000000007FEF0317 00005C (v01 INTEL 440BX 06040000 VMW 01324272)
ACPI: FACP 0x000000007FEFEE73 0000F4 (v04 INTEL 440BX 06040000 PTL 000F4240)
ACPI: DSDT 0x000000007FEF05B1 00E8C2 (v01 PTLTD Custom 06040000 MSFT 03000001)
ACPI: FACS 0x000000007FEFFFC0 000040
ACPI: FACS 0x000000007FEFFFC0 000040
ACPI: BOOT 0x000000007FEF0589 000028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
ACPI: APIC 0x000000007FEF050F 00007A (v01 PTLTD ? APIC 06040000 LTP 00000000)
ACPI: MCFG 0x000000007FEF04D3 00003C (v01 PTLTD $PCITBL$ 06040000 LTP 00000001)
ACPI: SRAT 0x000000007FEF0413 0000C0 (v02 VMWARE MEMPLUG 06040000 VMW 00000001)
ACPI: HPET 0x000000007FEF03DB 000038 (v01 VMWARE VMW HPET 06040000 VMW 00000001)
ACPI: WAET 0x000000007FEF03B3 000028 (v01 VMWARE VMW WAET 06040000 VMW 00000001)
ACPI: 1 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 1
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz, id 0x306a9
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz, id 0x306a9
cpu1: package 2, core 0, smt 0
cpu2 at mainbus0 apid 4
cpu2: Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz, id 0x306a9
cpu2: package 4, core 0, smt 0
cpu3 at mainbus0 apid 6
cpu3: Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz, id 0x306a9
cpu3: package 6, core 0, smt 0
acpi0 at mainbus0: Intel ACPICA 20170303
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
MBRD (PNP0C02) at acpi0 not configured
PIC (PNP0001) at acpi0 not configured
attimer1 at acpi0 (TIME, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
spkr0 at pcppi1: PC Speaker
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
pckbc1 at acpi0 (KBC, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOUS, VMW0003) (aux port): irq 12
COMA (PNP0501) at acpi0 not configured
EXPL (PNP0C02) at acpi0 not configured
acpiacad0 at acpi0 (ACAD, ACPI0003-1): ACPI AC Adapter
ACPI: Enabled 2 GPEs in block 00 to 0F
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: vendor 8086 product 7190 (rev. 0x01)
ppb0 at pci0 dev 1 function 0: vendor 8086 product 7191 (rev. 0x01)
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0: vendor 8086 product 7110 (rev. 0x08)
piixide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
piixpm0 at pci0 dev 7 function 3: vendor 8086 product 7113 (rev. 0x08)
piixpm0: 24-bit timer
piixpm0: SMBus disabled
vendor 15ad product 0740 (miscellaneous system, revision 0x10) at pci0 dev 7 function 7 not configured
vga0 at pci0 dev 15 function 0: vendor 15ad product 0405 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1
drm at vga0 not configured
mpt0 at pci0 dev 16 function 0: vendor 1000 product 0030 (rev. 0x01)
mpt0: applying 1030 quirk
mpt0: interrupting at ioapic0 pin 17
scsibus0 at mpt0: 16 targets, 8 luns per target
ppb1 at pci0 dev 17 function 0: vendor 15ad product 0790 (rev. 0x02)
pci2 at ppb1 bus 2
uhci0 at pci2 dev 0 function 0: vendor 15ad product 0774 (rev. 0x00)
uhci0: interrupting at ioapic0 pin 18
usb0 at uhci0: USB revision 1.0
wm0 at pci2 dev 1 function 0: Intel i82545EM 1000BASE-T Ethernet (rev. 0x01)
wm0: interrupting at ioapic0 pin 19
wm0: Ethernet address 00:0c:29:52:45:69
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
eap0 at pci2 dev 2 function 0: vendor 1274 product 1371 (rev. 0x02)
eap0: interrupting at ioapic0 pin 16
eap0: ac97: Crystal CS4297A codec; no 3D stereo
audio0 at eap0: full duplex, playback, capture, mmap, independent
eap0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
spkr1 at audio0: PC Speaker (synthesized)
midi1 at eap0: AudioPCI MIDI UART
ehci0 at pci2 dev 3 function 0: vendor 15ad product 0770 (rev. 0x00)
ehci0: interrupting at ioapic0 pin 17
usb1 at ehci0: USB revision 2.0
wm1 at pci2 dev 5 function 0: Intel i82545EM 1000BASE-T Ethernet (rev. 0x01)
wm1: interrupting at ioapic0 pin 19
wm1: Ethernet address 00:0c:29:52:45:73
makphy1 at wm1 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm2 at pci2 dev 6 function 0: Intel i82545EM 1000BASE-T Ethernet (rev. 0x01)
wm2: interrupting at ioapic0 pin 16
wm2: Ethernet address 00:0c:29:52:45:7d
makphy2 at wm2 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm3 at pci2 dev 7 function 0: Intel i82545EM 1000BASE-T Ethernet (rev. 0x01)
wm3: interrupting at ioapic0 pin 17
wm3: Ethernet address 00:0c:29:52:45:87
makphy3 at wm3 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm4 at pci2 dev 8 function 0: Intel i82545EM 1000BASE-T Ethernet (rev. 0x01)
wm4: interrupting at ioapic0 pin 18
wm4: Ethernet address 00:0c:29:52:45:91
makphy4 at wm4 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm5 at pci2 dev 9 function 0: Intel i82545EM 1000BASE-T Ethernet (rev. 0x01)
wm5: interrupting at ioapic0 pin 19
wm5: Ethernet address 00:0c:29:52:45:9b
makphy5 at wm5 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy5: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm6 at pci2 dev 10 function 0: Intel i82545EM 1000BASE-T Ethernet (rev. 0x01)
wm6: interrupting at ioapic0 pin 16
wm6: Ethernet address 00:0c:29:52:45:a5
makphy6 at wm6 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy6: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm7 at pci2 dev 11 function 0: Intel i82545EM 1000BASE-T Ethernet (rev. 0x01)
wm7: interrupting at ioapic0 pin 17
wm7: Ethernet address 00:0c:29:52:45:af
makphy7 at wm7 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy7: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb2 at pci0 dev 21 function 0: vendor 15ad product 07a0 (rev. 0x01)
ppb2: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci3 at ppb2 bus 3
xhci0 at pci3 dev 0 function 0: vendor 15ad product 0779 (rev. 0x00)
xhci0: interrupting at msi0 vec 0
usb2 at xhci0: USB revision 3.0
usb3 at xhci0: USB revision 2.0
ppb3 at pci0 dev 21 function 1: vendor 15ad product 07a0 (rev. 0x01)
ppb3: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci4 at ppb3 bus 4
ppb4 at pci0 dev 21 function 2: vendor 15ad product 07a0 (rev. 0x01)
ppb4: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci5 at ppb4 bus 5
ppb5 at pci0 dev 21 function 3: vendor 15ad product 07a0 (rev. 0x01)
ppb5: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci6 at ppb5 bus 6
ppb6 at pci0 dev 21 function 4: vendor 15ad product 07a0 (rev. 0x01)
ppb6: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci7 at ppb6 bus 7
ppb7 at pci0 dev 21 function 5: vendor 15ad product 07a0 (rev. 0x01)
ppb7: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci8 at ppb7 bus 8
ppb8 at pci0 dev 21 function 6: vendor 15ad product 07a0 (rev. 0x01)
ppb8: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci9 at ppb8 bus 9
ppb9 at pci0 dev 21 function 7: vendor 15ad product 07a0 (rev. 0x01)
ppb9: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci10 at ppb9 bus 10
ppb10 at pci0 dev 22 function 0: vendor 15ad product 07a0 (rev. 0x01)
ppb10: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci11 at ppb10 bus 11
ppb11 at pci0 dev 22 function 1: vendor 15ad product 07a0 (rev. 0x01)
ppb11: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci12 at ppb11 bus 12
ppb12 at pci0 dev 22 function 2: vendor 15ad product 07a0 (rev. 0x01)
ppb12: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci13 at ppb12 bus 13
ppb13 at pci0 dev 22 function 3: vendor 15ad product 07a0 (rev. 0x01)
ppb13: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci14 at ppb13 bus 14
ppb14 at pci0 dev 22 function 4: vendor 15ad product 07a0 (rev. 0x01)
ppb14: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci15 at ppb14 bus 15
ppb15 at pci0 dev 22 function 5: vendor 15ad product 07a0 (rev. 0x01)
ppb15: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci16 at ppb15 bus 16
ppb16 at pci0 dev 22 function 6: vendor 15ad product 07a0 (rev. 0x01)
ppb16: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci17 at ppb16 bus 17
ppb17 at pci0 dev 22 function 7: vendor 15ad product 07a0 (rev. 0x01)
ppb17: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci18 at ppb17 bus 18
ppb18 at pci0 dev 23 function 0: vendor 15ad product 07a0 (rev. 0x01)
ppb18: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci19 at ppb18 bus 19
ppb19 at pci0 dev 23 function 1: vendor 15ad product 07a0 (rev. 0x01)
ppb19: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci20 at ppb19 bus 20
ppb20 at pci0 dev 23 function 2: vendor 15ad product 07a0 (rev. 0x01)
ppb20: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci21 at ppb20 bus 21
ppb21 at pci0 dev 23 function 3: vendor 15ad product 07a0 (rev. 0x01)
ppb21: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci22 at ppb21 bus 22
ppb22 at pci0 dev 23 function 4: vendor 15ad product 07a0 (rev. 0x01)
ppb22: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci23 at ppb22 bus 23
ppb23 at pci0 dev 23 function 5: vendor 15ad product 07a0 (rev. 0x01)
ppb23: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci24 at ppb23 bus 24
ppb24 at pci0 dev 23 function 6: vendor 15ad product 07a0 (rev. 0x01)
ppb24: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci25 at ppb24 bus 25
ppb25 at pci0 dev 23 function 7: vendor 15ad product 07a0 (rev. 0x01)
ppb25: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci26 at ppb25 bus 26
ppb26 at pci0 dev 24 function 0: vendor 15ad product 07a0 (rev. 0x01)
ppb26: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci27 at ppb26 bus 27
ppb27 at pci0 dev 24 function 1: vendor 15ad product 07a0 (rev. 0x01)
ppb27: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci28 at ppb27 bus 28
ppb28 at pci0 dev 24 function 2: vendor 15ad product 07a0 (rev. 0x01)
ppb28: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci29 at ppb28 bus 29
ppb29 at pci0 dev 24 function 3: vendor 15ad product 07a0 (rev. 0x01)
ppb29: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci30 at ppb29 bus 30
ppb30 at pci0 dev 24 function 4: vendor 15ad product 07a0 (rev. 0x01)
ppb30: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci31 at ppb30 bus 31
ppb31 at pci0 dev 24 function 5: vendor 15ad product 07a0 (rev. 0x01)
ppb31: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci32 at ppb31 bus 32
ppb32 at pci0 dev 24 function 6: vendor 15ad product 07a0 (rev. 0x01)
ppb32: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci33 at ppb32 bus 33
ppb33 at pci0 dev 24 function 7: vendor 15ad product 07a0 (rev. 0x01)
ppb33: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x32 @ 5.0GT/s
pci34 at ppb33 bus 34
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
acpicpu0 at cpu0: ACPI CPU
vmt0 at cpu0: Workstation
acpicpu1 at cpu1: ACPI CPU
acpicpu2 at cpu2: ACPI CPU
acpicpu3 at cpu3: ACPI CPU
ERROR: 1142 cycle TSC drift observed
acpiacad0: AC adapter online.
scsibus0: waiting 2 seconds for devices to settle...
uhub0 at usb2: vendor 15ad (0x15ad) xHCI Root Hub (0000), class 9/0, rev 1.00/1.00, addr 0
uhub1 at usb3: vendor 15ad (0x15ad) xHCI Root Hub (0000), class 9/0, rev 2.00/1.00, addr 0
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <VMware Virtual IDE CDROM Drive, 10000000000000000001, 00000001> cdrom removable
uhub2 at usb1: vendor 15ad (0x15ad) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub3 at usb0: vendor 15ad (0x15ad) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: VMware (0xe0f) VMware Virtual USB Mouse (0x03), rev 1.10/1.02, addr 1, iclass 3/0
ums0 at uhidev0: 16 buttons, W and Z dirs
wsmouse1 at ums0 mux 0
uhidev1 at uhub1 port 1 configuration 1 interface 1
uhidev1: VMware (0xe0f) VMware Virtual USB Mouse (0x03), rev 1.10/1.02, addr 1, iclass 3/0
ums1 at uhidev1: 16 buttons, W and Z dirs
wsmouse2 at ums1 mux 0
fatal page fault in supervisor mode
trap type 6 code 0x2 rip 0xffffffff8091901f cs 0x8 rflags 0x10297 cr2 0 ilevel 0x8 rsp 0xfffffe80438d8f40
curlwp 0xfffffe807fc1e860 pid 0.5 lowest kstack 0xfffffe80438d62c0
kernel: page fault trap, code=0
Stopped in pid 0.5 (system) at netbsd:callout_softclock+0x5f: movq %rcx,0(%
rdx)
db{0}> trace
callout_softclock() at netbsd:callout_softclock+0x5f
softint_dispatch() at netbsd:softint_dispatch+0x79
DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xfffffe80438d8ff0
Xsoftintr() at netbsd:Xsoftintr+0x4f
--- interrupt ---
0:
>How-To-Repeat:
Warm boot netbsd-8 BETA amd64 kernel on systems with usb 3.0 ? may be limited to vmware guest. Hang sometimes occurs just after
uhidev1: VMware (0xe0f) VMware Virtual USB Mouse (0x03)...
but before the debugger is entered, so it's not always possible to get a trace.
>Fix:
workaround is to disable USB 3 support in bios/vm config
Home |
Main Index |
Thread Index |
Old Index