Status of PCIe Hotplug?

Hans Petter Selasky hps at selasky.org
Wed Sep 28 08:27:24 UTC 2016


Hi,

Can you compile your kernel with debugging enabled so that we get the 
sourcelines in the dump below. Also please include some parts of the 
preceeding dmesg.

Do you have USB compiled into the kernel or loaded as a module?

What does kldstat output after you plug the card?

What is the dmesg leading up to this?

The bug looks like some .ko was unloaded too early, due to refcounts 
dropping incorrectly.

--HPS

>
>
> Fatal trap 9: general protection fault while in kernel mode
> cpuid = 1; acpic id = 01
> instruction pointer		= 0x20:0xffffffff80b1549c
> stack pointer			= 0x28:0xfffffe022f62ca00
> frame pointer			= 0x28:0xfffffe022f62ca70
> code segment			= base 0x0, limit 0xfffff, type 0x1b
> 				= DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags		= interrupt enabled, resume, IOPL = 0
> current process			= 14 (usbus1)
> trap number                     = 9
> panic: general protection fault
> cpuid = 1
> KDB: stack backtrace:
> #0 0xffffffff80b24077 at kdb_backtrace+0x67
> #1 0xffffffff80ad93e2 at vpanic+0x182
> #2 0xffffffff80ad9253 at panic+0x43
> #3 0xffffffff80fa0d31 at trap_fatal+0x351
> #4 0xffffffff80fa09c8 at trap+0x768
> #5 0xffffffff80f84141 at calltrap+0x8
> #6 0xffffffff808f2f63 at usb_detach_device+0xf3
> #7 0xffffffff808f1d5b at usb_unconfigure+0x2b
> #8 0xffffffff808f5623 at usb_free_device+0x103
> #9 0xffffffff808f58b1 at usb_bus_detach+0x161
> #10 0xffffffff80903e95 at usb_process+0x125
> #11 0xffffffff80a90055 at fork_exit+0x85
> #12 0xffffffff80f8467e at fork_trampoline+0xe
> Uptime: 18m27s
> Automatic reboot in 15 seconds - press a key on the console to abort



More information about the freebsd-usb mailing list