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] Latest Xen Kernel

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Latest Xen Kernel
From: Paul Schulze <avlex@xxxxxxx>
Date: Fri, 18 Jul 2008 00:08:05 +0200
Delivery-date: Thu, 17 Jul 2008 15:08:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:mime-version:in-reply-to :references:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-pgp-agent:x-mailer:sender; bh=OORO0RbuZQNFRC8ghAqFfZVgNIymwr3wvbAZQKMF5x0=; b=YTQqxri3lVoUJbEEOl46QyjpE4OXE9m6bFUhkaagTNaHqbSEW+ZLcxoeWOzGToMIVR iif1NsQO0DwuHcr2Cu838+OTMoItGqw4il1IG93T7C/feqK4P1HhuU/8r/4+A14WaDYG XkXfQ2lGsqyVH82oPjvZUjDVHcrKjqoKtX+fQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-pgp-agent:x-mailer :sender; b=ctal7zz4ozwy4gWXpkNco3Pqftxyim9soYT69cQkXStuPbXH3YcOGhpjGtmmRV6z1U bJwPrsvGGGwQgdHyJjTy3MiCZn5d+YvaPF+h5wB5fhf1vVSQSyudomn1HF3lmuE2kCsN ffqhnUQF484mNtVbG6dCY9zSDH+CeYi5w+S8I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4bca5f6c0807171415y62400bedscd10f37820ed06f0@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: <4bca5f6c0807162002o459a1f64qf23e089bc286f579@xxxxxxxxxxxxxx> <1216267814.5537.23.camel@xxxxxxxxxxxxxxxxxxxxx> <0D462589-FA51-479D-892F-18D5D57BFAEB@xxxxxxx> <20080717100729.GR3771@xxxxxxxxxxxxxxx> <4bca5f6c0807171415y62400bedscd10f37820ed06f0@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Am 17.07.2008 um 23:15 schrieb Christopher Isip:



On Thu, Jul 17, 2008 at 6:07 AM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Thu, Jul 17, 2008 at 11:43:42AM +0200, Paul Schulze wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Christopher,
>
> If you need some extended capabilities, the mainline kernel's Xen
> support won't be much help. That includes pci passthrough support
> (don't know when this'll ever be part of vanilla), but as long as you
> find the necessary patches, any kernel should work. I've found Xen
> patches for kernel 2.6.25 in the debian linux-image source package
> for example (though I haven't tried them yet, because it's a whole
> lot of work to extract the ones that are necessary) and for my IPCop
> Experimental DomU I'm using the Xen and IO delay patches from
> Ubuntu's linux-image-2.6.24-18-xen source package (this one still has
> some issues with pci_dma_xen-32.c and random crashes, but works in
> general) and I'm guessing there will be some patches for 2.6.26 in
> one distribution or another soon too. You'll need a bit of knowledge
> about how to extract the necessary stuff from those, about patching
> and building the kernel and probably about fixing some stuff by hand
> too (the Ubuntu 2.6.24 patches have issues with building a DomU-only
> kernel for example). You could always extract a precompiled kernel
> from a binary package though, but that might lead to problems with
> the system later (if some patch is missing for example).
>

Ubuntu 8.04 LTS Linux 2.6.24 kernel contains "forward-port" of the xensource
2.6.18 xen patches, with full xen functionality.

Debian 2.6.25 Linux kernel contains the "native" pv_ops based xen support,
which is included in the upstream/vanilla kernel.org linux kernels.

pv_ops based Linux xen kernel lacks many of the features from xensource xen kernels unfortunately.. at the moment. Linux 2.6.26 adds more features, and more are queue for inclusion in 2.6.27. The biggest (most important) missing
feature from pv_ops kernels is dom0 support.

More info about pv_ops xen kernels:
http://wiki.xensource.com/xenwiki/XenParavirtOps

-- Pasi

> Cheers,
>
>
> Paul.
>
> - --
> Paul Schulze
> avlex@xxxxxxx
> Public Key: http://solaris-net.dyndns.org/keys/key_avlex.asc
>
> "Making mistakes is human,
> but to really fuck things up you need Computers"
>
>
> Am 17.07.2008 um 06:10 schrieb Tim Post:
>
> >On Wed, 2008-07-16 at 23:02 -0400, Christopher Isip wrote:
> >>What is the latest xen kernel that could be used in a domU?  I am
> >>currently using Ubuntu 8.04 with 2.6.24-16.
> >
> >That kernel can be used in a dom-u , however your going to need an
> >initrd since ext3 / ext2 are modular in that kernel.
> >
> >Any recent Linux kernel can be used as a dom-u kernel, this link
> >should
> >help you:
> >
> >http://wiki.xensource.com/xenwiki/Kernel.org_Linux_on_Xen
> >
> >
> >Hope this helps.
> >
> >--Tim
> >
> >
> >

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


Thanks for the replies. I am interested mainly in forward ports as the paravirt-ops in mainline dont have pciback capability. So, 2.6.25 will be paravirt-ops only? To create a xenlinux kernel, I must manually patch 2.6.25 with the xen patches in debian linux source?

Thanks
Chris



Hi Chris,

You can try, but it isn't all that easy to isolate the necessary patches from the Debian source and I am not quiet sure if the patches in Debian are even forward-ported. As I said, I haven't tried yet (I probably will in the next week, because my IPCop DomU is acting up), but I think I saw something that looked like Xenbus and PCIFront last time I grepped through the patches. You better check before you put some serious work in there.

Cheers,


Paul.

- --
Paul Schulze
avlex@xxxxxxx
Public Key: http://solaris-net.dyndns.org/keys/key_avlex.asc

"Making mistakes is human,
but to really fuck things up you need Computers"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFIf8LGYDWOGtiChoARAlzfAJ0RNC8velYjPlWaiGxgMkrRPvh72QCfRo2I
JIclMDtmCQ0t1xAItnEsfwk=
=t9tM
-----END PGP SIGNATURE-----

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