WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Pygrub in Xen 3.5 unstable cannot read ISO image (CentOS

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Pygrub in Xen 3.5 unstable cannot read ISO image (CentOS 5.3, SNV_117).Cannot find kernel "/images/xen/vmlinuz"
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Fri, 24 Jul 2009 22:35:37 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 24 Jul 2009 22:36:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1248500137; bh=1uzBRpj8psJecTChl2FKPJjkoDqoNYHdbvdtt0Co3Hs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=wj+FYZjqSQ7f/zV676Chq9Su3cPR8l3jxlsr/BifSZuyXiw0mCqKV9bpSWdAYh3vlAiIVavs+3dtA8XHc7nYFlqZ9UGOrYq2VZVttXOT/HcFjTTwlvL7NxoAy/6HHeZ6ZdVm8xw1BKZnxsCO47YkOSpRkBNu9cBuYIuROUGKw9U=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=PJrfF7D8nl7Wlg97yJluCduiEA+oQ6Hdfw+HgIfGpb7QBebZVQHzLcJ7xpsS9Bwrr++tN6EmBvrM3TNdvgakP6pDg7NNXXqr05ziDWxRwvE5DNPXotdT2w1NC9FT7njuJxN5aAE/A7miCr8OfVHub9pq5157ggQRkd07sMnqlRY=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I was able to perform install via HTTP source :-

# wget http://192.168.1.42/rhel/images/xen/vmlinuz
# wget http://192.168.1.42/rhel/images/xen/initrd.img

name="RHEL53PV"
memory=2048
disk = ['phy:/dev/sdb6,xvda,w' ]
vif = [ 'bridge=eth0', ]
vfb = [ 'type=vnc,vncunused=1' ]
# bootloader = "/usr/local/bin/pygrub"
kernel = "/home/boris/rhel/vmlinuz"
ramdisk = "/home/boris/rhel/initrd.img"
vcpus=1



# xm create rhel53.install
# vncviewer localhost:0


--- On Sat, 7/25/09, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: [Xen-devel] Pygrub in Xen 3.5 unstable cannot read ISO image (CentOS 5.3, SNV_117).Cannot find kernel "/images/xen/vmlinuz"
To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Saturday, July 25, 2009, 1:11 AM

root@ServerJaunty:/home/boris/nevada# losetup -a

/dev/loop0: [0812]:27534 (/home/boris/rhel53.iso)
/dev/loop1: [0812]:27534 (/home/boris/rhel53.iso)
/dev/loop2: [0812]:1334 (/home/boris/snv117.iso)

Attempt  to run :-
1.)
root@ServerJaunty:/home/boris/rhel# cat rhel53.install
name="RHEL53PV"
memory=2048
disk = ['phy:/dev/loop1,hdc:cdrom,r',
'phy:/dev/sdb6,xvda,w' ]
vif = [ 'bridge=eth0', ]
vfb = [ 'type=vnc,vncunused=1' ]
bootloader = "/usr/local/bin/pygrub"
kernel = "/images/xen/vmlinuz"
ramdisk = "/images/xen/initrd.img"
vcpus=1


root@ServerJaunty:/home/boris/rhel# xm create rhel53.install
Using config file "./rhel53.install".
Error: Cannot find kernel "/images/xen/vmlinuz"

2)
root@ServerJaunty:/home/boris/nevada# cat snv117.install
name = 'Solaris117PV'
memory = '2048'
disk = [ 'phy:/dev/loop2,6:cdrom,r','phy:/dev/sdb5,0,w']
vif = [ 'bridge = eth0' ]
bootloader = '/usr/local/bin/pygrub'
kernel = '/boot/platform/i86xpv/kernel/amd64/unix'
ramdisk = '/boot/amd64/x86.miniroot'
extra = '/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'
root@ServerJaunty:/home/boris/nevada# xm create -c snv117.install
Using config file "./snv117.install".
Error: Cannot find kernel "/boot/platform/i86xpv/kernel/amd64/unix"

*************************************************
Same profiles work fine at Xen 3.4.1 Dom0
*************************************************

Diff doesn't show any changes in pygrub :-
root@ServerJaunty:/usr/src# diff -uN ./xen-3.4-testing.hg/tools/pygrub/src/pygrub ./xen-unstable.hg/tools/pygrub/src/pygrub

root@ServerJaunty:/usr/src#

Boris.



-----Inline Attachment Follows-----

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>