Re: [gentoo-user] external SSD problem
>> > What happens if you issue "umount /mountpoint" from a vt, rather than >> > clicking >> > "eject" in Thunar? >> >> That does work fine as does right-click + Unmount from within Thunar. >> Ejecting from within Thunar seems to be the troublesome one. > > It appears the problem is with Thunar's "eject" command then. IIRC the eject > apps were more, if not especially, intended for CD-ROM devices. At any rate > you need to investigate what is being run when this script is executed when > you press the radio button (or whatever) in Thunar for "eject". > > sys-apps/util-linux obsoleted sys-apps/eject on 06 Sep 2012, and we still > sys-block/eject in portage. Which one does Thunar call? > > Sorry I've no time for investigating, and don't have Thunar installed on any > PC atm. Thanks for your help Bruce. I'm passing this info to linux-usb too. I'll report back with what I find. - Grant
Re: [gentoo-user] external SSD problem
On Thu, May 30, 2013 at 08:15:16AM -0700, Grant wrote: > > > > What happens if you issue "umount /mountpoint" from a vt, rather than > > clicking > > "eject" in Thunar? > > That does work fine as does right-click + Unmount from within Thunar. > Ejecting from within Thunar seems to be the troublesome one. It appears the problem is with Thunar's "eject" command then. IIRC the eject apps were more, if not especially, intended for CD-ROM devices. At any rate you need to investigate what is being run when this script is executed when you press the radio button (or whatever) in Thunar for "eject". sys-apps/util-linux obsoleted sys-apps/eject on 06 Sep 2012, and we still sys-block/eject in portage. Which one does Thunar call? Sorry I've no time for investigating, and don't have Thunar installed on any PC atm. Cheers, Bruce -- Happy Penguin Computers >') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] external SSD problem
>> I just got one of these: >> >> http://www.newegg.com/Product/Product.aspx?Item=N82E16820208913 >> >> It seems to work fine except that once I eject it in Thunar, I get >> this in dmesg: >> >> sd 8:0:0:0: [sdb] Synchronizing SCSI cache >> sd 8:0:0:0: Device offlined - not ready after error recovery >> >> The only way to get the /dev/sdb device back is to 'modprobe -r >> xhci_hcd && modprobe xhci_hcd'. I've tried two different USB3 cables. >> I have an external USB3 hard drive that works fine but /dev/sdb >> doesn't appear after ejecting the SSD unless I modprobe xhci_hcd. >> Should I file a kernel bug? > > What happens if you issue "umount /mountpoint" from a vt, rather than clicking > "eject" in Thunar? That does work fine as does right-click + Unmount from within Thunar. Ejecting from within Thunar seems to be the troublesome one. - Grant
Re: [gentoo-user] external SSD problem
>>I just got one of these: >> >>http://www.newegg.com/Product/Product.aspx?Item=N82E16820208913 >> >>It seems to work fine except that once I eject it in Thunar, I get >>this in dmesg: >> >>sd 8:0:0:0: [sdb] Synchronizing SCSI cache >>sd 8:0:0:0: Device offlined - not ready after error recovery >> >>The only way to get the /dev/sdb device back is to 'modprobe -r >>xhci_hcd && modprobe xhci_hcd'. I've tried two different USB3 cables. >> I have an external USB3 hard drive that works fine but /dev/sdb >>doesn't appear after ejecting the SSD unless I modprobe xhci_hcd. >>Should I file a kernel bug? > > Does it come back after unplugging and reconnecting it? It does not unless I also issue 'modprobe -r xhci_hcd && modprobe xhci_hcd'. Another USB3 HD I have comes back after ejecting, unplugging, and reconnecting, but not the USB3 SSD. - Grant
Re: [gentoo-user] external SSD problem
On Tue, May 28, 2013 at 12:23:25PM -0700, Grant wrote: > I just got one of these: > > http://www.newegg.com/Product/Product.aspx?Item=N82E16820208913 > > It seems to work fine except that once I eject it in Thunar, I get > this in dmesg: > > sd 8:0:0:0: [sdb] Synchronizing SCSI cache > sd 8:0:0:0: Device offlined - not ready after error recovery > > The only way to get the /dev/sdb device back is to 'modprobe -r > xhci_hcd && modprobe xhci_hcd'. I've tried two different USB3 cables. > I have an external USB3 hard drive that works fine but /dev/sdb > doesn't appear after ejecting the SSD unless I modprobe xhci_hcd. > Should I file a kernel bug? > > - Grant Knowing you want to use Thunar, and arriving late in this thread, you may happily press D if this has been discussed... What happens if you issue "umount /mountpoint" from a vt, rather than clicking "eject" in Thunar? Also, hard drives attached via USB give fuzzy results at best. After years of trying many different things/software in Gentoo, now I just hang a serial cable out of my workstation, and an external power adapter close. STILL there are times when it's not behaving properly. Cheers, Bruce -- Happy Penguin Computers >') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] external SSD problem
Grant wrote: >I just got one of these: > >http://www.newegg.com/Product/Product.aspx?Item=N82E16820208913 > >It seems to work fine except that once I eject it in Thunar, I get >this in dmesg: > >sd 8:0:0:0: [sdb] Synchronizing SCSI cache >sd 8:0:0:0: Device offlined - not ready after error recovery > >The only way to get the /dev/sdb device back is to 'modprobe -r >xhci_hcd && modprobe xhci_hcd'. I've tried two different USB3 cables. > I have an external USB3 hard drive that works fine but /dev/sdb >doesn't appear after ejecting the SSD unless I modprobe xhci_hcd. >Should I file a kernel bug? > >- Grant Grant. Does it come back after unplugging and reconnecting it? When you eject a device. The device needs to send a insertion notice for it to be rescanned. Eject was originally designed for removable media in a drive (floppy/cd/dvd/...). Usb stick and harddrives don't always send the newdiskinserted reply to an eject action. There are some that do. I have examples of both at home. -- Joost -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] external SSD problem
Am 28.05.2013 22:39, schrieb Paul Hartman: > You can maybe also post it to the linux-usb mailing list > (linux-...@vger.kernel.org), I think there is at least one person > there who works exclusively on XHCI stuff in the kernel. > > You might also want to check if there are any firmware updates for the > USB3 chipset on your motherboard. lspci should reveal the chipset. My > old motherboard had a flaky USB3 chipset (Renesas/NEC) that could only > be updated from Windows, so I never bothered with updating it, but > there are some that are updatable from within linux or from a DOS boot > disk. A bit different topic but similar: I get problems with using a PL2303 usb-to-serial-adapter lately. Same issue on thinkpad and main desktop pc so that might not be the chipset. Something like this: http://www.geekdevs.com/2010/04/solved-unable-to-enumerate-usb-device-disabling-ehci_hcd/ disabling ehci_hcd disabled my keyboard as well so that is no solution ;-) Maybe I didn't fully understand how to do that ... anyone in here already solved that? I use that pl2303 to access embedded PCs like ALIX or WRAP to configure routers/firewalls ... it would be great to have that available on my thinkpad again. Stefan
Re: [gentoo-user] external SSD problem
>> I just got one of these: >> >> http://www.newegg.com/Product/Product.aspx?Item=N82E16820208913 >> >> It seems to work fine except that once I eject it in Thunar, I get >> this in dmesg: >> >> sd 8:0:0:0: [sdb] Synchronizing SCSI cache >> sd 8:0:0:0: Device offlined - not ready after error recovery >> >> The only way to get the /dev/sdb device back is to 'modprobe -r >> xhci_hcd && modprobe xhci_hcd'. I've tried two different USB3 cables. >> I have an external USB3 hard drive that works fine but /dev/sdb >> doesn't appear after ejecting the SSD unless I modprobe xhci_hcd. >> Should I file a kernel bug? > > You can maybe also post it to the linux-usb mailing list > (linux-...@vger.kernel.org), I think there is at least one person > there who works exclusively on XHCI stuff in the kernel. > > You might also want to check if there are any firmware updates for the > USB3 chipset on your motherboard. lspci should reveal the chipset. My > old motherboard had a flaky USB3 chipset (Renesas/NEC) that could only > be updated from Windows, so I never bothered with updating it, but > there are some that are updatable from within linux or from a DOS boot > disk. Thanks Paul. I'm posting this to linux-usb. My laptop is a Dell XPS13 and here's the lspci -v: 02:00.0 USB controller: Fresco Logic FL1009 USB 3.0 Host Controller (rev 02) (prog-if 30 [XHCI]) Subsystem: Dell Device 052e Flags: bus master, fast devsel, latency 0, IRQ 19 Memory at f040 (64-bit, non-prefetchable) [size=64K] Memory at f041 (64-bit, non-prefetchable) [size=4K] Memory at f0411000 (64-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+ Capabilities: [70] Express Endpoint, MSI 00 Capabilities: [b0] MSI-X: Enable+ Count=8 Masked- Capabilities: [100] Advanced Error Reporting Kernel driver in use: xhci_hcd Kernel modules: xhci_hcd - Grant
Re: [gentoo-user] external SSD problem
On Tue, May 28, 2013 at 2:23 PM, Grant wrote: > I just got one of these: > > http://www.newegg.com/Product/Product.aspx?Item=N82E16820208913 > > It seems to work fine except that once I eject it in Thunar, I get > this in dmesg: > > sd 8:0:0:0: [sdb] Synchronizing SCSI cache > sd 8:0:0:0: Device offlined - not ready after error recovery > > The only way to get the /dev/sdb device back is to 'modprobe -r > xhci_hcd && modprobe xhci_hcd'. I've tried two different USB3 cables. > I have an external USB3 hard drive that works fine but /dev/sdb > doesn't appear after ejecting the SSD unless I modprobe xhci_hcd. > Should I file a kernel bug? You can maybe also post it to the linux-usb mailing list (linux-...@vger.kernel.org), I think there is at least one person there who works exclusively on XHCI stuff in the kernel. You might also want to check if there are any firmware updates for the USB3 chipset on your motherboard. lspci should reveal the chipset. My old motherboard had a flaky USB3 chipset (Renesas/NEC) that could only be updated from Windows, so I never bothered with updating it, but there are some that are updatable from within linux or from a DOS boot disk.
[gentoo-user] external SSD problem
I just got one of these: http://www.newegg.com/Product/Product.aspx?Item=N82E16820208913 It seems to work fine except that once I eject it in Thunar, I get this in dmesg: sd 8:0:0:0: [sdb] Synchronizing SCSI cache sd 8:0:0:0: Device offlined - not ready after error recovery The only way to get the /dev/sdb device back is to 'modprobe -r xhci_hcd && modprobe xhci_hcd'. I've tried two different USB3 cables. I have an external USB3 hard drive that works fine but /dev/sdb doesn't appear after ejecting the SSD unless I modprobe xhci_hcd. Should I file a kernel bug? - Grant