From: Richard Zidlicky <rz@linux-m68k.org>
To: "Dr. David Alan Gilbert" <gilbertd@treblig.org>
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.arm.linux.org.uk, mec@shout.net
Subject: Re: Of hanging menuconfig [cause found]
Date: Sat, 24 Aug 2002 21:21:44 +0200 [thread overview]
Message-ID: <20020824212144.B746@linux-m68k.org> (raw)
In-Reply-To: <20020824151329.GB735@gallifrey>; from gilbertd@treblig.org on Sat, Aug 24, 2002 at 04:13:29PM +0100
On Sat, Aug 24, 2002 at 04:13:29PM +0100, Dr. David Alan Gilbert wrote:
> Hi,
> make menuconfig will hang just after the parsing in the
> activate_menu loop in the case where the file scripts/lxdialog/lxdialog
> won't execute. Some error codes in this case are caught; but the case
> where the file scripts/lxdialog/lxdialog is a binary for the wrong
> architecture (case 126) is not caught. This is quite easy to trip if
> you are swapping between native and cross building - you get a couple of
> errors when you try and build make menuconfig for the first time about
> wrong binaries; in my case I just deleted those binaries and did the
> make again; however this failure is silent - it just hangs.
>
> A make mrproper is probably the best thing to do when switching - but
> the error case needs catching, and I'm sure there are other similar
> cases.
look at dmesg and add an
alias binfmt-xxxx off
to /etc/modules.conf so similar problems get caught properly - unless
you want to actually use an emulator for this architecture of course :)
This is one of the cases where I wish kmod would do something more
intelligent by default than endless loop. Would it be a good idea
to attempt loading of emulator modules only for formats that are
previously somehow registered + a few well known like aout,misc,elf?
Looking at exec.c, why isn't the result of request_module() tested?
Richard
next prev parent reply other threads:[~2002-08-25 8:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-24 15:13 Dr. David Alan Gilbert
2002-08-24 19:21 ` Richard Zidlicky [this message]
2002-08-25 9:11 ` Russell King
2002-08-24 20:58 ` Sam Ravnborg
2002-08-24 22:36 ` Dr. David Alan Gilbert
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=20020824212144.B746@linux-m68k.org \
--to=rz@linux-m68k.org \
--cc=gilbertd@treblig.org \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mec@shout.net \
/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®