Missing /dev/sd* in slackware 13
by BenV on Jul.11, 2010, under Software
I’ve bashed my head into this problem at least three times now, so after finally running to google …. it made me search more than I liked.
The problem descriptions:
* Your system boots fine (maybe because it’s running on software raid), but your /dev/sd* files are gone.
* Your system doesn’t boot anymore, complaining about not finding your boot device when booting your custom kernel, but the stock kernel does work.
* Mounting partitions doesn’t work anymore, saying stuff like mount: special device /dev/sda does not exist
Reason:
* Your custom kernel has CONFIG_SYSFS_DEPRECATED enabled. To find out:
benv@uil$ zcat /proc/config.gz | grep CONFIG_SYSFS_DEPRECATED
CONFIG_SYSFS_DEPRECATED=y
Since udev version 151 (or something close to that) this will sparsely populate /dev. Yay.
If you don’t believe it, check out /usr/share/doc/udev-*/README:
- Udev will not work with the CONFIG_SYSFS_DEPRECATED* option.
Another problem solved.