[Crash-utility] [Patch] Fix dev -p command for systems withvirtual devices

Dave Anderson anderson at redhat.com
Fri Dec 22 15:53:44 UTC 2006


Maneesh Soni wrote:

> On Fri, Dec 22, 2006 at 04:46:52PM +0530, Rachita Kothiyal wrote:
> > Hi Dave
> >
> > Running 'dev -p' command on PowerPC systems with virtual devices (ie
> > no real PCI devices) fails with the following message:
> >
> > dev: invalid kernel virtual address: 98  type: "pci bus number"
> >
> > It should instead report that there are no _real_ PCI devices to list.
> > The following patch addresses this issue. Currently it just prints a
> > message letting the user know of the absence of pci devices, but it
> > might be a good idea to list down the virtual devices present in the
> > system in such cases. I am working on a patch for that too, probably
> > will discuss that on another thread.
> >
>
> I guess, "dev -p" is supposed to list only pci devices, so will it
> make more sense to have a new option something like "dev -v" for
> displaying virtual devices information?
>
> Thanks
> Maneesh

Agreed.

Dave





More information about the Crash-utility mailing list