Re: lspci tries to open non-existent files

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

 



On Mon, Jun 29, 2009 at 05:07:41AM -0600, Matthew Wilcox wrote:
> On Mon, Jun 29, 2009 at 01:04:53PM +0530, M. Mohan Kumar wrote:
> > With recent pciutils, lspci tries to open non-existent files in sysfs and
> > issues following warning messages:
> > 
> > pcilib: sysfs_fill_slots: Cannot open /sys/bus/pci/slots/control/address: No
> > such file or directory
> > pcilib: sysfs_fill_slots: Cannot open /sys/bus/pci/slots/0000:01:00.0/address:
> > No such file or directory
> > 
> > Above warning message is displayed when using a 2.6.16 based distro kernel
> > and pciutils 3.1.2 and 3.1 versions. This problem is not seen in 3.0
> > version.
> > 
> > If the files don't exist, should not we return without displaying any
> > warning?
> 
> Yes, we should.  Can you try this patch?

Thank you Matthew, this patch fixes this problem. Is it already part of
pciutils source?

Regards,
M. Mohan Kumar.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux