[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen with DOM 0 Kernel


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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.
 
git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git   linux-2.6-xen
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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.