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

Re: [Xen-users] rebased openSUSE dom0 xen patches for 2.6.31


  • To: Andrew Lyon <andrew.lyon@xxxxxxxxx>, "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • 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
  • 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=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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