USB 3.0 storage keep reconnecting after safely removed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=90791

My machine is Thinkpad Yoga with Onelink dock attached. Onelink dock
is a USB 3.0 dock functioning as a USB 3.0 hub. This has two USB 3.0
ports in front. I connected a USB HDD enclosure to one of those ports.
After use, I safely removed the storage device. But immediately that
storage is connected. There is no such issue for laptop body's USB 3.0
ports or Onelink dock's USB 2.0 ports.

I've tested in GNOME GUI and i3 CUI environment. In GNOME, I used
gnome-disk utility. In i3, I echo'ed 1 to that USB 3.0 enclosure
device's sysfs entry 'remove'. There is no difference.

Using Onelink dock's USB 3.0 port:

 1월 05 22:25:51 rapunzel kernel: usb 3-3-port4: logical disconnect
                        <-- safely remove
 1월 05 22:25:51 rapunzel kernel: hub 3-3:1.0: state 7 ports 4 chg 0010 evt 0000
 1월 05 22:25:51 rapunzel kernel: usb 3-3-port4: status 02b0, change
0000, 5.0 Gb/s
 1월 05 22:25:51 rapunzel kernel: usb 3-3.4: USB disconnect, device number 4
 1월 05 22:25:51 rapunzel kernel: usb 3-3.4: unregistering device
 1월 05 22:25:51 rapunzel kernel: hub 3-3:1.0: state 7 ports 4 chg 0000 evt 0010
 1월 05 22:25:51 rapunzel kernel: usb 3-3-port4: reset change
 1월 05 22:25:51 rapunzel kernel: usb 3-3-port4: warm reset change
 1월 05 22:25:51 rapunzel kernel: usb 3-3-port4: status 0203, change
0031, 5.0 Gb/s
 1월 05 22:25:51 rapunzel kernel: usb 3-3-port4: debounce total 100ms
stable 100ms status 0x203
 1월 05 22:25:51 rapunzel kernel: usb 3-3.4: new SuperSpeed USB device
number 5 using xhci_hcd  <-- reconnecting
 1월 05 22:25:51 rapunzel kernel: usb 3-3.4: udev 5, busnum 3, minor = 260
 1월 05 22:25:51 rapunzel kernel: usb-storage 3-3.4:1.0: USB Mass
Storage device detected
 1월 05 22:25:51 rapunzel kernel: scsi host5: usb-storage 3-3.4:1.0
 1월 05 22:25:51 rapunzel kernel: hub 3-3:1.0: state 7 ports 4 chg 0000 evt 0010
 1월 05 22:25:52 rapunzel kernel: scsi 5:0:0:0: Direct-Access
Corsair  Force 3 SSD      5.07 PQ: 0 ANSI: 0
 1월 05 22:25:52 rapunzel kernel: sd 5:0:0:0: [sdb] 234441648 512-byte
logical blocks: (120 GB/111 GiB)
 1월 05 22:25:52 rapunzel kernel: sd 5:0:0:0: [sdb] Write Protect is off
 1월 05 22:25:52 rapunzel kernel: sd 5:0:0:0: [sdb] Mode Sense: 03 00 00 00
 1월 05 22:25:52 rapunzel kernel: sd 5:0:0:0: [sdb] No Caching mode page found
 1월 05 22:25:52 rapunzel kernel: sd 5:0:0:0: [sdb] Assuming drive
cache: write through
 1월 05 22:25:52 rapunzel kernel:  sdb: unknown partition table
 1월 05 22:25:52 rapunzel kernel: sd 5:0:0:0: [sdb] Attached SCSI disk
 1월 05 22:25:53 rapunzel kernel: BTRFS info (device sdb): disk space
caching is enabled
 1월 05 22:25:53 rapunzel kernel: BTRFS: bdev /dev/sdb errs: wr 0, rd
1, flush 0, corrupt 0, gen 0


Using laptop body's USB 3.0 port:

 1월 05 22:28:23 rapunzel kernel: usb usb3-port1: logical disconnect
 1월 05 22:28:23 rapunzel kernel: hub 3-0:1.0: state 7 ports 4 chg 0000 evt 0002
 1월 05 22:28:23 rapunzel kernel: usb usb3-port1: status 0280, change
