Re: [Linux-usb-users] problem with usb-storage
Am Dienstag, 8. Mai 2007 21:16 schrieb Alan Stern: May 8 10:46:07 benz505sx kernel: usb-storage: -- Result from auto-sense is 0 May 8 10:46:07 benz505sx kernel: usb-storage: -- code: 0x70, key: 0x3, ASC: 0x30, ASCQ: 0x1 This error message means Medium Error: Cannot read medium - unknown format. However I suspect that code is incorrect, because the command was ALLOW_MEDIUM_REMOVAL, which doesn't require the slot to read anything from the stick. More likely the slot just can't handle the command at all. Fortunately it's possible to prevent the command from being sent. If you post the output from lsusb -v for your device, I can send you a patch. What version of the kernel are you running? lsusb -v: Bus 003 Device 002: ID 054c:0069 Sony Corp. Memorystick MSC-U03 Reader Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize016 idVendor 0x054c Sony Corp. idProduct 0x0069 Memorystick MSC-U03 Reader bcdDevice1.07 iManufacturer 1 iProduct2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 8 Mass Storage bInterfaceSubClass 5 SFF-8070i bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes3 Transfer TypeInterrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 1 I'm using the kernel version 2.6.20.2 with the options I mentionend in my first posting. On the other hand if that message shows up only when the slot is empty, and if your only problem is that the log files keep growing, then there's nothing to worry about. Simply turn off CONFIG_USB_STORAGE_DEBUG; that will prevent these messages from being logged. Thats something for a start. But it would be great if I get the slot working... Does the slot not work? You haven't said what happens when you try to use the stick. Those errors messages above aren't fatal. The stick is not mountable. When I insert it (a Sony Memory Stick M2 micro in an M2 Adaptor) into the slot some program (I think the kernel modul sonypi or so, which gives also access to the fn-keys) tells me, that I inserted a memory stick. But there is no accessable device under /dev. The stick itself is working, as I can use it in my phone and access it through the phone if I connect the phone with a usb-cable with my laptop. Thanks, Ben - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] problem with usb-storage
On Wed, 9 May 2007, Benjamin von Engelhardt wrote: Am Dienstag, 8. Mai 2007 21:16 schrieb Alan Stern: May 8 10:46:07 benz505sx kernel: usb-storage: -- Result from auto-sense is 0 May 8 10:46:07 benz505sx kernel: usb-storage: -- code: 0x70, key: 0x3, ASC: 0x30, ASCQ: 0x1 This error message means Medium Error: Cannot read medium - unknown format. However I suspect that code is incorrect, because the command was ALLOW_MEDIUM_REMOVAL, which doesn't require the slot to read anything from the stick. More likely the slot just can't handle the command at all. Fortunately it's possible to prevent the command from being sent. If you post the output from lsusb -v for your device, I can send you a patch. What version of the kernel are you running? lsusb -v: Bus 003 Device 002: ID 054c:0069 Sony Corp. Memorystick MSC-U03 Reader Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize016 idVendor 0x054c Sony Corp. idProduct 0x0069 Memorystick MSC-U03 Reader bcdDevice1.07 I'm using the kernel version 2.6.20.2 with the options I mentionend in my first posting. On the other hand if that message shows up only when the slot is empty, and if your only problem is that the log files keep growing, then there's nothing to worry about. Simply turn off CONFIG_USB_STORAGE_DEBUG; that will prevent these messages from being logged. Thats something for a start. But it would be great if I get the slot working... Does the slot not work? You haven't said what happens when you try to use the stick. Those errors messages above aren't fatal. The stick is not mountable. When I insert it (a Sony Memory Stick M2 micro in an M2 Adaptor) into the slot some program (I think the kernel modul sonypi or so, which gives also access to the fn-keys) tells me, that I inserted a memory stick. But there is no accessable device under /dev. The stick itself is working, as I can use it in my phone and access it through the phone if I connect the phone with a usb-cable with my laptop. Okay, here's the patch for 2.6.20. Let me know what happens. If possible, include the entire dmesg output starting from the time you insert the stick. Alan Stern Index: usb-2.6/drivers/usb/storage/unusual_devs.h === --- usb-2.6.orig/drivers/usb/storage/unusual_devs.h +++ usb-2.6/drivers/usb/storage/unusual_devs.h @@ -616,7 +616,7 @@ UNUSUAL_DEV( 0x054c, 0x0069, 0x, 0x Sony, Memorystick MSC-U03, US_SC_UFI, US_PR_CB, NULL, - US_FL_SINGLE_LUN ), + US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE ), /* Submitted by Nathan Babb [EMAIL PROTECTED] */ UNUSUAL_DEV( 0x054c, 0x006d, 0x, 0x, - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
[Linux-usb-users] problem with usb-storage
Hi, on my Sony Vaio PCG-R600HFP I have a sony memory stick slot, which is addressed through usb with scsi-emulation and usb-storage. At booting time I get the following message: May 3 18:28:13 benz505sx kernel: scsi 0:0:0:0: Direct-Access Sony MSC-U03 1.00 PQ: 0 ANSI: 0 CCS May 3 18:28:13 benz505sx kernel: sd 0:0:0:0: Attached scsi removable disk sda In the syslog I get continuosly the following messages: May 4 12:25:31 benz505sx kernel: usb-storage: Call to usb_stor_ctrl_transfer() returned 0 May 4 12:25:31 benz505sx kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes May 4 12:25:31 benz505sx kernel: usb-storage: Status code 0; transferred 18/18 May 4 12:25:31 benz505sx kernel: usb-storage: -- transfer complete May 4 12:25:31 benz505sx kernel: usb-storage: CB data stage result is 0x0 May 4 12:25:31 benz505sx kernel: usb-storage: -- Result from auto-sense is 0 May 4 12:25:31 benz505sx kernel: usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0 May 4 12:25:31 benz505sx kernel: usb-storage: (Unknown Key): (unknown ASC/ASCQ) May 4 12:25:31 benz505sx kernel: usb-storage: scsi cmd done, result=0x2 May 4 12:25:31 benz505sx kernel: usb-storage: *** thread sleeping. May 4 12:25:33 benz505sx kernel: usb-storage: queuecommand called May 4 12:25:33 benz505sx kernel: usb-storage: *** thread awakened. May 4 12:25:33 benz505sx kernel: usb-storage: Command TEST_UNIT_READY (6 bytes) May 4 12:25:33 benz505sx kernel: usb-storage: 00 00 00 00 00 00 May 4 12:25:33 benz505sx kernel: usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value= index=00 len=12 May 4 12:25:33 benz505sx kernel: usb-storage: Status code -32; transferred 12/12 May 4 12:25:33 benz505sx kernel: usb-storage: -- stall on control pipe May 4 12:25:33 benz505sx kernel: usb-storage: Call to usb_stor_ctrl_transfer() returned 2 May 4 12:25:33 benz505sx kernel: usb-storage: -- CB transport device requiring auto-sense May 4 12:25:33 benz505sx kernel: usb-storage: -- transport indicates command failure May 4 12:25:33 benz505sx kernel: usb-storage: Issuing auto-REQUEST_SENSE May 4 12:25:33 benz505sx kernel: usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value= index=00 len=12 May 4 12:25:33 benz505sx kernel: usb-storage: Status code 0; transferred 12/12 May 4 12:25:33 benz505sx kernel: usb-storage: -- transfer complete May 4 12:25:33 benz505sx kernel: usb-storage: Call to usb_stor_ctrl_transfer() returned 0 May 4 12:25:33 benz505sx kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes May 4 12:25:33 benz505sx kernel: usb-storage: Status code 0; transferred 18/18 May 4 12:25:33 benz505sx kernel: usb-storage: -- transfer complete May 4 12:25:33 benz505sx kernel: usb-storage: CB data stage result is 0x0 May 4 12:25:33 benz505sx kernel: usb-storage: -- Result from auto-sense is 0 May 4 12:25:33 benz505sx kernel: usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0 May 4 12:25:33 benz505sx kernel: usb-storage: (Unknown Key): (unknown ASC/ASCQ) May 4 12:25:33 benz505sx kernel: usb-storage: scsi cmd done, result=0x2 May 4 12:25:33 benz505sx kernel: usb-storage: *** thread sleeping. May 4 12:25:33 benz505sx kernel: usb-storage: queuecommand called May 4 12:25:33 benz505sx kernel: usb-storage: *** thread awakened. May 4 12:25:33 benz505sx kernel: usb-storage: Command TEST_UNIT_READY (6 bytes) May 4 12:25:33 benz505sx kernel: usb-storage: 00 00 00 00 00 00 May 4 12:25:33 benz505sx kernel: usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value= index=00 len=12 May 4 12:25:33 benz505sx kernel: usb-storage: Status code -32; transferred 12/12 May 4 12:25:33 benz505sx kernel: usb-storage: -- stall on control pipe May 4 12:25:33 benz505sx kernel: usb-storage: Call to usb_stor_ctrl_transfer() returned 2 May 4 12:25:33 benz505sx kernel: usb-storage: -- CB transport device requiring auto-sense May 4 12:25:33 benz505sx kernel: usb-storage: -- transport indicates command failure May 4 12:25:33 benz505sx kernel: usb-storage: Issuing auto-REQUEST_SENSE May 4 12:25:33 benz505sx kernel: usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value= index=00 len=12 May 4 12:25:33 benz505sx kernel: usb-storage: Status code 0; transferred 12/12 May 4 12:25:33 benz505sx kernel: usb-storage: -- transfer complete May 4 12:25:33 benz505sx kernel: usb-storage: Call to usb_stor_ctrl_transfer() returned 0 May 4 12:25:33 benz505sx kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes May 4 12:25:33 benz505sx kernel: usb-storage: Status code 0; transferred 18/18 May 4 12:25:33 benz505sx kernel: usb-storage: -- transfer complete May 4 12:25:33 benz505sx kernel: usb-storage: CB data stage result is 0x0 May 4 12:25:33 benz505sx kernel: usb-storage: -- Result from auto-sense is 0 May 4 12:25:33 benz505sx kernel: usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0 May 4 12:25:33 benz505sx kernel: usb-storage: (Unknown Key): (unknown ASC/ASCQ) May
Re: [Linux-usb-users] problem with usb-storage
On Mon, 7 May 2007, Benjamin von Engelhardt wrote: Hi, on my Sony Vaio PCG-R600HFP I have a sony memory stick slot, which is addressed through usb with scsi-emulation and usb-storage. At booting time I get the following message: May 3 18:28:13 benz505sx kernel: scsi 0:0:0:0: Direct-Access Sony MSC-U03 1.00 PQ: 0 ANSI: 0 CCS May 3 18:28:13 benz505sx kernel: sd 0:0:0:0: Attached scsi removable disk sda In the syslog I get continuosly the following messages: May 4 12:25:31 benz505sx kernel: usb-storage: Call to usb_stor_ctrl_transfer() returned 0 May 4 12:25:31 benz505sx kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes May 4 12:25:31 benz505sx kernel: usb-storage: Status code 0; transferred 18/18 May 4 12:25:31 benz505sx kernel: usb-storage: -- transfer complete May 4 12:25:31 benz505sx kernel: usb-storage: CB data stage result is 0x0 May 4 12:25:31 benz505sx kernel: usb-storage: -- Result from auto-sense is 0 May 4 12:25:31 benz505sx kernel: usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0 This particular error code means Not Ready: Medium not present. In other words, the reader doesn't think you have anything in the memory stick slot. The stick is not mountable. Any help? Maybe a different memory stick would work better. Maybe the slot is broken. Alan Stern - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] problem with usb-storage
Am Montag, 7. Mai 2007 18:37 schrieb Alan Stern: On Mon, 7 May 2007, Benjamin von Engelhardt wrote: Hi, on my Sony Vaio PCG-R600HFP I have a sony memory stick slot, which is addressed through usb with scsi-emulation and usb-storage. At booting time I get the following message: May 3 18:28:13 benz505sx kernel: scsi 0:0:0:0: Direct-Access Sony MSC-U03 1.00 PQ: 0 ANSI: 0 CCS May 3 18:28:13 benz505sx kernel: sd 0:0:0:0: Attached scsi removable disk sda In the syslog I get continuosly the following messages: May 4 12:25:31 benz505sx kernel: usb-storage: Call to usb_stor_ctrl_transfer() returned 0 May 4 12:25:31 benz505sx kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes May 4 12:25:31 benz505sx kernel: usb-storage: Status code 0; transferred 18/18 May 4 12:25:31 benz505sx kernel: usb-storage: -- transfer complete May 4 12:25:31 benz505sx kernel: usb-storage: CB data stage result is 0x0 May 4 12:25:31 benz505sx kernel: usb-storage: -- Result from auto-sense is 0 May 4 12:25:31 benz505sx kernel: usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0 This particular error code means Not Ready: Medium not present. In other words, the reader doesn't think you have anything in the memory stick slot. actualy I see this message when I don't have a memory stick in the slot and also when it is in the slot (some program then tells me that I entered the stick in the slot). The effect is that the log-files grow bigger and bigger. Greetings, Ben - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] problem with usb-storage
On Mon, 7 May 2007, Benjamin von Engelhardt wrote: May 4 12:25:31 benz505sx kernel: usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0 This particular error code means Not Ready: Medium not present. In other words, the reader doesn't think you have anything in the memory stick slot. actualy I see this message when I don't have a memory stick in the slot and also when it is in the slot (some program then tells me that I entered the stick in the slot). The effect is that the log-files grow bigger and bigger. You mean you get the code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0 message even when a memory stick is in the slot? If you do then the slot or the stick isn't working right -- that message should appear only when the slot is empty. On the other hand if that message shows up only when the slot is empty, and if your only problem is that the log files keep growing, then there's nothing to worry about. Simply turn off CONFIG_USB_STORAGE_DEBUG; that will prevent these messages from being logged. Alan Stern - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
[Linux-usb-users] Problem with usb-storage
Hello, I'm trying to get a USB Flash key on a board with linux, I activate support for usb-storage, and scsi-disk in the kernel. This USB key work with linux on my laptop. But on the board the key is detected, but usb-storage doesn't seems to work, and any block device is detected. Have you any idea ? Here what happens when connecting a USB Flash key : usb 1-1: new full speed USB device using at91rm9200-ohci and address 2 at91rm9200-ohci at91rm9200-ohci: GetStatus roothub.portstatus [0] = 0x00100103 P RSC PPS PES CCS usb 1-1: default language 0x0409 usb 1-1: new device strings: Mfr=0, Product=1, SerialNumber=0 usb 1-1: Product: USB Mass Storage Device usb 1-1: hotplug usb 1-1: adding 1-1:1.0 (config #1, interface 0) usb 1-1:1.0: hotplug usb-storage 1-1:1.0: usb_probe_interface usb-storage 1-1:1.0: usb_probe_interface - got id usb-storage: USB Mass Storage device detected usb-storage: -- associate_dev usb-storage: Vendor: 0x0c45, Product: 0x1060, Revision: 0x0100 usb-storage: Interface Subclass: 0x06, Protocol: 0x50 usb-storage: Transport: Bulk usb-storage: Protocol: Transparent SCSI usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value= index=00 len=1 usb-storage: GetMaxLUN command result is 1, data is 0 usb-storage: *** thread sleeping. scsi0 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning hub 1-0:1.0: state 5 ports 2 chg evt 0002 usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command INQUIRY (6 bytes) usb-storage: 12 00 00 00 24 00 usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes at91rm9200-ohci at91rm9200-ohci: urb c3c8c180 path 1 ep1in 5c16 cc 5 -- sta tus -110 usb-storage: Status code -110; transferred 0/36 usb-storage: -- timeout or NAK usb-storage: Bulk data transfer result 0x4 usb-storage: -- transport indicates error, resetting usb-storage: usb_stor_Bulk_reset called usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value= index=00 len=0 at91rm9200-ohci at91rm9200-ohci: urb c3c8c180 path 1 ep0out 5ec2 cc 5 -- st atus -110 usb-storage: Soft reset failed: -110 usb-storage: scsi cmd done, result=0x7 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command INQUIRY (6 bytes) usb-storage: 12 00 00 00 24 00 usb-storage: Bulk Command S 0x43425355 T 0x2 L 36 F 128 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes at91rm9200-ohci at91rm9200-ohci: urb c3c8c180 path 1 ep2out 5c0e cc 5 -- st atus -110 usb-storage: Status code -110; transferred 0/31 usb-storage: -- timeout or NAK usb-storage: Bulk command transfer result=4 usb-storage: -- transport indicates error, resetting usb-storage: usb_stor_Bulk_reset called usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value= index=00 len=0 at91rm9200-ohci at91rm9200-ohci: urb c3c8c180 path 1 ep0out 5ec2 cc 5 -- st atus -110 usb-storage: Soft reset failed: -110 usb-storage: scsi cmd done, result=0x7 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command INQUIRY (6 bytes) usb-storage: 12 00 00 00 24 00 usb-storage: Bulk Command S 0x43425355 T 0x3 L 36 F 128 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes at91rm9200-ohci at91rm9200-ohci: urb c3c8c180 path 1 ep2out 5c0e cc 5 -- st atus -110 usb-storage: Status code -110; transferred 0/31 usb-storage: -- timeout or NAK usb-storage: Bulk command transfer result=4 usb-storage: -- transport indicates error, resetting usb-storage: usb_stor_Bulk_reset called usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value= index=00 len=0 at91rm9200-ohci at91rm9200-ohci: urb c3c8c180 path 1 ep0out 5ec2 cc 5 -- st atus -110 usb-storage: Soft reset failed: -110 usb-storage: scsi cmd done, result=0x7 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (1:0) usb-storage: scsi cmd done, result=0x4 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (2:0) usb-storage: scsi cmd done, result=0x4 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (3:0) usb-storage: scsi cmd done, result=0x4 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (4:0) usb-storage: scsi cmd done, result=0x4 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage:
Re: [Linux-usb-users] Problem with usb-storage
On Mon, 18 Jul 2005 [EMAIL PROTECTED] wrote: Hello, I'm trying to get a USB Flash key on a board with linux, I activate support for usb-storage, and scsi-disk in the kernel. This USB key work with linux on my laptop. But on the board the key is detected, but usb-storage doesn't seems to work, and any block device is detected. Have you any idea ? Here what happens when connecting a USB Flash key : usb 1-1: new full speed USB device using at91rm9200-ohci and address 2 at91rm9200-ohci at91rm9200-ohci: GetStatus roothub.portstatus [0] = 0x00100103 P RSC PPS PES CCS usb 1-1: default language 0x0409 usb 1-1: new device strings: Mfr=0, Product=1, SerialNumber=0 usb 1-1: Product: USB Mass Storage Device usb 1-1: hotplug usb 1-1: adding 1-1:1.0 (config #1, interface 0) usb 1-1:1.0: hotplug usb-storage 1-1:1.0: usb_probe_interface usb-storage 1-1:1.0: usb_probe_interface - got id usb-storage: USB Mass Storage device detected usb-storage: -- associate_dev usb-storage: Vendor: 0x0c45, Product: 0x1060, Revision: 0x0100 usb-storage: Interface Subclass: 0x06, Protocol: 0x50 usb-storage: Transport: Bulk usb-storage: Protocol: Transparent SCSI usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value= index=00 len=1 usb-storage: GetMaxLUN command result is 1, data is 0 usb-storage: *** thread sleeping. scsi0 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning hub 1-0:1.0: state 5 ports 2 chg evt 0002 usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command INQUIRY (6 bytes) usb-storage: 12 00 00 00 24 00 usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes at91rm9200-ohci at91rm9200-ohci: urb c3c8c180 path 1 ep1in 5c16 cc 5 -- sta tus -110 Looks like that at91rm9200-ohci host controller driver has some problem with Bulk transfers. Everything before the INQUIRY command involved only Control transfers, and they seemed to work okay. Alan Stern --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] Problem with usb-storage
Hi there, On Tue, 2 Dec 2003, Jim Stark wrote: custom built kernel (2.4.22). sometimes (not always), I can mount my USB memory stick. Most (99%) of the time, the mount program freezes Try 2.6.0-test5, that improved things a lot for me. However I've seen others having problems with later versions such at -test9 to -test11. 73, Ged. --- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
[Linux-usb-users] Problem with usb-storage
Hi: I am currently using Slackware 9.1 with a custom built kernel (2.4.22). The problem I am having is that sometimes (not always), I can mount my USB memory stick. It happens very infrequently. When I insert, the hotplug support detects it and loads usb-storage and starts two processes (usb-storage-0 and scsi_eh_1). Most (99%) of the time, the mount program freezes when attempting to mount the device, and can only be stopped by waiting and sending kill -9. Thereafter, the device (/dev/sda1) states that it is not a valid black device AND the USB port I tried to use becomes unusable until a restart. Further, the two processes I described earlier are impossible to kill. Any ideas? Thanks Mike __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ --- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
[Linux-usb-users] problem mounting usb-storage
Hello, i have problem mounting my USB thumb drive. i try to find out solution on net but still failed to mount. I'm using RH8, and what confusing me is this message scsi: device set offline. below are my /var/log/messages --[ snip ]- Feb 24 08:52:40 server kernel: hub.c: USB new device connect on bus2/1, assigned device number 2 Feb 24 08:52:40 server kernel: usb.c: USB device 2 (vend/prod 0xed1/0x6660) is not claimed by any active driver. Feb 24 08:52:43 server /etc/hotplug/usb.agent: Setup usb-storage for USB product ed1/6660/100 Feb 24 08:52:43 server kernel: SCSI subsystem driver Revision: 1.00 Feb 24 08:52:43 server kernel: Initializing USB Mass Storage driver... Feb 24 08:52:43 server kernel: usb.c: registered new driver usb-storage Feb 24 08:52:43 server kernel: scsi0 : SCSI emulation for USB Mass Storage devices Feb 24 08:53:22 server kernel: scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0 Feb 24 08:53:22 server kernel: USB Mass Storage support registered. Feb 24 09:01:52 server kernel: usb.c: USB disconnect on device 2 -- when i plug-off --[ snap ]- i'm using solid state disk usb drive. this handy drive come with 2 partitions. on windows environment, 1st partition are normal partition that can access directly when we plug it. the 2nd partition are hidden partition that only can access using the software given password. i don't know whether this feature give problem to my linux box. regards --mohamed __ Do You Yahoo!? Promote your business from just $5 a month! http://sg.biztools.yahoo.com --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
[Linux-usb-users] Problem with usb-storage, Datafab unit
Hi, I've got a DataFab CF+SM (AP-CSRU10). When I plug it in, the usb-storage module is loaded and the scsi unit is detected. I plug in a SM-card (128M) in one of the drives, and try to mount it (/dev/sda1 as the guide says, with filetype auto/vfat). However, the command hangs the shell, and nothing is mounted. I am currently running 2.4.18 on an Athlon. Any suggestions? scsi0 : SCSI emulation for USB Mass Storage devices Vendor: Datafab Model: USB to CF + SM C Rev: 1801 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users