udev vs SATA Drives

Kurt Wall kwall
Sat Feb 11 08:51:30 PST 2006


Ugh. I have a SATA drive -- works fine once it is mounted. For the
purposes of the current issue, I have sata_sil, the driver for my SATA
controller, compiled statically into the kernel (i.e., sata_sil isn't a
loadable module).

I have a swap partition on the /dev/sda1 and an XFS partition on 
/dev/sda2. I'm running a custom kernel on Slamd64, a 64-bit Slackware
clone.

If I disable udev and use a static /dev directory, the system boots,
turns on swap and mount /dev/sda2. All is well.

If I enable udev, the system boots, tries and fails to turn on the swap 
device and tries and fails to mount /dev/sda2. Error messages are:

...
SGI XFS with large block/inode numbers, no debug enabled
mount: special device /dev/sda2 does not exist
swapon: cannot stat /dev/sda1: No such file or directory
Using /etc/random-seed to initialize /dev/urandom.
...

So, clearly udev isn't seeing the SATA device early enough in the boot
process to set up the /dev entries before they need to be sused.

I'm open to ideas.

Thanks,

kurt
-- 
You have the body of a 19 year old.  Please return it before it gets
wrinkled.


More information about the Linux-users mailing list