[Top] [All Lists]

Re: Init not working in 64-bit kernel

Subject: Re: Init not working in 64-bit kernel
From: Ralf Baechle <>
Date: Fri, 17 Mar 2006 13:18:50 +0000
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/
On Fri, Mar 17, 2006 at 03:36:50PM +0530, wrote:

>       I'm porting a 64-bit linux kernel provided for a mips4
> architecture to a mips3 target board. The existing NFS root file system
> has been compiled for a 64-bit mips4 architecture.
> If I mount this file system, the init does not run.
> After mounting the filesystem, I get the following messages and the
> kernel hangs.
> -------------------------------------------------
> Looking up port of RPC 100003/2 on
> Looking up port of RPC 100005/1 on
> VFS: Mounted root (nfs filesystem).
> Freeing unused kernel memory: 132k freed

That's a rather generic kind of death uppon entry of userspace sympthom,
so I cannot really give alot of advice other than below:

> I also tried to mount a 32-bit working NFS root filesystem.
> Still I get the same problem. I thought 32-bit binaries will execute
> fine in 64-bit kernel.

They do - but you need to enable 32-bit compatibility:


And if you have an N32 root filesystem (unlikely) you also have to set

> Do I have to recompile the binutils and glibc for my target file system?

No.  The entire software should just work.

> Kindly ignore the confidentiality notice attached at the end of the
> mail. It is an automatically generated one and I cannot remove it.I'm
> extremely sorry for the inconvenience.

We're fabulous at ignoring things ;-)


<Prev in Thread] Current Thread [Next in Thread>