On Mon, 21 Jun 2004 20:25:49 -0400, 
Charles Dunn <[EMAIL PROTECTED]> wrote:
>I am running kdb under a Mandrake 10.0 (kernel version 2.6.3) with SMP enabled. 
>KDB is the 4.3 version that comes with Mandrake 10.0.

You did not say which kernel, so I am assuming you meant
linux-2.6.3-7mdk.

The kdb patch in linux-2.6.3-7mdk has been badly butchered.  Although
it claims to be kdb v4.3 for 2.6.3, it is closer to an unofficial kdb
v4.1 patch that Jim Houston did against 2.6.0-test4.  It looks like
bits of the real kdb v4.3 patch did not apply so were ignored, keeping
an old version of the patch in some places.

kdb in MDK 10 is missing patches to the console handler, it has wierd
kallsyms lookup code (which probably explains your problems), handling
of kdb= boot flags is incorrect, longjmp processing has errors,
kernel/kallsyms.c is missing patches to get all symbols for debugging,
kdb_syslog_data() does not handle different log sizes correctly,
scripts/kallsyms.c is missing a critical fix to ensure that the
kallsyms symbols actually match the kernel, the list goes on.

The kdb patch in MDK 10 is unrecoverable, it is just too old.  At this
stage the best thing to do is back out whichever kdb patch Mandrake
used (where do they keep their src.rpm files?) and apply the real
kdb-v4.3-2.6.3-common-2 and kdb-v4.3-2.6.3-i386-1 patches.

I would be happy to help the Mandrake developers do this, the more
distributions that ship kdb the better.  But it has to be done right.

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.

Reply via email to