Re: [PATCH 2/3] kbuild: handle module compression while running 'make modules_install'.

Willy Tarreau
2014-10-12T16:40:42Z

Hi,

On Sun, Oct 12, 2014 at 11:50:59AM -0400, Andev wrote:
> Hello Bertrand,
>
> Does this need any user space support? Cos currently on a debian
> testing box(powerpc) enabling this options causes a boot hang while
> mounting the root file system.

I suspect that your module-ini-tools/kmod are built without support for
compressed modules. One method to verify this is to run it against ldd :

$ ldd /sbin/modprobe
linux-vdso.so.1 (0x00007fff918ed000)
libkmod.so.2 => /lib64/libkmod.so.2 (0x00007ff9317f1000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff9315d5000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff931214000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007ff930ff2000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00007ff930ddd000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff931a06000)

As you can see, mine depends on liblzma and libz so it was clearly built
with support for both of them.

Regards,
Willy