From owner-freebsd-usb@FreeBSD.ORG Fri Apr 6 16:19:16 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A37B106566C for ; Fri, 6 Apr 2012 16:19:16 +0000 (UTC) (envelope-from Terence_Telkamp@DELL.com) Received: from aussmtpmrkps320.us.dell.com (aussmtpmrkps320.us.dell.com [143.166.224.254]) by mx1.freebsd.org (Postfix) with ESMTP id 659CE8FC08 for ; Fri, 6 Apr 2012 16:19:16 +0000 (UTC) X-Loopcount0: from 64.238.244.148 X-IronPort-AV: E=Sophos;i="4.75,382,1330927200"; d="scan'208";a="526937951" Received: from mail.compellent.com ([64.238.244.148]) by aussmtpmrkps320.us.dell.com with ESMTP; 06 Apr 2012 11:19:10 -0500 From: Terence Telkamp To: "freebsd-usb@freebsd.org" Date: Fri, 6 Apr 2012 11:19:10 -0500 Thread-Topic: Impact of changes made to umass.c at r232358 Thread-Index: Ac0UDhDs+zMpmPkJQ6y8hSkhv0Y1TAAAshZA Message-ID: <975552A94CBC0F4DA60ED7B36C949CBA03DB0C8BB2@shandy.Beer.Town> References: <975552A94CBC0F4DA60ED7B36C949CBA03DB0C8BA5@shandy.Beer.Town> In-Reply-To: <975552A94CBC0F4DA60ED7B36C949CBA03DB0C8BA5@shandy.Beer.Town> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: Impact of changes made to umass.c at r232358 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2012 16:19:16 -0000 One thing I forgot to mention is that I have a machine in the kernel debugg= er after the panic, so I can capture more information if any would be helpf= ul. -----Original Message----- From: owner-freebsd-usb@freebsd.org [mailto:owner-freebsd-usb@freebsd.org] = On Behalf Of Terence Telkamp Sent: Friday, April 06, 2012 11:17 AM To: freebsd-usb@freebsd.org Subject: Impact of changes made to umass.c at r232358 I am seeing a kernel panic in FreeBSD 8.1, which is reproduced after physic= ally attaching and detaching a USB device several times. The kernel debugg= er shows that the panic happens in camisr where the cam_sim and its associa= ted mutex are clearly destroyed. sim->refcount is 0, sim->softc is 1 (UMAS= S_GONE), and the sim->mtx is destroyed (mtx_lock =3D 6). This looks very similar to FreeBSD PR kern/153514, which is unfortunately u= nresolved. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D153514 Is it possible that the changes made to umass.c at r232358 might fix this i= ssue? Terence Telkamp Storage Development Associate Engineer II Dell | Compellent _______________________________________________ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"