From: Boris Derzhavets Subject: Re: pygrub: further improve grub2 support Date: Fri, 26 Mar 2010 10:04:27 -0700 (PDT) Message-ID: <119603.96379.qm@web56103.mail.re3.yahoo.com> References: <1269622527.10129.72195.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1927171265==" Return-path: In-Reply-To: <1269622527.10129.72195.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1927171265== Content-Type: multipart/alternative; boundary="0-1156039974-1269623067=:96379" --0-1156039974-1269623067=:96379 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thank you, i've got PV DomU loaded right away ( fixed error ):- [=A0=A0=A0 0.188837] udev: starting version 151 Begin: Loading essential drivers... ... Done. Begin: Running /scripts/init-premount ... Done. Begin: Mounting root file system... ... Begin: Running /scripts/local-top ... Done. [=A0=A0=A0 0.263402] blkfront: xvda: barriers enabled [=A0=A0=A0 0.263632]=A0 xvda: xvda1 xvda2 < xvda5 > Begin: Running /scripts/local-premount ... Done. [=A0=A0=A0 0.537976] EXT4-fs (xvda1): mounted filesystem with ordered data = mode Begin: Running /scripts/local-bottom ... Done. Done. Begin: Running /scripts/init-bottom ... Done. fsck from util-linux-ng 2.17.2 /dev/xvda1: clean, 154798/960992 files, 786049/3837952 blocks Ubuntu lucid (development branch) Ubuntu10 hvc0 Ubuntu10 login: root Password:=20 Last login: Fri Mar 26 13:32:29 MSK 2010 on tty1 Linux Ubuntu10 2.6.32-16-server #25-Ubuntu SMP Tue Mar 9 17:40:50 UTC 2010 = x86_64 For documentation and useful resources, please visit: =A0* http://ubuntu.com/server/doc =A0 System information as of Fri Mar 26 00:55:37 MSK 2010 =A0 System load: 0.05=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Memory usage: = 2%=A0=A0 Processes:=A0=A0=A0=A0=A0=A0 79 =A0 Usage of /:=A0 5.8% of 14.41GB=A0=A0 Swap usage:=A0=A0 0%=A0=A0 Users l= ogged in: 0 =A0 Graph this data and manage this system at https://landscape.canonical.c= om/ 75 packages can be updated. 0 updates are security updates. Checking for a new ubuntu release No new release found For documentation and useful resources, please visit: =A0* http://ubuntu.com/server/doc =A0 System information as of Fri Mar 26 20:01:05 MSK 2010 =A0 System load: 0.06=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Memory usag= e: 1%=A0=A0 Processes:=A0=A0=A0=A0=A0=A0 101 =A0 Usage of /:=A0 19.2% of 14.41GB=A0=A0 Swap usage:=A0=A0 0%=A0=A0 Users = logged in: 0 =A0 Graph this data and manage this system at https://landscape.canonical.c= om/ Checking for a new ubuntu release No new release found root@Ubuntu10:~# uname -a Linux Ubuntu10 2.6.32-16-server #25-Ubuntu SMP Tue Mar 9 17:40:50 UTC 2010 = x86_64 GNU/Linux Boris. --- On Fri, 3/26/10, Ian Campbell wrote: From: Ian Campbell Subject: Re: [Xen-devel] pygrub: further improve grub2 support To: "Boris Derzhavets" Cc: "xen-devel@lists.xensource.com" Date: Friday, March 26, 2010, 12:55 PM On Fri, 2010-03-26 at 16:52 +0000, Boris Derzhavets wrote: > I would guess HVM image is bkoken on for Ubuntu 10.04 Server Beta > Attempt to load PV via profile :- >=20 > memory =3D 2048 > name =3D "Ubuntu10.04" > kernel=3D"/home/boris/lynx/vmlinuz-2.6.32-16-server" > ramdisk=3D"/home/boris/lynx/initrd.img-2.6.32-16-server" > vcpus =3D 2 > vif =3D [ 'bridge=3Deth0' ] > disk =3D [ 'phy:/dev/sda8,xvda,w'] > extra=3D"root=3D/dev/sda1 ro console=3Dhvc0" >=20 At a minimum this last line should be extra=3D"root=3D/dev/xvda1 ro console=3Dhvc0" sda is not a valid device name for a PV guest with a pvops kernel. There may be other tailoring required within the guest as well. Ian. =0A=0A=0A --0-1156039974-1269623067=:96379 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =
Thank you, i've got PV DomU loaded right away= ( fixed error ):-

