All of lore.kernel.org
 help / color / mirror / Atom feed
From: jim owens <jowens@hp.com>
To: Will Newton <will.newton@gmail.com>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Mounting sysfs early
Date: Fri, 19 Jun 2009 09:26:49 -0400	[thread overview]
Message-ID: <4A3B9219.3020803@hp.com> (raw)
In-Reply-To: <87a5b0800906190415o1c70b6basfde98269dbacd00e@mail.gmail.com>

Will Newton wrote:
> Hi all,
> 
> I currently have a problem with a driver that loads firmware from
> userland. The boot process happens in this order:
> 
> 1. Extract initramfs
> 2. Load drivers
> 3. Run init
> 
> Unfortunately it appears that step 2 is calling the hotplug helper
> which tries to load firmware via sysfs, but sysfs is not mounted until
> I have run init so the driver fails to initialise. What is the
> recommended way to avoid this situation? Do I have to somehow build
> the firmware into the kernel or can I get sysfs mounted before drivers
> begin loading?

you did not say what distro and kernel, but I would expect
sysfs is mounted before step 2 by the intrd.  this is what I
see in a rhel 4.3 I am testing.

what you might be really seeing is

http://bugzilla.kernel.org/show_bug.cgi?id=13178

which I am currently debugging.

jim

  reply	other threads:[~2009-06-19 13:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-19 11:15 Mounting sysfs early Will Newton
2009-06-19 13:26 ` jim owens [this message]
2009-06-19 13:36   ` Will Newton

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=4A3B9219.3020803@hp.com \
    --to=jowens@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=will.newton@gmail.com \
    /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.