[Top] [All Lists]

Re: KDB-ized RH 2.4.18-X kernel?

To: Rusell Cattelan <cattelan@xxxxxxx>
Subject: Re: KDB-ized RH 2.4.18-X kernel?
From: Keith Owens <kaos@xxxxxxx>
Date: Wed, 26 Mar 2003 12:44:18 +1100
Cc: xfs-list <linux-xfs@xxxxxxxxxxx>
In-reply-to: Your message of "25 Mar 2003 18:53:06 MDT." <1048639986.11129.47.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On 25 Mar 2003 18:53:06 -0600, 
Rusell Cattelan <cattelan@xxxxxxx> wrote:
>On Tue, 2003-03-25 at 18:25, Keith Owens wrote:
>> linux-2.4.19-kdb.patch in kernel-2.4.18-18SGI_XFS_1.2.0.src.rpm is
>> incomplete.  At the very least, it is missing the patch to the top
>> level Makefile.  So the kdb directory is never built and all the global
>> variables and functions are missing.
>If a working kdb patch is available for the current release I'll rebuild
>the rpms and toss them on oss.
>After all I can build the whole lot 4 or 5 hours now (down from 12) :-)

The missing patch to Makefile is below, apply after linux-2.4.19-kdb.patch.
However after applying that and compiling with CONFIG_KALLSYMS=y,
CONFIG_KDB=y, CONFIG_KDB_MODULES=y there are build errors in
kdb/modules/kdbm_pg.c and kdb/kdbmain.c.  The kdb code in the XFS tree
needs more work to make it fit all the changes that RH have made to the

Unfortunately I do not have time to work on this at the moment, kdb for
2.4.{19,20}-ia64 is taking all my time.  Back to the XFS team.

--- linux1/Makefile     Wed Mar 26 11:25:48 2003
+++ linux2/Makefile     Wed Mar 26 12:24:11 2003
@@ -139,6 +139,11 @@
 LIBS           =$(TOPDIR)/lib/lib.a
 SUBDIRS                =kernel drivers mm fs net ipc lib abi crypto
+ifeq ($(CONFIG_KDB),y)
+CORE_FILES     += kdb/kdb.o
+SUBDIRS                += kdb
@@ -254,6 +259,7 @@
        scripts/lxdialog/*.o scripts/lxdialog/lxdialog \
        .menuconfig.log \
        include/asm \
+       kdb/gen-kdb_cmds.c \
        .hdepend scripts/mkdep scripts/split-include scripts/docproc \
        $(TOPDIR)/include/linux/modversions.h \
        scripts/mkconfigs kernel/configs.c kernel/configs.o \

<Prev in Thread] Current Thread [Next in Thread>