kdb
[Top] [All Lists]

Re: Problem with patching Kernel 2.4.20-8

To: johnpw <johnpw@xxxxxxxxxxxxxxxx>
Subject: Re: Problem with patching Kernel 2.4.20-8
From: Scott Lurndal <scott.lurndal@xxxxxxxxxxxxxxxxx>
Date: Fri, 23 Dec 2005 11:59:32 -0800
Cc: kaos@xxxxxxx, kdb@xxxxxxxxxxx, lims@xxxxxxxxxxxxxx, raybry@xxxxxxxxxxxxxxxxx
In-reply-to: <200512231844.jBNIihJ26146@TwinPeakSoft.com>
References: <200512231844.jBNIihJ26146@TwinPeakSoft.com>
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
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.
<Prev in Thread] Current Thread [Next in Thread>