Re: Kmod problem?

Kirk Petersen (kirk@speakeasy.org)
Fri, 28 May 1999 11:23:13 -0700


> kmod: failed to exec /sbin/modprobe -s -k binfmt-464c, errno=8
> request_module[binfmt-464c]: fork failed, errno 11
>
> and loops this message indefinatley.
> This happens even when using no modules or support for them compiled in.

Did you answer 'M' to 'Kernel support for ELF binaries'?

sprintf(modname, "binfmt-%04x", *(unsigned short *)(&bprm->buf[2]));
request_module(modname);

where bprm->buf[2] is read from the start of the executable and 46 is
'F' and 4c is 'L'. That makes me think that you compiled ELF bin
support as a module. That would easily lead to a recursive loop since
init will require binfmt-464c and try to exec modprobe to load it,
which will require binfmt-464c, and so on.

-- 
Kirk Petersen
www.speakeasy.org/~kirk/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/