From: jdsw Subject: Re: Fwd: 3.0.2 domu files not working on 3.0.3 Date: Thu, 9 Nov 2006 13:53:54 -0800 (PST) Message-ID: <20061109215355.98910.qmail@web35811.mail.mud.yahoo.com> References: <20061109190011.GD5223@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0876035924==" Return-path: In-Reply-To: <20061109190011.GD5223@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" Cc: xendevel List-Id: xen-devel@lists.xenproject.org --===============0876035924== Content-Type: multipart/alternative; boundary="0-330390408-1163109234=:98721" Content-Transfer-Encoding: 8bit --0-330390408-1163109234=:98721 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit My machine has PAE and xen with PAE. I got the domU kernel and ramdisk from one of the fedora mirror from under the xen directory. From the xend-debug.log it seems you may be right, these may not be PAE kernels. example site : ftp://mirror.eas.muohio.edu/fedora/linux/core/5/i386/os/images/xen/ The errors in the debug file xend-debug.log ERROR: Unrecognized image format ERROR: Error constructing guest OS ERROR: Unrecognized image format ERROR: Error constructing guest OS 1. how do I determine, if the kernel is PAE enabled or not. a. when the system is running b. when I just have the kernel files as in this case ? I tried the kernel from /boot/vmlinuz-2.6-xen (as this is supposed to work with domU and Dom0 both right ?) I used the old initrd. The error 22, Invalid argument is gone...and the domU starts but it crashes. (probably because of the mismatched initrd ?) 2. Where do I get PAE enabled Xen kernels where I can possibly kick of installation similar to bare metal ? When I tried the following... http://www.xensource.com/download/dl_303guest_rhel4.html #rpm -i kernel-xenU-2.6.9-42.0.2.EL.xs148.i686.rpm error: Failed dependencies: kernel < 2.6.13 conflicts with kudzu-1.2.34.3-1.i386 kernel < 2.6.12 conflicts with initscripts-8.31.5-1.i386 kernel < 2.6.15 conflicts with hal-0.5.7.1-2.fc5.i386 #uname -a Linux test 2.6.16.29-xen #4 SMP Sun Oct 15 13:20:46 BST 2006 i686 athlon i386 GNU/Linux What are my options ? Any pointers ? Thanks /Jd "Daniel P. Berrange" wrote: On Thu, Nov 09, 2006 at 10:47:35AM -0800, jdsw wrote: > any ideas ? (did not get response on xen-users list) > > --------------------------------- > Access over 1 million songs - Yahoo! Music Unlimited. > Date: Wed, 8 Nov 2006 07:43:47 -0800 (PST) > From: jdsw > Subject: 3.0.2 domu files not working on 3.0.3 > To: XenUsers > > Hi > I have the following file, which is not working on 3.0.3. I am on a HVM capable machine with xen 3.0.3 installed. > It fails with > > Using config file "/etc/xen/T1". > Error: (22, 'Invalid argument') This typically means the kernel being used for the guest is incompatible with the hypervisor or Dom0 kernel. Common causes being PAE vs non-PAE mismatch, or wrong archtecture, or using a baremetal kernel. The xend.log or xend-debug.log may give you further details on the precise error. > > -------- > ramdisk = '/var/cache/xenman/anaconda_install/initrd.default' > kernel = '/var/cache/xenman/anaconda_install/vmlinuz.default' > #vif = '' > name = 'T1' > on_reboot = 'destroy' > on_crash = 'destroy' > memory = 256 > disk = ['file:/mnt/images/dom_disks/T1.disk.xm,hda,w'] > ----- > I tried it with vif = "" and vif = [ ''] (similar to xmexample1) > > The xend log file is attached. > > Any ideas. > a. I am assuming that on HVM capable machine, u can still run paravirtualized domUs > > b. Where can I set of changes in 3.0.3 ? (I remember reading about cdrom directive being changed...) > Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. --0-330390408-1163109234=:98721 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit My machine has PAE and xen with PAE.

I got the domU kernel and ramdisk from one of the fedora mirror from under the xen directory.  From the xend-debug.log it seems you may be right, these may not be PAE kernels.

example site :
ftp://mirror.eas.muohio.edu/fedora/linux/core/5/i386/os/images/xen/

 The errors in the debug file
xend-debug.log
ERROR: Unrecognized image format
ERROR: Error constructing guest OS
ERROR: Unrecognized image format
ERROR: Error constructing guest OS

1. how do I determine, if the kernel is PAE enabled or not.
a. when the system is running
b. when I just have the kernel files as in this case ?

I tried the kernel from /boot/vmlinuz-2.6-xen  (as this is supposed to work with domU and Dom0 both right ?)  I used the old initrd.
The error 22, Invalid argument is gone...and th e domU starts  but it  crashes. (probably because of the mismatched initrd ?)

2. Where do I get PAE enabled Xen kernels where I can possibly kick of installation similar to bare metal ?
 
When I tried the following...
http://www.xensource.com/download/dl_303guest_rhel4.html

#rpm -i kernel-xenU-2.6.9-42.0.2.EL.xs148.i686.rpm
error: Failed dependencies:
        kernel < 2.6.13 conflicts with kudzu-1.2.34.3-1.i386
        kernel < 2.6.12 conflicts with initscripts-8.31.5-1.i386
        kernel < 2.6.15 conflicts with hal-0.5.7.1-2.fc5.i386

#uname -a
Linux test 2.6.16.29-xen #4 SMP Sun Oct 15 13:20:46 BST 2006 i686 athlon i386 GNU/Linux

What are my options ? Any pointers ?

Thanks
/Jd

"Daniel P. Berrange" <berrange@redhat.com> wrote:
On Thu, Nov 09, 2006 at 10:47:35AM -0800, jdsw wrote:
> any ideas ? (did not get response on xen-users list)
>
> ---------------------------------
> Access over 1 million songs - Yahoo! Music Unlimited.
> Date: Wed, 8 Nov 2006 07:43:47 -0800 (PST)
> From: jdsw
> Subject: 3.0.2 domu files not working on 3.0.3
> To: XenUsers
>
> Hi
> I have the following file, which is not working on 3.0.3. I am on a HVM capable machine with xen 3.0.3 installed.
> It fails with
>
> Using config file "/etc/xen/T1".
> Error: (22, 'Invalid argument')

This typically means the kernel being used for the guest is incompatible
with the hypervisor or Dom0 kernel. Common causes being PAE vs non-PAE
mismatch, or wrong archtecture, or using a baremetal ker nel. The xend.log
or xend-debug.log may give you further details on the precise error.

>
> --------
> ramdisk = '/var/cache/xenman/anaconda_install/initrd.default'
> kernel = '/var/cache/xenman/anaconda_install/vmlinuz.default'
> #vif = ''
> name = 'T1'
> on_reboot = 'destroy'
> on_crash = 'destroy'
> memory = 256
> disk = ['file:/mnt/images/dom_disks/T1.disk.xm,hda,w']
> -----
> I tried it with vif = "" and vif = [ ''] (similar to xmexample1)
>
> The xend log file is attached.
>
> Any ideas.
> a. I am assuming that on HVM capable machine, u can still run paravirtualized domUs
>
> b. Where can I set of changes in 3.0.3 ? (I remember reading about cdrom directive being changed...)
>

Regards,
Dan.

--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://se arch.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel


Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. --0-330390408-1163109234=:98721-- --===============0876035924== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0876035924==--