Re: netdump issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Anirudh Srinivasan" <srianirudh@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxxxxxx
> ) (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

 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux