Messages in this thread | | | Date | Sun, 14 Nov 1999 21:47:20 +0100 (MET) | From | Mikael Pettersson <> | Subject | Re: kmod: failed to exec /sbin/modprobe -s -k binfmt-0000, errno=8, 12 |
| |
> I tried to make two floppies - LILO boot and compressed root to be loaded > to ramdisk. The kernel on boot disk is 2.3.28 and I get unending sequence > of messages on the console after it attempts to load the ramdisk: > > kmod: failed to exec /sbin/modprobe -s -k binfmt-0000, errno=8 > kmod: failed to exec /sbin/modprobe -s -k binfmt-0000, errno=12 > > errno=8 is ENOEXEC and 12 is ENOMEM, so I would guess 8 could be caused > by me forgetting to compile ELF support and 12 by specifying the wrong > ramdisk_size so I checked both and they are correct.
Did you compile ELF support as a module? You _have_ to set CONFIG_BINFMT_ELF=y for kmod to work. Otherwise, the first time you trigger kmod it will try to call modprobe, which will trigger a load of the ELF binfmt module, which will try to call modprobe, which will trigger a load of the ELF binfmt module, ... ad infinitum until we die with ENOMEM.
> It looks like a bug in 2.3.28....
There was a change to kmod in 2.3.27, but I fail to see how it could cause the problems you described. If you try 2.3.26, does it still not work?
/Mikael
- 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/
| |