* UML broken - runaway loop modprobe binfmt-464c
@ 2010-02-15 6:47 Adam Nielsen
2010-02-15 11:37 ` Américo Wang
0 siblings, 1 reply; 4+ messages in thread
From: Adam Nielsen @ 2010-02-15 6:47 UTC (permalink / raw)
To: LKML Mailinglist
Hi all,
I've been forced to upgrade an old machine running a couple of UML VMs, but I
can't for the life of me figure out how to make them work on the new machine.
I've compiled the latest kernel from kernel.org with ARCH=um and when I run it
says this a few times and then stops:
request_module: runaway loop modprobe binfmt-464c
From Google it appears the cause of this is when you run a 64-bit system with
a 32-bit kernel, but I'm running a 64-bit kernel with a 32-bit system. I
vaguely recall something about IA32 emulation in the normal kernel build, but
I can't see anything like that in the UML kernel config.
Does anyone know what might fix this?
Many thanks,
Adam.
(please CC)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UML broken - runaway loop modprobe binfmt-464c
2010-02-15 6:47 UML broken - runaway loop modprobe binfmt-464c Adam Nielsen
@ 2010-02-15 11:37 ` Américo Wang
2010-02-15 16:11 ` Jeff Dike
0 siblings, 1 reply; 4+ messages in thread
From: Américo Wang @ 2010-02-15 11:37 UTC (permalink / raw)
To: Adam Nielsen; +Cc: LKML Mailinglist
On Mon, Feb 15, 2010 at 04:47:49PM +1000, Adam Nielsen wrote:
> Hi all,
>
> I've been forced to upgrade an old machine running a couple of UML VMs,
> but I can't for the life of me figure out how to make them work on the
> new machine.
>
> I've compiled the latest kernel from kernel.org with ARCH=um and when I
> run it says this a few times and then stops:
>
> request_module: runaway loop modprobe binfmt-464c
>
> From Google it appears the cause of this is when you run a 64-bit system
> with a 32-bit kernel, but I'm running a 64-bit kernel with a 32-bit
> system. I vaguely recall something about IA32 emulation in the normal
> kernel build, but I can't see anything like that in the UML kernel
> config.
>
> Does anyone know what might fix this?
>
So you are using 32-bit modprobe binary and 64-bit kernel?
This will not work, since kernel binfmt_elf module checks
if e_machine is EM_X86_64.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UML broken - runaway loop modprobe binfmt-464c
2010-02-15 11:37 ` Américo Wang
@ 2010-02-15 16:11 ` Jeff Dike
2010-02-21 3:00 ` Adam Nielsen
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Dike @ 2010-02-15 16:11 UTC (permalink / raw)
To: Américo Wang; +Cc: Adam Nielsen, LKML Mailinglist
On Mon, Feb 15, 2010 at 07:37:30PM +0800, Américo Wang wrote:
> So you are using 32-bit modprobe binary and 64-bit kernel?
>
> This will not work, since kernel binfmt_elf module checks
> if e_machine is EM_X86_64.
Not just 32-bit modprobe - any 32-bit binary on a 64-bit UML will
cause this, I think.
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UML broken - runaway loop modprobe binfmt-464c
2010-02-15 16:11 ` Jeff Dike
@ 2010-02-21 3:00 ` Adam Nielsen
0 siblings, 0 replies; 4+ messages in thread
From: Adam Nielsen @ 2010-02-21 3:00 UTC (permalink / raw)
To: Jeff Dike; +Cc: Américo Wang, LKML Mailinglist
>> So you are using 32-bit modprobe binary and 64-bit kernel?
>>
>> This will not work, since kernel binfmt_elf module checks
>> if e_machine is EM_X86_64.
>
> Not just 32-bit modprobe - any 32-bit binary on a 64-bit UML will
> cause this, I think.
Thanks for the suggestions. After some more investigation and off-list
pointers, it seems the problem is caused because compiling UML for x86_64
doesn't allow you to enable IA32 emulation.
Is this just a case of the Kconfig option being missed, or is there a more
fundamental reason as to why, unlike with the Linux kernel, it's not possible
to run 32-bit apps inside a 64-bit UML?
Thanks,
Adam.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-02-21 3:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 6:47 UML broken - runaway loop modprobe binfmt-464c Adam Nielsen
2010-02-15 11:37 ` Américo Wang
2010-02-15 16:11 ` Jeff Dike
2010-02-21 3:00 ` Adam Nielsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox