On Wed, 7 Jan 2015, Hans de Goede wrote: > Hi, > > On 07-01-15 16:19, Alan Stern wrote: > > On Tue, 6 Jan 2015, Taegil Bae wrote: > > > >> 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 > > > > Clearly there's a bug in the SuperSpeed port-state logic in the hub > > driver. Perhaps Hans can help fix the problems. If not, Mathias (the > > xhci-hcd maintainer) may look at this after he gets back from vacation. > > I'm afraid that I already have too much work on my plate, and that I'm not > 100% into the code in question, so this will have to wait till Mathias is > back. Hans and Mathias: It appears that nobody has looked into this yet. What should Taegil do to help track down the reason for the problem? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html