From: Boris Derzhavets Subject: Re: Re: [Xen-users] Xen 4.0.0-rc6 - Linux 2.6.32.9 paravirt_ops dom0 on Ubuntu Desktop 9.10 success! Date: Tue, 16 Mar 2010 13:02:37 -0700 (PDT) Message-ID: <197714.7280.qm@web56101.mail.re3.yahoo.com> References: <20fe3cf61003161207o3696a5dfy97667b2f68980365@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0989646132==" Return-path: In-Reply-To: <20fe3cf61003161207o3696a5dfy97667b2f68980365@mail.gmail.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: Marco Sinhoreli Cc: xen-devel , Xen List , =?utf-8?B?TWFydGlueCAtIOOCuOOCp+ODvOODoOOCug==?= List-Id: xen-devel@lists.xenproject.org --===============0989646132== Content-Type: multipart/alternative; boundary="0-1595188889-1268769757=:7280" --0-1595188889-1268769757=:7280 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ubuntu 9.10 Server Grub2 does have issues with loading Xen Instance. There are several well known workarounds. 1. Per PVops Wiki : adding dummy=3Ddummy as first argument to kernel comman= d line. 2. Build kernel with built-in command line. Boris. --- On Tue, 3/16/10, Marco Sinhoreli wrote: From: Marco Sinhoreli Subject: [Xen-devel] Re: [Xen-users] Xen 4.0.0-rc6 - Linux 2.6.32.9 paravir= t_ops dom0 on Ubuntu Desktop 9.10 success! To: "Boris Derzhavets" Cc: "xen-devel" , "Xen List" , "Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA"= Date: Tuesday, March 16, 2010, 3:07 PM I tested the grub2 and it's loading Xen instance normally. Below my configu= ration file: =0A# cat /etc/grub.d/40_custom#!/bin/shexec tail -n +3 $0=0A# This file is = an Xen custom entriesmenuentry "Xen 3.4 / Debian Lenny 5.0 kernel 2.6.18.8-= xen" {=C2=A0=C2=A0insmod raid=0A=C2=A0=C2=A0set root=3D(md1)=C2=A0=C2=A0sea= rch --fs-uuid --set e795a163-5418-4ae9-8021-83fe9ce05ea7=C2=A0=0A=C2=A0=C2= =A0multiboot /xen-3.4.gz dom0_mem=3D512M iommu=3D1=C2=A0=C2=A0module /vmlin= uz-2.6.18.8-xen root=3D/dev/md3 ro console=3Dtty0 pciback.hide=3D(06:0c.0)(= 06:0d.0)(06:0e.0)(06:0f.0)=0A=C2=A0=C2=A0module /initrd.img-2.6.18.8-xen=C2= =A0} It was configured with xen 3.4.2 and without pvops kernel. I will try the x= en 4.0.0rc6 and I will post the results.=0A Cheers 2010/3/16 Boris Derzhavets =0A>And I'm using the Grub1. =0AWhat's wrong with native Grub2 ( it doesn't load Xen Instance ?) Boris. --- On Tue, 3/16/10, Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82= =BA wrote: =0A From: Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA Subject: [Xen-users] Xen 4.0.0-rc6 - Linux 2.6.32.9 paravirt_ops dom0 on Ub= untu Desktop 9.10 success! =0ATo: "Xen List" , "xen-devel" =0ADate: Tuesday, March 16, 2010, 12:51 PM Guys! =C2=A0For the first time, I have the Xen 4.0.0-rc6 with Linux 2.6.32.9 as m= y dom0 using the paravirt_ops. =C2=A0The Intel modesetting is working too! =0A =C2=A0My xm=0A info shows: root@tcmc-dell:~# xm info =0A=0Ahost=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : tcmc-dell release=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : 2.6.32.9-tcmc-10.03-1 version=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : #3 SMP Tue Mar 16 11:14:56 BRT 2010 machine=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : x86_64 nr_cpus=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : 2 nr_nodes=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 : 1 =0A=0A=0Acores_per_socket=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : 2 threads_per_core=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : 1 cpu_mhz=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : 2992 hw_caps=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : bfebfbff:20100800:00000000:00000940:0408e3fd:000= 00000:00000001:00000000 virt_caps=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 : hvm =0A=0A=0Atotal_memory=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 : 3755 free_memory=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 : 131 node_to_cpu=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 : node0:0-1 node_to_memory=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : node0:131 node_to_dma32_mem=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : node0:68 max_node_id=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 : 0 xen_major=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 : 4 =0A=0A=0Axen_minor=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 : 0 xen_extra=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 : .0-rc6 xen_caps=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-= x86_32p hvm-3.0-x86_64=20 xen_scheduler=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : credi= t xen_pagesize=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : = 4096 =0A=0A=0Aplatform_params=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : virt_s= tart=3D0xffff800000000000 xen_changeset=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Mon M= ar 15 17:08:29 2010 +0000 21036:c1f272c3a441 xen_commandline=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=20 cc_compiler=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 : gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)=20 =0A=0A=0Acc_compile_by=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 : root cc_compile_domain=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : worldweb.office cc_compile_date=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Tue Mar 16 11:2= 5:25 BRT 2010 xend_config_format=C2=A0=C2=A0=C2=A0=C2=A0 : 4 =C2=A0To install the "tools", I need to run: =0A=0A=0A make install-tools PYTHON_PREFIX_ARG=3D =C2=A0And I'm using the Grub1. =C2=A0Now it is time to make a few domUs! Cheers! Thiago =0A -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com =0Ahttp://lists.xensource.com/xen-users =0A=0A =20 _______________________________________________ =0AXen-users mailing list =0AXen-users@lists.xensource.com =0Ahttp://lists.xensource.com/xen-users --=20 Marco Sinhoreli =0A=0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1595188889-1268769757=:7280 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Ubuntu 9.10 Server Grub2 does have issues wit= h loading Xen Instance.
There are several well known workarounds.
1. = Per PVops Wiki : adding dummy=3Ddummy as first argument to kernel command l= ine.
2. Build kernel with built-in command line.

