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

Problem with kernel patching

Hello, I have a problem with patching kernel 2.6-2.6.32.

I'm trying to add PVUSB [1] support in Xen. According to [1] I should add a patch [2] to kernel. I was trying to do it with steps described in [3].

I had to make some changes in the patch file because in the meantime some other changes appeared. After my changes the patch file looks like [4].

When I try to execute "make -f debian/rules source-all" it fails at applying my patch stage.
The errors appearing until I add "a/" i "b/" prefixes at lines 2, 3, 2045, 2046, 2060, 2061,4390 and 4391. I'm not sure what is the purpose of using it there.

Now it goes without any errors, but the files which should be modified, remain intact, and that's my problem actually. I can't figure out why it happens.

I will be grateful for any help.

[1] http://wiki.xen.org/wiki/Xen_USB_Passthrough
[2] http://members.iinet.net.au/~nathanael/pvusb.diff
[3] http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage
[4] http://wklej.org/id/759234/

Reply to: