All of lore.kernel.org
 help / color / mirror / Atom feed
From: Holger Hans Peter Freyther <holger@freyther.de>
To: poky@yoctoproject.org
Subject: udev and pci devices
Date: Fri, 16 Sep 2011 02:19:37 +0200	[thread overview]
Message-ID: <4E729619.9@freyther.de> (raw)

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

2.)
  - remove the 80-drivers.rules and let the modprobe just be executed by the
    other udev rules.

comments?

	holger


             reply	other threads:[~2011-09-16  0:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16  0:19 Holger Hans Peter Freyther [this message]
2011-09-16 12:35 ` udev and pci devices Richard Purdie
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=4E729619.9@freyther.de \
    --to=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.