Re: [gentoo-user] mutt configuration advice
On Tuesday 28 May 2013 02:39:11 Walter Dnes wrote: First, let's look at what mutt *ISN'T*. It's not a singing-dancing all-inclusive integrated monstrosity. It reads email, writes email, and hands it off to your local MTA for delivery. In addition to mutt I also need getmail (or equivalant), procmail, and ssmtp (or equivalant). And the organization of my inboxes controls mutt, not visa versa. I appreciate that this is/was the starting point of mutt, but over the years I understand that mutt has added smtp and is able to use IMAP or POP servers directly. So, am I right to assume that it is not only a simple file reader any more. I have successfully used it with an IMAP server and was able to send and receive, but I'm not entirely sure how to replicate my Gmail settings from Kmail (it errors out, crashes, etc.) My setup here at home... I can receive email from 3 sources... my personal domain MX my Google account my ADSL ISP my emergency backup dialup account I use maildir format storage. I run a script that calls getmail for each account. getmail passes the emails to procmail, which passes the emails to the appropriate inboxes. I set up a separate inbox for each mailing last or group that I belong to. mutt reads the email. It sends to ssmtp, which is a very simplified sendmail. All it does is push the email out the door to my ISP's MTA, which does the real work. I dislike only one thing about ssmtp. It *INSISTS* on installing sendmail symlinks in 3 or 4 different locations, all pointing back to /usr/sbin/ssmtp. My most embarressing moment as a user was when a chatty daemon started sending a bunch of stuff to root@ my ISP. I did not appreciate that. After that, I tightened down what stuff gets sent where by daemons, and set up a script that wipes the symlinks. I have to rerun it after each ssmtp update. Are you sure about this? I do not have sendmail installed, but do have ssmtp. There are symlinks from sendmail to ssmtp, so that various programs that call sendmail can eventually use ssmtp to send out their messages: $ ls -la /usr/sbin/sendmail lrwxrwxrwx 1 root root 5 Jul 9 2011 /usr/sbin/sendmail - ssmtp BTW, I have configured ssmpt to send out messages from root (cron job results) through Gmail, using my gmail account credentials. Will I need to alter this to be able to send out messages from mutt through different smtp relays? Another question: how do you manage your address book? I would need email address autocompletion of some sort and I would also need it to be able to pull in the appropriate public gpg or S/MIME key for the intended recipient and my corresponding private key(s) depending on the account that I am sending from. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!
Hi people! I have come close, according my profession to buy myself the latest Mac Mini Server. Because I do all of my development stuff on Gentoo and Windows, I am highly interested to know if any of you guys is running Mac OS X and Windows beside Gentoo and boot from GRUB. What I hear all the time from other people, is this bootcamp application apple has published a while ago. What is this bootcamp?! Is this a boot-loader or BIOS ?! What is it? If I am not really wrong, I suggest, that bootcamp is nothing else as a bootloader that does in reality nothing else like GRUB. Tamer
Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!
On Tue, May 28, 2013 at 04:09:13PM +0200, Tamer Higazi wrote: Hi people! I have come close, according my profession to buy myself the latest Mac Mini Server. Because I do all of my development stuff on Gentoo and Windows, I am highly interested to know if any of you guys is running Mac OS X and Windows beside Gentoo and boot from GRUB. What I hear all the time from other people, is this bootcamp application apple has published a while ago. What is this bootcamp?! Is this a boot-loader or BIOS ?! What is it? If I am not really wrong, I suggest, that bootcamp is nothing else as a bootloader that does in reality nothing else like GRUB. Tamer Boot Camp is a multi boot utility included with Apple Inc.'s OS X that assists users in installing Microsoft Windows operating systems on Intel-based Macintosh computers. The utility's Boot Camp Assistant guides users through non-destructive disk partitioning (including resizing of an existing HFS+ partition, if necessary) of their hard disk drive and installation of Windows device drivers. The utility also installs a Windows Control Panel applet for selecting the boot operating system. - https://en.wikipedia.org/wiki/Boot_Camp_%28software%29 You might also want to take a look at rEFIt [0] if you want to boot Linux on your Mac Mini. [0] - http://refit.sourceforge.net/ -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on.
Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!
On Tue, May 28, 2013 at 10:14:13AM -0400, staticsafe wrote: On Tue, May 28, 2013 at 04:09:13PM +0200, Tamer Higazi wrote: Hi people! I have come close, according my profession to buy myself the latest Mac Mini Server. Because I do all of my development stuff on Gentoo and Windows, I am highly interested to know if any of you guys is running Mac OS X and Windows beside Gentoo and boot from GRUB. What I hear all the time from other people, is this bootcamp application apple has published a while ago. What is this bootcamp?! Is this a boot-loader or BIOS ?! What is it? If I am not really wrong, I suggest, that bootcamp is nothing else as a bootloader that does in reality nothing else like GRUB. Tamer Boot Camp is a multi boot utility included with Apple Inc.'s OS X that assists users in installing Microsoft Windows operating systems on Intel-based Macintosh computers. The utility's Boot Camp Assistant guides users through non-destructive disk partitioning (including resizing of an existing HFS+ partition, if necessary) of their hard disk drive and installation of Windows device drivers. The utility also installs a Windows Control Panel applet for selecting the boot operating system. - https://en.wikipedia.org/wiki/Boot_Camp_%28software%29 You might also want to take a look at rEFIt [0] if you want to boot Linux on your Mac Mini. [0] - http://refit.sourceforge.net/ Oh apparently rEFIt is no longer actively maintained. Therefore, take a look at rEFInd [0]. [0] - http://www.rodsbooks.com/refind/ -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on.
Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!
Hi! My questions: 1. Do I need bootcamp?! 2. Why am I not able to accomplish this task with grubm and have to take refind ? 3. What would be the way to install Windows, Linux and Mac on 1 hard disk. Would that be possible? I would kindly thank you for your answer. Tamer Boot Camp is a multi boot utility included with Apple Inc.'s OS X that assists users in installing Microsoft Windows operating systems on Intel-based Macintosh computers. The utility's Boot Camp Assistant guides users through non-destructive disk partitioning (including resizing of an existing HFS+ partition, if necessary) of their hard disk drive and installation of Windows device drivers. The utility also installs a Windows Control Panel applet for selecting the boot operating system. - https://en.wikipedia.org/wiki/Boot_Camp_%28software%29 You might also want to take a look at rEFIt [0] if you want to boot Linux on your Mac Mini. [0] - http://refit.sourceforge.net/ Oh apparently rEFIt is no longer actively maintained. Therefore, take a look at rEFInd [0]. [0] - http://www.rodsbooks.com/refind/
[gentoo-user] android-sdk-update-manager, wrong permissions?
Hi, i just emerged dev-util/android-sdk-update-manager-22 (~x86) if I start it, it complains about not being able to create /opt/android-sdk-update-manager/build-tools after I created this directory similar problems followed. On a second try I changed /opt/android-sdk-update-manager/ 's group form 'root' to 'android' and made it group writable drwxrwxr-x 13 root android 4096 28. Mai 12:20 android-sdk-update-manager this solved all problems. Should this be reported as a bug or did i screwed it up somehow? Thanks, frukto
Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!
On Tue, May 28, 2013, at 11:31 AM, Tamer Higazi wrote: Hi! My questions: 1. Do I need bootcamp?! You don't need bootcamp, but it does make the windows install more streamlined. You will probably still want bootcamp to install the apple drivers post-install regardless. The drivers are the OS X install dvd. 2. Why am I not able to accomplish this task with grubm and have to take refind ? I have never had any luck getting grub to boot OS X. It might be possible for grub to load refit/refind, but I've not tried this. 3. What would be the way to install Windows, Linux and Mac on 1 hard disk. Would that be possible? Yes, there are several ways to do this. If I remember right, here's how I did it. 1) Partition the disk from the OS X install dvd using the gpt partition table, then install OS X. 2) Boot into OS X and install refit or refind. 3) Install Windows. Refit should recognize the windows install dvd, if it doesn't, restart with the option key held down. Make sure to install windows to one of the first three partitions. After the install if you have trouble booting you may have to reinstall refit. Just use the option key to select your boot partition. 4) Install linux. I used grub 1 as the linux bootloader, installed to the linux boot partition so that it wouldn't mess with refit.
Re: [gentoo-user] android-sdk-update-manager, wrong permissions?
On Tue, 28 May 2013 20:49:17 +0200 fruktopus frukto...@gmail.com wrote: Hi, i just emerged dev-util/android-sdk-update-manager-22 (~x86) if I start it, it complains about not being able to create /opt/android-sdk-update-manager/build-tools after I created this directory similar problems followed. On a second try I changed /opt/android-sdk-update-manager/ 's group form 'root' to 'android' and made it group writable drwxrwxr-x 13 root android 4096 28. Mai 12:20 android-sdk-update-manager this solved all problems. Should this be reported as a bug or did i screwed it up somehow? Thanks, frukto I confirm, i had the same issue with 21.1. And i think this is a bug.
Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!
Seems to be that GRUB2 auto detects Snow Leopard partitions. So you are right, installing Mac OS X, then windows, then Linux with Grub2: http://www.insanelymac.com/forum/topic/189079-grub2-as-the-only-boot-loader-its-possible/ But there is one more problem at the whole thing.. We can't have more then 4 primary partitions on a hard disk. Gentoo needs 2 partitions, /boot and a Virtual partition (that count's as well as one primary) with all the other folders. Windows will create 2. and Mac OSX minimum 1, am I right?! Tamer Am 28.05.2013 21:07, schrieb Andy Laursen: On Tue, May 28, 2013, at 11:31 AM, Tamer Higazi wrote: Hi! My questions: 1. Do I need bootcamp?! You don't need bootcamp, but it does make the windows install more streamlined. You will probably still want bootcamp to install the apple drivers post-install regardless. The drivers are the OS X install dvd. 2. Why am I not able to accomplish this task with grubm and have to take refind ? I have never had any luck getting grub to boot OS X. It might be possible for grub to load refit/refind, but I've not tried this. 3. What would be the way to install Windows, Linux and Mac on 1 hard disk. Would that be possible? Yes, there are several ways to do this. If I remember right, here's how I did it. 1) Partition the disk from the OS X install dvd using the gpt partition table, then install OS X. 2) Boot into OS X and install refit or refind. 3) Install Windows. Refit should recognize the windows install dvd, if it doesn't, restart with the option key held down. Make sure to install windows to one of the first three partitions. After the install if you have trouble booting you may have to reinstall refit. Just use the option key to select your boot partition. 4) Install linux. I used grub 1 as the linux bootloader, installed to the linux boot partition so that it wouldn't mess with refit.
[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
Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!
On Tue, May 28, 2013, at 02:21 PM, Tamer Higazi wrote: Seems to be that GRUB2 auto detects Snow Leopard partitions. So you are right, installing Mac OS X, then windows, then Linux with Grub2: http://www.insanelymac.com/forum/topic/189079-grub2-as-the-only-boot-loader-its-possible/ But there is one more problem at the whole thing.. We can't have more then 4 primary partitions on a hard disk. Gentoo needs 2 partitions, /boot and a Virtual partition (that count's as well as one primary) with all the other folders. Windows will create 2. and Mac OSX minimum 1, am I right?! Your Windows partitions have to be in the first four, but OSX and linux partitions can be anywhere thanks to the gpt partition table.
Re: [gentoo-user] external SSD problem
On Tue, May 28, 2013 at 2:23 PM, Grant emailgr...@gmail.com 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.
Re: [gentoo-user] android-sdk-update-manager, wrong permissions?
On 28/05/2013 21:11, codekick wrote: On Tue, 28 May 2013 20:49:17 +0200 fruktopus frukto...@gmail.com wrote: Hi, i just emerged dev-util/android-sdk-update-manager-22 (~x86) if I start it, it complains about not being able to create /opt/android-sdk-update-manager/build-tools after I created this directory similar problems followed. On a second try I changed /opt/android-sdk-update-manager/ 's group form 'root' to 'android' and made it group writable drwxrwxr-x 13 root android 4096 28. Mai 12:20 android-sdk-update-manager this solved all problems. Should this be reported as a bug or did i screwed it up somehow? Thanks, frukto I confirm, i had the same issue with 21.1. And i think this is a bug. It's probably a bug, you should report it at b.g.o. I had the same problem years ago (back when the first Android phone - the HTC G1 - was all the rage...) The root problem is that Google assumes the sdk will be run in from home directory, not /opt, so the ebuild must take care of proper owner and perms. It's an easy thing for a dv to slip up on. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] kernel panick after time while compiling....
On 28 May 2013, at 06:38, Mick wrote: ... If it is not a memory issue, then it may well be a power supply issue. My old PC started playing up lately (e.g. a couple of kernel panics when shutting down, or freezing at random) and I discovered some domed capacitors in the PSU. I will similarly be buying a new machine soon, although I may bother myself with replacing the capacitors at some point. When fixing PCs as a fulltime occupation, I found the PSU to be the most common cause of random and inexplicable crashes - slightly more often, I would say, than bad or overheating RAM, but with symptoms generally indistinguishable. Many computer enthusiasts will look down on £20 or £30 PSUs, but I don't think that spending 2 or 3 times as much would have had any benefit for the users I serviced. Stroller.
Re: [gentoo-user] kernel panick after time while compiling....
It's usually a quality power supply unit, that made it 6 years. However, what I find totally strange, at the same time. That applications die during my work. Totally strange, like clock dies, and restarts. Eclipse dies, firefox dies. I have the feeling that memory and power supply are making me headache. windows died yesterday during installation of .NET SP 4.5 fixes. The machine drives me nuts However, I am getting myself a new machine. Tamer Am 28.05.2013 23:34, schrieb Stroller: On 28 May 2013, at 06:38, Mick wrote: ... If it is not a memory issue, then it may well be a power supply issue. My old PC started playing up lately (e.g. a couple of kernel panics when shutting down, or freezing at random) and I discovered some domed capacitors in the PSU. I will similarly be buying a new machine soon, although I may bother myself with replacing the capacitors at some point. When fixing PCs as a fulltime occupation, I found the PSU to be the most common cause of random and inexplicable crashes - slightly more often, I would say, than bad or overheating RAM, but with symptoms generally indistinguishable. Many computer enthusiasts will look down on £20 or £30 PSUs, but I don't think that spending 2 or 3 times as much would have had any benefit for the users I serviced. Stroller.
Re: [gentoo-user] kernel panick after time while compiling....
Tamer Higazi wrote: It's usually a quality power supply unit, that made it 6 years. However, what I find totally strange, at the same time. That applications die during my work. Totally strange, like clock dies, and restarts. Eclipse dies, firefox dies. I have the feeling that memory and power supply are making me headache. windows died yesterday during installation of .NET SP 4.5 fixes. The machine drives me nuts However, I am getting myself a new machine. Tamer On a really really old system many years ago, I had random reboots, lock ups and such. I swapped P/S, memory and other components that I could but it still did it. I finally figured it had to be something hard wired on the motherboard and just replaced the whole thing. I figure a controller chip or something was the problem. One thing about puters and random problems, they are hard to nail down. P/S and memory are a common problem but something bad on the mobo can give the same symptoms. Basically, you have to replace stuff until it stops doing whatever it shouldn't be doing. I have seen people have enough parts to build a second rig short the case of course. As always, it is the last thing you replace and sometimes it can be the last thing you CAN replace. ;-) Personally, I'd prefer one that doesn't work at all. Tends to narrow it down a lot. If replacing the P/S don't fix it, time for a new build. It is dead. For a 6 year old puter, I'd just have to try fixing it tho. I usually get at least 8 years out of a build. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] kernel panick after time while compiling....
On 29/05/2013 00:25, Dale wrote: I have seen people have enough parts to build a second rig short the case of course. As always, it is the last thing you replace and sometimes it can be the last thing you CAN replace. ;-) Of course it's always the last thing you replace that fixes it, how could it be any other way? Unless you carry on replacing bits after the problem is fixed... Just sayin' :-) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] mutt configuration advice
On Mon, May 27, 2013 at 09:50:55PM -0400, staticsafe wrote Hi, New mutt user here. I'm curious as to why you are using ssmtp, mutt can talk SMTP directly. That simplifies thing as well regarding the sendmail symlinks. I normally send my email out via my ADSL ISP (teksavvy.com). My normal /etc/ssmtp/ssmtp.conf is a copy of /etc/ssmtp.teksavvy.ssmtp.conf Let's assume that there's an outage at Teksavvy. I then use my dialup account at 295.ca via my USB dialup modem. The script ~/bin/udialup consists of... #!/bin/bash sudo /bin/cp -f /etc/ssmtp/295.ssmtp.conf /etc/ssmtp/ssmtp.conf sudo /usr/sbin/pon u295.ca When I finish the dialup session, I execute ~/bin/dialdown... #!/bin/bash /usr/bin/sudo /usr/sbin/poff /usr/bin/sudo /bin/cp -f /etc/ssmtp/teksavvy.ssmtp.conf /etc/ssmtp/ssmtp.conf I can switch between ADSL and dialup without reconfiguring mutt. As I said, I'm a long time mutt user, and it didn't have smtp when I started using it. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] kernel panick after time while compiling....
Dale! I am getting now myself a Mac OSX Mini Server with 8GB or 16GB RAM, and get OSX, Windows and Gentoo there on a disk to run. That's it! Proper screen with a very high resolution, and I am happy, and I am back coding. For future travels, My CPU makes with me the journey all the time :) :) :) Tamer Am 29.05.2013 00:25, schrieb Dale: On a really really old system many years ago, I had random reboots, lock ups and such. I swapped P/S, memory and other components that I could but it still did it. I finally figured it had to be something hard wired on the motherboard and just replaced the whole thing. I figure a controller chip or something was the problem. One thing about puters and random problems, they are hard to nail down. P/S and memory are a common problem but something bad on the mobo can give the same symptoms. Basically, you have to replace stuff until it stops doing whatever it shouldn't be doing. I have seen people have enough parts to build a second rig short the case of course. As always, it is the last thing you replace and sometimes it can be the last thing you CAN replace. ;-) Personally, I'd prefer one that doesn't work at all. Tends to narrow it down a lot. If replacing the P/S don't fix it, time for a new build. It is dead. For a 6 year old puter, I'd just have to try fixing it tho. I usually get at least 8 years out of a build. Dale :-) :-)
Re: [gentoo-user] kernel panick after time while compiling....
Alan McKinnon wrote: On 29/05/2013 00:25, Dale wrote: I have seen people have enough parts to build a second rig short the case of course. As always, it is the last thing you replace and sometimes it can be the last thing you CAN replace. ;-) Of course it's always the last thing you replace that fixes it, how could it be any other way? Unless you carry on replacing bits after the problem is fixed... Just sayin' :-) My point was the second part tho. That sometimes it is the last thing you CAN replace. At that point, short having a new case, you have the parts for a new puter. I don't get into replacing chips on mobos and such as that. A capacitor in the P/S maybe but not messing with the mobo stuff. So, to be more clear, if you replace the P/S, memory, mobo and maybe a CPU or something, you can just put those together and have a new rig. Make a door stop out of the other one. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] mutt configuration advice
On Tue, May 28, 2013 at 12:55:54PM +0100, Mick wrote I appreciate that this is/was the starting point of mutt, but over the years I understand that mutt has added smtp and is able to use IMAP or POP servers directly. So, am I right to assume that it is not only a simple file reader any more. I did say I'm a long time user of mutt ;) I didn't realize that it has added smtp. Are you sure about this? I do not have sendmail installed, but do have ssmtp. There are symlinks from sendmail to ssmtp, so that various programs that call sendmail can eventually use ssmtp to send out their messages: $ ls -la /usr/sbin/sendmail lrwxrwxrwx 1 root root 5 Jul 9 2011 /usr/sbin/sendmail - ssmtp I get ssmtp symlinks to... /usr/bin/sendmail /usr/sbin/sendmail /usr/lib64/sendmail BTW, I have configured ssmpt to send out messages from root (cron job results) through Gmail, using my gmail account credentials. Will I need to alter this to be able to send out messages from mutt through different smtp relays? I have one main machine at home, and I *DON'T* want daemons mailing stuff out all over the place, so my problem is quite different from yours. I think that daemons *EXPECT* a file or symlink called sendmail to accept their email. If you want daemons sending log mails, then you need something that emulates sendmail. Another question: how do you manage your address book? I would need email address autocompletion of some sort The file ~/.mutt/.aliases is where addresses are stored. E.g. the line for this mailing list is... alias gentoo gentoo-user@lists.gentoo.org (Gentoo Users List) I hit m for mail compose. When prompted for To:, I type in... gen ...and hit {TAB}, which gives gentoo. This is replaced with... gentoo-user@lists.gentoo.org (Gentoo Users List) and I would also need it to be able to pull in the appropriate public gpg or S/MIME key for the intended recipient and my corresponding private key(s) depending on the account that I am sending from. I don't do PGP, so I'm not able to answer that question. Here's something from the mutt manual that might be what you're looking for... http://www.mutt.org/doc/manual/manual-3.html#ss3.19 3.19 Choosing the PGP key of the recipient Usage: pgp-hook pattern keyid When encrypting messages with PGP, you may want to associate a certain PGP key with a given e-mail address automatically, either because the recipient's public key can't be deduced from the destination address, or because, for some reasons, you need to override the key Mutt would normally use. The pgp-hook command provides a method by which you can specify the ID of the public key to be used when encrypting messages to a certain recipient. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
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