From owner-freebsd-usb@FreeBSD.ORG Sun Dec 2 18:25:24 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6F0016A418 for ; Sun, 2 Dec 2007 18:25:24 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 82F5113C45D for ; Sun, 2 Dec 2007 18:25:24 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by solow.pil.dk (Postfix) with ESMTP id 09F021CC0C4 for ; Sun, 2 Dec 2007 19:25:23 +0100 (CET) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 350CC1141D; Sun, 2 Dec 2007 19:25:22 +0100 (CET) Date: Sun, 2 Dec 2007 19:25:21 +0100 From: Henrik Brix Andersen To: freebsd-usb@freebsd.org Message-ID: <20071202182521.GA38887@tirith.brixandersen.dk> Mail-Followup-To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Dying disk or missing quirk? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2007 18:25:24 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I recently acquired a Revoltec Alu Book USB mass storage enclosure for a 2.5" PATA HDD, which is based on the Myson CE8818 chipset and therefore matched by the (wrongly named, as this matches all CE8818 based devices) following USB quirk in -current: { USB_VENDOR_MYSON, USB_PRODUCT_MYSON_HEDEN, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, NO_INQUIRY | IGNORE_RESIDUE }, The enclosure works fine under low disk I/O, but under heavy disk activity, I get the following: kernel: umass0: on uhub4 root: Unknown USB device: vendor 0x04cf product 0x8818 bus uhub4 kernel: da0 at umass-sim0 bus 0 target 0 lun 0 kernel: da0: < > Removable Direct Access SCSI-2 device=20 kernel: da0: 40.000MB/s transfers kernel: da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) =2E.. kernel: (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 8 45 78 6f 0 0 48 0=20 kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 kernel: (da0:umass-sim0:0:0:0): Invalid command operation code kernel: (da0:umass-sim0:0:0:0): Unretryable error kernel: g_vfs_done():da0s1a[READ(offset=3D71050477568, length=3D36864)]erro= r =3D 22 kernel: vnode_pager_getpages: I/O read error kernel: vm_fault: pager read error, pid 27989 (cp) cp(1) says the following, and the destination file is corrupt: cp: /foo/bar/baz.txt: Bad address Question is, what is causing this? A dying disk? A quirky chipset? or something else? Brix --=20 Henrik Brix Andersen --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFHUviRv+Q4flTiePgRAnzMAJ9Cypwmp9CtfjqB50H6R3+KrGG4UwCeOxCU aILDZvKHur8wfzVvLR2cvy0= =EtxV -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--