From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 11:19:12 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 7711F16A4CE for ; Sat, 1 Nov 2003 11:19:12 -0800 (PST) Received: from o9.88.net (82-35-42-29.cable.ubr02.camd.blueyonder.co.uk [82.35.42.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29FBD43FBF for ; Sat, 1 Nov 2003 11:19:11 -0800 (PST) (envelope-from john@zog.net) Received: from localhost (localhost [127.0.0.1]) by o9.88.net (Postfix) with ESMTP id E6EA5142D52 for ; Sat, 1 Nov 2003 19:19:07 +0000 (GMT) Received: from o9.88.net ([127.0.0.1]) by localhost (o9.88.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14387-02 for ; Sat, 1 Nov 2003 19:19:07 +0000 (GMT) Received: from asparagus (dclient217-162-114-208.hispeed.ch [217.162.114.208]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by o9.88.net (Postfix) with ESMTP id 4B393142D41 for ; Sat, 1 Nov 2003 19:19:06 +0000 (GMT) Date: Sat, 01 Nov 2003 19:20:24 +0100 To: questions@freebsd.org From: John Morgan Salomon Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.21/FreeBSD M2 build 480 X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at 88.net Subject: Genesys USB Storage Problem 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: Sat, 01 Nov 2003 19:19:12 -0000 Hi all, I've installed 4.9-RELEASE without major problems on a Thinkpad X31. I'm trying to access my old 20GB IBM laptop IDE drive via an external USB drive case, but keep getting the well-known Nov 1 19:15:55 asparagus /kernel: umass0: BBB reset failed, IOERROR Nov 1 19:15:55 asparagus /kernel: umass0: BBB bulk-in clear stall failed, IOERROR Nov 1 19:15:55 asparagus /kernel: umass0: BBB bulk-out clear stall failed, IOERROR every 5 seconds. The drive has 5 filesystems on it (it was the boot disk for my last laptop); I can mount and read the root filesystem as /dev/da0s1a. All others (/dev/da0s1e and onwards) give me the IOERROR. I can occasionally mount them, and list files, but copying them creates empty files, or times out. I am not 100% sure that the drive itself is not physically damaged, as it will not in the new laptop. I've tried to add the following to /usr/src/sys/cam/scsi/scsi_da.c (although to be honest, I am not entirely sure what I'm doing here): { {T_DIRECT, SIP_MEDIA_FIXED, "GENESYS", "*", "*"}, DA_Q_NO_SYNC_CACHE }, Here's all the USB-relevant boot messages: uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered umass0: Genesys Logic USB Storage Device, rev 1.10/1.13, addr 2 umass0: Get Max Lun not supported (STALLED) uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at 29.7 irq 11 Any help is greatly appreciated. Cheers, -John