Re: k 2.6.9: ub module causes /dev/sda and /dev/sda1 not being created

From: Pasi Savolainen
Date: Sat Oct 30 2004 - 05:24:25 EST


* Paulo da Silva <psdasilva@xxxxxxxxxxxx>:
> I had problems with my pen drive.
> Module ub (autolodaded) recognized the pendrive. So /dev/sda
> and /dev/sda1 didn't get created. After removing ub module
> from kernel config I could mount the pen drive as /dev/sda1.

Yes, that bit me with CF card reader too. AFAICS The Right Solution is
to create /dev/ub -devices and use them.

Following worked for me:
- -
mknod /dev/uba b 125 0
mknod /dev/uba1 b 125 1
mknod /dev/uba2 b 125 2
mknod /dev/ubb b 125 8
mknod /dev/ubb1 b 125 9
mknod /dev/ubb2 b 125 10
mknod /dev/ubc b 125 16
mknod /dev/ubc1 b 125 17
mknod /dev/ubc2 b 125 18
- -

/dev/sda1 becomes /dev/uba1 etc.

There is a notion that 125 -major number will be going away?:
<https://lists.one-eyed-alien.net/pipermail/usb-storage/2004-August/000709.html>


--
Psi -- <http://www.iki.fi/pasi.savolainen>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/