From owner-freebsd-usb@FreeBSD.ORG Wed Jul 14 20:20:04 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7501C1065670 for ; Wed, 14 Jul 2010 20:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 64D7B8FC1C for ; Wed, 14 Jul 2010 20:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6EKK4Tc082134 for ; Wed, 14 Jul 2010 20:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6EKK4Uw082133; Wed, 14 Jul 2010 20:20:04 GMT (envelope-from gnats) Date: Wed, 14 Jul 2010 20:20:04 GMT Message-Id: <201007142020.o6EKK4Uw082133@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Yuri Cc: Subject: Re: usb/77184: [umass] [panic] kernel panic on USB device disconnect, even if not detected X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yuri List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2010 20:20:04 -0000 The following reply was made to PR usb/77184; it has been noted by GNATS. From: Yuri To: Cc: bug-followup@FreeBSD.org Subject: Re: usb/77184: [umass] [panic] kernel panic on USB device disconnect, even if not detected Date: Wed, 14 Jul 2010 13:15:22 -0700 Crash is gone. But there is something wrong. I did the following steps: 1. plug the camera into USB and mount it 2. unplug the camera without unmounting it -- no crash, looks good. 3. mount still exists. that's ok. 4. umount /mnt/camera -- command says: "Device Busy", this looks reasonable. 5. umount -f /mnt/camera -- mount is gone. 6. repeated steps 1...4 on step 4 umount command without -f flag doesn't complain about device busy any more. This is really strange and this means that device disconnect or unmount hasn't been done cleanly and something is different now. So this issue has to be cleared -- outcome of steps 1..5 should always be the same. Now after rereading the original post I realize that I am testing the different condition but for quite similar situation. F828 camera isn't available any more and is probably supported by now, so it's really difficult to retest the original condition now. But my previous post indicates there is the problem in USB stack in the similar scenario, thiugh without unsupported device. Before I saw panic in the case of disconnect of the mounted disk. Yuri