NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/59185: panic over KASSERTMSG(dev->ud_ifaces == NULL) on Dell Latitude 7490



>Number:         59185
>Category:       kern
>Synopsis:       panic over KASSERTMSG(dev->ud_ifaces == NULL) on Dell Latitude 7490
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 17 05:30:00 +0000 2025
>Originator:     Emile `iMil' Heitor
>Release:        NetBSD 10.99.12
>Organization:
	NetBSD
>Environment:
System: NetBSD outcast 10.99.12 NetBSD 10.99.12 (GENERIC) #15: Sun Mar 16 21:04:03 CET 2025  imil@tatooine:/home/imil/src/github.com/NetBSD-src/sys/arch/amd64/compile/obj/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	At boot, the kernel would panic with the following trace when detecting USB devices

4.1798511 usb_discover() at netbsd:usb_discover+0x4d
4.2098481 usb_event_thread() at netbsd:usb_event_thread+0x48
4.2598841 cpu1: End traceback
4.2598841 fatal breakpoint trap in supervisor mode
4.3098851 trap type 1 code 0 rip 0xffffffff8023541d cs 0x8 rflags 0x202 cr2 0 level 0 rsp 0xffffb60271aelaa0
Stopped in pid 0.193 (system) at netbsd:breakpoint+0x5: leave
vpanic() at netbsd:vpanic+0x171
kern_assert() at netbsd:kern_assert+0x4b
usbd_set_config_index() at netbsd:usbd_set_config_index+0x55c
ugenif_attach() at netbsd:ugenif_attach+0x25b
ugen_attach() at netbsd:ugen_attach+0x5c
config_attach_internal() at netbsd:config_attach_internal+0x1a7
config_found_acquire() at netbsd:config_found_acquire+0x5e
config_found() at netbsd:config_found+0x31
usbd_attachwholedevice() at netbsd:usbd_attachwholedevice+0xe6
usbd_probe_and_attach() at netbsd:usbd_probe_and_attach+0x137
xhci_new_device() at netbsd:xhci_new_device+0x618
uhub_explore() at netbsd:uhub_explore+0x448
usb_discover() at netbsd:usb_discover+0x4d
usb_event_thread() at netbsd:usb_event_thread+0x48

Pictures of the panic, show panic and show kernhist usbhist

https://imil.net/NetBSD/xhci-panic-pr1.jpg
https://imil.net/NetBSD/xhci-panic-pr2.jpg
https://imil.net/NetBSD/xhci-panic-pr3.jpg
https://imil.net/NetBSD/xhci-panic-pr4.jpg

It occurs with or without external USB device plugged in.

>How-To-Repeat:
	Boot a NetBSD/amd64 10.99.12 GENERIC kernel on a Dell Latitude 7490
>Fix:
	Not a fix, but if the machine must be used, either rebuild a kernel with:

KASSERTMSG(dev->ud_ifaces == NULL, "ud_ifaces=%p", dev->ud_ifaces);

Commented out in sys/dev/usb/usb_subr.c

Or boot the machine with: "userconf=disable xhci*" in /boot.cfg



Home | Main Index | Thread Index | Old Index