Hi, I want to run a i386 domU on my AMD64. I created a LVM partition with Debian Sarge i386 on it, and set everything up. Now for the compilation of the kernel for i386. In "linux-2.6.12-xenU/" , make ARCH=xen menuconfig, i did: Processor Type (X86) (which was selected, and compiled with X86_64 before) Processor family (Opteron/Athlon64/Hammer/K8) [*] Generic x86 support if i do a "make ARCH=xen" i get : arch/i386/kernel/asm-offsets.c: In function ''foo'': arch/i386/kernel/asm-offsets.c:27: error: ''struct sigcontext'' has no member named ''eax'' arch/i386/kernel/asm-offsets.c:28: error: ''struct sigcontext'' has no member named ''ebx'' arch/i386/kernel/asm-offsets.c:29: error: ''struct sigcontext'' has no member named ''ecx'' arch/i386/kernel/asm-offsets.c:30: error: ''struct sigcontext'' has no member named ''edx'' arch/i386/kernel/asm-offsets.c:31: error: ''struct sigcontext'' has no member named ''esi'' arch/i386/kernel/asm-offsets.c:32: error: ''struct sigcontext'' has no member named ''edi'' arch/i386/kernel/asm-offsets.c:33: error: ''struct sigcontext'' has no member named ''ebp'' arch/i386/kernel/asm-offsets.c:34: error: ''struct sigcontext'' has no member named ''esp'' arch/i386/kernel/asm-offsets.c:35: error: ''struct sigcontext'' has no member named ''eip'' arch/i386/kernel/asm-offsets.c:42: error: ''struct cpuinfo_x86'' has no member named ''hard_math'' arch/i386/kernel/asm-offsets.c:67: error: ''struct tss_struct'' has no member named ''esp0'' arch/i386/kernel/asm-offsets.c:71: error: ''FIX_VSYSCALL'' undeclared (first use in this function) arch/i386/kernel/asm-offsets.c:71: error: (Each undeclared identifier is reported only once arch/i386/kernel/asm-offsets.c:71: error: for each function it appears in.) make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 make: *** [arch/i386/kernel/asm-offsets.s] Error 2 what should i do? Kind regards, Robin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I don''t believe you are able to do this. You need to run 64bit domu when you are running a 64bit dom0. Regards, Aaron Robin van Leeuwen wrote:> Hi, > > I want to run a i386 domU on my AMD64. I created a LVM partition with > Debian > Sarge i386 on it, and set everything up. Now for the compilation of > the kernel > for i386. In "linux-2.6.12-xenU/" , make ARCH=xen menuconfig, i did: > > Processor Type (X86) (which was selected, and compiled with X86_64 > before) > Processor family (Opteron/Athlon64/Hammer/K8) > [*] Generic x86 support > > if i do a "make ARCH=xen" i get : > > arch/i386/kernel/asm-offsets.c: In function ''foo'': > arch/i386/kernel/asm-offsets.c:27: error: ''struct sigcontext'' has no > member named ''eax'' > arch/i386/kernel/asm-offsets.c:28: error: ''struct sigcontext'' has no > member named ''ebx'' > arch/i386/kernel/asm-offsets.c:29: error: ''struct sigcontext'' has no > member named ''ecx'' > arch/i386/kernel/asm-offsets.c:30: error: ''struct sigcontext'' has no > member named ''edx'' > arch/i386/kernel/asm-offsets.c:31: error: ''struct sigcontext'' has no > member named ''esi'' > arch/i386/kernel/asm-offsets.c:32: error: ''struct sigcontext'' has no > member named ''edi'' > arch/i386/kernel/asm-offsets.c:33: error: ''struct sigcontext'' has no > member named ''ebp'' > arch/i386/kernel/asm-offsets.c:34: error: ''struct sigcontext'' has no > member named ''esp'' > arch/i386/kernel/asm-offsets.c:35: error: ''struct sigcontext'' has no > member named ''eip'' > arch/i386/kernel/asm-offsets.c:42: error: ''struct cpuinfo_x86'' has no > member named ''hard_math'' > arch/i386/kernel/asm-offsets.c:67: error: ''struct tss_struct'' has no > member named ''esp0'' > arch/i386/kernel/asm-offsets.c:71: error: ''FIX_VSYSCALL'' undeclared > (first use in this function) > arch/i386/kernel/asm-offsets.c:71: error: (Each undeclared identifier > is reported only once > arch/i386/kernel/asm-offsets.c:71: error: for each function it appears > in.) > make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 > make: *** [arch/i386/kernel/asm-offsets.s] Error 2 > > > what should i do? > > Kind regards, > > Robin > > _______________________________________________ > 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
On 12/4/05, Aaron // LT <aaron@linux-talk.com> wrote:> I don''t believe you are able to do this. You need to run 64bit domu > when you are running a 64bit dom0.32bit userland can run with 64bit kernel though. 32bit domU kernel and 64bit dom0 kernel requires VMX. -- Nicholas Lee http://stateless.geek.nz gpg 8072 4F86 EDCD 4FC1 18EF 5BDD 07B0 9597 6D58 D70C _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Nicholas Lee > Sent: 04 December 2005 00:56 > To: Robin van Leeuwen > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] i386 domU on amd64 (xen-unstable) > > On 12/4/05, Aaron // LT <aaron@linux-talk.com> wrote: > > I don''t believe you are able to do this. You need to run > 64bit domu > > when you are running a 64bit dom0. > > 32bit userland can run with 64bit kernel though. > > 32bit domU kernel and 64bit dom0 kernel requires VMX.Just to make sure the company I work for isn''t forgotten, AMD''s SVM (Pacifica) will also work for this purpose, as it has the same (essentially, at least) functionality as Intel''s VT/VMX technology. Of course, neither of the produsts are publicly available at this time, at least AFAIK. -- Mats> > -- > Nicholas Lee > http://stateless.geek.nz > gpg 8072 4F86 EDCD 4FC1 18EF 5BDD 07B0 9597 6D58 D70C > > _______________________________________________ > 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