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

Re: lspci and /sys



On Sat, 2004-12-04 at 10:22 +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?

Are you running a 2.6 kernel?  Do you have SYSFS enabled?

  $ zcat /proc/config.gz | grep SYSFS
  CONFIG_SYSFS=y

-- 
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"He that would live in peace and at ease must not speak all he
knows or all he sees."
Benjamin Franklin

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: