Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2015 08:11:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 201421] locking issues prevent new process creation
Message-ID:  <bug-201421-17-RuEijHeIGO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201421-17@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201421-17@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201421

--- Comment #4 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
(In reply to John Baldwin from comment #3)
Hi,

If you run "usbconfig" as root, and if it doesn't respond, looks like it is
hanging, it typically means USB is not able to detach one of the device
drivers. In recent past it is know that sudden detach of USB memory sticks can
cause this error, because of refcounts inside CAM / SCSI not going to zero.

Also you need to ensure that any USB MIDI devices gets closed by the
application when they receive a read error. Else the open file handle will
block further USB enumeration. And will also lock other applications which are
enumerating USB on that particular USB device.

When running KGDB, you could check the backtrace of the USB explore threads.

ps auxwH | grep -i usb

Did you try 10-stable or 9-stable and not the release branches. From time to
time bugfixes are merged to these branches.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201421-17-RuEijHeIGO>