[BISECTED] busybox modprobe regression

Denys Vlasenko vda.linux at googlemail.com
Tue Mar 29 17:25:28 UTC 2016


On Fri, Mar 18, 2016 at 10:18 PM, Aaro Koskinen <aaro.koskinen at iki.fi> wrote:
> modprobes are failing for me (with some kernel modules reporting -2)
> with current busybox, and I bisected this to:
>
> commit 3a5cc989025eefe03fda0552b253a4a8f015a761
> Author: Mike Frysinger <vapier at gentoo.org>
> Date:   Fri Feb 12 23:26:51 2016 -0500
>
>     modprobe: only parse files that end in .conf
>
>     This matches behavior with kmod which has been the standard for a long
>     time at this point.
>
>     URL: https://bugs.busybox.net/8021
>     Reported-by: Jö <jorrit at jorrit.de>
>     Signed-off-by: Mike Frysinger <vapier at gentoo.org>
>
> Reverting this patch fixes an issue when modprobing g_ether on OMAP1:
>
>         g_ether omap_udc: failed to start g_ether: -2
>
> Unfortunately I cannot debug this further at the moment (I cannot
> login to the system without g_ether!), but I suspect the issue is
> that the patch seems to also make read_config("modules.symbols") and
> read_config("modules.alias") to fail which are needed to properly handle
> dependencies...


Indeed you are right, those read_config()s won't work.
I committed a fix, please try current git and yell if it still doesn't work.


More information about the busybox mailing list