* [gentoo-amd64] Mixing Architectures... AMD64 bit kernel on 32bit build.
@ 2005-10-29 7:59 Joel Wiramu Pauling
2005-10-29 8:34 ` Jeremy Huddleston
0 siblings, 1 reply; 4+ messages in thread
From: Joel Wiramu Pauling @ 2005-10-29 7:59 UTC (permalink / raw
To: gentoo-amd64
Hi all,
quick question about mixing archs.
Can I safely put a 64bit compiled kernel image into /boot/ along
with /lib/modules<version> and the source in /usr/src/<version>
into a fully 32bit image?
If so what other utilities on the system NEED to be 64bit for this to
work?
I have a 32bit precooked image I use, and have dumped it onto a Turion
laptop (see http://aenertia.net/megabook_m635.html for coverage).
I am getting alot of issues with IRQ and USB f$%#ups. And am wondering
if a native 64bit kernel will help. But want to know if I can simply
drop an am64 kernel into the middle of a 32bit environment and have it
boot?
What is the easiest route for me to do this based on the above linked
report.
Kind regards
Joel W
P.S any help with this laptop would be appreciated.
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-amd64] Mixing Architectures... AMD64 bit kernel on 32bit build.
2005-10-29 7:59 [gentoo-amd64] Mixing Architectures... AMD64 bit kernel on 32bit build Joel Wiramu Pauling
@ 2005-10-29 8:34 ` Jeremy Huddleston
2005-10-29 8:46 ` Joel Wiramu Pauling
2005-10-29 8:50 ` Joel Wiramu Pauling
0 siblings, 2 replies; 4+ messages in thread
From: Jeremy Huddleston @ 2005-10-29 8:34 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1141 bytes --]
> Can I safely put a 64bit compiled kernel image into /boot/ along
> with /lib/modules<version> and the source in /usr/src/<version>
> into a fully 32bit image?
Yes, as long as you don't have a 32bit kernel also in /lib/modules/* of
the same version.
> If so what other utilities on the system NEED to be 64bit for this to
> work?
Assuming you have 32bit support in the kernel, nothing...
> I have a 32bit precooked image I use, and have dumped it onto a Turion
> laptop (see http://aenertia.net/megabook_m635.html for coverage).
>
> I am getting alot of issues with IRQ and USB f$%#ups. And am wondering
> if a native 64bit kernel will help. But want to know if I can simply
> drop an am64 kernel into the middle of a 32bit environment and have it
> boot?
Yep, you can. This is what sparc64 does.
> What is the easiest route for me to do this based on the above linked
> report.
You'll need to get an x86_64 compiler on your system (crossdev should
work fine, or you can modify gcc64), then you'll need to cross-compile
the kernel (there are plenty of docs online about how to do this).
--Jeremy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-amd64] Mixing Architectures... AMD64 bit kernel on 32bit build.
2005-10-29 8:34 ` Jeremy Huddleston
@ 2005-10-29 8:46 ` Joel Wiramu Pauling
2005-10-29 8:50 ` Joel Wiramu Pauling
1 sibling, 0 replies; 4+ messages in thread
From: Joel Wiramu Pauling @ 2005-10-29 8:46 UTC (permalink / raw
To: gentoo-amd64
>
> Yep, you can. This is what sparc64 does.
Brilliant!
>
> > What is the easiest route for me to do this based on the above linked
> > report.
>
> You'll need to get an x86_64 compiler on your system (crossdev should
> work fine, or you can modify gcc64), then you'll need to cross-compile
> the kernel (there are plenty of docs online about how to do this).
>
> --Jeremy
Thanks... Thats Ok I have plenty of native opterons I can build on I was
just more concerned if I needed extras like binutils etc (and hence have
to much around changing /usr/libs paths). This is great!
Onto it now... Hopefully I can build up a nice kernel for that laptop
and when the client comes back just drop it in and everything (fingers
crossed) will go.
Kind regards
Joel W
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-amd64] Mixing Architectures... AMD64 bit kernel on 32bit build.
2005-10-29 8:34 ` Jeremy Huddleston
2005-10-29 8:46 ` Joel Wiramu Pauling
@ 2005-10-29 8:50 ` Joel Wiramu Pauling
1 sibling, 0 replies; 4+ messages in thread
From: Joel Wiramu Pauling @ 2005-10-29 8:50 UTC (permalink / raw
To: gentoo-amd64
On Sat, 2005-10-29 at 01:34 -0700, Jeremy Huddleston wrote:
Crap... this is probably not going to work as easily as hopped...
ndiswrapper is needed and I also have out of kernel alsa... I spose I
can compile alsa modules on a native box and it should be ok... does
anyone know if ndiswrapper needs any particular librarys to work or does
it just reside as a module and some wrapper scripts?
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-10-29 8:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-29 7:59 [gentoo-amd64] Mixing Architectures... AMD64 bit kernel on 32bit build Joel Wiramu Pauling
2005-10-29 8:34 ` Jeremy Huddleston
2005-10-29 8:46 ` Joel Wiramu Pauling
2005-10-29 8:50 ` Joel Wiramu Pauling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox