I patched a 2.4.22 kernel with an lkcd 2.4.20 patch and used lkcdutils 4.1.
I used 2.4.20 kernel patch as 2.4.22 patch is unavailable on the lkcd
I compiled and built the kernel and the lkcdutils with a gcc 2.95.3 and
binutils 2.14 on an x86 machine and I was able to 'Crash Dump' and analyze
the dump using 'lcrash and company' and ksymoops.
I then used the montavista toolkit with gcc 3.3.1 (pentium4-gcc (GCC)
3.3.1-3.0.13.0400526 2004-04-16) and binutils 2.14) to compile a
2.4.22kernel with KDB and patched with lkcd
2.4.20 patch applied.
I used the same compiler and binutils to build the
After this cross compilation, I installed the kernel on a box with xeon HT
processor, 2GB physical memory and an IDE drive.
I configured the dump and attempted crash dumping using the Alt-SysRq-C key
combination. This initiated the dump but the dump halted with a message
saying that kernel gets an IRQ that it cannot handle.
I disabled HT and this problem disappeared.
The dumping now is successful and the Machine reboots.
After the reboot all my attempts to analyze the dump fail with the lcrash
dying exiting with the message "Invalid Address Mapping".
The dump file, lcrash, kerntypes, map file get saved in the appropriate
I have also downloaded lkcdutils 7.X.X (xlcrash) and cross compiled it using
the montavista compiler and used it. After the kernel dump, the lcrash says
that it could not find any dump on the swap device.
Though 2.95.3 is the recommended compiler for 2.4.22 kernel, is it
mandatory. Is this the reason why lkcd is not working on my target machine?
I am doubting my cross compilation. Is there something I have missed?
I also doubt if the dump is correct. The only way to verify is to examine
the dump file and ascertain its BFD compliance.
Is this the right approach to fix this problem?
Any help in this regard will be greatly appreciated.