USB flash regression between 9.0-BETA1 and r227413

Ed Maste emaste at freebsd.org
Fri Dec 2 21:43:53 UTC 2011


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


More information about the freebsd-usb mailing list