From owner-freebsd-usb@FreeBSD.ORG Fri Dec 3 09:06:24 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AC1F106564A for ; Fri, 3 Dec 2010 09:06:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id C10FF8FC0C for ; Fri, 3 Dec 2010 09:06:23 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=gl0LPzB4YDQuuzpDoHYit7deEV0cOo++Sg28kyvF6vg= c=1 sm=1 a=oxsbxpBOTrQA:10 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=KKKjJGq7WyCB-DQoOwIA:9 a=-ByB5zUcYkNSHqv-FdOCj_S1KScA:4 a=QEXdDO2ut3YA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 56801608; Fri, 03 Dec 2010 10:06:22 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 3 Dec 2010 10:06:58 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <20101125025526.GA2772@mail> <201011260817.47338.hselasky@c2i.net> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201012031006.58465.hselasky@c2i.net> Cc: Marcin Wisnicki Subject: Re: External usb HDD disconnects, system gets messed up 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, 03 Dec 2010 09:06:24 -0000 On Friday 03 December 2010 02:37:43 Marcin Wisnicki wrote: > On Fri, 26 Nov 2010 08:17:47 +0100, Hans Petter Selasky wrote: > > I think that the USB part of your USB disk has died or there has been a > > firmware crash. Other OS'es will perform a complete device reset in this > > situation and sometimes that help, but still that is hiding a problem > > about the device. We don't do that on FreeBSD, and that might be the > > reason it does not recover. > > Then print a warning. A lot of self-powered 2.5 disks I've used had the > same problem. > > Also, would it be possible to somehow keep the kernel device if physical > device reappears within few seconds (with i/o temporarily frozen) such > that existing mount points keep working ? Hi, It would require some patching. It is not impossible to do, but I think that it should not be required. If a disk drive does not work properly with FreeBSD then you should be careful using it to store your data. It might be that the vendor of your USB HDD has only tested using one OS. It might be that OS is not FreeBSD. Please try to get support from your USB HDD manufacturer. I'm pretty sure that it is not a problem with FreeBSD USB or FreeBSD CAM layer. I've been using a USB HDD enclosure for the last couple of years now without any problems at all, even though the USB connector is starting to get broken. Another idea: Search Google for "Pyramids of Waste documentary". --HPS