Rajesham Gajjela
2004-11-23 02:37:28 UTC
I am trying to configure the LKCD for x86_64 arch. I
have downloaded latest kernel patches & lkcdutils
(lkcd-6.0.0_2.6.8.1.patch.gz &
lkcdutils-6.0.0.tar.gz).
With little bit of tweaking, I could able to compile
the kernel & utils. I could able to generate the dumps
also.
The issue that I am facing is with lkcdutils (and I
think, I have identified 2 straighforward
bugs/issues).
1. kl_get_dumparch() under libklib/kl_dump.c is NOT
identifying the "x86_64" arch. Specifically, my
understanding is that, the below missing code line
needs to be added in this function.
} else if(!(strcmp(arch_string,
KL_ARCH_STR_X86_64))) {
dumparch = KL_ARCH_STR_X86_64;
}
2. DUMP_ARCH_X86_64 is NOT defined in any header
files. For that matter DUMP_ARCH_XXXXX is not defined
for any arch. This is also leading lcrash not to
analyse the dumps.
After fixing (1) & without fixing (2), I get the
following error (see below).
comments/suggestions on this ????
Rajesham
[***@tc212 0]# pwd
/var/log/dump/0
[***@tc212 0]# ls
analysis.0 dump.0 kerntypes.0 lcrash.0 map.0
[***@tc212 0]#
[***@tc212 0]# ./lcrash.0 -d dump.0
lcrash 0.10.2 (xlcrash) build at Nov 19 2004 13:04:30
Lcrash is free software. It is covered by the GNU
General Public License.
You are welcome to change it and/or distribute copies
of it under certain
conditions. Type "help -C" to see the conditions.
Absolutely no warranty
is given for Lcrash. Type "help -W" for warranty
details.
map = /boot/System.map-2.6.7-lkcd
dump = dump.0
kerntypes = /boot/Kerntypes-2.6.7-lkcd
Please wait...
Check dump architecture:
Dump arch set.
Unknown dump architecture.
[***@tc212 0]#
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
have downloaded latest kernel patches & lkcdutils
(lkcd-6.0.0_2.6.8.1.patch.gz &
lkcdutils-6.0.0.tar.gz).
With little bit of tweaking, I could able to compile
the kernel & utils. I could able to generate the dumps
also.
The issue that I am facing is with lkcdutils (and I
think, I have identified 2 straighforward
bugs/issues).
1. kl_get_dumparch() under libklib/kl_dump.c is NOT
identifying the "x86_64" arch. Specifically, my
understanding is that, the below missing code line
needs to be added in this function.
} else if(!(strcmp(arch_string,
KL_ARCH_STR_X86_64))) {
dumparch = KL_ARCH_STR_X86_64;
}
2. DUMP_ARCH_X86_64 is NOT defined in any header
files. For that matter DUMP_ARCH_XXXXX is not defined
for any arch. This is also leading lcrash not to
analyse the dumps.
After fixing (1) & without fixing (2), I get the
following error (see below).
comments/suggestions on this ????
Rajesham
[***@tc212 0]# pwd
/var/log/dump/0
[***@tc212 0]# ls
analysis.0 dump.0 kerntypes.0 lcrash.0 map.0
[***@tc212 0]#
[***@tc212 0]# ./lcrash.0 -d dump.0
lcrash 0.10.2 (xlcrash) build at Nov 19 2004 13:04:30
Lcrash is free software. It is covered by the GNU
General Public License.
You are welcome to change it and/or distribute copies
of it under certain
conditions. Type "help -C" to see the conditions.
Absolutely no warranty
is given for Lcrash. Type "help -W" for warranty
details.
map = /boot/System.map-2.6.7-lkcd
dump = dump.0
kerntypes = /boot/Kerntypes-2.6.7-lkcd
Please wait...
Check dump architecture:
Dump arch set.
Unknown dump architecture.
[***@tc212 0]#
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/