Re: mod -S and debuginfo kernel rpm

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

 



----- "Dave Anderson" <anderson@xxxxxxxxxx> wrote:

> My suggestion would allow you to do this:
> 
>   # mkdir mydump
>   # cd mydump
>   # rpm2cpio kernel-2.6.18-128.el5.s390x.rpm | cpio -idv
>   # rpm2cpio kernel-debuginfo-2.6.18-128.el5.s390x.rpm | cpio -idv
>   # crash 
>   ...
>   crash> mod -S .
> 
> and then the stripped modules would be searched for in:
> 
>   ./lib/modules/...
> 
> And then my proposed enhancement would search for the associated 
> ko.debug files in:
> 
>   ./usr/lib/debug/lib/modules/...
> 
> So no changes to the current "mod" command options would be required.

And just to clarify this further.  When "mod -S [directory]" is entered,
the search will be made starting from [directory].  In other words,
it will not immediately append "/lib/modules" and "/usr/lib/debug/lib/modules"
onto [directory].  It's just that that's where they'll be found
if the double-rpm2cpio were done.  

Conceivably you could just dump all the .ko and .ko.debug files into
the one flat [directory], and it will find them right away.

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