panic: mutex Giant not owned at /usr/src/sys/kern/tty_ttydisc.c:1127

Hans Petter Selasky hselasky at c2i.net
Fri Jan 23 08:12:19 PST 2009


On Friday 23 January 2009, Lars Engels wrote:
> 0xf12eabd8) at /usr/src/sys/i386/i386/trap.c:318
> #17 0xc0b3fb3b in

Hi Lars,

Maksim has made a lot of changes to the Bluetooth driver. Maybe he can look 
into it?

This looks like a NULL-pointer access to me.

Maksim:

In the ubt_detach routine, make sure that:

0) No further commands are accepted from the Netgraph stack.
1) You drain the task queue!
2) You drain all USB transfers: "usb2_transfer_drain()" called unlocked.
3) Set the "sc_node" to NULL.

--HPS


More information about the freebsd-current mailing list