<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I am trying to patch the latest linux kernel available with Fedora 16. </div>
<div><br></div><div>I see that the latest patch version v.4.4-3.1 tries to patch many files which are non existant on latest source. Is there a latest patch available for latest linux source?</div>
<div><br></div><div>Thanks,</div><div>Shiva</div><div>=============================================</div><div><div>shivaprasad@localhost : ~/kernel/kernel-3.4.fc18/linux-3.5.0-0.rc6.git0.2.fc18.x86_64</div><div>[$] $ patch -p1 < kdb-v4.4-3.1-common-1 </div>
<div>patching file Documentation/kdb/bt_x86</div><div>patching file Documentation/kdb/<a href="http://kdb.mm" target="_blank">kdb.mm</a></div><div>patching file Documentation/kdb/kdb_bp.man</div><div>patching file Documentation/kdb/kdb_bt.man</div>
<div>patching file Documentation/kdb/kdb_env.man</div><div>patching file Documentation/kdb/kdb_ll.man</div><div>patching file Documentation/kdb/kdb_md.man</div><div>patching file Documentation/kdb/kdb_ps.man</div><div>patching file Documentation/kdb/kdb_rd.man</div>
<div>patching file Documentation/kdb/kdb_sr.man</div><div>patching file Documentation/kdb/kdb_ss.man</div><div>patching file Documentation/kdb/slides</div><div>patching file Makefile</div><div>Hunk #1 succeeded at 716 (offset 7 lines).</div>
<div>patching file fs/proc/meminfo.c</div><div>Hunk #1 succeeded at 174 (offset 1 line).</div><div>patching file fs/proc/mmu.c</div><div>patching file include/linux/console.h</div><div>patching file include/linux/dis-asm.h</div>
<div>patching file include/linux/kdbprivate.h</div><div>patching file include/linux/reboot.h</div><div>patching file include/linux/swap.h</div><div>Hunk #1 succeeded at 341 (offset 17 lines).</div><div>Hunk #2 succeeded at 379 (offset -8 lines).</div>
<div>patching file include/linux/sysctl.h</div><div>patching file init/main.c</div><div>Hunk #1 succeeded at 107 (offset -1 lines).</div><div>Hunk #2 succeeded at 158 (offset -1 lines).</div><div>Hunk #3 succeeded at 625 (offset 4 lines).</div>
<div>patching file kdb/ChangeLog</div><div>patching file kdb/Makefile</div><div>patching file kdb/kdb_bp.c</div><div>patching file kdb/kdb_bt.c</div><div>patching file kdb/kdb_cmds</div><div>patching file kdb/kdb_id.c</div>
<div>patching file kdb/kdb_io.c</div><div>patching file kdb/kdbdereference.c</div><div>patching file kdb/kdbmain.c</div><div>patching file kdb/kdbsupport.c</div><div>patching file kdb/modules/Makefile</div><div>patching file kdb/modules/kdbm_debugtypes.c</div>
<div>patching file kdb/modules/kdbm_pg.c</div><div>patching file kdb/modules/kdbm_sched.c</div><div>patching file kdb/modules/kdbm_task.c</div><div>patching file kdb/modules/kdbm_vm.c</div><div>patching file kdb/modules/kdbm_x86.c</div>
<div>patching file kdb/modules/lcrash/README</div><div>patching file kdb/modules/lcrash/asm/README</div><div>patching file kdb/modules/lcrash/asm/kl_dump_ia64.h</div><div>patching file kdb/modules/lcrash/asm/kl_types.h</div>
<div>patching file kdb/modules/lcrash/kl_alloc.h</div><div>patching file kdb/modules/lcrash/kl_bfd.h</div><div>patching file kdb/modules/lcrash/kl_btnode.h</div><div>patching file kdb/modules/lcrash/kl_cmp.h</div><div>patching file kdb/modules/lcrash/kl_copt.h</div>
<div>patching file kdb/modules/lcrash/kl_debug.h</div><div>patching file kdb/modules/lcrash/kl_dump.h</div><div>patching file kdb/modules/lcrash/kl_dump_arch.h</div><div>patching file kdb/modules/lcrash/kl_dump_ia64.h</div>
<div>patching file kdb/modules/lcrash/kl_dwarfs.h</div><div>patching file kdb/modules/lcrash/kl_error.h</div><div>patching file kdb/modules/lcrash/kl_htnode.h</div><div>patching file kdb/modules/lcrash/kl_lib.h</div><div>
patching file kdb/modules/lcrash/kl_libutil.h</div><div>patching file kdb/modules/lcrash/kl_mem.h</div><div>patching file kdb/modules/lcrash/kl_mem_ia64.h</div><div>patching file kdb/modules/lcrash/kl_module.h</div><div>
patching file kdb/modules/lcrash/kl_queue.h</div>
<div>patching file kdb/modules/lcrash/kl_stabs.h</div><div>patching file kdb/modules/lcrash/kl_stringtab.h</div><div>patching file kdb/modules/lcrash/kl_sym.h</div><div>patching file kdb/modules/lcrash/kl_task.h</div><div>
patching file kdb/modules/lcrash/kl_typeinfo.h</div><div>patching file kdb/modules/lcrash/kl_types.h</div><div>patching file kdb/modules/lcrash/klib.h</div><div>patching file kdb/modules/lcrash/lc_eval.h</div><div>patching file kernel/exit.c</div>
<div>patching file kernel/kallsyms.c</div><div>Hunk #1 succeeded at 569 (offset 16 lines).</div><div>patching file kernel/kexec.c</div><div>Hunk #1 succeeded at 39 with fuzz 1 (offset -2 lines).</div><div>Hunk #2 succeeded at 1100 (offset 11 lines).</div>
<div>patching file kernel/module.c</div><div>Hunk #1 succeeded at 99 (offset -5 lines).</div><div>Hunk #2 succeeded at 3251 (offset 76 lines).</div><div>Hunk #3 succeeded at 3267 (offset 76 lines).</div><div>patching file kernel/panic.c</div>
<div>Hunk #2 succeeded at 104 with fuzz 1 (offset 20 lines).</div><div>patching file kernel/printk.c</div><div>Hunk #2 succeeded at 1158 (offset 665 lines).</div><div>Hunk #3 succeeded at 1171 with fuzz 2 (offset 664 lines).</div>
<div>patching file kernel/signal.c</div><div>Hunk #1 succeeded at 3295 (offset 112 lines).</div><div>Hunk #2 succeeded at 3374 (offset 112 lines).</div><div>can't find file to patch at input line 30840</div><div>Perhaps you used the wrong -p or --strip option?</div>
<div>The text leading up to this was:</div><div>--------------------------</div><div>|Index: linux/kernel/sysctl_check.c</div><div>|===================================================================</div><div>|--- linux.orig/kernel/sysctl_check.c</div>
<div>|+++ linux/kernel/sysctl_check.c</div><div>--------------------------</div><div>File to patch: linux/kernel/sysctl_check.c</div><div>linux/kernel/sysctl_check.c: No such file or directory</div><div>Skip this patch? [y] n</div>
<div>File to patch: linux.orig/kernel/sysctl_check.c</div><div>linux.orig/kernel/sysctl_check.c: No such file or directory</div><div>Skip this patch? [y] n</div><div>File to patch: kernel/sysctl_check.c</div><div>kernel/sysctl_check.c: No such file or directory</div>
<div>Skip this patch? [y] n</div><div>File to patch: </div><div>Skip this patch? [y] y</div><div>Skipping patch.</div><div>1 out of 1 hunk ignored</div><div>patching file lib/bug.c</div><div>patching file mm/hugetlb.c</div>
<div>Hunk #1 succeeded at 2065 (offset 90 lines).</div><div>patching file mm/mmzone.c</div><div>Hunk #1 succeeded at 22 (offset -1 lines).</div><div>patching file mm/swapfile.c</div><div>Hunk #2 succeeded at 2162 (offset -4 lines).</div>
<div>Hunk #3 succeeded at 2175 (offset -4 lines).</div><div>can't find file to patch at input line 32200</div><div>Perhaps you used the wrong -p or --strip option?</div><div>The text leading up to this was:</div><div>
--------------------------</div><div>|Index: linux/kernel/sched.c</div><div>|===================================================================</div><div>|--- linux.orig/kernel/sched.c</div><div>|+++ linux/kernel/sched.c</div>
<div>--------------------------</div><div>File to patch: linux/kernel/sched.c</div><div>linux/kernel/sched.c: No such file or directory</div><div>Skip this patch? [y] y</div><div>Skipping patch.</div><div>3 out of 3 hunks ignored</div>
<div>patching file include/linux/kdb.h</div><div>Hunk #5 FAILED at 115.</div><div>Hunk #6 succeeded at 154 (offset -3 lines).</div><div>1 out of 6 hunks FAILED -- saving rejects to file include/linux/kdb.h.rej</div><div>
patching file kernel/sysctl.c</div>
<div>Hunk #1 succeeded at 176 (offset -2 lines).</div><div>patching file kernel/time/timekeeping.c</div><div>Hunk #1 FAILED at 157.</div><div>1 out of 1 hunk FAILED -- saving rejects to file kernel/time/timekeeping.c.rej</div>
<div>patching file drivers/tty/serial/sn_console.c</div><div>Hunk #1 succeeded at 53 (offset 1 line).</div><div>Hunk #2 succeeded at 501 (offset 1 line).</div><div>Hunk #3 succeeded at 1044 (offset 2 lines).</div><div>Hunk #4 succeeded at 1127 (offset 2 lines).</div>
<div>patching file drivers/s390/char/keyboard.c</div><div>Hunk #2 succeeded at 289 with fuzz 1.</div><div>patching file drivers/tty/vt/keyboard.c</div><div>Hunk #1 FAILED at 42.</div><div>Hunk #2 succeeded at 1287 (offset 87 lines).</div>
<div>1 out of 2 hunks FAILED -- saving rejects to file drivers/tty/vt/keyboard.c.rej</div><div>can't find file to patch at input line 32608</div><div>Perhaps you used the wrong -p or --strip option?</div><div>The text leading up to this was:</div>
<div>--------------------------</div><div>|Index: linux/drivers/tty/serial/8250.c</div><div>|===================================================================</div><div>|--- linux.orig/drivers/tty/serial/8250.c</div><div>
|+++ linux/drivers/tty/serial/8250.c</div><div>--------------------------</div><div>File to patch: y</div><div>y: No such file or directory</div><div>Skip this patch? [y] y</div><div>Skipping patch.</div><div>4 out of 4 hunks ignored</div>
<div>can't find file to patch at input line 32696</div><div>Perhaps you used the wrong -p or --strip option?</div><div>The text leading up to this was:</div><div>--------------------------</div><div>|Index: linux/drivers/tty/serial/8250_early.c</div>
<div>|===================================================================</div><div>|--- linux.orig/drivers/tty/serial/8250_early.c</div><div>|+++ linux/drivers/tty/serial/8250_early.c</div><div>--------------------------</div>
<div>File to patch: </div><div>Skip this patch? [y] y</div><div>Skipping patch.</div><div>2 out of 2 hunks ignored</div><div>patching file include/linux/lkdb.h</div><div>_______________________________________________________________________________</div>
<div><br></div><div>_______________________________________________________________________________</div><div>shivaprasad@localhost : ~/kernel/kernel-3.4.fc18/linux-3.5.0-0.rc6.git0.2.fc18.x86_64</div><div>[$] $ patch -p1 < kdb-v4.4-3.1-x86-1 </div>
<div>patching file arch/x86/Kconfig.debug</div><div>Hunk #1 succeeded at 299 with fuzz 2 (offset 15 lines).</div><div>patching file arch/x86/Makefile</div><div>Hunk #1 succeeded at 168 (offset 26 lines).</div><div>patching file arch/x86/include/asm/ansidecl.h</div>
<div>patching file arch/x86/include/asm/ansidecl_32.h</div><div>patching file arch/x86/include/asm/ansidecl_64.h</div><div>patching file arch/x86/include/asm/bfd.h</div><div>patching file arch/x86/include/asm/bfd_32.h</div>
<div>patching file arch/x86/include/asm/bfd_64.h</div><div>patching file arch/x86/include/asm/irq_vectors.h</div><div>patching file arch/x86/include/asm/kdb.h</div><div>patching file arch/x86/include/asm/kdbprivate.h</div>
<div>patching file arch/x86/include/asm/kdebug.h</div><div>patching file arch/x86/include/asm/ptrace.h</div><div>patching file arch/x86/kdb/ChangeLog</div><div>patching file arch/x86/kdb/ChangeLog_32</div><div>patching file arch/x86/kdb/ChangeLog_64</div>
<div>patching file arch/x86/kdb/Makefile</div><div>patching file arch/x86/kdb/kdb_cmds_32</div><div>patching file arch/x86/kdb/kdb_cmds_64</div><div>patching file arch/x86/kdb/kdba_bp.c</div><div>patching file arch/x86/kdb/kdba_id.c</div>
<div>patching file arch/x86/kdb/kdba_io.c</div><div>patching file arch/x86/kdb/kdba_support.c</div><div>patching file arch/x86/kdb/pc_keyb.h</div><div>patching file arch/x86/kdb/x86-dis.c</div><div>patching file arch/x86/kernel/apic/io_apic.c</div>
<div>Hunk #2 succeeded at 1159 (offset 56 lines).</div><div>patching file arch/x86/kernel/dumpstack.c</div><div>Hunk #2 succeeded at 241 (offset 3 lines).</div><div>Hunk #3 FAILED at 274.</div><div>Hunk #4 succeeded at 312 (offset 4 lines).</div>
<div>1 out of 4 hunks FAILED -- saving rejects to file arch/x86/kernel/dumpstack.c.rej</div><div>patching file arch/x86/kernel/entry_32.S</div><div>Hunk #1 succeeded at 964 (offset -10 lines).</div><div>patching file arch/x86/kernel/entry_64.S</div>
<div>Hunk #1 succeeded at 1392 (offset 82 lines).</div><div>patching file arch/x86/kernel/reboot.c</div><div>Hunk #2 FAILED at 630.</div><div>Hunk #3 FAILED at 740.</div><div>2 out of 3 hunks FAILED -- saving rejects to file arch/x86/kernel/reboot.c.rej</div>
<div>patching file arch/x86/kernel/traps.c</div><div>Hunk #1 succeeded at 41 (offset -4 lines).</div><div>Hunk #2 FAILED at 375.</div><div>Hunk #3 FAILED at 396.</div><div>Hunk #4 FAILED at 414.</div><div>Hunk #5 FAILED at 465.</div>
<div>Hunk #6 succeeded at 422 (offset -144 lines).</div><div>4 out of 6 hunks FAILED -- saving rejects to file arch/x86/kernel/traps.c.rej</div><div>_______________________________________________________________________________</div>
<div>shivaprasad@localhost : ~/kernel/kernel-3.4.fc18/linux-3.5.0-0.rc6.git0.2.fc18.x86_64</div><div>[$] $ patch -p1 < kdb-v4.4-3.1-x86-1 </div></div><div><br></div>
</blockquote></div><br>