0001, 5.0 Gb/s
 1월 05 22:28:23 rapunzel kernel: usb 3-1: USB disconnect, device number 7
 1월 05 22:28:23 rapunzel kernel: usb 3-1: unregistering device
 1월 05 22:28:24 rapunzel kernel: usb usb3-port1: debounce total 100ms
stable 100ms status 0x2e0
 1월 05 22:28:24 rapunzel kernel: hub 3-0:1.0: state 7 ports 4 chg 0002 evt 0000
 1월 05 22:28:24 rapunzel kernel: usb usb3-port1: status 02e0, change
0000, 5.0 Gb/s


Thanks,

Taegil
Jan 05 15:27:20 rapunzel kernel: usb 3-3.4: new SuperSpeed USB device number 71 using xhci_hcd
Jan 05 15:27:20 rapunzel kernel: usb-storage 3-3.4:1.0: USB Mass Storage device detected
Jan 05 15:27:20 rapunzel kernel: scsi host62: usb-storage 3-3.4:1.0
Jan 05 15:27:21 rapunzel kernel: scsi 62:0:0:0: Direct-Access     Corsair  Force 3 SSD      5.07 PQ: 0 ANSI: 0
Jan 05 15:27:21 rapunzel kernel: sd 62:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 GiB)
Jan 05 15:27:21 rapunzel kernel: sd 62:0:0:0: [sdb] Write Protect is off
Jan 05 15:27:21 rapunzel kernel: sd 62:0:0:0: [sdb] Mode Sense: 03 00 00 00
Jan 05 15:27:21 rapunzel kernel: sd 62:0:0:0: [sdb] No Caching mode page found
Jan 05 15:27:21 rapunzel kernel: sd 62:0:0:0: [sdb] Assuming drive cache: write through
Jan 05 15:27:21 rapunzel kernel:  sdb: unknown partition table
Jan 05 15:27:21 rapunzel kernel: sd 62:0:0:0: [sdb] Attached SCSI disk
Jan 05 15:27:22 rapunzel kernel: BTRFS info (device sdb): disk space caching is enabled
Jan 05 15:27:22 rapunzel kernel: BTRFS: bdev /dev/sdb errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
Jan 05 15:27:35 rapunzel kernel: usb 3-3.4: USB disconnect, device number 71
Jan 05 15:27:35 rapunzel kernel: usb 3-3.4: new SuperSpeed USB device number 72 using xhci_hcd
Jan 05 15:27:35 rapunzel kernel: usb-storage 3-3.4:1.0: USB Mass Storage device detected
Jan 05 15:27:35 rapunzel kernel: scsi host63: usb-storage 3-3.4:1.0
Jan 05 15:27:36 rapunzel kernel: scsi 63:0:0:0: Direct-Access     Corsair  Force 3 SSD      5.07 PQ: 0 ANSI: 0
Jan 05 15:27:36 rapunzel kernel: sd 63:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 GiB)
Jan 05 15:27:36 rapunzel kernel: sd 63:0:0:0: [sdb] Write Protect is off
Jan 05 15:27:36 rapunzel kernel: sd 63:0:0:0: [sdb] Mode Sense: 03 00 00 00
Jan 05 15:27:36 rapunzel kernel: sd 63:0:0:0: [sdb] No Caching mode page found
Jan 05 15:27:36 rapunzel kernel: sd 63:0:0:0: [sdb] Assuming drive cache: write through
Jan 05 15:27:36 rapunzel kernel:  sdb: unknown partition table
Jan 05 15:27:36 rapunzel kernel: sd 63:0:0:0: [sdb] Attached SCSI disk
Jan 05 15:27:37 rapunzel kernel: BTRFS info (device sdb): disk space caching is enabled
Jan 05 15:27:37 rapunzel kernel: BTRFS: bdev /dev/sdb errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
Jan 05 15:27:48 rapunzel kernel: usb 3-3.4: USB disconnect, device number 72
Jan 05 15:27:48 rapunzel kernel: usb 3-3.4: new SuperSpeed USB device number 73 using xhci_hcd
Jan 05 15:27:48 rapunzel kernel: usb-storage 3-3.4:1.0: USB Mass Storage device detected
Jan 05 15:27:48 rapunzel kernel: scsi host64: usb-storage 3-3.4:1.0
Jan 05 15:27:49 rapunzel kernel: scsi 64:0:0:0: Direct-Access     Corsair  Force 3 SSD      5.07 PQ: 0 ANSI: 0
Jan 05 15:27:49 rapunzel kernel: sd 64:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 GiB)
Jan 05 15:27:49 rapunzel kernel: sd 64:0:0:0: [sdb] Write Protect is off
Jan 05 15:27:49 rapunzel kernel: sd 64:0:0:0: [sdb] Mode Sense: 03 00 00 00
Jan 05 15:27:49 rapunzel kernel: sd 64:0:0:0: [sdb] No Caching mode page found
Jan 05 15:27:49 rapunzel kernel: sd 64:0:0:0: [sdb] Assuming drive cache: write through
Jan 05 15:27:49 rapunzel kernel:  sdb: unknown partition table
Jan 05 15:27:49 rapunzel kernel: sd 64:0:0:0: [sdb] Attached SCSI disk
Jan 05 15:27:49 rapunzel kernel: BTRFS info (device sdb): disk space caching is enabled
Jan 05 15:27:49 rapunzel kernel: BTRFS: bdev /dev/sdb errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
Jan 05 15:27:58 rapunzel kernel: usb 3-3.4: USB disconnect, device number 73
Jan 05 15:27:58 rapunzel kernel: usb 3-3.4: new SuperSpeed USB device number 74 using xhci_hcd
Jan 05 15:27:58 rapunzel kernel: usb-storage 3-3.4:1.0: USB Mass Storage device detected
Jan 05 15:27:58 rapunzel kernel: scsi host65: usb-storage 3-3.4:1.0
Jan 05 15:27:59 rapunzel kernel: scsi 65:0:0:0: Direct-Access     Corsair  Force 3 SSD      5.07 PQ: 0 ANSI: 0
Jan 05 15:27:59 rapunzel kernel: sd 65:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 GiB)
Jan 05 15:27:59 rapunzel kernel: sd 65:0:0:0: [sdb] Write Protect is off
Jan 05 15:27:59 rapunzel kernel: sd 65:0:0:0: [sdb] Mode Sense: 03 00 00 00
Jan 05 15:27:59 rapunzel kernel: sd 65:0:0:0: [sdb] No Caching mode page found
Jan 05 15:27:59 rapunzel kernel: sd 65:0:0:0: [sdb] Assuming drive cache: write through
Jan 05 15:27:59 rapunzel kernel:  sdb: unknown partition table
Jan 05 15:27:59 rapunzel kernel: sd 65:0:0:0: [sdb] Attached SCSI disk
Jan 05 15:27:59 rapunzel kernel: BTRFS info (device sdb): disk space caching is enabled
Jan 05 15:27:59 rapunzel kernel: BTRFS: bdev /dev/sdb errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
Jan 05 15:28:14 rapunzel kernel: usb 3-3.4: USB disconnect, device number 74
Jan 05 15:28:14 rapunzel kernel: usb 3-3.4: new SuperSpeed USB device number 75 using xhci_hcd
Jan 05 15:28:14 rapunzel kernel: usb-storage 3-3.4:1.0: USB Mass Storage device detected
Jan 05 15:28:14 rapunzel kernel: scsi host66: usb-storage 3-3.4:1.0
Jan 05 15:28:15 rapunzel kernel: scsi 66:0:0:0: Direct-Access     Corsair  Force 3 SSD      5.07 PQ: 0 ANSI: 0
Jan 05 15:28:15 rapunzel kernel: sd 66:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 GiB)
Jan 05 15:28:15 rapunzel kernel: sd 66:0:0:0: [sdb] Write Protect is off
Jan 05 15:28:15 rapunzel kernel: sd 66:0:0:0: [sdb] Mode Sense: 03 00 00 00
Jan 05 15:28:15 rapunzel kernel: sd 66:0:0:0: [sdb] No Caching mode page found
Jan 05 15:28:15 rapunzel kernel: sd 66:0:0:0: [sdb] Assuming drive cache: write through
Jan 05 15:28:15 rapunzel kernel:  sdb: unknown partition table
Jan 05 15:28:15 rapunzel kernel: sd 66:0:0:0: [sdb] Attached SCSI disk
Jan 05 15:28:15 rapunzel kernel: BTRFS info (device sdb): disk space caching is enabled
Jan 05 15:28:15 rapunzel kernel: BTRFS: bdev /dev/sdb errs: wr 0, rd 1, flush 0, corrupt 0, gen 0


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux