From owner-freebsd-usb@FreeBSD.ORG Thu Nov 25 08:39:38 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 44010106564A for ; Thu, 25 Nov 2010 08:39:38 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id B67378FC15 for ; Thu, 25 Nov 2010 08:39:35 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=drJD7N2WYgraSrvx4WFOmF+tWOmhzpnKhDnOdsziBzQ= c=1 sm=1 a=oxsbxpBOTrQA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=diKPPO5FKv5czL47UHkA:9 a=xDTcEdudPwbE18CQwXBoAY_IdMAA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 53806834; Thu, 25 Nov 2010 09:39:34 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 25 Nov 2010 09:40:19 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <20101125025526.GA2772@mail> In-Reply-To: <20101125025526.GA2772@mail> 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="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011250940.19677.hselasky@c2i.net> Cc: 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: Thu, 25 Nov 2010 08:39:38 -0000 On Thursday 25 November 2010 03:55:26 Nezmer wrote: > Hi, > > FreeBSD 8.1-STABLE r215402M GENERIC amd64 > > I'm having a weird issue. I have a 300GB external usb HDD with one ext2 > partition. I use ZFS for my internal HDD. > > Almost daily, The usb HDD disconnects(according to dmesg) and the system > gets messed up. Running processes keep responding but they would not > exit. And no new processes would start running. I eventually would have > to hard reset and run fsck.ext2 on the next run. > > Any idea what's going on? > Do you need any specific information? Hi, When this hang happens you can try to turn on umass debugging: sysctl hw.usb.umass.debug=-1 You need this option in your kernel config or when building the umass module to enable the sysctl above: options USB_DEBUG --HPS