Re: Error patching linux-2.6.9 with kdb-v4.4-2.6.9-i386-1

From: Jesper Juhl
Date: Wed Dec 28 2005 - 12:43:15 EST


On 12/28/05, Keith Owens <kaos@xxxxxxx> wrote:
> Srikanth Srinivasan (on Wed, 28 Dec 2005 11:55:12 +0530) wrote:
> >Am relatively new to the linux kernel. I have a problem patching the
> >linux kernel with the kdb kernel debugger.... Here are the steps i
> >followed. Am not sure if i have missed anything... Kindly help me
> >out...
> >
> >1) Untarred the linux-2.6.9 to my home directory
> >[srikanth@zeus linux]$ pwd
> >/home/srikanth/work/src/linux
> >
> >2) Copied kdb-v4.4-2.6.9-i386-1 to /home/srikanth/work/src/linux
> >
> >3) [srikanth@zeus linux]$ patch -p1 < kdb-v4.4-2.6.9-i386-1
> >
> >4) Ran menuconfig and chose Built-in Kernel Debugger support from
> >Kernel hacking.
> >I alos chose KDB modules to be built.in
> >
> >5) Then when i ran make bzImage i got the error as linux/kdb.h not found
>
> You did not read the README file in ftp://oss.sgi.com/projects/kdb/download/v4.4,
> so you forgot to apply the common kdb patch as well. The KDB README says -
>
<!-- snip -->

Might also be worth mentioning that 2.6.9 is a bit dated, if one is
just starting out with the kernel one might as well start with a
recent version.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/