USB device probing is inconsistent
I think this problem is caused by udev, but maybe also the kernel.
I just bought 3 new USB backup drives, WD My Passport brand, 2TB each. I have Slackware64-current installed from the packages as of 2013-08-21. When I boot up the system installed on the /dev/sda hard drive on SATA (there is also /dev/sdb on SATA), with one new USB drive plugged in, the USB drive does not come up in /proc/partitions, not even the whole drive line. If I unplug the drive, then plug it back in, then it does show up as /dev/sdc.
But this is MOST of the time. ONE time it did show up in the initial boot, as /dev/sdh. But even then replugging it changed it to /dev/sdc.
When I boot the install DVD, it always shows up in that system as dev/sdh.
But in the cases where it does not show up in /proc/partitions, it does show up in the output of "lsusb -t" as a storage device.
And udev is always reporting errors on devices up through /dev/sdg. Is it just a bad udev configuration? udev seems to always be a big trouble maker, and it has one of the most difficult configuration schemes I have ever seen (requires knowledge about existing devices when the goal should be to operate correctly regardless of the devices).
I'm actually wanting to install Slackware on the USB drive as a backup system. I probably could install it. But apparently when I boot it, it won't see its root filesystem device and won't be able to run.
You could always try to remove udev and replace it with mdev and hotplug. Few guys had a similar setup working with Gentoo a while back.
It will eliminate auto-mounting drives, meaning you'll have to setup optical drives manually and mount stuff by hand, but it works fairly well if udev is being a total pain and needs to be sacrificed and put to death.
Hotplug's last Slackware source and binary package should work with modern systems, though you may want to pour over the legacy scripts to make sure they're up-to-date. Hotplug should be able to work where mdev doesn't with auto-detecting devices and loading the driver modules for them.
Source (and SlackBuild):
Information on mdev can be found here:
Be warned, this is a rather advanced method to solving udev issues, and shouldn't be attempted unless udev absolutely has to be gotten rid of.
There is also Hotplug2 you can look into as well:
|All times are GMT -5. The time now is 03:49 AM.|