What | Removed | Added |
---|---|---|
Flags | needinfo?(Vojtech.Zeisek@opensuse.org) |
OK, so I did little bit more testing... I discussed the issue with mmarek on IRC and he suggested to completely remove uas module: /etc/modprobe.d/00-system.conf # uas devices can be unpredictably a fallback for both drivers must be present # softdep usb_storage pre: uas # softdep uas pre: usb_storage /etc/modprobe.d/50-blacklist.conf blacklist uas dmesg report: [28355.203258] usb 1-1.2: new low-speed USB device number 7 using ehci-pci [28355.283641] usb 1-1.2: New USB device found, idVendor=0461, idProduct=4d62 [28355.283648] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [28355.283652] usb 1-1.2: Product: HP Laser Mobile Mouse [28355.307552] input: HP Laser Mobile Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:0461:4D62.0003/input/input18 [28355.308103] hid-generic 0003:0461:4D62.0003: input,hidraw0: USB HID v1.11 Mouse [HP Laser Mobile Mouse] on usb-0000:00:1a.0-1.2/input0 [28390.530287] usb 4-3: new SuperSpeed USB device number 2 using xhci_hcd [28390.542580] usb 4-3: New USB device found, idVendor=0bc2, idProduct=331a [28390.542587] usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [28390.542590] usb 4-3: Product: Expansion Desk [28390.542593] usb 4-3: Manufacturer: Seagate [28390.542596] usb 4-3: SerialNumber: NA8EG9EN The disk is not detected, but the computer doesn't crash. :-) The behavior is same in both USB 2 and 3 ports. The machine has one USB 2 port and 3 USB 3 ports. I usually have mouse in USB 2, but mmarek suggested to test the disk in both to see if there is the same behavior. The original report is valid for the USB 3 port. When there is no blacklisting of uas (the default distributional state), plugging into USB 2 port results in folllowing dmesg messages: [ 73.119118] usb 1-1.2: new high-speed USB device number 5 using ehci-pci [ 73.285905] usb 1-1.2: New USB device found, idVendor=0bc2, idProduct=331a [ 73.285914] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 73.285919] usb 1-1.2: Product: Expansion Desk [ 73.285923] usb 1-1.2: Manufacturer: Seagate [ 73.285927] usb 1-1.2: SerialNumber: NA8EG9EN [ 73.314338] usbcore: registered new interface driver usb-storage [ 73.316160] scsi6 : uas [ 73.316909] scsi 6:0:0:0: Direct-Access Seagate Expansion Desk 0909 PQ: 0 ANSI: 6 [ 73.318108] sd 6:0:0:0: Attached scsi generic sg3 type 0 [ 79.846780] sd 6:0:0:0: uas_eh_abort_handler ffff8804478fd1c0 tag 1, inflight: CMD [ 81.347550] sd 6:0:0:0: Bogus IU (4) received on status pipe [ 82.849316] scsi host6: uas_eh_task_mgmt: ABORT TASK timed out The disk is not detected, but the computer doesn't crash when it is unplugged. As Oliver Neukum suggested, I added usb-storage.quirks=0x0bc2:331a:u to GRUB boot line. # cat /proc/cmdline BOOT_IMAGE=/vmlinuz-3.16.7-29-desktop root=UUID=90d16cc7-684a-4e14-aaa0-a163227f5ce9 ro resume=/dev/system/swap splash=silent quiet showopts usb-storage.quirks=0x0bc2:331a:u # fdisk -l ... Device Start End Sectors Size Type /dev/sdc1 34 9767541133 9767541100 4,6T Microsoft basic data Partition 1 does not start on physical sector boundary. (Interestingly, fdisk sometimes speaks about partition 1, sometimes about partition 2, but there is only one partition on the disk) Disk /dev/mapper/luks-6318ced6-0e9d-4e94-8cdb-731babf4b6eb: 4,6 TiB, 5��000��947 486��208 bajt��, 9��767��475��559 sektor�� Jednotky: sektor�� po��1 * 512 = 512 bajtech Velikost sektoru (logick��ho/fyzick��ho): 512 bajt�� / 4096 bajt�� Velikost I/O (minim��ln��/optim��ln��): 4096 bajt�� / 4096 bajt�� Zarovn��vac�� posun: 512 bajt�� dmesg output is the same for both ports: [ 378.224060] usb 4-3: new SuperSpeed USB device number 2 using xhci_hcd [ 378.235838] usb 4-3: New USB device found, idVendor=0bc2, idProduct=331a [ 378.235842] usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 378.235844] usb 4-3: Product: Expansion Desk [ 378.235845] usb 4-3: Manufacturer: Seagate [ 378.235847] usb 4-3: SerialNumber: NA8EG9EN [ 378.251214] usb 4-3: UAS is blacklisted for this device, using usb-storage instead [ 378.251217] usb-storage 4-3:1.0: USB Mass Storage device detected [ 378.251269] usb-storage 4-3:1.0: Quirks match for vid 0bc2 pid 331a: 800000 [ 378.251283] scsi6 : usb-storage 4-3:1.0 [ 378.251339] usbcore: registered new interface driver usb-storage [ 378.252029] usbcore: registered new interface driver uas [ 379.253234] scsi 6:0:0:0: Direct-Access Seagate Expansion Desk 0909 PQ: 0 ANSI: 6 [ 379.253560] sd 6:0:0:0: Attached scsi generic sg3 type 0 [ 391.388827] sd 6:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16). [ 391.388966] sd 6:0:0:0: [sdc] 9767541167 512-byte logical blocks: (5.00 TB/4.54 TiB) [ 391.388969] sd 6:0:0:0: [sdc] 4096-byte physical blocks [ 391.389240] sd 6:0:0:0: [sdc] Write Protect is off [ 391.389242] sd 6:0:0:0: [sdc] Mode Sense: 47 00 00 08 [ 391.389520] sd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 391.389953] sd 6:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16). [ 391.456910] sdc: sdc1 [ 391.457337] sd 6:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16). [ 391.457985] sd 6:0:0:0: [sdc] Attached SCSI disk [ 395.474188] EXT4-fs (dm-4): mounted filesystem with ordered data mode. Opts: (null) And the disk is detected and works as one would expect. So that I added (at least for now) usb-storage.quirks=0x0bc2:331a:u to the end of command line parameters in GRUB in YaST Bootloader configuration. $ lsmod Module Size Used by uas 27255 0 usb_storage 62302 3 uas fuse 100461 3 af_packet 40034 2 vboxpci 27402 0 vboxnetadp 25813 0 vboxnetflt 31976 0 xt_pkttype 12504 4 xt_LOG 17718 10 xt_limit 12711 10 bnep 19624 2 ip6t_REJECT 12939 3 xt_tcpudp 12884 5 nf_conntrack_ipv6 14798 3 nf_defrag_ipv6 34768 1 nf_conntrack_ipv6 vboxdrv 471365 3 vboxnetadp,vboxnetflt,vboxpci ip6table_raw 12683 1 ipt_REJECT 12541 3 iptable_raw 12678 1 xt_CT 12956 4 iptable_filter 12810 1 ip6table_mangle 12700 0 nf_conntrack_netbios_ns 12665 0 nf_conntrack_broadcast 12589 1 nf_conntrack_netbios_ns nf_conntrack_ipv4 14806 3 nf_defrag_ipv4 12758 1 nf_conntrack_ipv4 ip_tables 27240 2 iptable_filter,iptable_raw xt_conntrack 12760 6 nf_conntrack 114273 6 xt_CT,nf_conntrack_netbios_ns,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ipv4,nf_conntrack_ipv6 ip6table_filter 12815 1 ip6_tables 27026 3 ip6table_filter,ip6table_mangle,ip6table_raw x_tables 34059 15 xt_pkttype,ip6table_filter,xt_CT,ip6table_mangle,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6table_raw,ipt_REJECT,ip6_tables,iptable_raw,ip6t_REJECT xfs 1011981 1 libcrc32c 12644 1 xfs nls_iso8859_1 12713 1 nls_cp437 16991 1 vfat 17411 1 fat 70078 1 vfat arc4 12608 2 iwldvm 253314 0 mac80211 691383 1 iwldvm iwlwifi 135552 1 iwldvm iTCO_wdt 13480 0 iTCO_vendor_support 13718 1 iTCO_wdt rtsx_pci_sdmmc 23043 0 rtsx_pci_ms 18168 0 memstick 16966 1 rtsx_pci_ms mmc_core 133468 1 rtsx_pci_sdmmc hp_wmi 14109 0 sparse_keymap 13948 1 hp_wmi uvcvideo 89131 0 videobuf2_vmalloc 13216 1 uvcvideo videobuf2_memops 13362 1 videobuf2_vmalloc videobuf2_core 63200 1 uvcvideo v4l2_common 15265 1 videobuf2_core videodev 157329 3 uvcvideo,v4l2_common,videobuf2_core ecb 12815 1 snd_hda_codec_hdmi 55740 1 btusb 32448 0 bluetooth 483238 23 bnep,btusb 6lowpan_iphc 18702 1 bluetooth snd_hda_codec_idt 59587 1 snd_hda_codec_generic 77203 1 snd_hda_codec_idt x86_pkg_temp_thermal 14205 0 intel_powerclamp 18823 0 coretemp 13441 0 kvm_intel 151748 0 kvm 501446 1 kvm_intel snd_hda_intel 34475 3 snd_hda_controller 35103 1 snd_hda_intel snd_hda_codec 156066 5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller snd_hwdep 13602 1 snd_hda_codec joydev 17344 0 snd_pcm 116857 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller serio_raw 13434 0 pcspkr 12718 0 i2c_i801 22454 0 snd_timer 33609 1 snd_pcm snd 87947 14 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel lpc_ich 21093 0 cfg80211 547052 3 iwlwifi,mac80211,iwldvm rfkill 26772 4 cfg80211,hp_wmi,bluetooth rtsx_pci 50312 2 rtsx_pci_ms,rtsx_pci_sdmmc mfd_core 13435 2 lpc_ich,rtsx_pci soundcore 15047 2 snd,snd_hda_codec mei_me 23664 0 mei 96067 1 mei_me shpchp 32951 0 thermal 22971 0 battery 23237 0 ac 13335 0 hp_accel 26034 0 lis3lv02d 20156 1 hp_accel hp_wireless 12637 0 intel_smartconnect 12637 0 input_polldev 14607 1 lis3lv02d processor 40484 0 efivarfs 13268 0 dm_crypt 27273 4 algif_skcipher 17322 0 af_alg 14686 1 algif_skcipher crct10dif_pclmul 14268 0 crc32_pclmul 13133 0 crc32c_intel 22094 1 ghash_clmulni_intel 13230 0 aesni_intel 152552 9 aes_x86_64 17131 1 aesni_intel glue_helper 13990 1 aesni_intel lrw 13286 1 aesni_intel gf128mul 14951 1 lrw ablk_helper 13597 1 aesni_intel cryptd 16263 7 ghash_clmulni_intel,aesni_intel,ablk_helper mxm_wmi 13021 0 sr_mod 22416 0 cdrom 60734 1 sr_mod r8169 75790 0 mii 13934 1 r8169 i915 987781 4 i2c_algo_bit 13413 1 i915 drm_kms_helper 65670 1 i915 drm 335594 6 i915,drm_kms_helper xhci_hcd 178893 0 wmi 19193 2 hp_wmi,mxm_wmi video 24419 1 i915 button 13971 1 i915 dm_mirror 22040 0 dm_region_hash 20813 1 dm_mirror dm_log 18411 2 dm_region_hash,dm_mirror dm_mod 111114 17 dm_log,dm_mirror,dm_crypt sg 40630 0