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-users

Re: [Xen-users] help launching a Centos 5.5 Xen PV guest on an OpenSuse

To: 0bo0 <0.bugs.only.0@xxxxxxxxx>
Subject: Re: [Xen-users] help launching a Centos 5.5 Xen PV guest on an OpenSuse 11.2 Dom0 host ?
From: Mark Pryor <tlviewer@xxxxxxxxx>
Date: Wed, 2 Jun 2010 22:20:51 -0700 (PDT)
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Jun 2010 22:22:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275542451; bh=FvyUeG6ek0WTYlVR8SmtKQ4UN88eQBGNIRC9uRJ/Yjw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Lk133uF9haEt1uDu0Ta9d4jxPDW7/bT42O2hSgcpxDGRdzAW1ajKYtyvWhgnzubCNRTfiWonSjdr6HtmenO4vKo/rtLHgn5uGr9Rlc17wiUkpJAuJX8SJo5hUD791N98LHk1qH5Q8eRdp6Jx2vddtrKhdqGi3VcjwWPR83AlJXE=
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:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BrsFZRQniHeimovxGoqxkZUKKqbmQ1eecWm4ogQR+wesFLwolHP4iBpWrYnKurTsGCHOS5Aound/npHPdYPl232Ad/rnCZhvh+4aZfjVMJxz+KiYJTmN95rM7onh7WF+RJw2v+tQbwh51b/hQKlJx1PC3LGk9lZdyiX0rY+BUqM=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimT7Su3V0zFu9xOnmJHVSyG0L5hspNHwZ1lfGcM@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

You are mixing HVM and PV type installs.
I take it for granted that you prefer PV type, so lets remove
the HVM hybrid entries.

your devices (disk=) are fine, specifying xvdi for PV.

You might be surprised to find out that the C5.5 netinstall ISO is
equivalent to using the xen aware boot files (vmlinuz, initrd) that you
D/L'd separately. So you can ditch any mention of hdc or cdrom.

The disk line with xvdc should be changed - xvdc is reserved (IIRC).

boot = 'd' is HVM only (remove)

--- On Wed, 6/2/10, 0bo0 <0.bugs.only.0@xxxxxxxxx> wrote:

> From: 0bo0 <0.bugs.only.0@xxxxxxxxx>
> Subject: [Xen-users] help launching a Centos 5.5 Xen PV guest on an OpenSuse 
> 11.2 Dom0 host ?
> To: "Xen User-List" <Xen-users@xxxxxxxxxxxxxxxxxxx>
> Date: Wednesday, June 2, 2010, 8:04 PM
> i've Opensuse 11.2 Xen Dom0,
> 
>        lsb_release -dr
>            
>    Description:    openSUSE 11.2
> (x86_64)
>            
>    Release:        11.2
> 
>        uname -a
>            
>    Linux server 2.6.34-42-xen #1 SMP
> 2010-06-01 15:17:00
> +0200 x86_64
> x86_64 x86_64 GNU/Linux
> 
> 
>        rpm -qa | grep -i xen
>            
>    xen-libs-4.0.0_21087_01-38.1.x86_64
>            
>    kernel-xen-devel-2.6.34-42.1.x86_64
>            
>    xen-tools-4.0.0_21087_01-38.1.x86_64
>            
>    kernel-xen-2.6.34-42.1.x86_64
>            
>    xen-4.0.0_21087_01-38.1.x86_64
> 
> I build & run numerous OpenSuse DomUs -- no issues.
> 
> I need to netinstall a Centos 5.5 PV'd DomU Guest on this
> host.
> 
> Using the procedure & config below, it starts to boot
> -- then hangs,
> with not much useful debugging info ... at least, not to my
> eye,
> where/how I'm looking.
> 
> If someone could once-over the following, and make any
> suggestions/hints as to what's up, it'd be appreciated!
> 
> Here's the current step-by-step:
> 
> lvcreate -n vm_boot -L 160M /dev/VG0
> lvcreate -n vm_swap -L 512M /dev/VG0
> lvcreate -n vm_root -L 8G   /dev/VG0
> 
> mkdir -p /home/xen/centos55/xenboot/
> 
> setenv DL "http://mirrors.kernel.org/centos/5.5";
> cd /home/xen/centos55
>  wget $DL/isos/x86_64/CentOS-5.5-x86_64-netinstall.iso
> cd ./xenboot/
>  wget $DL/os/x86_64/images/xen/initrd.img
>  wget $DL/os/x86_64/images/xen/vmlinuz
> 
> vi /home/xen/centos_install.cfg
> ---------------------------------------------
> name         = 'centos'
> builder      = 'linux'
> kernel        =
> "/home/xen/centos55/xenboot/vmlinuz"
> ramdisk       =
> "/home/xen/centos55/xenboot/initrd.img"
> disk         = [
> 'phy:/dev/VG0/vm_boot,xvda,w',
>                
> 'phy:/dev/VG0/vm_swap,xvdb,w',
>                
> 'phy:/dev/VG0/vm_root,xvdc,w',
> 
> 'file:/home/xen/centos55/CentOS-5.5-x86_64-netinstall.iso,hdc:cdrom,r',
   ^--- remove this line
>               ]
#boot         = 'd'
> vif          = [
> 'mac=00:16:3E:01:06:00, bridge=brA, vifname=vif.A' ]
> vfb          = [ 'type=vnc,
> vncdisplay=106, vnclisten=127.0.0.1' ]
> extra        = 'textmode=1 xencons=xvc0
> elevator=noop lang=en_US.UTF-8
> keyboard=us timezone=America/Los_Angeles bootproto=static
> ip=192.168.1.155 gateway=192.168.1.1
> nameserver=192.168.1.1
> method=http://mirrors.kernel.org/centos/5.5/os/x86_64'
OK as is
> 
> maxmem       = 1024
> memory       = 1024
> vcpus        = 4
> cpu_cap      = 100
> cpu_weight   = 256
> localtime    = 0
> netif        = 'yes'
> on_shutdown  = 'destroy'
> on_reboot    = 'restart'
> on_crash     = 'destroy'
> ---------------------------------------------
> 
> @
> 
>  xm create -c /home/xen/centos_install.cfg
> 
> starts ok, but then hangs,

try it again with the changes. You will get the askmethod menu by virtue of
the boot files.

-- 
Mark




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