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: Mon, 15 Mar 2010 17:01:20 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 15 Mar 2010 17:02:49 -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=ZfHmXCn9odPN4TMzbZ+yGA/UBR2bCcniPv0RoN0LwJ8=; b=hyj4d+bYajbGVOfJxNdjEm8sdBgUk+gjJ3YO4Dmn9EJ/LculvcK08yCZePJBBMspHW aKJeVZDtcvzSbqTo3R0SdYLtWEFKKWnDB6iSwXRBLEPszBG2Z/RHCSUoWnhvR0LHwCkG yAvllXX5PMIF5GLDo2fxlR7XIINp4K4G4mKes=
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=Py3m5EsDONqJzJrpMU4rF/WcWZhrvX882MU97FPNdj1OXPUQ/yYWLX86gsQDX/gjgy QN0XkBt/bMNd58cuZk0tZlws8obuMGiJzuHP0e6bfmFGRmSxnpeh50rIGQoGN0Y5scT3 8xD0R6OvJlMcQT+xC69G5nm8SUCVXyOjyzzaI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100313004730.GR1878@xxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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