Re: USB3 SSD/HD device file disappears after "eject"

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

 



On Tue, 28 May 2013, Grant wrote:

> OK good point.  In light of this, here's the real problem.  Ejecting
> the SSD results in the "Writing data to device" desktop notification
> persisting on the desktop instead of disappearing after a few seconds
> like it does with my other external drives.  The following messages
> appears in dmesg which does not appear when ejecting my other external
> drives:
> 
> sd 8:0:0:0: [sdb] Synchronizing SCSI cache
> sd 8:0:0:0: Device offlined - not ready after error recovery
> 
> Unplugging and replugging the device does not result in the
> reappearance of the /dev/sdb device file like it does with my other
> external drives.  The only way to bring the /dev/sdb device file back
> is to 'modprobe -r xhci_hcd && modprobe xhci_hcd'.
> 
> I originally wrote a problem report like this but then I convinced
> myself that the *real* problem was the one I described in my previous
> message which Greg proved it is not.

There are two things you can do to help diagnose this.  One is to build 
a kernel with CONFIG_USB_DEBUG enabled and then post the portion of the 
dmesg log showing what happens when you eject, unplug, and replug the 
device.

The other is to capture and post a usbmon trace of the same sequence of 
events.  See Documentation/usb/usbmon.txt.

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




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

  Powered by Linux