From owner-freebsd-questions@FreeBSD.ORG Thu Sep 30 19:37:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7DC41065693; Thu, 30 Sep 2010 19:37:39 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 37A418FC21; Thu, 30 Sep 2010 19:37:38 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sEolSJAlcSxSMaOm1MQ0bvrIu+BNAN+OqG2UAUgC4Ok= c=1 sm=1 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=cs3SvN_-6pTT46pB1rEA:9 a=_cSDAwiD9e2FChBRIJYA:7 a=2S8SN5sS-Rn-QsbTN679usvFKjQA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 28825099; Thu, 30 Sep 2010 21:37:37 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 30 Sep 2010 21:38:51 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4CA3B8F5.80904@gmail.com> <4CA4E0C3.1050707@gmail.com> In-Reply-To: <4CA4E0C3.1050707@gmail.com> 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: <201009302138.51616.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org, Anselm Strauss Subject: Re: USB disk on CS5536 unstable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2010 19:37:39 -0000 On Thursday 30 September 2010 21:10:59 Anselm Strauss wrote: > Maybe sending it to just the USB list was too specific ... > > On 09/30/10 00:08, Anselm Strauss wrote: > > Hi > > > > I have an ALIX board that has an AMD Geode and the CS5536 companion chip > > with integrated USB on it. When I connect a USB disk I have observed > > various problems. For example when I run fsck_ufs on a 250 GB partition > > the process gets stuck in biord state and fsck reports unreadable > > sectors. When I do a dd over the whole disk and direct it to /dev/null > > it suddenly returns with no error, but having read only a small fraction > > of the disk. I tried it with two different disks and two different ALIX > > boards. I'm pretty sure the disks are okay since I tried them on other > > hardware. > > > > As far as I know there was some trouble with the chip regarding > > timeouts. Under load after some time the USB just stops responding. I > > have tried 8.0 and 8.1. Is there any known problem? How can I track this > > down? > > > > Anselm If you compile the kernel with USB_DEBUG, then there are some sysctls under hw.usb.ehci which you can tweak. Needs to be set before boot. --HPS