Re: lspci and /sys
On Sat, Dec 04, 2004 at 10:22:41AM +0100, Petter Senften wrote:
> Hello!
>
> I'm new to this list, but after googling for a few hours after a fix to
> my problem it seems I have no other option than to try to get some
> attention here :)
>
> My server is a Debian Sarge-box (dist-upgraded from Woody a few months
> back). Anyhoo, anytime I use lspci I get the following error: pcilib:
> Cannot open /sys/bus/pci/devices
>
> Also, when the PHP-script "PHPsysinfo" runs it generates the same error
> in the Apache Error-log, as well as taking forever to finish the
> operation. Both items still list my PCI devices, but after a delay
> (which to me is annoying).
>
> If I go to /sys it's empty, so obviously something is missing. I
> wouldn't say that I'm a complete Linux-bewbie, but this problem has me
> completely stumped, and as mentioned Google has been of no help this
> time. So I'm asking all the experts out there - what can I do to correct
> this?
Did you mount sysfs?
$grep sysfs /etc/fstab
sysfs /sys sysfs defaults 0 0
--
Chris Harris <charris@rtcmarketing.com>
-------------------------------------------
GNU/Linux --- The best things in life are free.
Reply to: