From owner-freebsd-usb@FreeBSD.ORG Mon Oct 26 09:00:15 2009 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 971721065676 for ; Mon, 26 Oct 2009 09:00:15 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id F421F8FC24 for ; Mon, 26 Oct 2009 09:00:14 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=pLBSpBzHylG4v-nYrQwA:9 a=76bN8vlV6fSBNtwMUiEA:7 a=A5mCuyYCkPnbUs5nRzpMIuxt49oA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1310164562; Mon, 26 Oct 2009 10:00:13 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 26 Oct 2009 09:59:20 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20091025.133437.-1844000782.imp@bsdimp.com> <4AE4E7AF.8060103@ever.sanda.gr.jp> In-Reply-To: <4AE4E7AF.8060103@ever.sanda.gr.jp> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910260959.20772.hselasky@c2i.net> Cc: hackers@freebsd.org, non@ever.sanda.gr.jp Subject: Re: Help troubleshooting... 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: Mon, 26 Oct 2009 09:00:15 -0000 On Monday 26 October 2009 01:05:03 non@ever.sanda.gr.jp wrote: > M. Warner Losh wrote: > > I have a usb stick (8GB) on it. This stick has about 5GB of junk on > > it at this point. > > > > I tried to do 'cat * > /dev/null' recently, to measure how fast it > > goes. It got about 1GB into the drive and then I got device missing > > messages. > > > > So devfs thinks the device went missing: > > Warner-san, maybe it is caused by the hardware problem on the USB flash > memory. Some chip on the memory might have too much heat when you access > the memory at fast rate. Then it stops working. > What happens if you read from two USB disks at the same time? If the device went missing the USB HUB signalled that. This is maybe an indication that the USB firmware on the device crashed. Maybe this is due to heat, or unhandled race conditions when the load goes high. Try using "dd" and vary the block size from 512 to 65536 bytes. Does it stop working with all block sizes over time? --HPS