|
|
|
|
|
|
|
|
|
|
xen-users
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
|
|
|
|
|