Interesting.... this bridge chip is very confused. I'm not sure where to go from here... it would take some tweaking to test some various possibilities. I think the next place to go is to see what happens if cut the INQUIRY to just 36 bytes by editing linux/drivers/scsi/scan_scsi.c
What you're seeing is usb-storage attempting to drive the device, but it's fighting us. This is not a driver selection problem. Matt On Wed, Jan 02, 2002 at 11:27:03PM -0500, Torsten Howard wrote: > Hi Matt, > > I appreciate the help. I did away with the if-statement tag check, and now > I'm getting some new errors in the log. I would be grateful for help in > interpreting these. Here's where it seems the failure occurs: > > Bulk status Sig 0x53425355 T 0xeb140151 R 255 Stat 0x1 > -- transport indicates command failure > Issuing auto-REQUEST_SENSE > usb_stor_transfer_partial(): xfer 18 bytes > command_abort() called > usb-storage: usb_stor_bulk_msg() returned -2 xferred 0/18 > > What does command failure mean, and the transfer failures mean? > I'm not sure how the driver is assigned to the device, but if the device > does not identify itself, is it still possible? I would assume since it sees > Product: USB to IDE > the code should assign usb-storage, no? > > Thanks, > Torsten > > New log: > --------------------------- > Jan 2 23:11:37 bigdell kernel: hub.c: port 2 connection change > Jan 2 23:11:37 bigdell kernel: hub.c: port 2, portstatus 101, change 1, 12 Mb/s > Jan 2 23:11:37 bigdell kernel: hub.c: port 2, portstatus 103, change 0, 12 Mb/s > Jan 2 23:11:37 bigdell kernel: hub.c: USB new device connect on bus2/2, assigned >device number 2 > Jan 2 23:11:37 bigdell kernel: usb.c: kmalloc IF d5312200, numif 1 > Jan 2 23:11:37 bigdell kernel: usb.c: new device strings: Mfr=1, Product=1, >SerialNumber=0 > Jan 2 23:11:37 bigdell kernel: usb.c: USB device number 2 default language ID 0x409 > Jan 2 23:11:37 bigdell kernel: Manufacturer: USB to IDE > Jan 2 23:11:37 bigdell kernel: Product: USB to IDE > Jan 2 23:11:37 bigdell kernel: usb-storage: act_altsettting is 0 > Jan 2 23:11:37 bigdell kernel: usb-storage: id_index calculated to be: 52 > Jan 2 23:11:37 bigdell kernel: usb-storage: Array length appears to be: 54 > Jan 2 23:11:37 bigdell kernel: usb-storage: USB Mass Storage device detected > Jan 2 23:11:37 bigdell kernel: usb-storage: Endpoints: In: 0xd696e874 Out: >0xd696e860 Int: 0x00000000 (Period 0) > Jan 2 23:11:37 bigdell kernel: usb-storage: New GUID 04ce00020000000000000000 > Jan 2 23:11:37 bigdell kernel: usb-storage: GetMaxLUN command result is 1, data is 0 > Jan 2 23:11:37 bigdell kernel: usb-storage: Transport: Bulk > Jan 2 23:11:37 bigdell kernel: usb-storage: Protocol: Transparent SCSI > Jan 2 23:11:37 bigdell kernel: usb-storage: *** thread sleeping. > Jan 2 23:11:37 bigdell kernel: scsi0 : SCSI emulation for USB Mass Storage devices > Jan 2 23:11:37 bigdell kernel: usb-storage: queuecommand() called > Jan 2 23:11:37 bigdell kernel: usb-storage: *** thread awakened. > Jan 2 23:11:37 bigdell kernel: usb-storage: Command INQUIRY (6 bytes) > Jan 2 23:11:37 bigdell kernel: usb-storage: 12 00 00 00 ff 00 1d c0 50 27 80 c1 > Jan 2 23:11:37 bigdell kernel: usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 >LUN 0 L 255 F 128 CL 6 > Jan 2 23:11:37 bigdell kernel: usb-storage: Bulk command transfer result=0 > Jan 2 23:11:37 bigdell kernel: usb-storage: usb_stor_transfer_partial(): xfer 255 >bytes > Jan 2 23:11:42 bigdell kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred >255/255 > Jan 2 23:11:42 bigdell kernel: usb-storage: usb_stor_transfer_partial(): transfer >complete > Jan 2 23:11:42 bigdell kernel: usb-storage: Bulk data transfer result 0x0 > Jan 2 23:11:42 bigdell kernel: usb-storage: Attempting to get CSW... > Jan 2 23:11:42 bigdell kernel: usb-storage: Bulk status result = 0 > Jan 2 23:11:42 bigdell kernel: usb-storage: Bulk status Sig 0x53425355 T 0xeb140151 >R 255 Stat 0x1 > Jan 2 23:11:42 bigdell kernel: usb-storage: -- transport indicates command failure > Jan 2 23:11:42 bigdell kernel: usb-storage: Issuing auto-REQUEST_SENSE > Jan 2 23:11:42 bigdell kernel: usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 >LUN 0 L 18 F 128 CL 6 > Jan 2 23:11:42 bigdell kernel: usb-storage: Bulk command transfer result=0 > Jan 2 23:11:42 bigdell kernel: usb-storage: usb_stor_transfer_partial(): xfer 18 >bytes > Jan 2 23:11:43 bigdell kernel: usb-storage: command_abort() called > Jan 2 23:11:43 bigdell kernel: usb-storage: usb_stor_bulk_msg() returned -2 xferred >0/18 > Jan 2 23:11:43 bigdell kernel: usb-storage: usb_stor_transfer_partial(): transfer >aborted > Jan 2 23:11:43 bigdell kernel: usb-storage: Bulk data transfer result 0x3 > Jan 2 23:11:43 bigdell kernel: usb-storage: -- auto-sense failure > Jan 2 23:11:43 bigdell kernel: usb-storage: Bulk reset requested > Jan 2 23:11:53 bigdell kernel: usb-storage: Bulk soft reset completed > Jan 2 23:11:53 bigdell kernel: usb-storage: scsi cmd done, result=0x70000 > Jan 2 23:11:53 bigdell kernel: usb-storage: *** thread sleeping. > Jan 2 23:12:18 bigdell modprobe: modprobe: Can't locate module block-major-11 > > > > > On Wednesday 02 January 2002 09:59 pm, you wrote: > > Either (a) your cabling is very bad, or (b) the device is garbling the Tag > > values in the status packet. > > > > My guess is that this is a device based on a ScanLogic chipset, which has > > the known bug of trashing the Tag value. > > > > You need to edit linux/drivers/usb/storage/transport.c and remove the check > > for the Tag value towards the lower portion of Bulk_transport(). > > > > This patch won't be going into the mainline kernel because it's impossible > > to distinguish the (a) and (b) cases in the field, and thus the Tag check > > is necessary. > > > > Matt > > > > On Wed, Jan 02, 2002 at 09:56:59PM -0500, Torsten Howard wrote: > > > Hello, > > > > > > I am trying to get a DVD drive working. At the moment, I cannot even > > > access CD's. The drive appears to be providing no information about > > > itself. > > > > > > I guess the golden question is, what do I do to assign it a driver? > > > > > > Thanks, > > > Torsten > > > > > > > > > > > > Before attaching drive: > > > ---------------------------- > > > ~--$cat /proc/scsi/scsi > > > Attached devices: none > > > > > > ~--$cat /proc/bus/usb/devices > > > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > > D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > P: Vendor=0000 ProdID=0000 Rev= 0.00 > > > S: Product=USB UHCI Root Hub > > > S: SerialNumber=d400 > > > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms > > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > > D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > P: Vendor=0000 ProdID=0000 Rev= 0.00 > > > S: Product=USB UHCI Root Hub > > > S: SerialNumber=cc00 > > > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms > > > > > > > > > > > > After attaching drive: > > > ------------------------------- > > > ~--$cat /proc/scsi/scsi > > > Attached devices: > > > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > > > Vendor: Model: Rev: > > > Type: <NULL> ANSI SCSI revision: ffffffff > > > > > > ~--$cat /proc/bus/usb/devices > > > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > > D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > P: Vendor=0000 ProdID=0000 Rev= 0.00 > > > S: Product=USB UHCI Root Hub > > > S: SerialNumber=d400 > > > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms > > > T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > > > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > P: Vendor=04ce ProdID=0002 Rev= 2.60 > > > S: Manufacturer=USB to IDE > > > S: Product=USB to IDE > > > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > > > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none) > > > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms > > > E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms > > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > > D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > P: Vendor=0000 ProdID=0000 Rev= 0.00 > > > S: Product=USB UHCI Root Hub > > > S: SerialNumber=cc00 > > > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms > > > > > > > > > > > > > > > > > > output from /var/log/sys.log > > > -------------------------------- > > > Jan 2 21:40:35 bigdell kernel: hub.c: port 2 connection change > > > Jan 2 21:40:35 bigdell kernel: hub.c: port 2, portstatus 100, change 1, > > > 12 Mb/s Jan 2 21:40:40 bigdell kernel: hub.c: port 2 connection change > > > Jan 2 21:40:40 bigdell kernel: hub.c: port 2, portstatus 101, change 1, > > > 12 Mb/s Jan 2 21:40:40 bigdell kernel: hub.c: port 2, portstatus 103, > > > change 0, 12 Mb/s Jan 2 21:40:40 bigdell kernel: hub.c: USB new device > > > connect on bus2/2, assigned device number 2 Jan 2 21:40:40 bigdell > > > kernel: usb.c: kmalloc IF d8d14b20, numif 1 Jan 2 21:40:40 bigdell > > > kernel: usb.c: new device strings: Mfr=1, Product=1, SerialNumber=0 Jan > > > 2 21:40:40 bigdell kernel: usb.c: USB device number 2 default language ID > > > 0x409 Jan 2 21:40:40 bigdell kernel: Manufacturer: USB to IDE > > > Jan 2 21:40:40 bigdell kernel: Product: USB to IDE > > > Jan 2 21:40:40 bigdell kernel: usb-storage: act_altsettting is 0 > > > Jan 2 21:40:40 bigdell kernel: usb-storage: id_index calculated to be: > > > 52 Jan 2 21:40:40 bigdell kernel: usb-storage: Array length appears to > > > be: 54 Jan 2 21:40:40 bigdell kernel: usb-storage: USB Mass Storage > > > device detected Jan 2 21:40:40 bigdell kernel: usb-storage: Endpoints: > > > In: 0xd85c2534 Out: 0xd85c2520 Int: 0x00000000 (Period 0) Jan 2 21:40:40 > > > bigdell kernel: usb-storage: New GUID 04ce00020000000000000000 Jan 2 > > > 21:40:40 bigdell kernel: usb-storage: GetMaxLUN command result is 1, data > > > is 0 Jan 2 21:40:40 bigdell kernel: usb-storage: Transport: Bulk > > > Jan 2 21:40:40 bigdell kernel: usb-storage: Protocol: Transparent SCSI > > > Jan 2 21:40:40 bigdell kernel: usb-storage: *** thread sleeping. > > > Jan 2 21:40:40 bigdell kernel: scsi0 : SCSI emulation for USB Mass > > > Storage devices Jan 2 21:40:40 bigdell kernel: usb-storage: > > > queuecommand() called Jan 2 21:40:40 bigdell kernel: usb-storage: *** > > > thread awakened. Jan 2 21:40:40 bigdell kernel: usb-storage: Command > > > INQUIRY (6 bytes) Jan 2 21:40:40 bigdell kernel: usb-storage: 12 00 00 > > > 00 ff 00 1d c0 50 27 80 c1 Jan 2 21:40:40 bigdell kernel: usb-storage: > > > Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 255 F 128 CL 6 Jan 2 > > > 21:40:40 bigdell kernel: usb-storage: Bulk command transfer result=0 Jan > > > 2 21:40:40 bigdell kernel: usb-storage: usb_stor_transfer_partial(): xfer > > > 255 bytes Jan 2 21:40:45 bigdell kernel: usb-storage: > > > usb_stor_bulk_msg() returned 0 xferred 255/255 Jan 2 21:40:45 bigdell > > > kernel: usb-storage: usb_stor_transfer_partial(): transfer complete Jan > > > 2 21:40:45 bigdell kernel: usb-storage: Bulk data transfer result 0x0 Jan > > > 2 21:40:45 bigdell kernel: usb-storage: Attempting to get CSW... Jan 2 > > > 21:40:45 bigdell kernel: usb-storage: Bulk status result = 0 Jan 2 > > > 21:40:45 bigdell kernel: usb-storage: Bulk status Sig 0x53425355 T > > > 0xeb140151 R 255 Stat 0x1 Jan 2 21:40:45 bigdell kernel: usb-storage: > > > Bulk logical error > > > Jan 2 21:40:45 bigdell kernel: usb-storage: Bulk reset requested > > > Jan 2 21:40:46 bigdell kernel: usb-storage: command_abort() called > > > Jan 2 21:40:46 bigdell kernel: usb-storage: -- nothing to abort > > > Jan 2 21:40:46 bigdell kernel: usb-storage: device_reset() called > > > Jan 2 21:40:46 bigdell kernel: usb-storage: Bulk reset requested > > > Jan 2 21:40:51 bigdell kernel: usb-storage: Bulk soft reset completed > > > Jan 2 21:40:51 bigdell kernel: usb-storage: -- transport indicates > > > transport failure Jan 2 21:40:51 bigdell kernel: usb-storage: Fixing > > > INQUIRY data to show SCSI rev 2 Jan 2 21:40:51 bigdell kernel: > > > usb-storage: scsi cmd done, result=0x70000 Jan 2 21:40:51 bigdell > > > kernel: usb-storage: *** thread sleeping. Jan 2 21:40:52 bigdell kernel: > > > usb-storage: Bulk soft reset completed Jan 2 21:40:52 bigdell kernel: > > > usb-storage: queuecommand() called Jan 2 21:40:52 bigdell kernel: > > > usb-storage: *** thread awakened. Jan 2 21:40:52 bigdell kernel: > > > usb-storage: Command TEST_UNIT_READY (6 bytes) Jan 2 21:40:52 bigdell > > > kernel: usb-storage: 00 00 00 00 00 00 1d c0 50 27 80 c1 Jan 2 21:40:52 > > > bigdell kernel: usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 > > > L 0 F 0 CL 6 Jan 2 21:40:52 bigdell kernel: usb-storage: Bulk command > > > transfer result=0 Jan 2 21:40:52 bigdell kernel: usb-storage: Attempting > > > to get CSW... Jan 2 21:40:57 bigdell kernel: usb-storage: Bulk status > > > result = 0 Jan 2 21:40:57 bigdell kernel: usb-storage: Bulk status Sig > > > 0x53425355 T 0xeb140151 R 0 Stat 0x1 Jan 2 21:40:57 bigdell kernel: > > > usb-storage: Bulk logical error > > > Jan 2 21:40:57 bigdell kernel: usb-storage: Bulk reset requested > > > Jan 2 21:41:02 bigdell kernel: usb-storage: command_abort() called > > > Jan 2 21:41:02 bigdell kernel: usb-storage: -- nothing to abort > > > Jan 2 21:41:02 bigdell kernel: usb-storage: bus_reset() called > > > Jan 2 21:41:03 bigdell kernel: usb-storage: Bulk soft reset completed > > > Jan 2 21:41:03 bigdell kernel: usb-storage: -- transport indicates > > > transport failure Jan 2 21:41:03 bigdell kernel: usb-storage: Fixing > > > INQUIRY data to show SCSI rev 2 Jan 2 21:41:03 bigdell kernel: > > > usb-storage: scsi cmd done, result=0x70000 Jan 2 21:41:03 bigdell > > > kernel: usb-storage: *** thread sleeping. > > > > > > _______________________________________________ > > > [EMAIL PROTECTED] > > > To unsubscribe, use the last form field at: > > > https://lists.sourceforge.net/lists/listinfo/linux-usb-users -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver THEY CASTRATED MY QUAKE BITS! I WANT THEM BACK!!!! -- Greg User Friendly, 3/27/1998
msg02144/pgp00000.pgp
Description: PGP signature
