PCMCIA/CF device probe order issue

Richard Purdie rpurdie at rpsys.net
Tue Aug 16 11:51:58 EDT 2005


On Tue, 2005-08-16 at 13:43 +0100, Richard Purdie wrote:
> On Tue, 2005-08-16 at 13:30 +0100, Richard Purdie wrote:
> > On Tue, 2005-08-16 at 13:04 +0200, Christian Zoz wrote:
> > > mount by label or uuid.
> > > Or use udev for persistent device nodes.
> > 
> > You'll have to forgive me as I seem to be missing something obvious
> > here. Can you give me an example of how I specify that I would like to
> > mount the microdrive in the second compact flash slot as the root device
> > from the kernel commandline? (regardless of any card present or not
> > present in the first slot)
> > 
> > Sadly, I'm not in a position to be able to easily use a initrd.
> 
> Thinking further, I suspect disk labels could correctly find the root
> partition and then it becomes a userspace problem. I'll experiment with
> this, thanks.

I've investigated this and both disk labels and uuids require an initrd
so are not viable options on this device.

At present, the only solution I've found is to alter
soc_common_drv_pcmcia_probe() in soc_common.c to iterate backwards
through the socket list instead of forwards...

Richard




More information about the linux-pcmcia mailing list