Re: kmod: failed to exec /sbin/modprobe -s -k binfmt-0000, errno=8,

Shaw Carruthers (shaw@shawc.demon.co.uk)
Sun, 14 Nov 1999 23:02:41 +0000 (GMT)


On Sun, 14 Nov 1999, Richard Zidlicky wrote:

> On Sun, Nov 14, 1999 at 05:07:29PM +0000, Eleonora Autore wrote:
> > Hi guys,
> >
> > 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.
>
> binfmt-0000 happens to me always when I to exec a zero length file. (2.2.x)
> I guess this could be classified as a kernel bug but no idea why you are
> getting it - unless your ramdisk fs is corrupted.
> No idea what it is trying to execute?
>

You can fix this with:

alias binfmt-0000 off

in /etc/modules.conf.

-- 
Shaw Carruthers - shaw@shawc.demon.co.uk
London SW14 7JW UK
This is not a sig( with homage to Magritte).
  

- 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/