[    0.188837] udev: starting vers= ion 151
Begin: Loading essential drivers... ...
Done.
Begin: Runni= ng /scripts/init-premount ...
Done.
Begin: Mounting root file system.= .. ...
Begin: Running /scripts/local-top ...
Done.
[  &n= bsp; 0.263402] blkfront: xvda: barriers enabled
[    0.26= 3632]  xvda: xvda1 xvda2 < xvda5 >
Begin: Running /scripts/lo= cal-premount ...
Done.
[    0.537976] EXT4-fs (xvda1):= mounted filesystem with ordered data mode
Begin: Running /scripts/local= -bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...Done.
fsck from util-linux-ng 2.17.2
/dev/xvda1: clean, 154798/96099= 2 files, 786049/3837952 blocks

Ubuntu lucid (development branch) Ubuntu10 hvc0

Ubuntu10 login: root
Password:
Last login: Fri= Mar 26 13:32:29 MSK 2010 on tty1
Linux Ubuntu10 2.6.32-16-server #25-Ub= untu SMP Tue Mar 9 17:40:50 UTC 2010 x86_64

For documentation and us= eful resources, please visit:
 * http://ubuntu.com/server/doc
  System information as of Fri Mar 26 00:55:37 MSK 2010

 = ; System load: 0.05         &n= bsp;    Memory usage: 2%   Processes:  &= nbsp;    79
  Usage of /:  5.8% of 14.41GB = ;  Swap usage:   0%   Users logged in: 0

&n= bsp; Graph this data and manage this system at https://landscape.canonical.= com/

75 packages can be updated.
0 updates are security updates.<= br>
Checking for a new ubuntu release
No new release found

For= documentation and useful resources, please visit:
 * http://ubuntu.com/server/doc

  System information as of Fri Ma= r 26 20:01:05 MSK 2010

  System load: 0.06   &nb= sp;           Memory usag= e: 1%   Processes:       101
&nb= sp; Usage of /:  19.2% of 14.41GB   Swap usage:   = 0%   Users logged in: 0

  Graph this data and manage = this system at https://landscape.canonical.com/

Checking for a new u= buntu release
No new release found
root@Ubuntu10:~# uname -a
Linux= Ubuntu10 2.6.32-16-server #25-Ubuntu SMP Tue Mar 9 17:40:50 UTC 2010 x86_6= 4 GNU/Linux


Boris.

--- On Fri, 3/26/10, Ian Campbell <= i><Ian.Campbell@citrix.com> wrote:
Cc: "xen-devel@lists.xensource.com" = <xen-devel@lists.xensource.com>
Date: Friday, March 26, 2010, 12:5= 5 PM

On Fri, 2010-03-26 at 16:52 +0000, Bor= is Derzhavets wrote:
> I would guess HVM image is bkoken on for Ubunt= u 10.04 Server Beta
> Attempt to load PV via profile :-
>
&= gt; memory =3D 2048
> name =3D "Ubuntu10.04"
> kernel=3D"/home/= boris/lynx/vmlinuz-2.6.32-16-server"
> ramdisk=3D"/home/boris/lynx/in= itrd.img-2.6.32-16-server"
> vcpus =3D 2
> vif =3D [ 'bridge=3D= eth0' ]
> disk =3D [ 'phy:/dev/sda8,xvda,w']
> extra=3D"root=3D= /dev/sda1 ro console=3Dhvc0"
>

At a minimum this last line sh= ould be
extra=3D"root=3D/dev/xvda1 ro console=3Dhvc0"

sda is not = a valid device name for a PV guest with a pvops kernel. There
may be oth= er tailoring required within the guest as well.

Ian.


=0A=0A --0-1156039974-1269623067=:96379-- --===============1927171265== 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 --===============1927171265==--