Impact of changes made to umass.c at r232358

Terence Telkamp Terence_Telkamp at DELL.com
Fri Apr 6 16:17:01 UTC 2012


I am seeing a kernel panic in FreeBSD 8.1, which is reproduced after physically attaching and detaching a USB device several times.  The kernel debugger shows that the panic happens in camisr where the cam_sim and its associated mutex are clearly destroyed.  sim->refcount is 0, sim->softc is 1 (UMASS_GONE), and the sim->mtx is destroyed (mtx_lock = 6).

This looks very similar to FreeBSD PR kern/153514, which is unfortunately unresolved.

http://www.freebsd.org/cgi/query-pr.cgi?pr=153514


Is it possible that the changes made to umass.c at r232358 might fix this issue?


Terence Telkamp
Storage Development Associate Engineer II
Dell | Compellent




More information about the freebsd-usb mailing list