From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FCQLi-0007YL-IP for garchives@archives.gentoo.org; Thu, 23 Feb 2006 23:58:18 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1NNv59Z031185; Thu, 23 Feb 2006 23:57:05 GMT Received: from ender.volumehost.net (adsl-69-154-123-202.dsl.fyvlar.swbell.net [69.154.123.202]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1NNr1DT022041 for ; Thu, 23 Feb 2006 23:53:01 GMT Received: from localhost (localhost [127.0.0.1]) by ender.volumehost.net (Postfix) with ESMTP id 8F621D2FB for ; Thu, 23 Feb 2006 23:53:00 +0000 (UTC) Received: from ender.volumehost.net ([127.0.0.1]) by localhost (ender.volumehost.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13012-07 for ; Thu, 23 Feb 2006 23:52:59 +0000 (UTC) Received: from monster (ip70-178-175-2.ks.ks.cox.net [70.178.175.2]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ender.volumehost.net (Postfix) with ESMTP id 0AE0FD2F2 for ; Thu, 23 Feb 2006 23:52:59 +0000 (UTC) From: "Boyd Stephen Smith Jr." To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error Date: Thu, 23 Feb 2006 17:52:58 -0600 User-Agent: KMail/1.9.1 References: <200602230003.33868.bo.andresen@gmail.com> <200602231633.00470.bss03@volumehost.com> <200602240025.30581.bo.andresen@gmail.com> In-Reply-To: <200602240025.30581.bo.andresen@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602231752.58357.bss03@volumehost.com> X-Virus-Scanned: amavisd-new at volumehost.net X-Archives-Salt: 0d3a38d6-1493-4ad4-9e89-2e4ad6c30800 X-Archives-Hash: 68d11e2ff7ff0cf3014d3d1f1d5ad17a On Thursday 23 February 2006 17:25, 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 > > > > > > > > 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@volumehost.com ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list