Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2003 20:09:31 +0200
From:      Antoine Jacoutot <ajacoutot@lphp.org>
To:        freebsd-questions@freebsd.org
Subject:   need help with umass quirks
Message-ID:  <200308132009.34781.ajacoutot@lphp.org>

next in thread | raw e-mail | index | archive | help
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi !

I really need help with this.
I have an USB-2.0 external adapter where I plugged in a hard drive.
When I boot with everything plugged-in, it works, but as soon as I unplugg =
it=20
or boot without the hard drive plugged-in, I cannont mount it anymore, I ge=
t=20
the following error:

umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR

Now, someone told me to edit the quirks table in scsi_da.c.
But what do I put in there ?
Someone told me to add:
{
 /*
 * QTS USB 2.0 ATAPI Bridge
 */
  T_DIRECT, SIP_MEDIA_REMOVABLE, "QTS*", "USB 2.0 ATAPI Bridge*", "*"},
  /*quirks*/ DA_Q_NO_6_BYTE
 }

But it does not work :(
Here are some informations about my device that I picked up in dmesg.boot a=
nd=20
`camcontrol inquiry da0`:

umass0: QTS USB 2.0 ATAPI Bridge, rev 2.00/11.00, addr 2
pass0: <IC35L120 AVV207-0 V24O> Fixed Direct Access SCSI-0 device
pass0: Serial Number
pass0: 650KB/s transfers
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <IC35L120 AVV207-0 V24O> Fixed Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: 117800MB (241254720 512 byte sectors: 64H 32S/T 52264C)
(da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing=20
minimum_cmd_size to 10.

Thanks a lot in advance.

Antoine
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/On7eY3Hnhkr+5cQRAs7kAJ4rsZwA+5D14PlFQNKuf4Ja52ONwACfRI0Z
TfB+4S8fhVvmJ8GTV5pfDwQ=3D
=3DpxOO
=2D----END PGP SIGNATURE-----



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