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: Andrew Lyon <andrew.lyon@xxxxxxxxx>, "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] rebased openSUSE dom0 xen patches for 2.6.31
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Thu, 17 Dec 2009 02:04:28 -0800 (PST)
Cc: xen-users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 17 Dec 2009 02:05:14 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1261044268; bh=WToCjJIr0mAPi7gbo4mVnvCZGJJORvynj+hMtIYArJI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=hN85pHPVeJlfshemn82a7WTTwdeZpVsJO3id+dlhwvjsmtzPhYaf/a7jkJlegbFhSRUVxk3w4xjgB/kiBe9vLOFCpPIn69pkDN5hCIgjscHJv/MRQ97OfwaswIYJWfXFvbCkkZ4rjS5qicn/lgBGek24F67+SgCcvrIo+zy/UIU=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=33R54q97LfWrOilh+4DXx3k4z6MaT0K76lcGDi6amE2uKWjmeIkQG5K7ao58pF1JiCqsBnGCxF4BqOgVrHtMeztRfV0PmJaFNatPTUyGYFGj8LPIJiiqSPsKfbtUR/q0mePs2Ye82tLCevBbRXBFxULfbXyGufuPaDxtqmE/6Tc=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f4527be0912170034w1ac6a9f5na583b23d9fff6dd7@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> <f4527be0912170034w1ac6a9f5na583b23d9fff6dd7@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
What means this line ? What you patch ?
> linux-2.6.31 # patch -p1 -s -i /home/andy/patches.kernel.org/patch-2.6.31.7-8

The rest is understandable

> 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

Boris.





From:
Andrew Lyon <andrew.lyon@xxxxxxxxx>
To: Fajar A. Nugraha <fajar@xxxxxxxxx>
Cc: xen-users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Thu, December 17, 2009 11:34:19 AM
Subject: Re: [Xen-users] rebased openSUSE dom0 xen patches for 2.6.31

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

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