* [uml-devel] UML on AMD64 x86_64
@ 2004-09-22 13:07 jmf
2004-09-22 18:05 ` Michael Richardson
0 siblings, 1 reply; 3+ messages in thread
From: jmf @ 2004-09-22 13:07 UTC (permalink / raw)
To: user-mode-linux-devel
I'm using 64 bit Gentoo on an Athlon64 and it would be really nice to have a working port of 32 bit UML. This would allow us to sandbox a 32 bit Gentoo kernel within the 64 bit Gentoo environment.
I want to emphasize that I'm not even asking for a real 64 bit UML port, I simply want the standard UML 32 bit port to compile, and run, in amd64 32-bit mode. This would allow people in amd64 linux-land to have some form of UML to use while we wait for a true 64-bit implementation.
I tried simply compiling the 32 bit UML port using gcc 3.3.4 and "linux32 make linux ARCH=um" with a SUBARCH := i386, but this failed complaining about things like
arch/um/sys-i386/util/mk_sc.c:30: error: structure has no member named `eax'
I'm surprised UML didn't compile so if anyone has some suggestions to try, please let me know.
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] UML on AMD64 x86_64
@ 2004-09-22 16:20 Anthony Brock
0 siblings, 0 replies; 3+ messages in thread
From: Anthony Brock @ 2004-09-22 16:20 UTC (permalink / raw)
To: user-mode-linux-devel
Jim,
You can run a 32-bit UML on an AMD 64-bit OS. However, there are some
issues:
1. The guest kernel needs to be compiled on a 32-bit OS. While it will
run on the 64-bit, I haven't had any success with compiling.
2. The host SKAS patch has not yet been ported (publicly) to AMD
64-bit. So your guest kernels will ONLY run in TT mode.
Good luck!
Tony
>>> "jmf" <jmfguy@excite.com> 09/22/04 06:07AM >>>
I'm using 64 bit Gentoo on an Athlon64 and it would be really nice to
have a working port of 32 bit UML. This would allow us to sandbox a 32
bit Gentoo kernel within the 64 bit Gentoo environment.
I want to emphasize that I'm not even asking for a real 64 bit UML
port, I simply want the standard UML 32 bit port to compile, and run, in
amd64 32-bit mode. This would allow people in amd64 linux-land to have
some form of UML to use while we wait for a true 64-bit implementation.
I tried simply compiling the 32 bit UML port using gcc 3.3.4 and
"linux32 make linux ARCH=um" with a SUBARCH := i386, but this failed
complaining about things like
arch/um/sys-i386/util/mk_sc.c:30: error: structure has no member named
`eax'
I'm surprised UML didn't compile so if anyone has some suggestions to
try, please let me know.
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement
on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] UML on AMD64 x86_64
2004-09-22 13:07 jmf
@ 2004-09-22 18:05 ` Michael Richardson
0 siblings, 0 replies; 3+ messages in thread
From: Michael Richardson @ 2004-09-22 18:05 UTC (permalink / raw)
To: jmfguy; +Cc: user-mode-linux-devel
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "jmf" == jmf <jmfguy@excite.com> writes:
jmf> I want to emphasize that I'm not even asking for a real 64 bit
jmf> UML port, I simply want the standard UML 32 bit port to
jmf> compile, and run, in amd64 32-bit mode. This would allow people
jmf> in amd64 linux-land to have some form of UML to use while we
jmf> wait for a true 64-bit implementation.
jmf> I tried simply compiling the 32 bit UML port using gcc 3.3.4
jmf> and "linux32 make linux ARCH=um" with a SUBARCH := i386, but
jmf> this failed complaining about things like
jmf> arch/um/sys-i386/util/mk_sc.c:30: error: structure has no
jmf> member named `eax'
jmf> I'm surprised UML didn't compile so if anyone has some
jmf> suggestions to try, please let me know.
a) Is this with a stock kernel or a gentoo kernel?
(sorry, but gentoo has a poor reputation for quality control)
b) can you build a kernel for i386? (no UML)
This would be a cross-compile build.
c) are you using an i386 compiler, or and amd64 compiler?
You will need a cross-compiler!
- --
] "Elmo went to the wrong fundraiser" - The Simpson | firewalls [
] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[
] mcr@xelerance.com http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys
iQCVAwUBQVG+zYqHRg3pndX9AQFU0AP+PwIZbVsP5nH456pfrLH/TZARMQJWZ2vT
kWE5l6VFNnH1c4QUWceYem4raVS7nLDB6umHQTGERTUENa8r1+qb1M+77bActYaF
Zl5sk9jKfheUAlTx/3I8GeEnjqXUdfAd+iPispyD6SHzoasVxTWJICjTobKwQfJW
IH9ZOtJ0yCw=
=fy+V
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-22 18:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-22 16:20 [uml-devel] UML on AMD64 x86_64 Anthony Brock
-- strict thread matches above, loose matches on Subject: below --
2004-09-22 13:07 jmf
2004-09-22 18:05 ` Michael Richardson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.