From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MEAzg-0000hl-I1 for garchives@archives.gentoo.org; Tue, 09 Jun 2009 23:44:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37776E012C; Tue, 9 Jun 2009 23:44:39 +0000 (UTC) Received: from mail-gx0-f207.google.com (mail-gx0-f207.google.com [209.85.217.207]) by pigeon.gentoo.org (Postfix) with ESMTP id 132F1E012C for ; Tue, 9 Jun 2009 23:44:39 +0000 (UTC) Received: by gxk3 with SMTP id 3so1497165gxk.10 for ; Tue, 09 Jun 2009 16:44:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=cu4GwQj9N6JP8rLkuoI5xeBNd5YeCzpfnROP7kg6z0A=; b=kmzkPmx5acwOmTQifQL0avMhydwx7AvkGPXbcy1HK4syHJFSE0oM6tkGlLbW3C3VI1 7qNfS/p9X20LFeePuz2SIeH/zwOrr6o6H49pG6IT9wThzwS/ZiIn6weXumqvUCvq08Nr Cn+d2VxmInCOV3QorIwEL2sNph8USqntYQOPI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=hHvVW67VeVfBpAkaoxm+hlyB9ztkAq4Q6U0qEb56AlR5LJUhAUq+Z4KZjk90gR0rtu L4ZZDiX0X7E481WXy2UOQArjKGLsT1aQzaYyqm9wQr+3rL8v9ZUK2EJSm1tFH+55Tsuw /96rTS7tvOem24KlL4v0JqCIvXHwOfxSW7wOU= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.151.110.8 with SMTP id n8mr1378084ybm.334.1244591078580; Tue, 09 Jun 2009 16:44:38 -0700 (PDT) Date: Tue, 9 Jun 2009 16:44:38 -0700 Message-ID: <5bdc1c8b0906091644t5c6601ddn81f7944cacc049be@mail.gmail.com> Subject: [gentoo-user] 64-bit kernel on a 32-bit installation From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 69f5fd40-3a57-4f32-9380-845f825bf07e X-Archives-Hash: 8034ae2cee7b8a7dda6248efe2185464 Hi, I lurk on the LKML, say hi once in awhile, ask a question once in awhile, and try to read at least the interesting to a non-programmer posts. I was curious about this one that came up today. Seems like this is a natural for Gentoo. I have a Gentoo 64-bit setup but have had lots of troubles over the years (far less now though) with web media and other things that need to be more Windows compatible. (I do audio work with my Gentoo boxes - interface to studios and a few bands, etc) I've found that my 32-bit Gentoo installations have been more compatible than 64-bit. Outside stuff like Java is better. In general when I have a problem I wonder if it's because I'm running 64-bit. How would one go about building a 64-bit kernel on a 32-bit machine with Gentoo? I presume that's mostly just how I configure the kernel, along with maybe some cross-compile options? Are there any projects going on in this area where I might become a test case? Wiki? Docs? Do others see value - getting 64-bit memory management, new CPU flags, etc., but keeping the apps 32-bit for compatibility? Take care, Mark On Tue, 9 Jun 2009, H. Peter Anvin wrote: > > A major problem is that distros don't seem to be willing to push 64-bit > kernels for 32-bit distros. There are a number of good (and > not-so-good) reasons why users may want to run a 32-bit userspace, but > not running a 64-bit kernel on capable hardware is just problematic. Yeah, that's just stupid. A 64-bit kernel should work well with 32-bit tools, and while we've occasionally had compat issues (the intel gfx people used to claim that they needed to work with a 32-bit kernel because they cared about 32-bit tools), they aren't unfixable or even all _that_ common. And they'd be even less common if the whole "64-bit kernel even if you do a 32-bit distro" was more common. The nice thing about a 64-bit kernel is that you should be able to build one even if you don't in general have all the 64-bit libraries. So you don't need a full 64-bit development environment, you just need a compiler that can generate code for both (and that should be the default on x86 these days). Linus