From: Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
To: cooker@linux-mandrake.com,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [Cooker] help! modprobe can't locate binfmt-0000 ?
Date: Thu, 08 Mar 2001 09:40:06 +0100 [thread overview]
Message-ID: <3AA74566.2EC76FFA@vz.cit.alcatel.fr> (raw)
In-Reply-To: <Pine.A41.4.10.10103071340430.90026-100000@acs5.acs.ucalgary.ca>
Daniel Woods a écrit :
> > I loaded the latest from sunsite.uio.no about 6:00 PM CST, then
> > tried to reboot. I get the following message about 6 times, then
> > Aurora tries to start, then I get it like 4 more times, then the system
> > locks up. The message :
> >
> > modprobe: modprobe: Can't locate module binfmt-0000
> >
> > What does this mean, and more important - how can I fix it?
> > Vinny
>
> You most likely have a binary program corrupted or file size 0.
>
> I had this problem with /sbin/ipchains somehow set to file size 0.
> Re-installing the proper RPM fixed the problem for me.
>
With the foolowing patch, I have identified the weird file:
diff -Bbu /src/linux/fs/exec.c.orig /src/linux/fs/exec.c
--- exec.c.orig Wed Mar 7 21:47:33 2001
+++ exec.c Wed Mar 7 21:47:20 2001
@@ -826,6 +826,7 @@
printable(bprm->buf[2]) &&
printable(bprm->buf[3]))
break; /* -ENOEXEC */
+printk("execmod:%s\n",bprm->filename);
sprintf(modname, "binfmt-%04x", *(unsigned short *)(&bprm->buf[2]));
request_module(modname);
#endif
And I got:
#Mar 7 21:40:56 bcv66vbb kernel: execmod:/etc/X11/xinit.d/msec
#Mar 7 21:40:56 bcv66vbb modprobe: modprobe: Can't locate module binfmt-0000
Could this patch, or a better one, testing the result of request_module
be included in the kernel source. modprobe message have not enough information
next parent reply other threads:[~2001-03-08 8:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.A41.4.10.10103071340430.90026-100000@acs5.acs.ucalgary.ca>
2001-03-08 8:40 ` Christian Gennerat [this message]
2001-03-08 13:22 ` /etc/X11/xinit.d/msec (was: Re: [Cooker] help! modprobe can't locate binfmt-0000 ?) Sebastian Dransfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AA74566.2EC76FFA@vz.cit.alcatel.fr \
--to=christian.gennerat@vz.cit.alcatel.fr \
--cc=cooker@linux-mandrake.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®