All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Mansfield <patmans@us.ibm.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: [ANNOUNCE] yaird, a mkinitrd based on hotplug concepts
Date: Tue, 22 Feb 2005 19:26:09 +0000	[thread overview]
Message-ID: <20050222192609.GA16273@us.ibm.com> (raw)
In-Reply-To: <20050217210620.A20645@banaan.localdomain>

On Tue, Feb 22, 2005 at 02:51:10PM +0300, Roman Kagan wrote:

> BTW one more item to track the dependencies for (in case you don't have
> enough :) is the firmware files.  You can identify which modules may
> need firmware by checking their dependency on firmware_class, but I see
> no way of knowing which firmware files they are going to request.  To
> make it worse, firmware is the (only) kind of hotplug events which can
> be neither delayed (due to limited timeout) nor postponed to be replayed
> later on.

Hi -

Maybe we need in module.h:

#define MODULE_FIRMWARE(_firmware) MODULE_INFO(firmware, _firmware)

And use it for any module that can generate a call to request_firmware().
(Too bad we can't hook right into request_firmware(), since some callers
pass variables as the name.)

Then the *rd generator queries the modules and copies any "firmware" file
from /lib/firmware into the initrd/ramfs.


Why is there no file system reader (like grub has)? So the initrd could just
copy files off of a file system as needed without mounting them.  There
are probably device naming / slippage problems with using a physical path
especially for scsi: usb mass storage, SAS/SATA, SPI, FC etc. But are
those bad enough to reject such an approach?

-- Patrick Mansfield


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2005-02-22 19:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-17 20:06 [ANNOUNCE] yaird, a mkinitrd based on hotplug concepts Erik van Konijnenburg
2005-02-17 20:06 ` Erik van Konijnenburg
2005-02-17 21:50 ` Jeff Garzik
2005-02-17 21:50   ` Jeff Garzik
2005-02-17 22:50 ` Roman Kagan
2005-02-19  2:00 ` Erik van Konijnenburg
2005-02-19 17:28 ` Andreas Jellinghaus
2005-02-21 19:13   ` Erik van Konijnenburg
2005-02-22 11:51 ` Roman Kagan
2005-02-22 17:48 ` Harald Hoyer
2005-02-22 19:26 ` Patrick Mansfield [this message]
2005-02-22 20:03 ` Roman Kagan
2005-02-22 21:25 ` Erik van Konijnenburg
2005-02-22 21:48 ` Erik van Konijnenburg
2005-02-22 22:57 ` Erik van Konijnenburg
2005-03-17  8:26 ` Werner Almesberger
2005-03-17  8:26   ` Werner Almesberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050222192609.GA16273@us.ibm.com \
    --to=patmans@us.ibm.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.