[Bug 250309] devmatch: panic: general protection fault: sysctl_devices() -> sysctl_root_handler_locked() in hw.bus.devices sysctl handler when plugging in USB mouse

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Sep 2022 00:19:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250309

--- Comment #2 from Warner Losh <imp@FreeBSD.org> ---
I'll take a look at this. I think this is due to the nature of Giant unlocking
itself when we think it is protecting the bus stuff.

I have a different patch than sigsys' patch that converts Giant into a real
lock, which sigsys' patch doesn't quite do. I worry that it will cause a lot of
other problems if we don't do that and/or expose deadlock situations in other
drivers / busses. All the places that use the lock *should* have giant locked
already.

-- 
You are receiving this mail because:
You are on the CC list for the bug.