insmod broken in 1.12.0

Denys Vlasenko vda.linux at googlemail.com
Wed Sep 3 22:36:16 UTC 2008


On Monday 01 September 2008 09:42, Tobias Poschwatta wrote:
> On Sun, Aug 31, 2008 at 11:58:41PM +0200, Denys Vlasenko wrote:
> > Looks like "standard" insmod works the same?
> > 
> > # /app/module-init-tools-0.9.15-pre2/sbin/insmod camellia
> > insmod: can't read 'camellia': No such file or directory
> 
> When was 0.9.15-pre2 released?
> 
> I have module-init-tools-3.4 and insmod works as expected, even after
> moving /lib/modules/`uname -r` out of the way, copying the module file
> to e.g. /tmp, and renaming it to xxx.ko.

Still can't reproduce.

# /usr/app/module-init-tools-3.4/sbin/insmod --version
module-init-tools version 3.4

# /usr/app/module-init-tools-3.4/sbin/insmod camellia
insmod: can't read 'camellia': No such file or directory

strace -o log /usr/app/module-init-tools-3.4/sbin/insmod camellia

log:
...
open("camellia", O_RDONLY)              = -1 ENOENT (No such file or directory)
write(2, "insmod: can\'t read \'camellia\': N"..., 57) = 57
exit_group(1)                           = ?

It does not seem to search any paths.

> insmod in busybox up to 1.11.2 works as expected. 1.12.0 is the first
> version that doesn't.

Please provide a full command line and strace log of both
with the following strace parameters:

strace -o log -tt -s 99 /path/to/busybox/insmod ...

--
vda



More information about the busybox mailing list