Boris.

--= - On Tue, 3/16/10, Marco Sinhoreli <msinhore@gmail.com>= wrote:

From: Marco Sinhoreli <msinhore@= gmail.com>
Subject: [Xen-devel] Re: [Xen-users] Xen 4.0.0-rc6 - Linux= 2.6.32.9 paravirt_ops dom0 on Ubuntu Desktop 9.10 success!
To: "Boris D= erzhavets" <bderzhavets@yahoo.com>
Cc: "xen-devel" <xen-devel@l= ists.xensource.com>, "Xen List" <xen-users@lists.xensource.com>, "= Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA" <thiagocmartins= c@gmail.com>
Date: Tuesday, March 16, 2010, 3:07 PM

I tested the grub2= and it's loading Xen instance normally. Below my configuration file:
<= br>
= =0A# cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
=0A# This file is an Xen custom entries
menuentry "Xen 3.4 / Debian Lenny 5.0 kernel 2.= 6.18.8-xen" {
&nbs= p; insmod raid
=0A
  set root=3D(md1)
  search --fs-uuid --set e795a163-5418-4ae9-8021-= 83fe9ce05ea7 
=0A  multiboot /xen-3.4.gz dom0_mem=3D512M iommu=3D1
  module /vmlinuz-2= .6.18.8-xen root=3D/dev/md3 ro console=3Dtty0 pciback.hide=3D(06:0c.0)(06:0= d.0)(06:0e.0)(06:0f.0)
=0A  module /initrd.img-2.6.18.8-xen 
}

I= t was configured with xen 3.4.2 and without pvops kernel. I will try the xe= n 4.0.0rc6 and I will post the results.
=0A

C= heers



2010/3/16 Boris Derzhavets <bderzhavets@yahoo.com>
=0A
>= ;And I'm using the Grub1.
=0A
What's wrong with native Grub2 ( it d= oesn't load Xen Instance ?)


Boris.

--- On Tue, 3/16/10= , Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA <thiagocmartinsc@gmail.com= > wrote:
=0A

From: Martinx - = =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA <thiagocmartinsc@gmail.com>
Sub= ject: [Xen-users] Xen 4.0.0-rc6 - Linux 2.6.32.9 paravirt_ops dom0 on Ubunt= u Desktop 9.10 success!
=0ATo: "Xen List" <xen-users@lists.xensource.com= >, "xen-devel" <xen-devel@lists.xensource.com>
=0ADate: Tuesday, M= arch 16, 2010, 12:51 PM


Guys!=

 For the first time, I have the Xen 4.0.0-rc6 with Linux 2.6.3= 2.9 as my dom0 using the paravirt_ops.

 The Intel modesetting i= s working too!
=0A
 My xm=0A info shows:

root@tcmc-dell:~= # xm info
=0A=0Ahost        &nbs= p;          : tcmc-dell
rel= ease            = ;    : 2.6.32.9-tcmc-10.03-1
version   &nb= sp;            : #3 = SMP Tue Mar 16 11:14:56 BRT 2010
machine     &n= bsp;          : x86_64
nr_c= pus            =     : 2
nr_nodes       = ;        : 1
=0A=0A=0Acores_per_socke= t       : 2
threads_per_core  &n= bsp;    : 1
cpu_mhz      &n= bsp;         : 2992
hw_caps = ;            &n= bsp;  : bfebfbff:20100800:00000000:00000940:0408e3fd:00000000:00000001= :00000000
virt_caps         = ;     : hvm
=0A=0A=0Atotal_memory   &= nbsp;       : 3755
free_memory  =           : 131
node_to_cpu=             : node0:= 0-1
node_to_memory         : nod= e0:131
node_to_dma32_mem      : node0:68
max= _node_id            = : 0
xen_major          = ;    : 4
=0A=0A=0Axen_minor     =          : 0
xen_extra &nbs= p;            : .0-r= c6
xen_caps          &= nbsp;    : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm= -3.0-x86_32p hvm-3.0-x86_64
xen_scheduler     =      : credit
xen_pagesize    &n= bsp;      : 4096
=0A=0A=0Aplatform_params =        : virt_start=3D0xffff800000000000
x= en_changeset          : Mon Ma= r 15 17:08:29 2010 +0000 21036:c1f272c3a441
xen_commandline  &= nbsp;     :
cc_compiler    &nbs= p;       : gcc version 4.4.1 (Ubuntu 4.4.1-4u= buntu9)
=0A=0A=0Acc_compile_by       = ;   : root
cc_compile_domain      : w= orldweb.office
cc_compile_date       = : Tue Mar 16 11:25:25 BRT 2010
xend_config_format   &nbs= p; : 4

 To install the "tools", I need to run:
=0A=0A=0A
= make install-tools PYTHON_PREFIX_ARG=3D

 And I'm using the Grub= 1.

 Now it is time to make a few domUs!

Cheers!
Thiag= o
=0A

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

_______________________________________________
Xen-users mailing lis= t

=0A=0A =
_______________________________________________
=0AXen-users mail= ing list
=0AXen-users@lists.xensource.com
=0Ahttp://lists.xens= ource.com/xen-users



-- =
Marco Sinhoreli
=0A=0A
-----Inline Attachment Follows= -----

_____________________________________= __________
Xen-devel mailing list
Xe= n-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A=0A=0A --0-1595188889-1268769757=:7280-- --===============0989646132== 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 --===============0989646132==--