From owner-freebsd-questions@FreeBSD.ORG Sat Oct 16 19:25:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02A3616A4CE for ; Sat, 16 Oct 2004 19:25:17 +0000 (GMT) Received: from kayjay.xs4all.nl (kayjay.xs4all.nl [80.126.33.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D07443D62 for ; Sat, 16 Oct 2004 19:25:16 +0000 (GMT) (envelope-from karelj@kayjay.xs4all.nl) Received: from kayjay.xs4all.nl (localhost.kayjay.xs4all.nl [127.0.0.1]) by kayjay.xs4all.nl (8.13.1/8.13.1) with ESMTP id i9GJPEWW029568 for ; Sat, 16 Oct 2004 21:25:14 +0200 (CEST) (envelope-from karelj@kayjay.xs4all.nl) Received: (from karelj@localhost) by kayjay.xs4all.nl (8.13.1/8.13.1/Submit) id i9GJPErl029567 for freebsd-questions@freebsd.org; Sat, 16 Oct 2004 21:25:14 +0200 (CEST) (envelope-from karelj) Date: Sat, 16 Oct 2004 21:25:14 +0200 From: "Karel J. Bosschaart" To: freebsd-questions@freebsd.org Message-ID: <20041016192514.GA29279@kayjay.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: how to recover from "stalled" USB disk? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2004 19:25:17 -0000 Hi, Is there a way to recover, without reboot, from a USB flash drive showing umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT ? I guess I need to unplug/replug it but I have a process (mdir, from the mtools collection) attempting to read it. It can't be killed, my understanding is that it ignores all signals (from top I noticed it in state cbwait, later g_wait). A 'camcontrol reset 1' gives: Reset of bus 1 returned error 0x3a I'm waiting now to see if there is (hopefully) a timeout on the mdir command but if there is it is taking a very long time :-(. Any suggestions welcome, Karel.