[Bug 945094] New: Some pendrives has about a minute delay to show-up in openSUSE 13.2 or Tumbleweed
http://bugzilla.opensuse.org/show_bug.cgi?id=945094 Bug ID: 945094 Summary: Some pendrives has about a minute delay to show-up in openSUSE 13.2 or Tumbleweed Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: Other OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: opensuse.lietuviu.kalba@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Tested device Kingston’s DataTraveler® 100 G3 (DT100G3) USB Flash drive 16GB http://www.kingston.com/datasheets/dt100g3_us.pdf. It works fine in openSUSE 13.1, but in openSUSE 13.2 or Tumbleweed system notifies this particular pendrive only after about one minute after pluging it. Long show-up delay is using both USB 2.0 and USB 3.0 ports. Similar problem exist with other pendrives for other openSUSE 13.2 users: https://forums.opensuse.org/showthread.php/507409-KDE4-takes-a-minute-to-rec... __ Info from openSUSE 13.1: # lsusb ... Bus 003 Device 004: ID 0951:1666 Kingston Technology # hwinfo --usb 04: SCSI 300.0: 10600 Disk [Created at block.245] Unique ID: mZxt.qGiClTgtDkA SysFS ID: /class/block/sdd SysFS BusID: 3:0:0:0 SysFS Device Link: /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host3/target3:0:0/3:0:0:0 Hardware Class: disk Model: "Kingston DataTraveler 3.0" Vendor: usb 0x0951 "Kingston" Device: usb 0x1666 "DataTraveler 3.0" Revision: "PMAP" Serial ID: "6B0FA64141C9" Driver: "usb-storage", "sd" Driver Modules: "usb_storage" Device File: /dev/sdd (/dev/sg3) Device Files: /dev/sdd, /dev/disk/by-id/scsi-1USB_DISK_2.0, /dev/disk/by-id/usb-Kingston_DataTraveler_3.0_60A44C413B99BF611998453E-0:0, /dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.0-scsi-0:0:0:0 Device Number: block 8:48-8:63 (char 21:3) Geometry (Logical): CHS 15004/64/32 Size: 30728832 sectors a 512 bytes Capacity: 14 GB (15733161984 bytes) Speed: 480 Mbps Module Alias: "usb:v0951p1666d0100dc00dsc00dp00ic08isc06ip50in00" Driver Info #0: Driver Status: usb_storage is active Driver Activation Cmd: "modprobe usb_storage" Config Status: cfg=new, avail=yes, need=no, active=unknown # hdparm -I /dev/sdd /dev/sdd: SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ATA device, with non-removable media Model Number: �#���#��#���#�����T�U^����1���fd�T�X Serial Number: X�!���"���"�h�"▒��! Firmware Revision: �!▒��!�� Media Serial Num: %����L���4������$���H���l���p�탔�탸�� Media Manufacturer: ����������������@�� Transport: 0xa260; Revision: 0xefed Standards: Used: unknown (minor revision code 0xf012) Supported: 14 10 7 5 Likely used: 14 Configuration: Logical max current cylinders 0 0 heads 0 0 sectors/track 18224 0 -- Logical/Physical Sector size: 512 bytes device size with M = 1024*1024: 0 MBytes device size with M = 1000*1000: 0 MBytes cache/buffer size = unknown Nominal Media Rotation Rate: 61421 Capabilities: IORDY(may be)(cannot be disabled) Queue depth: 24 Standby timer values: spec'd by Standard R/W multiple sector transfer: Max = 85 Current = 85 Recommended acoustic management value: 168, current value: 236 DMA: *mdma0 mdma2 mdma3 *mdma4 *mdma5 *mdma6 *mdma7 *udma2 udma3 udma4 udma5 udma6 udma7 (?) Cycle time: min=61692ns recommended=57624ns PIO: pio0 pio1 pio2 pio6 Cycle time: no flow control=61781ns IORDY flow control=25464ns * reserved 69[0] * reserved 69[6] * DEVICE CONFIGURATION SET/IDENTIFY DMA commands * Long physical sector diagnostics * CFast specification support * Data Set Management TRIM supported (limit 61555 blocks) * Deterministic read data after TRIM Security: Master password revision code = 4940 not supported not enabled not locked frozen not expired: security count supported: enhanced erase Integrity word not set (found 0xeff6, expected 0x97a5) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c1
--- Comment #1 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c2
--- Comment #2 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c3
--- Comment #3 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c4
--- Comment #4 from Mindaugas Baranauskas
rpm -q sg3_utils sg3_utils-1.41-1.1.x86_64
In openSUSE 13.1:
rpm -q sg3_utils sg3_utils-1.36-3.4.1.i586
After downgrading sg3_utils version to 1.36 (RPM openSUSE 13.1 repo) fixed lond delay issue just after downgrading. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
Robert Milasan
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
zy l
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c5
Hannes Reinecke
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c6
Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c7
--- Comment #7 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c8
--- Comment #8 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c9
Hannes Reinecke
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c10
--- Comment #10 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c11
--- Comment #11 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c12
Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c13
--- Comment #13 from Jan Engelhardt
In openSUSE TumbleWeed, After just pluging, and executing, it makes long pause after printing:
open("/dev/sdc", O_RDONLY|O_NONBLOCK
So that means the open syscall takes the time. You tried the different sg3utils variants under different openSUSE versions, which makes me think the change of kernel version is the cause, not sg3utils. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c14
--- Comment #14 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c15
--- Comment #15 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c16
--- Comment #16 from Hannes Reinecke
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c19
--- Comment #19 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c20
--- Comment #20 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
Bjørn Lie
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c28
--- Comment #28 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c29
--- Comment #29 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
H. Zeng
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c30
Jiří Novák
http://bugzilla.opensuse.org/show_bug.cgi?id=945094
http://bugzilla.opensuse.org/show_bug.cgi?id=945094#c31
Oliver Neukum
Same problem exists on Leap, tested with Sony PMAP 16GB USB 3.0 stick on old Toshiba laptop. Downgrading sg3_utils fixed problem, but this does not seem to be right solution...
Most likely the device gets a request for a VPD page that it does not like and chokes. If you use the debug flavour you can learn which request that is. Alternatively a usbmon trace can be used to find out the command. That, however, does not help all that much. You just should not ask such commands directly from the devices. The SCSI layer is nice enough enough to cache the answers and provide them in sysfs. Use that. The real culprit is some udev rule. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com