From owner-freebsd-stable@FreeBSD.ORG Fri Jun 25 07:53:32 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97FAE106564A for ; Fri, 25 Jun 2010 07:53:32 +0000 (UTC) (envelope-from info@martenvijn.nl) Received: from mail.math.leidenuniv.nl (mail.math.leidenuniv.nl [132.229.231.57]) by mx1.freebsd.org (Postfix) with ESMTP id 3C41D8FC12 for ; Fri, 25 Jun 2010 07:53:31 +0000 (UTC) Received: from [132.229.231.13] (polaris.math.leidenuniv.nl [132.229.231.13]) by mail.math.leidenuniv.nl (Postfix) with ESMTP id 3527E6EEAC; Fri, 25 Jun 2010 09:53:30 +0200 (CEST) From: Marten Vijn To: Alex Markelov In-Reply-To: <4326E32B-9C38-4C7C-BDB1-8FFF1247C6B4@gmail.com> References: <4326E32B-9C38-4C7C-BDB1-8FFF1247C6B4@gmail.com> Content-Type: text/plain Date: Fri, 25 Jun 2010 09:53:30 +0200 Message-Id: <1277452410.29418.6.camel@polaris> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Is there known problem with USB flash readers? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 07:53:32 -0000 On Thu, 2010-06-24 at 11:47 +0100, Alex Markelov wrote: > Hi Guys! > > I have a strange problem with my flash card reader when dd'ing NanoBSD > images onto a CF card. It works for some time (3-4 writes of images), > then I start getting scsi error messages and dd hangs. I have to > disconnect/re-connect the reader to be able to write to CF again, but > sometimes even this trick doesn't work. > > One day it stopped working for me and since I had a deadline to meet, > went to local shop and bought another one (different model and brand). > It worked fine for few write iterations and then it developed the same > problem. When I decided (out of desperation) to try the old one again, > it worked. So, I ended up using the two and swapping between it when > either of the units stopped working. > > First thing I though that it might be the size of the image (2 or 4GB) > that I was writing with dd and it was heating up the electronics, but > yesterday a friend of mine stumbled upon the same problem and when his > flash reader (different brand and model to mine) stopped working, he > unplugged it from the FreeBSD box, plugged it in into his Linux laptop > and it worked without a problem. In his view it laid to rest my theory > about components heating too much as he did it without giving it a > minute of rest. > > I vaguely recall there were problems with USB support in stable some > time ago, but I thought it was all fixed and searching the list and > the Internet doesn't give me anything. > > Both of us were using 7-stable. I can email model of the card readers > later (not home at the moment). > > Basically, I have two questions: > 1) is it something that well known and not model related > 2) is there a well known reliable model of card reader I can buy. I > don't mind the price if the device is rock solid. > > Any pointers/ideas are greatly appreciated! I have been using 8 (with new USB support) and haven't had issues with for the last year. A possible workaround coud be using pxeboot and install flashcard from unother device avoiding usb. (i use mfsbsd for this). Maybe getting more info would to diagnose (dmesg, and maybe a ktrace of the dd. 2ct, Marten > Regards, > Alex. > -- Marten Vijn linux 2.0.18 OpenBSD 3.6 FreeBSD 4.6 http://martenvijn.nl http://opencommunitycamp.org http://wifisoft.org