Jürgen Ladstätter
2006-Jul-27 13:26 UTC
[Xen-users] xen, 64bit, gentoo, hardened kernel - no chance?
Hi, is there any chance to get xen gentoo as DomU under amd64 x2 with hardened kernel running? I always get the error that its unimplemented (dont know wheter thats from hardened or gentoo in general) When I want to config my DomU kernel on my own, do I need any XEN DomU 64bit patches, or can I use a normal kernel as I would get with emerge gentoo-sources Thanks in advance, Mit freundlichen Grüßen Jürgen Ladstätter ( jl@pics.co.at ) _______________________________________________ P.I.C.S. EDV GmbH. A-5020 Salzburg, Landsturmstraße 18 Tel.: +43 (662) 455467 Fax.: +43 (662) 455468 Web: <http://www.pics.co.at> http://www.pics.co.at E-Mail: office@pics.co.at Ihr Partner für Internet, Computer und Software _______________________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Jul-27 13:49 UTC
Re: [Xen-users] xen, 64bit, gentoo, hardened kernel - no chance?
On 7/27/06, Jürgen Ladstätter <jl@pics.co.at> wrote:> > is there any chance to get xen gentoo as DomU under amd64 x2 with hardened > kernel running? >It''s still unclear to me where you want to have the hardenend amd64 kernel. In domU or dom0? what do you mean by "under"?> I always get the error that its unimplemented (don''t know wheter that''s from > hardened or gentoo in general)What''s unimplemented? Where does this error arise?> When I want to config my DomU kernel on my own, do I need any XEN DomU 64bit > patches, or can I use a normal kernel as I would get with "emerge > gentoo-sources"Either I did''nt understand your question, or the answer is that it should be obvious when reading the manuals. Please try to take some more time to describe your problem precisely (but still trying to keep it short, which is sometimes hard, I know) Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jürgen Ladstätter
2006-Jul-27 13:52 UTC
AW: [Xen-users] xen, 64bit, gentoo, hardened kernel - no chance?
Hi, Gentoo Hardened Kernel in my domU. Amd64 x2 is the cpu which is used by the system. The error occurs at this point: GEN1 linux # make && make modules_install CHK include/linux/version.h CC arch/x86_64/kernel/asm-offsets.s arch/x86_64/kernel/asm-offsets.c:1: error: code model `kernel'' not supported in the 32 bit mode arch/x86_64/kernel/asm-offsets.c:1: sorry, unimplemented: 64-bit mode not compiled in make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 GEN1 linux # I hope you see now what i mean. Simple compiling any kernel with gentoo as domU doesnt work! -----Ursprüngliche Nachricht----- Von: henning.sprang@gmail.com [mailto:henning.sprang@gmail.com] Im Auftrag von Henning Sprang Gesendet: Donnerstag, 27. Juli 2006 15:49 An: Jürgen Ladstätter Cc: xen-users@lists.xensource.com Betreff: Re: [Xen-users] xen, 64bit, gentoo, hardened kernel - no chance? On 7/27/06, Jürgen Ladstätter <jl@pics.co.at> wrote:> > is there any chance to get xen gentoo as DomU under amd64 x2 with hardened > kernel running? >It''s still unclear to me where you want to have the hardenend amd64 kernel. In domU or dom0? what do you mean by "under"?> I always get the error that its unimplemented (don''t know wheter that''sfrom> hardened or gentoo in general)What''s unimplemented? Where does this error arise?> When I want to config my DomU kernel on my own, do I need any XEN DomU64bit> patches, or can I use a normal kernel as I would get with "emerge > gentoo-sources"Either I did''nt understand your question, or the answer is that it should be obvious when reading the manuals. Please try to take some more time to describe your problem precisely (but still trying to keep it short, which is sometimes hard, I know) Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Jul-27 14:50 UTC
Re: [Xen-users] xen, 64bit, gentoo, hardened kernel - no chance?
On 7/27/06, Jürgen Ladstätter <jl@pics.co.at> wrote:> [...] > arch/x86_64/kernel/asm-offsets.c:1: error: code model `kernel'' not supported > in the 32 bit mode > arch/x86_64/kernel/asm-offsets.c:1: sorry, unimplemented: 64-bit mode not > compiled inI think your kernel build system (gcc et al) doesn''t support compiling 64 bit code. I had something similar Debian sarge, too, could only build xen 64 bit kernels on etch amd64. Please ask the gentoo Mailing lists on how to build 64 bit Kernels. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christopher G. Stach II
2006-Jul-27 23:41 UTC
Re: [Xen-users] xen, 64bit, gentoo, hardened kernel - no chance?
Henning Sprang wrote:> On 7/27/06, Jürgen Ladstätter <jl@pics.co.at> wrote: >> [...] >> arch/x86_64/kernel/asm-offsets.c:1: error: code model `kernel'' not >> supported >> in the 32 bit mode >> arch/x86_64/kernel/asm-offsets.c:1: sorry, unimplemented: 64-bit mode not >> compiled in > > I think your kernel build system (gcc et al) doesn''t support > compiling 64 bit code. > I had something similar Debian sarge, too, could only build xen 64 bit > kernels on etch amd64. > > Please ask the gentoo Mailing lists on how to build 64 bit Kernels. > > HenningIf the toolchain is screwed up, it most likely happened when it was installed. Did you install with a 32-bit install CD and not amd64? -- Christopher G. Stach II _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jürgen Ladstätter
2006-Jul-28 06:09 UTC
AW: [Xen-users] xen, 64bit, gentoo, hardened kernel - no chance?
Hi, i installed the gentoo domU image from jailtime.org and just emerged hardened-sources. So I didnt make any choice wheter 32 bit or 64 jürgen -----Ursprüngliche Nachricht----- Von: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Christopher G. Stach II Gesendet: Freitag, 28. Juli 2006 01:41 An: Henning Sprang Cc: Jürgen Ladstätter; xen-users@lists.xensource.com Betreff: Re: [Xen-users] xen, 64bit, gentoo, hardened kernel - no chance? Henning Sprang wrote:> On 7/27/06, Jürgen Ladstätter <jl@pics.co.at> wrote: >> [...] >> arch/x86_64/kernel/asm-offsets.c:1: error: code model `kernel'' not >> supported >> in the 32 bit mode >> arch/x86_64/kernel/asm-offsets.c:1: sorry, unimplemented: 64-bit mode not >> compiled in > > I think your kernel build system (gcc et al) doesn''t support > compiling 64 bit code. > I had something similar Debian sarge, too, could only build xen 64 bit > kernels on etch amd64. > > Please ask the gentoo Mailing lists on how to build 64 bit Kernels. > > HenningIf the toolchain is screwed up, it most likely happened when it was installed. Did you install with a 32-bit install CD and not amd64? -- Christopher G. Stach II _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christopher G. Stach II
2006-Jul-28 06:19 UTC
Re: AW: [Xen-users] xen, 64bit, gentoo, hardened kernel - no chance?
Jürgen Ladstätter wrote:> Hi, > i installed the gentoo domU image from jailtime.org and just emerged > hardened-sources. > So I didn’t make any choice wheter 32 bit or 64 > > jürgenIt''s probably not built for amd64 with multilib. I recommend starting with your own filesystem and stage1. That''s what I do for all of my VMs. (Actually, I make a single minimal image that I copy to all of them as a base, but essentially they are all begotten from a stage1 tarball.) -- Christopher G. Stach II _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users