From owner-freebsd-usb@FreeBSD.ORG Tue Dec 27 09:38:52 2011 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 206E61065677 for ; Tue, 27 Dec 2011 09:38:52 +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 9DED58FC15 for ; Tue, 27 Dec 2011 09:38:51 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 55212235; Tue, 27 Dec 2011 10:38:48 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 27 Dec 2011 10:36:24 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <86ipl3dl5q.wl%momchil@xaxo.eu> In-Reply-To: <86ipl3dl5q.wl%momchil@xaxo.eu> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112271036.24758.hselasky@c2i.net> Cc: Momchil Ivanov Subject: Re: USB problems with 8.2 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: Tue, 27 Dec 2011 09:38:52 -0000 On Monday 26 December 2011 23:26:41 Momchil Ivanov wrote: > Hi, > > I am currently experiencing some problems with USB. I have a SATA hdd > connected to my computer with a USB adapter. When using rtorrent on a good > connection with 2-3 MB/s after a minute or two all file system operations > on the USB hdd get stalled from time to time for several seconds. Finally > after 3-4 minutes all operations get stalled and when I unplug the drive > most of the time my computer reboots. I am using FreeBSD 8.2-STABLE #0: > Sat Oct 22 16:07:57 CEST 2011. I am not experiencing this problems when > not having rtorrent on: watching a movie, compiling ports ... etc. The > stall seems also to occur when rtorrent is checking the hashes. Btw I have > tried the same with a USB flash drive and am experiencing the same kind of > stall when doing rtorrent. > > Since I don't seem to have had the same kind of problems 1 or 2 years ago > with FreeBSD 8.x and the same drive with the same adapter, I would guess > that some regression has been introduced or my hardware does not work > properly any more. > > Moreover I need to connect the drive to my laptop before powering up the > FreeBSD otherwise it sees sometimes only a USB device with no drive > attached to it and "camcontrol rescan all" gets stalled until I unplug the > drive. I am not experiencing this particular problem when connecting the > drive via a USB hub to my laptop. > > Does somebody have a solution for one of the above? > > Please CC me since I am not subscribed. Have you tried to use the no-synchronize cache quirk for your drive? Are you using 8-stable? --HPS