On Wednesday 15 July 2009 05:16:59 Robert Huff wrote: > After updating to: > > FreeBSD 8.0-BETA1 #0: Sun Jul 12 18:26:14 EDT 2009 i386 > > I suddenly have a recurring but irregular panic: > > panic: mutex Giant not owned at /usr/src/sys/dev/usb/input/ukbd.c:986 > > and a complete crash dump. > This doesn't seem to be a known problem. To whom should I > address this? > Hi, We need the backtrace. When I redid the ukbd driver I added the asserts to catch this kind of issues. The solution in many cases is simply to return a failure when ukbd is not called having Giant locked. Ukbd has to go away from the Giant lock, but I'm not confident about the locking strategy in the keyboard system nowadays, so I've deferred the task. static int ukbd_enable(keyboard_t *kbd) { mtx_assert(&Giant, MA_OWNED); KBD_ACTIVATE(kbd); return (0); } --HPSReceived on Wed Jul 15 2009 - 05:36:07 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC