On Tue, Jun 13, 2000 at 10:56:07PM +0200, Vojtech Pavlik wrote: > On Tue, Jun 13, 2000 at 02:55:12PM -0400, Johannes Erdfelt wrote: > > > > Today I managed to get a OHCI card, and charm, the smartmedia reader is > > > working fine and reliably with it. With (both) UHCI drivers on a UHCI > > > controllers it either just doesn't work most of the time or causes the > > > whole USB not to work or even crashes the kernel. Johannes, Thomas, > > > interested in some more data? > > > > Absolutely. Any information you can give would be greatly appreciated. > > Ok, here's two logs of the device working on OHCI and hanging endlessly > (with other USB devices also stopping to work) in the UHCI case. > > If you have any ideas about what else to do, just tell me. > > Matthew: The Hagiwara also seems to need the SINGLE_LUN option, it's > found eight times elseway. I didn't notice it last time. Oops, seems like I've forgot to attach the logs. Sorry. Here they go. -- Vojtech Pavlik SuSE Labs
usb.c: registered new driver usb-storage USB Mass Storage support registered. usb.c: USB new device connect, assigned device number 2 usb-storage.c: Searching unusual device list for (0x693, 0x2, 0x100)... usb-storage.c: -- found matching device: Hagiwara FlashGate SmartMedia usb-storage.c: USB Mass Storage device detected usb-storage.c: Endpoints: In: 0xc613ab60 Out: 0xc613ab71 Int: 0x00000000 (Period 0) usb-storage.c: Result from usb_set_interface is 0 usb-storage.c: New GUID 069300020000aa0000001f93 usb-storage.c: GetMaxLUN command result is -32, data is 195 usb-storage.c: clearing endpoint halt for pipe 0x80000280 usb-storage.c: Transport: Bulk usb-storage.c: Protocol: Transparent SCSI usb-storage.c: *** thread sleeping. scsi0 : SCSI emulation for USB Mass Storage devices scsi : 1 host. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command INQUIRY (target 0 lun 0 length 6) usb-storage.c: 12 00 00 00 ff 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0x1 LUN 0 L 36 F 128 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 256 bytes usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 36/256 usb-storage.c: Bulk data transfer result 0x1 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0x1 R 0 V 0x0 usb-storage.c: Fixing INQUIRY data, setting SCSI rev to 2 usb-storage.c: scsi cmd done, result=0x0 usb-storage.c: *** thread sleeping. Vendor: HAGIWARA Model: SmartMedia R/W Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi removable disk sda at scsi0, channel 0, id 0, lun 0 usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (0/1) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (1/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (2/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (3/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (4/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (5/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (6/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (7/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command TEST_UNIT_READY (target 0 lun 0 length 6) usb-storage.c: 00 00 00 00 00 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0xa LUN 0 L 0 F 0 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xa R 0 V 0x1 usb-storage.c: -- transport indicates command failure usb-storage.c: Issuing auto-REQUEST_SENSE usb-storage.c: Bulk command S 0x43425355 T 0xa LUN 0 L 18 F 128 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 18 bytes usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18 usb-storage.c: us_transfer_partial(): transfer complete usb-storage.c: Bulk data transfer result 0x0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xa R 0 V 0x0 usb-storage.c: -- Result from auto-sense is 0 usb-storage.c: -- code: 0x70, key: 0x6, ASC: 0x29, ASCQ: 0x0 usb-storage.c: scsi cmd done, result=0x1 usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command TEST_UNIT_READY (target 0 lun 0 length 6) usb-storage.c: 00 00 00 00 00 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0xb LUN 0 L 0 F 0 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xb R 0 V 0x1 usb-storage.c: -- transport indicates command failure usb-storage.c: Issuing auto-REQUEST_SENSE usb-storage.c: Bulk command S 0x43425355 T 0xb LUN 0 L 18 F 128 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 18 bytes usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18 usb-storage.c: us_transfer_partial(): transfer complete usb-storage.c: Bulk data transfer result 0x0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xb R 0 V 0x0 usb-storage.c: -- Result from auto-sense is 0 usb-storage.c: -- code: 0x70, key: 0x2, ASC: 0x4, ASCQ: 0x1 usb-storage.c: scsi cmd done, result=0x1 usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command READ_CAPACITY (target 0 lun 0 length 10) usb-storage.c: 25 00 00 00 00 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0xc LUN 0 L 8 F 128 CL 10 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 8 bytes usb-storage.c: usb_stor_bulk_msg() returned -32 xferred 0/8 usb-storage.c: clearing endpoint halt for pipe 0xc0008280 usb_control/bulk_msg: timeout usb-storage.c: us_transfer_partial(): unknown error usb-storage.c: Bulk data transfer result 0x2 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xc R 8 V 0x1 usb-storage.c: -- transport indicates command failure usb-storage.c: Issuing auto-REQUEST_SENSE usb-storage.c: Bulk command S 0x43425355 T 0xc LUN 0 L 18 F 128 CL 10 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 18 bytes usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18 usb-storage.c: us_transfer_partial(): transfer complete usb-storage.c: Bulk data transfer result 0x0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xc R 0 V 0x0 usb-storage.c: -- Result from auto-sense is 0 usb-storage.c: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 usb-storage.c: scsi cmd done, result=0x1 usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command READ_CAPACITY (target 0 lun 0 length 10) usb-storage.c: 25 00 00 00 00 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0xd LUN 0 L 8 F 128 CL 10 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 8 bytes usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 8/8 usb-storage.c: us_transfer_partial(): transfer complete usb-storage.c: Bulk data transfer result 0x0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xd R 0 V 0x0 usb-storage.c: scsi cmd done, result=0x0 usb-storage.c: *** thread sleeping. SCSI device sda: hdwr sector= 512 bytes. Sectors= 16000 [7 MB] [0.0 GB] usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command MODE_SENSE (target 0 lun 0 length 6) usb-storage.c: 1a 00 01 00 0c 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0xe LUN 0 L 12 F 128 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 512 bytes usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 12/512 usb-storage.c: Bulk data transfer result 0x1 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xe R 0 V 0x0 usb-storage.c: scsi cmd done, result=0x0 usb-storage.c: *** thread sleeping. sda: Write Protect is off sda:<7>usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command READ_10 (target 0 lun 0 length 10) usb-storage.c: 28 00 00 00 00 00 00 00 02 00 usb-storage.c: Bulk command S 0x43425355 T 0xf LUN 0 L 1024 F 128 CL 10 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 1024 bytes usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 1024/1024 usb-storage.c: us_transfer_partial(): transfer complete usb-storage.c: Bulk data transfer result 0x0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xf R 0 V 0x0 usb-storage.c: scsi cmd done, result=0x0 usb-storage.c: *** thread sleeping. sda1 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2
usb.c: registered new driver usb-storage USB Mass Storage support registered. uhci.c: root-hub INT complete: port1: 495 port2: 493 data: 4 usb.c: USB new device connect, assigned device number 5 usb-storage.c: Searching unusual device list for (0x693, 0x2, 0x100)... usb-storage.c: -- found matching device: Hagiwara FlashGate SmartMedia usb-storage.c: USB Mass Storage device detected usb-storage.c: Endpoints: In: 0xc613aaa0 Out: 0xc613aab1 Int: 0x00000000 (Period 0) usb-storage.c: Result from usb_set_interface is 0 usb-storage.c: New GUID 069300020000aa0000001f93 usb-storage.c: GetMaxLUN command result is -32, data is 196 usb-storage.c: clearing endpoint halt for pipe 0x80000580 usb-storage.c: Transport: Bulk usb-storage.c: Protocol: Transparent SCSI usb-storage.c: *** thread sleeping. scsi0 : SCSI emulation for USB Mass Storage devices scsi : 1 host. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command INQUIRY (target 0 lun 0 length 6) usb-storage.c: 12 00 00 00 ff 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0x1 LUN 0 L 36 F 128 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 256 bytes usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 36/256 usb-storage.c: Bulk data transfer result 0x1 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0x1 R 0 V 0x0 usb-storage.c: Fixing INQUIRY data, setting SCSI rev to 2 usb-storage.c: scsi cmd done, result=0x0 usb-storage.c: *** thread sleeping. Vendor: HAGIWARA Model: SmartMedia R/W Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi removable disk sda at scsi0, channel 0, id 0, lun 0 usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (0/1) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (1/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (2/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (3/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (4/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (5/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (6/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Bad device number (7/0) usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command TEST_UNIT_READY (target 0 lun 0 length 6) usb-storage.c: 00 00 00 00 00 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0xa LUN 0 L 0 F 0 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xa R 0 V 0x1 usb-storage.c: -- transport indicates command failure usb-storage.c: Issuing auto-REQUEST_SENSE usb-storage.c: Bulk command S 0x43425355 T 0xa LUN 0 L 18 F 128 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 18 bytes usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18 usb-storage.c: us_transfer_partial(): transfer complete usb-storage.c: Bulk data transfer result 0x0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xa R 0 V 0x0 usb-storage.c: -- Result from auto-sense is 0 usb-storage.c: -- code: 0x70, key: 0x6, ASC: 0x29, ASCQ: 0x0 usb-storage.c: scsi cmd done, result=0x1 usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command TEST_UNIT_READY (target 0 lun 0 length 6) usb-storage.c: 00 00 00 00 00 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0xb LUN 0 L 0 F 0 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xb R 0 V 0x1 usb-storage.c: -- transport indicates command failure usb-storage.c: Issuing auto-REQUEST_SENSE usb-storage.c: Bulk command S 0x43425355 T 0xb LUN 0 L 18 F 128 CL 6 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 18 bytes usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18 usb-storage.c: us_transfer_partial(): transfer complete usb-storage.c: Bulk data transfer result 0x0 usb-storage.c: Attempting to get CSW... usb-storage.c: Bulk status result = 0 usb-storage.c: Bulk status S 0x53425355 T 0xb R 0 V 0x0 usb-storage.c: -- Result from auto-sense is 0 usb-storage.c: -- code: 0x70, key: 0x2, ASC: 0x4, ASCQ: 0x1 usb-storage.c: scsi cmd done, result=0x1 usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command READ_CAPACITY (target 0 lun 0 length 10) usb-storage.c: 25 00 00 00 00 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0xc LUN 0 L 8 F 128 CL 10 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 8 bytes usb-storage.c: usb_stor_bulk_msg() returned -32 xferred 0/8 usb-storage.c: clearing endpoint halt for pipe 0xc0008580 usb_control/bulk_msg: timeout usb-storage.c: us_transfer_partial(): unknown error usb-storage.c: Bulk data transfer result 0x2 usb-storage.c: Attempting to get CSW... usb-storage.c: usb_stor_bulk_msg() timeout usb-storage.c: Bulk status result = -110 usb-storage.c: -- transport indicates transport failure usb-storage.c: scsi cmd done, result=0x70000 usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command READ_CAPACITY (target 0 lun 0 length 10) usb-storage.c: 25 00 00 00 00 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0xd LUN 0 L 8 F 128 CL 10 usb-storage.c: Bulk command transfer result=0 usb-storage.c: us_transfer_partial(): xfer 8 bytes usb-storage.c: usb_stor_bulk_msg() returned -32 xferred 0/8 usb-storage.c: clearing endpoint halt for pipe 0xc0008580 usb-storage.c: us_transfer_partial(): unknown error usb-storage.c: Bulk data transfer result 0x2 usb-storage.c: Attempting to get CSW... usb-storage.c: usb_stor_bulk_msg() timeout usb-storage.c: Bulk status result = -110 usb-storage.c: -- transport indicates transport failure usb-storage.c: scsi cmd done, result=0x70000 usb-storage.c: *** thread sleeping. usb-storage.c: us_queuecommand() called usb-storage.c: *** thread awakened. usb-storage.c: Command READ_CAPACITY (target 0 lun 0 length 10) usb-storage.c: 25 00 00 00 00 00 00 00 00 00 usb-storage.c: Bulk command S 0x43425355 T 0xe LUN 0 L 8 F 128 CL 10
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
