Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Nov 2003 19:20:24 +0100
From:      John Morgan Salomon <john@zog.net>
To:        questions@freebsd.org
Subject:   Genesys USB Storage Problem
Message-ID:  <oprxy08akzbxd4du@mail.zog.net>

next in thread | raw e-mail | index | archive | help
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: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 
11 at
device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 
11 at
device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> 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: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 
11 at
device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> 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: <USB controller> at 29.7 irq 11

Any help is greatly appreciated.

Cheers,

-John



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