Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UML broken - runaway loop modprobe binfmt-464c

14 views
Skip to first unread message

Adam Nielsen

unread,
Feb 15, 2010, 2:10:01 AM2/15/10
to
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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Américo Wang

unread,
Feb 15, 2010, 6:40:01 AM2/15/10
to
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.

Jeff Dike

unread,
Feb 15, 2010, 11:20:03 AM2/15/10
to
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

Adam Nielsen

unread,
Feb 20, 2010, 10:10:01 PM2/20/10
to
>> 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.

0 new messages