[opensuse-kernel] Strange USB-Storage device
Hi, I have a strange USB-Stick here. It's some "nano"-4G stick, only slightly bigger than the actual USB plug. With usb_storage.delay_use=1, it's found as: [139787.814139] usb 2-2: new high speed USB device using ehci_hcd and address 26 [139787.929698] usb 2-2: New USB device found, idVendor=14cd, idProduct=125b [139787.929706] usb 2-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [139787.929713] usb 2-2: Product: Micro Line [139787.929717] usb 2-2: Manufacturer: Intenso [139787.929722] usb 2-2: SerialNumber: 000000000021 [139787.930263] scsi23 : usb-storage 2-2:1.0 [139789.842530] scsi 23:0:0:0: Direct-Access Intenso Micro Line PQ: 0 ANSI: 0 CCS [139789.842802] sd 23:0:0:0: Attached scsi generic sg1 type 0 [139790.090805] sd 23:0:0:0: [sdb] 8054783 512-byte logical blocks: (4.12 GB/3.83 GiB) and everything is fine. With usb_storage.delay_use=5 (which is default in vanilla kernel AFAICS), it is found as: [140044.180139] usb 2-2: new high speed USB device using ehci_hcd and address 27 [140044.295636] usb 2-2: New USB device found, idVendor=14cd, idProduct=125b [140044.295644] usb 2-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [140044.295650] usb 2-2: Product: Micro Line [140044.295655] usb 2-2: Manufacturer: Intenso [140044.295660] usb 2-2: SerialNumber: 000000000021 [140044.296327] scsi24 : usb-storage 2-2:1.0 [140049.296759] scsi 24:0:0:0: Direct-Access-RBC PQ: 2 ANSI: 4 [140049.296943] scsi 24:0:0:0: Attached scsi generic sg1 type 14 and it does not work. Now even if it works by accident with a SUSE kernel, I'm still interested in why it is so strange. Is this a bug to report on LKML? -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Am Freitag, 25. März 2011, 15:19:36 schrieb Stefan Seyfried:
Now even if it works by accident with a SUSE kernel, I'm still interested in why it is so strange. Is this a bug to report on LKML?
Better to linux-usb@vger.kernel.org and with either a usbmon trace or CONFIG_USB_DEBUG_STORAGE. Regards Oliver -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Fri, Mar 25, 2011 at 03:19:36PM +0100, Stefan Seyfried wrote:
Hi,
I have a strange USB-Stick here. It's some "nano"-4G stick, only slightly bigger than the actual USB plug.
With usb_storage.delay_use=1, it's found as:
[139787.814139] usb 2-2: new high speed USB device using ehci_hcd and address 26 [139787.929698] usb 2-2: New USB device found, idVendor=14cd, idProduct=125b [139787.929706] usb 2-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [139787.929713] usb 2-2: Product: Micro Line [139787.929717] usb 2-2: Manufacturer: Intenso [139787.929722] usb 2-2: SerialNumber: 000000000021 [139787.930263] scsi23 : usb-storage 2-2:1.0 [139789.842530] scsi 23:0:0:0: Direct-Access Intenso Micro Line PQ: 0 ANSI: 0 CCS [139789.842802] sd 23:0:0:0: Attached scsi generic sg1 type 0 [139790.090805] sd 23:0:0:0: [sdb] 8054783 512-byte logical blocks: (4.12 GB/3.83 GiB)
and everything is fine.
With usb_storage.delay_use=5 (which is default in vanilla kernel AFAICS),
No, I think we dropped it down to 2 seconds.
it is found as:
[140044.180139] usb 2-2: new high speed USB device using ehci_hcd and address 27 [140044.295636] usb 2-2: New USB device found, idVendor=14cd, idProduct=125b [140044.295644] usb 2-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [140044.295650] usb 2-2: Product: Micro Line [140044.295655] usb 2-2: Manufacturer: Intenso [140044.295660] usb 2-2: SerialNumber: 000000000021 [140044.296327] scsi24 : usb-storage 2-2:1.0 [140049.296759] scsi 24:0:0:0: Direct-Access-RBC PQ: 2 ANSI: 4 [140049.296943] scsi 24:0:0:0: Attached scsi generic sg1 type 14
and it does not work.
Now even if it works by accident with a SUSE kernel, I'm still interested in why it is so strange. Is this a bug to report on LKML?
Please report it on the linux-usb@vger.kernel.org list. thanks, greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Fri, 25 Mar 2011 07:38:21 -0700 Greg KH <gregkh@suse.de> wrote:
On Fri, Mar 25, 2011 at 03:19:36PM +0100, Stefan Seyfried wrote:
Hi,
I have a strange USB-Stick here. It's some "nano"-4G stick, only slightly bigger than the actual USB plug.
With usb_storage.delay_use=1, it's found as: [...] With usb_storage.delay_use=5 (which is default in vanilla kernel AFAICS),
No, I think we dropped it down to 2 seconds.
Before I changed it (on openSUSE), it was 1. With 2 it already does not work anymore. My kernel git tree here has 5, but it might be a few weeks old. And indeed, after a "git pull", it is 1. But still the issue looks strange. I'll report on the linux-usb list. -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Fri, 25 Mar 2011 16:16:06 +0100 Stefan Seyfried <stefan.seyfried@googlemail.com> wrote:
I'll report on the linux-usb list.
Now comes the funny part: In order to get less noise due to partition probing etc. in the usbmon traces, I did a "dd if=/dev/zero of=/dev/sdb" to make sure there is nothing partition-table like on the device. And know what - now it works also with delay_use=5 And not only on the PC but also on the embedded ARM box where I originally discovered the problem. So it appears that I have "broken" the stick wrt. bug reporting, but that it now works fine for me. I'll try to get another one of those and to reproduce the issue, until then it's fixed for me. -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Am Samstag, 26. März 2011, 10:04:41 schrieb Stefan Seyfried:
On Fri, 25 Mar 2011 16:16:06 +0100 Stefan Seyfried <stefan.seyfried@googlemail.com> wrote:
I'll report on the linux-usb list.
Now comes the funny part:
In order to get less noise due to partition probing etc. in the usbmon traces, I did a "dd if=/dev/zero of=/dev/sdb" to make sure there is nothing partition-table like on the device.
And know what - now it works also with delay_use=5
And not only on the PC but also on the embedded ARM box where I originally discovered the problem.
So it appears that I have "broken" the stick wrt. bug reporting, but that it now works fine for me.
Please repartition and retest. Regards Oliver -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Sat, 26 Mar 2011 13:33:56 +0100 Oliver Neukum <oneukum@suse.de> wrote:
Please repartition and retest.
I have. Still works. If I knew how to break it again, I certainly would ;-) Now it says: [40575.374574] usb 2-2: SerialNumber: 000000000021 [40575.384064] scsi9 : usb-storage 2-2:1.0 [40577.539030] scsi_probe_lun: 48 callbacks suppressed [40577.539036] scsi scan: INQUIRY result too short (5), using 36 [40577.539048] scsi 9:0:0:0: Direct-Access PQ: 0 ANSI: 0 But works reasonably well. -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (3)
-
Greg KH
-
Oliver Neukum
-
Stefan Seyfried