[Crash-utility] dev -p command fails post linux 2.6.25

Dave Anderson anderson at redhat.com
Fri Apr 23 14:31:02 UTC 2010


----- "Dave Anderson" <anderson at redhat.com> wrote:

> > With this I wanted to know, if you intend to keep dev -p behavior as it is now or
> > there is any plan to change it to display actual values?
> >
> > Thank You
> > Sharyathi N
> 
> I (personally) have no plans to change it.  If I remember correctly,
> Bud Brown came up with an alternate scheme, but the imported data from
> the kernel proper required to accomplish it was enormous (bordering
> on absurd), so I suggested that it would be more appropriate as an
> extension module.
> 
> Bud -- feel free to chime in here...  ;-)
> 
> For that matter, even the "old" way required the import of ~1000 lines
> of kernel #define's -- which always bugged me -- and was pretty much the
> only crash command that had to do such a thing.
> 
> Dave

Actually, at a minimum, I should change this:

        if (!symbol_exists("pci_devices"))
                error(FATAL, "no PCI devices found on this system.\n");

to the generic option_not_supported() message.

Dave




More information about the Crash-utility mailing list