Hi users, set up a host with SLES10 x86_64. Created a domU(sles10-64) with SLES10 x86_64 too, works (used kernel from dom0) Created a domU(sles10) with SLES i586, works with kernel from dom0 but when I try to use "i586" kernel for this "sles10" and try to boot, I get: Error: (9, ''Bad file descriptor'') I googled around and found to try "mkinitrd -s off" for building initrd-modue but with no succes. Other option was to use mkinitramfs instead, but SLES10 does not have it. :( Is it possible to run i586 guest with a i586 kernel on x86_64 Host ?? Target is to be able to build "i586" RPM''s with guest and this does not work while the i586 guest uses the x86_64 kernel of dom0. (uname -m) x86_64 :( I tried to use bootloader, to load initrd from inside the guest, but with same error. And help would be apreciated. Many thanks Chris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ulrich Windl
2007-Feb-13 08:19 UTC
Re: [Xen-users] SLES10 Error: (9, ''Bad file descriptor'')
On 13 Feb 2007 at 0:08, Christian wrote:> Hi users, > > set up a host with SLES10 x86_64. > Created a domU(sles10-64) with SLES10 x86_64 too, works (used kernel > from dom0) > Created a domU(sles10) with SLES i586, works with kernel from dom0 > > but when I try to use "i586" kernel for this "sles10" and try to boot, > I get: Error: (9, ''Bad file descriptor'')AFAIK, the EMT64 media of SLES10 only contains a 64bit XEN Kernel. You cannot use "any kernel", unless using HVM mode. Ulrich> > I googled around and found to try "mkinitrd -s off" for building > initrd-modue but with no succes. > Other option was to use mkinitramfs instead, but SLES10 does not have it. :( > > Is it possible to run i586 guest with a i586 kernel on x86_64 Host ?? > Target is to be able to build "i586" RPM''s with guest and this does not > work while the i586 guest uses the x86_64 kernel of dom0. (uname -m) > x86_64 :( > > I tried to use bootloader, to load initrd from inside the guest, but > with same error. > > And help would be apreciated. > Many thanks > Chris > > > _______________________________________________ > 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
Christian
2007-Feb-15 13:08 UTC
Re: [Xen-users] SLES10 Error: (9, ''Bad file descriptor'')
Hi Ulrich,> AFAIK, the EMT64 media of SLES10 only contains a 64bit XEN Kernel. You cannot use > "any kernel", unless using HVM mode. >And how do I find out, if my CPU/Hardware is HVM capable ? I''m using a HP DL-380G4p processor : 3 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.40GHz stepping : 3 cpu MHz : 3400.118 cache size : 2048 KB physical id : 3 siblings : 1 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl est cid cx16 xtpr bogomips : 8505.03 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: Thanks for your help. Christian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Feb-15 13:14 UTC
RE: [Xen-users] SLES10 Error: (9, ''Bad file descriptor'')
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Christian > Sent: 15 February 2007 13:09 > To: Xen-Users > Cc: Ulrich Windl > Subject: Re: [Xen-users] SLES10 Error: (9, ''Bad file descriptor'') > > Hi Ulrich, > > AFAIK, the EMT64 media of SLES10 only contains a 64bit XEN > Kernel. You cannot use > > "any kernel", unless using HVM mode. > > > And how do I find out, if my CPU/Hardware is HVM capable ?You look for vmx (or svm in the 385 model with AMD processors) here: flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl est cid cx16 xtpr It''s not there, so your processor isn''t HVM capable (or it''s turned off in the BIOS perhaps?) -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users