From owner-freebsd-questions@FreeBSD.ORG Wed Aug 13 11:09:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F37F137B401 for ; Wed, 13 Aug 2003 11:09:37 -0700 (PDT) Received: from mx1.lphp.org (APastourelles-107-1-7-212.w217-128.abo.wanadoo.fr [217.128.208.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id E33F443FAF for ; Wed, 13 Aug 2003 11:09:35 -0700 (PDT) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.org.local [192.168.0.4]) by mx1.lphp.org (8.12.8p1/8.12.8) with ESMTP id h7DI9YS8003189 for ; Wed, 13 Aug 2003 20:09:34 +0200 (CEST) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: freebsd-questions@freebsd.org Date: Wed, 13 Aug 2003 20:09:31 +0200 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200308132009.34781.ajacoutot@lphp.org> Subject: need help with umass quirks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 18:09:38 -0000 =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: Fixed Direct Access SCSI-0 device pass0: Serial Number pass0: 650KB/s transfers da0 at umass-sim0 bus 0 target 0 lun 0 da0: 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-----