Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2011 16:43:51 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB flash regression between 9.0-BETA1 and r227413
Message-ID:  <20111202214351.GA65599@sandvine.com>
In-Reply-To: <201112022144.25817.hselasky@c2i.net>
References:  <20111202022550.GA78199@sandvine.com> <201112022144.25817.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 02, 2011 at 09:44:25PM +0100, Hans Petter Selasky wrote:

> On Friday 02 December 2011 03:25:50 Ed Maste wrote:
> > After rebuilding and installing a new kernel from a couple of weeks ago
> > my embedded USB flash no longer works.
> > 
> > Working kernel was:
> > FreeBSD 9.0-BETA1 #1 r225223M: Sat Aug 27 22:21:54 EDT 2011
> 
> Can you try to add the no-synchronize cache quirk for your device by using 
> usbconfig? Obviously the manufacturer did not test all SCSI commands!
> 
> --HPS

Thanks, that does it.
# usbconfig add_quirk UQ_MSC_NO_SYNC_CACHE

This device is:

ugen3.2: <Real SSD eUSB 16GB Micron Technology> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0634 
  idProduct = 0x0655 
  bcdDevice = 0x1110 

  iManufacturer = 0x0001  <retrieving string failed>
  iProduct = 0x0002  <retrieving string failed>
  iSerialNumber = 0x0003  <retrieving string failed>
  bNumConfigurations = 0x0001 

Should be easy to quirk now, although it seems there are a number of
devices afflicted with this same problem.  I wonder if other operating
systems just don't use this command?

-Ed



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111202214351.GA65599>