[Crash-utility] netdump issue

Dave Anderson anderson at redhat.com
Thu Jan 22 22:01:34 UTC 2009


----- "Anirudh Srinivasan" <srianirudh at gmail.com> wrote:

> 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 at 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
> .

OK, so you're running -- and have crashed -- a RHEL3 i686 smp kernel,
and the vmcore pinpoints the version as version 2.4.21-40.ELsmp.  So
you need to install the kernel-debuginfo-2.4.21-40.EL.i686.rpm (not
the "i386" version), which contains the vmlinux debug files for that
kernel version:

  $ rpm -qpl kernel-debuginfo-2.4.21-40.EL.i686.rpm | grep vmlinux
  /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
  $

And the relevant file in your case would be located in
/usr/lib/debug/boot/vmlinux-2.4.21-40.ELsmp.debug.

> 
> 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 )
> 
> 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 .

That's fine -- one way you can get the specific debuginfo package
you need is by going to my people page: 
  
   http://people.redhat.com/anderson

1. Click on the "Red Hat Enterprise Linux debuginfo RPMs" link.
2. On that next page, in the "Red Hat Enterprise Linux 3" box,
   click on the "AS: i386" link.  

That will bring you to the ftp site that contains *all* RHEL3
packages, so you have to search for:

  kernel-debuginfo-2.4.21-40.EL.i686.rpm

Again, make sure you get the "i686" version.

Hope this helps,
  Dave

 




More information about the Crash-utility mailing list