On 10/17/2011 01:22 AM, Kaiwan Billimoria wrote:
> Hi,
> A possibly silly qs, forgive me :) :
> Am trying to patch the linux-3.0.1 kernel with the kdb-v4.4-3.1*
> patches, but it fails..(output below)
>
> Against exactly which kernel ver do these patches apply?

Isn't it the case that you would no longer need to apply the kdb patches to the 
3.1 kernel?

As far as I know the kdb core was merged to the mainline kernel quite some time 
ago.  If there is still a pool of features that is being maintained externally 
we should look at possibly merging these features.

Has there been new development of the kdb infrastructure beyond what is in the 
mainline tree?

Thanks,
Jason.

> TIA!
> -kaiwan.
>
> ------
> O/p:
> ------
> $ cd linux-3.0.1
> $ patch -p1 --dry-run < ../kdb-v4.4-3.1-common-1
> patching file Documentation/kdb/bt_x86
> ...
> patching file include/linux/reboot.h
> Hunk #1 succeeded at 53 (offset -5 lines).
> patching file include/linux/swap.h
> Hunk #1 succeeded at 325 (offset 1 line).
> Hunk #2 succeeded at 388 (offset 1 line).
> patching file include/linux/sysctl.h
> patching file init/main.c
> Hunk #3 succeeded at 618 (offset -3 lines).
> patching file kdb/ChangeLog
> ...
> patching file kernel/module.c
> Hunk #2 succeeded at 3109 (offset -66 lines).
> Hunk #3 succeeded at 3125 (offset -66 lines).
> patching file kernel/panic.c
> patching file kernel/printk.c
> Hunk #2 succeeded at 491 (offset -2 lines).
> Hunk #3 succeeded at 505 (offset -2 lines).
> patching file kernel/signal.c
> Hunk #1 succeeded at 3081 (offset -102 lines).
> Hunk #2 succeeded at 3160 (offset -102 lines).
> patching file kernel/sysctl_check.c
> patching file lib/bug.c
> patching file mm/hugetlb.c
> Hunk #1 succeeded at 1967 (offset -8 lines).
> patching file mm/mmzone.c
> patching file mm/swapfile.c
> Hunk #2 succeeded at 2175 (offset 9 lines).
> Hunk #3 succeeded at 2188 (offset 9 lines).
> patching file kernel/sched.c
> Hunk #1 succeeded at 8286 (offset -20 lines).
> Hunk #2 succeeded at 8308 (offset -20 lines).
> Hunk #3 succeeded at 9334 (offset -24 lines).
> patching file include/linux/kdb.h
> Hunk #2 FAILED at 12.
> 1 out of 6 hunks FAILED -- saving rejects to file include/linux/kdb.h.rej
> patching file kernel/sysctl.c
> ...
> $
> -----
>
> _______________________________________________
> kdb mailing list
> [email protected]
> http://oss.sgi.com/mailman/listinfo/kdb

_______________________________________________
kdb mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/kdb

Reply via email to