From owner-freebsd-questions@FreeBSD.ORG Sun Aug 28 15:21:10 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24662106564A for ; Sun, 28 Aug 2011 15:21:10 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.119.58.2]) by mx1.freebsd.org (Postfix) with ESMTP id AFB428FC1A for ; Sun, 28 Aug 2011 15:21:09 +0000 (UTC) Received: from WildRover.lariat.net (IDENT:ppp1000.lariat.net@lariat.net [66.119.58.2]) by lariat.net (8.9.3/8.9.3) with ESMTP id JAA07337; Sun, 28 Aug 2011 09:21:04 -0600 (MDT) Message-Id: <201108281521.JAA07337@lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 28 Aug 2011 09:20:53 -0600 To: Polytropon From: Brett Glass In-Reply-To: <20110828074337.aca652f9.freebsd@edvax.de> References: <201108272301.RAA02327@lariat.net> <20110828074337.aca652f9.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: questions@freebsd.org Subject: Re: System hanging, error messages with USB drive on FreeBSD 8.1 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: Sun, 28 Aug 2011 15:21:10 -0000 At 11:43 PM 8/27/2011, Polytropon wrote: >I'm not sure if this will help you, but I also had similar >problems with a Kingston USB stick (normal storage stick, >no removable microSD card). It didn't work on any of my >FreeBSD systems. So I finally returned it to the shop and >got a Sony USB stick instead - no problems, works fine. > >So this is my assumption: Some hardware vendors maybe >improperly implement the USB protocol in their devices, A Web search reveals that there are dozens which apparently have problems with FreeBSD, while Windows has problems with none of them. This leads me to believe that the problem is in FreeBSD, not the hardware. USB mass storage devices are, for some reason, handled by FreeBSD's SCSI/CAM subsystem, which seems to want to treat a USB storage device (a memory stick or a memory card in an adapter) as a full-out SCSI device when it is not. The SCSI commands which fail usually have to do with flushing the cache and/or other functions which just don't apply to a USB stick. It looks as if the devices which do not have trouble are just IGNORING the SCSI commands, not executing them. In short, FreeBSD really should not be trying to issue them in the first place. In short, this shouldn't be something that's handled by "quirks." Instead, the system simply should recognize that a USB memory stick is not a SCSI drive. --Brett Glass