Gentoo Archives: gentoo-amd64

From: Jeremy Huddleston <eradicator@g.o>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Mixing Architectures... AMD64 bit kernel on 32bit build.
Date: Sat, 29 Oct 2005 08:36:04
Message-Id: 1130574848.11723.97.camel@cloud.outersquare.org
In Reply to: [gentoo-amd64] Mixing Architectures... AMD64 bit kernel on 32bit build. by Joel Wiramu Pauling
1 > Can I safely put a 64bit compiled kernel image into /boot/ along
2 > with /lib/modules<version> and the source in /usr/src/<version>
3 > into a fully 32bit image?
4
5 Yes, as long as you don't have a 32bit kernel also in /lib/modules/* of
6 the same version.
7
8 > If so what other utilities on the system NEED to be 64bit for this to
9 > work?
10
11 Assuming you have 32bit support in the kernel, nothing...
12
13 > I have a 32bit precooked image I use, and have dumped it onto a Turion
14 > laptop (see http://aenertia.net/megabook_m635.html for coverage).
15 >
16 > I am getting alot of issues with IRQ and USB f$%#ups. And am wondering
17 > if a native 64bit kernel will help. But want to know if I can simply
18 > drop an am64 kernel into the middle of a 32bit environment and have it
19 > boot?
20
21 Yep, you can. This is what sparc64 does.
22
23 > What is the easiest route for me to do this based on the above linked
24 > report.
25
26 You'll need to get an x86_64 compiler on your system (crossdev should
27 work fine, or you can modify gcc64), then you'll need to cross-compile
28 the kernel (there are plenty of docs online about how to do this).
29
30 --Jeremy

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-amd64] Mixing Architectures... AMD64 bit kernel on 32bit build. Joel Wiramu Pauling <aenertia@××××××××.net>
Re: [gentoo-amd64] Mixing Architectures... AMD64 bit kernel on 32bit build. Joel Wiramu Pauling <aenertia@××××××××.net>