On Fri, Dec 23, 2005 at 10:39:40AM -0800, johnpw wrote:
> Keith,
>
> I can't get a straight answer from Red Hat about how to debug
> their kernel.
> What is the proper way to patch kdb into Red Hat's patched kernel?
- Load the redhat kernel sources (see redhat release notes)
(load the kernel*.src.rpm, cd to /usr/src/redhat/SPECS;
rpmbuild -bp kernel.spec; the resulting patched tree will be
under /usr/src/redhat/BUILD).
- Apply the kdb patch.
- Resolve any conflicts. [ This is the difficult part ]
- Build kernel
- try kernel
scott
>
> John W.
>
> >From: Keith Owens <kaos@xxxxxxx>
> >To: johnpw <johnpw@xxxxxxxxxxxxxxxx>
> >cc: kdb@xxxxxxxxxxx, lims@xxxxxxxxxxxxxx, raybry@xxxxxxxxxxxxxxxxx
> >Subject: Re: Problem with patching Kernel 2.4.20-8
> >Date: Thu, 22 Dec 2005 17:32:30 +1100
> >X-archive-position: 1146
> >X-ecartis-version: Ecartis v1.0.0
> >X-original-sender: kaos@xxxxxxx
> >X-list: kdb
> >X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on
> oss.sgi.com
> >X-Virus-Status: Clean
> >
> >On Wed, 21 Dec 2005 20:04:07 -0800 (PST),
> >johnpw <johnpw@xxxxxxxxxxxxxxxx> wrote:
> >>Greetings,
> >>
> >>We finished debugging our kernel module with Kdb.
> >>
> >>We are having some problems when running the same kernel
> >>module on Red Hat's WS 3 release.
> >>
> >>There is no kdb available on Red Hat's Release, only gdb.
> >>
> >>I'd apppeciate any advice and pointer on how to debug
> >>kernel module with gdb. Thanks,
> >
> >RedHat include lots of kernel patches and refuse to include the kdb
> >patch. Please ask RedHat how you debug problems with their patched
> >kernel.
> >
> >---------------------------
> >Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
>
> ---------------------------
> Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
|