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] rebased openSUSE dom0 xen patches for 2.6.31

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] rebased openSUSE dom0 xen patches for 2.6.31
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Thu, 17 Dec 2009 08:34:19 +0000
Cc: xen-users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 17 Dec 2009 00:35:03 -0800
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 :content-transfer-encoding; bh=pTArIDOwHJLlhaps6WykuKq1D+NuZRntm1C+yr31EFg=; b=SHwFDSfC39k45VxSp0Qlpw88BJVM2E1AJGGPT6dNekTQNhhEl9P0cF01O1XCG1jDFV 4DTCvz/yYdnmD8npAVzBzS5BsZJm1UfWim/Yy7Y7heKappeIqAy+FIChV7b72VnrVQdJ XnTf+AWINSiCLNE2cVoEB0LulIjypu+DVJXLs=
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:content-transfer-encoding; b=ZCinYRDznUVRU6XfsHBMpM4h2RRhldZHkXa8nYr8ChC9S1ijsNOLGv+9GebrsEJa+T qh5Zcg66elq5B1NS3kAkp4Gm2pGrefsIWDEgHTTXzL3TJN6jnG+lRPu4/SYpd0rikSgs 5uxEa/PeTQw3DXWo5dFXzUC2ThFCtlH1wHHrw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0912162323m3ecaf21fv9a56656e711a8e59@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: <f4527be0912160900h2d09e8bdj2e5db107ae0aa41a@xxxxxxxxxxxxxx> <7207d96f0912162323m3ecaf21fv9a56656e711a8e59@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Dec 17, 2009 at 7:23 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Thu, Dec 17, 2009 at 12:00 AM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
>> Hi,
>>
>> I have uploaded a new set of rebased openSUSE dom0 xen patches and
>> Gentoo ebuild for 2.6.31 to
>> http://code.google.com/p/gentoo-xen-kernel/downloads/list
>
> Andrew, which kernel do you use as base? I tried appying it to vanilla
> 2.6.31 and 2.6.31.8, it failed to apply cleanly
>

The patches will apply to 2.6.31.7 or 2.6.31.8, you need to apply them
with -p1 and In numeric order, I just used a simple loop to test that
they apply cleanly:

linux-2.6.31 # patch -p1 -s -i /home/andy/patches.kernel.org/patch-2.6.31.7-8
ubermicro linux-2.6.31 # mkdir xenpatch
ubermicro linux-2.6.31 # cd xenpatch
ubermicro xenpatch # tar jxf /home/distfiles/xen-patches-2.6.31-9.tar.bz2
ubermicro xenpatch # cd ..
ubermicro linux-2.6.31 # ls xenpatch/ | sort | while read file ; do
patch -p1 -s -i xenpatch/$file  ; done

No errors, you must be doing something wrong.

Andy

> patching file drivers/net/sfc/sfc_resource/vi_resource_manager.c
> patching file drivers/net/sfc/Kconfig
> Hunk #1 FAILED at 12.
> 1 out of 1 hunk FAILED -- saving rejects to file drivers/net/sfc/Kconfig.rej
> patching file drivers/net/sfc/Makefile
> Hunk #1 FAILED at 1.
> 1 out of 1 hunk FAILED -- saving rejects to file drivers/net/sfc/Makefile.rej
> can't find file to patch at input line 19488
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- head-2009-07-28.orig/drivers/net/sfc/driverlink.c  2009-07-28
> 10:04:25.000000000 +0200
> |+++ head-2009-07-28/drivers/net/sfc/driverlink.c       2009-07-28
> 10:05:40.000000000 +0200
> --------------------------
>
>
> .... and lots more like that.
>
>
> --
> Fajar
>

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