Skip to contentSkip to conversation

dracut testing for / on usb via pcmcia adapter

DISCUSSION Jon Fairbairn 2 participants 3 messages Jul 15, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi. I have a laptop with a slightly peculiar setup that mkinitrd fails. See <https://bugzilla.redhat.com/show_bug.cgi?id=506356>

I've tried dracut from the git repo, and it currently (as of about half an hour ago) doesn't load the right modules without help. I can get it to make a usable initrd by specifying modules on the command line:

./dracut -l --drivers " yenta_socket rsrc_nonstatic usb_storage ata_generic pata_acpi" ...

so it's promising, but not automatic. I'm happy to test changes as required.

Signature · 7 lines
Jón Fairbairn                                 [email protected]


--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): wf3a8xon3g.fsf-/k+awVDtxEGCvkVaSFhCh/iFDUS/[email protected]

#2 lore raw
Quoted 9 lines · Jon Fairbairn

Hi. I have a laptop with a slightly peculiar setup that mkinitrd fails. See <https://bugzilla.redhat.com/show_bug.cgi?id=506356>

I've tried dracut from the git repo, and it currently (as of about half an hour ago) doesn't load the right modules without help. I can get it to make a usable initrd by specifying modules on the command line:

./dracut -l --drivers " yenta_socket rsrc_nonstatic usb_storage ata_generic pata_acpi" ...

That is a little bit of an odd setup. Are there any initramfs packages that do the Right Thing without any special tweaking for your config?

Quoted 3 lines

so it's promising, but not automatic. I'm happy to test changes as required.

Signature · 7 lines
Victor Lowther
RHCE# 805008539634727
LPIC-2# LPI000140019
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

Victor Lowther <[email protected]>

Quoted 7 lines · writes:
Quoted 4 lines · Jon Fairbairn

Hi. I have a laptop with a slightly peculiar setup that mkinitrd fails. See <https://bugzilla.redhat.com/show_bug.cgi?id=506356>

./dracut -l --drivers " yenta_socket rsrc_nonstatic usb_storage ata_generic pata_acpi" ...

That is a little bit of an odd setup.

Granted.

Quoted 2 lines

Are there any initramfs packages that do the Right Thing without any special tweaking for your config?

I don't know. Up until now I've not been interested in initramfs in the abstract, so I've only ever used the mkinitrd that comes with redhat/fedora on this setup. As I say in the bug report, it worked in fedora 9, and it only requires a small change of order of the commands in the initrd's init to make it work on fedora 11 -- it includes the right modules. Whether it working on fedora 9 was good management or good luck, I can't say.

I'm not sure I understand the import of the question. Given that dracut will produce a working initrd if told what modules to include, isn't it a matter of picking through /sys and such to find what modules are involved in driving the devices that constitute /dev/root and then making sure they are loaded in the initrd?

Signature · 7 lines
Jón Fairbairn                                 [email protected]


--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html