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] Xen with DOM 0 Kernel

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Xen with DOM 0 Kernel
From: kishore kumar <bodkekumar@xxxxxxxxx>
Date: Tue, 16 Mar 2010 10:32:17 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 Mar 2010 10:35:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=jUB4ZKFqG1aFtjz5mypTEHFi63R8nSiS/eLJxSGL8KM=; b=d2WeGGAZsQAcYfQmGgplvN3ElMB1RfiqLSdy815Ipvq+oOjAdGxksY2MeeqrdG4MdX M1mdK35BnRB2RBDDgr6VMnmggXyW6/yoktYOGxiABj67vkbE9CPbhh78ss6oPwnIpGYs OttnUorxlNiQDCWw8o2ddYzqtwornO/ZV+HHY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WuM/OHAqxq2pHIlhMLcuOT2ZwfFnUIrQPYi05FU9407eK65XoAcP5E+5Yxm3mcT/Pf 4zF4i03ThgLdDHKOcCy/I9FgCdKFiZP93J9HMxDZ81WbNGzVLPQi/+8bZX896jqUQgiN DcEybVmm0Iq477MyPSbIyry1bIkyHNk9afTKQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9f975f341003151701u4e8da890ve2c11f5e66a44a93@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>
References: <9f975f341003121546m7042e458i67822a037076b828@xxxxxxxxxxxxxx> <20100313001842.GO1878@xxxxxxxxxxx> <9f975f341003121641m17e7398cnd2398a3f50a1c78a@xxxxxxxxxxxxxx> <20100313004730.GR1878@xxxxxxxxxxx> <9f975f341003151701u4e8da890ve2c11f5e66a44a93@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Attached is the output captured from serial console.
 
Machine does not boot after compiling xen 3.4.3 with pv_ops dom 0 kernel.
 
Please let me know what is going wrong here.
 
Thanks


 
On Mon, Mar 15, 2010 at 5:01 PM, kishore kumar <bodkekumar@xxxxxxxxx> wrote:
I was following the instructions for building pv_ops Dom 0 kernel from the below link.
http://wiki.xensource.com/xenwiki/XenParavirtOps
 
I did below steps.
 
cd linux-2.6-xen
make clean
cp -a .config .config-old
wget -O .config http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.9-pvops-dom0-xen-stable-x86_64 
make oldconfig
make bzImage
make modules
make modules_install
cp -a .config /boot/config-2.6.32.9
cp -a System.map /boot/System.map-2.6.32.9
cp -a arch/x86/boot/bzImage /boot/vmlinuz-2.6.32.9
mkinitrd -f /boot/initrd-2.6.32.9.img 2.6.32.9
It gives me error saying No module ehci-hcd found for kernel 2.6.32.9, aborting.
 
Then I tried mkinitrd -v -f --builtin=ehci-hcd --with=aacraid --with=sd_mod --with=ata_piix  /boot/initrd-2.6.32.9.img 2.6.32.9
 
It says
 
module ehci-hcd assumed to be built in
Looking for deps of module ohci-hcd
No module ohci-hcd found for kernel 2.6.32.9, aborting.
 
What is going wrong here??
 

 
On Fri, Mar 12, 2010 at 5:47 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Fri, Mar 12, 2010 at 04:41:13PM -0800, kishore kumar wrote:
>    I am going to test the 10G 82599 .
>
>    If i pull Xen 3.4.2, it is pulling DOM 0 version 2.6.18 of linux kernel at
>    the time of compilation, which does not have the SR-IOV .

Yeah, if you do "make world" in the Xen 3.4.x source tree it'll download
linux-2.6.18-xen from the mercurial/hg repository during the build process.

You can install Xen 3.4.x like this without downloading/compiling the 2.6.18 kernel:

make xen
make tools
make stubdom

make install-xen
make install-tools
make install-stubdom

And then install/compile whatever dom0 kernel.

I recommend you to use either latest xen-3.4-testing.hg or latest xen-unstable.hg,
and not the released Xen 3.4.2 because there has been a lot of VT-d related fixes lately.

> ( I mean 10G pf
>    driver is available in that version?)
>

I'm not sure. linux-2.6.18-xen has some pf/vf drivers included, but those might
be only for the 82576 (1gig). Not sure though.

You might want to use the pv_ops dom0 kernel from Jeremy's xen.git 'xen/stable' branch,
which is at version 2.6.32.9.

pv_ops dom0 kernel 2.6.32.9 requires Xen 3.4.3-rc 4.0.0-rc, it doesn't boot/work with Xen 3.4.2.

-- Pasi

>    On Fri, Mar 12, 2010 at 4:18 PM, Pasi Kärkkäinen <[1]pasik@xxxxxx> wrote:
>
>      On Fri, Mar 12, 2010 at 03:46:24PM -0800, kishore kumar wrote:
>      >    Can any one let me know which latest version of Xen and which
>      >    latest version of DOM 0 Kernel to be used for testing SR-IOV
>      >    functionality?
>      >
>      >    Where can I find them?
>      >
>
>      What SR-IOV capable card are you going to test?
>      You can either use the latest Xen 3.4.x version, or the latest Xen 4.0.0
>      rc version.
>
>      [2]http://xenbits.xen.org/xen-3.4-testing.hg (Xen 3.4.3 release
>      candidates).
>      [3]http://xenbits.xen.org/xen-unstable.hg (xen 4.0.0 release
>      candidates).
>
>      Available Xen dom0 kernels:
>      [4]http://wiki.xensource.com/xenwiki/XenDom0Kernels
>      -- Pasi
>
> References
>
>    Visible links
>    1. mailto:pasik@xxxxxx
>    2. http://xenbits.xen.org/xen-3.4-testing.hg
>    3. http://xenbits.xen.org/xen-unstable.hg
>    4. http://wiki.xensource.com/xenwiki/XenDom0Kernels


Attachment: mar_16_log.txt
Description: Text document

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