linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rick Weber <riweber@akamai.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev queue never gets executed
Date: Mon, 05 Jan 2009 20:46:57 +0000	[thread overview]
Message-ID: <496271C1.9070909@akamai.com> (raw)
In-Reply-To: <496265D3.8010202@akamai.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I see the basic message that the module has been loaded.  But that's it.
 When I run udevtrigger, I see a ton of other messages execute,
including  the commands I expect to be executed from the insertion of
the md device.

Actually, as part of my "hack", I've done an:

ln -s /etc/rcS.d/S19udevtrigger /sbin/udevtrigger

After that, I don't need to modprobe md_mod any more.  The kernel picks
up the modules correctly.

- --Rick

Kay Sievers wrote:
> On Mon, Jan 5, 2009 at 20:56, Rick Weber <riweber@akamai.com> wrote:
>> Hopefully a quick question.  I'm working on a very hacked kernel (based
>> off of Ubuntu LTS), and trying to get RAID support working.
>>
>> Long story short, after I do a "modprobe md_mod", I need to issue
>> /sbin/udevtrigger to have the udev rules execute.  Running udevd with
>> the debug options on pretty much verifies that the system doesn't want
>> to automatically execute the rules after the modprobe, and won't execute
>> until I do the udevtrigger call.
>>
>> Can you point me in a general direction on where to look?  Is it
>> something as simple as udev is disable, a named pipe needs to get
>> created, or something else?
> 
> Which events do you expect to run? If you run "udevmonitor" while
> loading the module, you see the events the kernel generates.
> 
> Kay
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJYnHAVXWP+RUfdhERAnkTAJ0QY3JBMepxuKYVG0JZEU5HZXvN3QCghKie
waNEmMEY7wlhJXQs3h5g99I=M845
-----END PGP SIGNATURE-----

      parent reply	other threads:[~2009-01-05 20:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05 19:56 udev queue never gets executed Rick Weber
2009-01-05 20:38 ` Kay Sievers
2009-01-05 20:46 ` Rick Weber [this message]

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=496271C1.9070909@akamai.com \
    --to=riweber@akamai.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).