Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2012 11:16:53 -0500
From:      Terence Telkamp <Terence_Telkamp@DELL.com>
To:        "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject:   Impact of changes made to umass.c at r232358
Message-ID:  <975552A94CBC0F4DA60ED7B36C949CBA03DB0C8BA5@shandy.Beer.Town>

next in thread | raw e-mail | index | archive | help

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?975552A94CBC0F4DA60ED7B36C949CBA03DB0C8BA5>