From owner-freebsd-stable@FreeBSD.ORG Sun Sep 27 14:39:40 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4414B106566B for ; Sun, 27 Sep 2009 14:39:40 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id A5CEA8FC0C for ; Sun, 27 Sep 2009 14:39:39 +0000 (UTC) Received: from inchoate.gsoft.com.au ([118.210.114.190]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n8REda3X029206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 28 Sep 2009 00:09:36 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Mon, 28 Sep 2009 00:09:11 +0930 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1674175.q8gkGua1Nb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200909280009.28658.doconnor@gsoft.com.au> X-Spam-Score: -2.212 () BAYES_00,RDNS_NONE X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Subject: Excessivly cheap USB device issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 14:39:40 -0000 --nextPart1674175.q8gkGua1Nb Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have a very cheap USB CF/SD/SM/MS connected to an 8.0-RC1 system and it is detected, ie.. Sep 27 14:29:18 midget kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Sep 27 14:29:18 midget kernel: da0: Removable = Direct Access SCSI-0 device Sep 27 14:29:18 midget kernel: da0: 40.000MB/s transfers Sep 27 14:29:18 midget kernel: da0: Attempt to query device size failed: NO= T READY, Medium not present Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): TEST UNIT READY. = CDB: 0 20 0 0 0 0 Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): CAM Status: SCSI = Status Error Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): SCSI Status: Chec= k Condition Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): NOT READY csi:0,a= a,55,40 asc:3a,0 Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): Medium not present Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): Unretryable error Sep 27 14:29:18 midget kernel: da1 at umass-sim0 bus 0 target 0 lun 1 Sep 27 14:29:18 midget kernel: da1: Removable = Direct Access SCSI-0 device Sep 27 14:29:18 midget kernel: da1: 40.000MB/s transfers Sep 27 14:29:18 midget kernel: da1: Attempt to query device size failed: NO= T READY, Medium not present If I connect a CF card to da1 and run 'fdisk da1' I get.. [midget 0:06] ~ >fdisk da1 load: 0.29 cmd: fdisk 69630 [cgticb] 1.50r 0.00u 0.00s 0% 1160k load: 0.19 cmd: fdisk 69630 [cbwait] 24.42r 0.00u 0.00s 0% 1160k load: 0.19 cmd: fdisk 69630 [cbwait] 27.01r 0.00u 0.00s 0% 1160k fdisk: unable to get correct path for da1: Input/output error [midget 0:05] ~ >sudo usbconfig -u 5 -a 2 dump_device_desc ugen5.2: at usbus5, cfg=3D0 md=3DHOST spd=3DH= IGH (480Mbps) pwr=3DON bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0200 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0040 idVendor =3D 0x058f idProduct =3D 0x6362 bcdDevice =3D 0x0129 load: 0.21 cmd: usbconfig 69643 [WCTRL] 1.73r 0.00u 0.00s 0% 1080k iManufacturer =3D 0x0001 load: 0.19 cmd: usbconfig 69643 [WCTRL] 8.56r 0.00u 0.00s 0% 1104k iProduct =3D 0x0002 iSerialNumber =3D 0x0003 bNumConfigurations =3D 0x0001 Perhaps some quirk would help but I'm not sure which one :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1674175.q8gkGua1Nb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBKv3kg5ZPcIHs/zowRAgtoAJ9FeGu/GGCrguYsN/je/6fWFB6kkQCfQUuz pn6APHY4dOboeUa+PQpJDLw= =TEj0 -----END PGP SIGNATURE----- --nextPart1674175.q8gkGua1Nb--