[poky] udev and pci devices

Khem Raj raj.khem at gmail.com
Wed Oct 12 12:50:30 PDT 2011


On Fri, Sep 16, 2011 at 5:35 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> 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.

Seems fine to me however
How much size does CONFIG_FEATURE_MODPROBE_BLACKLIST add to busybox
Is there some existing knob that could be used to enable/disable this feature
>
> Cheers,
>
> Richard
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



More information about the poky mailing list