[poky] udev and pci devices

Holger Hans Peter Freyther holger at freyther.de
Thu Sep 15 17:19:37 PDT 2011


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



More information about the poky mailing list