Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: "Boyd Stephen Smith Jr." <bss03@...>
Subject: Re: chroot: cannot run command `bin/bash': Exec format error
Date: Thu, 23 Feb 2006 17:52:58 -0600
On Thursday 23 February 2006 17:25, Bo Andresen <bo.andresen@...> 
wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec 
format error':
> On Thursday 23 February 2006 23:33, Boyd Stephen Smith Jr. wrote:
> > On Thursday 23 February 2006 15:56, Bo Andresen
> > <bo.andresen@...>
> >
> > > > A 64-bit kernel will run 32-bit binaries fine... Um, there may be
> > > > a needed kernel option though...
> >
> > I think these are relevant:
> > $ zgrep -i ia32 /proc/config.gz
> > CONFIG_IA32_EMULATION=y
> > CONFIG_IA32_AOUT=y
>
> I cannot find those options.

[See below]

> ~ # uname -m
> i686

So, that's definitely not a 64-bit kernel.

> > So, you may want to configure, make, and install your kernel like:
> > make ARCH=x86_64 menuconfig
> > make ARCH=x86_64
> > make ARCH=x86_64 install
> >
> > (You don't need a CROSS_COMPILE prefix since gcc should work fine.)
>
> Should I ignore all these warnings?

I think yes.  The first 2 dozen or so are definitely x86 specific and not 
applicable to x86_64.  I'm going to bet the others are too.  Notice this 
line:

> # using defaults found in .config

So, it's starting from your i686 config, and trying to use it to assign as 
many symbols as possible to the new x86_64 kernel.  Some of the symbols 
just won't exist.

When you 'make ARCH=x86_64 menuconfig', can you find the IA32 configuration 
options?

-- 
Boyd Stephen Smith Jr.
bss03@...
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@g.o mailing list


Replies:
Re: chroot: cannot run command `bin/bash': Exec format error
-- Bo Andresen
References:
chroot: cannot run command `bin/bash': Exec format error
-- Bo Andresen
Re: chroot: cannot run command `bin/bash': Exec format error
-- Boyd Stephen Smith Jr.
Re: chroot: cannot run command `bin/bash': Exec format error
-- Bo Andresen
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: chroot: cannot run command `bin/bash': Exec format error
Next by thread:
Re: chroot: cannot run command `bin/bash': Exec format error
Previous by date:
Re: CVSup vs Gentoo's Rsync
Next by date:
Re: Gentoo LVM Newbie Question


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.