All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Holger Hans Peter Freyther <holger@freyther.de>
Cc: poky@yoctoproject.org
Subject: Re: udev and pci devices
Date: Fri, 16 Sep 2011 13:35:00 +0100	[thread overview]
Message-ID: <1316176509.20858.4.camel@ted> (raw)
In-Reply-To: <4E729619.9@freyther.de>

On Fri, 2011-09-16 at 02:19 +0200, Holger Hans Peter Freyther wrote:
> Hi all,
> 
> we stumbled across an issue of udev and busybox/modprobe. udev detects a PCI
> device and according to udevadm test it is selecting:
> 
> udev_rules_apply_to_event: RUN '/sbin/modprobe -bv $env{MODALIAS}'
> /lib/udev/rules.d/80-drivers.rules:5
> udev_rules_apply_to_event: RUN '/sbin/modprobe $env{MODALIAS}'
> /etc/udev/rules.d/local.rules:31
> 
> 
> but as the busybox modprobe does not support the 'b' option it just fails
> before executing the other rules. There are some possible fixes to it.
> 
> 1.)
>   - remove the local.rules rule for loading the module
>   - build busybox with CONFIG_FEATURE_MODPROBE_BLACKLIST for -b support

This sounds like the correct thing to do I think since the
80-driver.rules file is coming from upstream, the local.rules piece is
our extras piece.

Cheers,

Richard



  reply	other threads:[~2011-09-16 12:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16  0:19 udev and pci devices Holger Hans Peter Freyther
2011-09-16 12:35 ` Richard Purdie [this message]
2011-10-12 19:50   ` Khem Raj
2011-10-01 18:34 ` Holger Hans Peter Freyther
2011-10-12 19:41   ` Holger Hans Peter Freyther
2011-10-12 19:47     ` Mark Hatle
2011-10-13  8:45       ` Holger Hans Peter Freyther

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=1316176509.20858.4.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=holger@freyther.de \
    --cc=poky@yoctoproject.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.