Anirudh Srinivasan <srianirudh(a)gmail.com> writes:
I am implementing a netdump . I crashed one sever and got the vmcore
file in
/var/crash/vmcore , then i checked the kernel version through
strings vmcore | fgrep -m1 'Linux'
Linux version 2.4.21-40.ELsmp (bhcompile(a)hs20-bc1-7.build.redhat.com) (gcc
version 3.2.3 20030502 (Red Hat Linux 3.2.3-54)) #1 SMP Thu Feb 2 22:22:39
EST 2006
So now while installing the kernel-debuginfo , it should match the version
above i.e something like "kernel-debuginfo.2.4.21.40.ELsmp.i368.rpm"
But i installed the closest one and that was
kernel-debuginfo.2.4.21.40.EL.i386.rpm but after installing them i should
have /usr/lib/debug/module/vmlinux , which i could'nt see them .
Not quite right. If you do:
# rpm -qpl kernel-debuginfo-2.4.21-40.EL.i686.rpm | grep vmlinux
you'll see:
/usr/lib/debug/boot/vmlinux-2.4.21-40.EL.debug
/usr/lib/debug/boot/vmlinux-2.4.21-40.ELhugemem.debug
/usr/lib/debug/boot/vmlinux-2.4.21-40.ELsmp.debug
You, of course, want the smp version. I'm assuming you want to examine
the core file with crash. If so, something like the following should
work:
crash /usr/lib/debug/boot/vmlinux-2.4.21-40.ELsmp.debug /path/to/vmcore
Can anyone give me the link to the rpm i am looking for , or suggest
some
idea. ( the server that i am dumping vmcore is version 5 )
You mean the netdump server is running on a RHEL 5 system? That is
fine.
I have bunch of server with version 2 and version 3 and version 4 in
my
production environment for which i have to configure netdump to collect the
vmcore in version 5 server .
Right, running the netdump server on a RHEL 5 system is fine. You
should have no problems collecting vmcores from your AS 2.1, RHEL 3 and
RHEL 4 systems.
Cheers,
Jeff