Hi experts,'' I build xen on my 64 bit redhat with "make xen", I got the image xen-4.0.0.gz then $gunzip xen-4.0.0.gz $file xen-4.0.0 it tells me it''s 32 bit,but I saw it link the 64 bit lib Thanks Lei -- "We learn from failure, not from success!" _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Is there some body to help see your "$file xen-4.0.0" if your xen is 64 bit Thanks Lei On Tue, May 18, 2010 at 9:11 PM, lei yang <yanglei.fage@gmail.com> wrote:> > Hi experts,'' > > I build xen on my 64 bit redhat with "make xen", I got the image > xen-4.0.0.gz > then > $gunzip xen-4.0.0.gz > $file xen-4.0.0 > it tells me it''s 32 bit,but I saw it link the 64 bit lib > > Thanks > Lei > -- > "We learn from failure, not from success!" >-- "We learn from failure, not from success!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''ve cross-compiled 64-bit xen exclusively since I''ve worked for XenSource basically. Here''s what I get: $ file xen/xen xen/xen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped $ file xen/xen-syms xen/xen-syms: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped So I think ''file'' is just making a mistake. -George On Tue, May 18, 2010 at 9:40 AM, lei yang <yanglei.fage@gmail.com> wrote:> Is there some body to help see your "$file xen-4.0.0" if your xen is 64 bit > > Thanks > Lei > > On Tue, May 18, 2010 at 9:11 PM, lei yang <yanglei.fage@gmail.com> wrote: >> >> Hi experts,'' >> >> I build xen on my 64 bit redhat with "make xen", I got the image >> xen-4.0.0.gz >> then >> $gunzip xen-4.0.0.gz >> $file xen-4.0.0 >> it tells me it''s 32 bit,but I saw it link the 64 bit lib >> >> Thanks >> Lei >> -- >> "We learn from failure, not from success!" > > > > -- > "We learn from failure, not from success!" > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Tue, 2010-05-18 at 16:13 +0100, George Dunlap wrote:> I''ve cross-compiled 64-bit xen exclusively since I''ve worked for > XenSource basically. Here''s what I get: > > $ file xen/xen > xen/xen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > statically linked, stripped > $ file xen/xen-syms > xen/xen-syms: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), > statically linked, not stripped > > So I think ''file'' is just making a mistake.The 64 bit hypervisor really is encapsulated in a 32 bit container, see the mkelf32 related rules in xen/arch/x86/Makefile. I''m not sure why. Something to do with 32 bit bootloaders maybe? Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-May-18 15:25 UTC
[Xen-users] Re: [Xen-devel] Re: How to build a 64 bit xen
On 18/05/2010 16:20, "Ian Campbell" <Ian.Campbell@citrix.com> wrote:>> So I think ''file'' is just making a mistake. > > The 64 bit hypervisor really is encapsulated in a 32 bit container, see > the mkelf32 related rules in xen/arch/x86/Makefile. > > I''m not sure why. Something to do with 32 bit bootloaders maybe?Multiboot spec only allows for booting 32-bit images. -- Keir _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
It''s bad luck for me not to boot with the 64 bit xen( which see its'' 32 bit with "file") my bootloader is gpxe.and don''t see any output log, just see the target reboot 32 bit xen works well Lei On Tue, May 18, 2010 at 11:20 PM, Ian Campbell <Ian.Campbell@citrix.com>wrote:> On Tue, 2010-05-18 at 16:13 +0100, George Dunlap wrote: > > I''ve cross-compiled 64-bit xen exclusively since I''ve worked for > > XenSource basically. Here''s what I get: > > > > $ file xen/xen > > xen/xen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > > statically linked, stripped > > $ file xen/xen-syms > > xen/xen-syms: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), > > statically linked, not stripped > > > > So I think ''file'' is just making a mistake. > > The 64 bit hypervisor really is encapsulated in a 32 bit container, see > the mkelf32 related rules in xen/arch/x86/Makefile. > > I''m not sure why. Something to do with 32 bit bootloaders maybe? > > Ian > >-- "We learn from failure, not from success!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tim Deegan
2010-May-18 15:30 UTC
[Xen-users] Re: [Xen-devel] Re: How to build a 64 bit xen
At 16:20 +0100 on 18 May (1274199615), Ian Campbell wrote:> On Tue, 2010-05-18 at 16:13 +0100, George Dunlap wrote: > > I''ve cross-compiled 64-bit xen exclusively since I''ve worked for > > XenSource basically. Here''s what I get: > > > > $ file xen/xen > > xen/xen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > > statically linked, stripped > > $ file xen/xen-syms > > xen/xen-syms: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), > > statically linked, not stripped > > > > So I think ''file'' is just making a mistake. > > The 64 bit hypervisor really is encapsulated in a 32 bit container, see > the mkelf32 related rules in xen/arch/x86/Makefile. > > I''m not sure why. Something to do with 32 bit bootloaders maybe?Yep. The Multiboot standard specifies that the kernel should be started in 32-bit protected mode with flat 4GB segments. Xen bootstraps itself from there up into 64-bit mode. Tim. -- Tim Deegan <Tim.Deegan@citrix.com> Principal Software Engineer, XenServer Engineering Citrix Systems UK Ltd. (Company #02937203, SL9 0BG) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Jun-01 16:07 UTC
RE: [Xen-users] Re: [Xen-devel] Re: How to build a 64 bit xen
Yup, it was my understanding that the (ELF 32-bit LSB executable) xen hypervisor handed off control to a 64-bit hyper-visor. This 32-bits step was required for the boot loader (e.g.: grub) to hand over control. -M> Date: Tue, 18 May 2010 10:13:22 -0500 > From: dunlapg@umich.edu > To: yanglei.fage@gmail.com > CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com > Subject: [Xen-users] Re: [Xen-devel] Re: How to build a 64 bit xen > > I''ve cross-compiled 64-bit xen exclusively since I''ve worked for > XenSource basically. Here''s what I get: > > $ file xen/xen > xen/xen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > statically linked, stripped > $ file xen/xen-syms > xen/xen-syms: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), > statically linked, not stripped > > So I think ''file'' is just making a mistake. > > -George > > On Tue, May 18, 2010 at 9:40 AM, lei yang <yanglei.fage@gmail.com> wrote: > > Is there some body to help see your "$file xen-4.0.0" if your xen is 64 bit > > > > Thanks > > Lei > > > > On Tue, May 18, 2010 at 9:11 PM, lei yang <yanglei.fage@gmail.com> wrote: > >> > >> Hi experts,'' > >> > >> I build xen on my 64 bit redhat with "make xen", I got the image > >> xen-4.0.0.gz > >> then > >> $gunzip xen-4.0.0.gz > >> $file xen-4.0.0 > >> it tells me it''s 32 bit,but I saw it link the 64 bit lib > >> > >> Thanks > >> Lei > >> -- > >> "We learn from failure, not from success!" > > > > > > > > -- > > "We learn from failure, not from success!" > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_________________________________________________________________ Win a $10,000 shopping spree from Hotmail! Enter now. http://go.microsoft.com/?linkid=9729711 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Possibly Parallel Threads
- How to build a 64 bit xen
- xen4.0.0 64 bit boot "panic on cpu 0, crc errror"
- xen4.0.0 64 bit boot "panic on cpu 0, crc errror"
- What''s the different for "dom0_max_vcpus=4 dom0_vcpus_pin" and "dom0_max_vcpus=4" ?
- What''s the different for "dom0_max_vcpus=4 dom0_vcpus_pin" and "dom0_max_vcpus=4" ?