Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42881 - During startup I get several times: pcilib: Cannot open /sys/bus/pci/devices
Summary: During startup I get several times: pcilib: Cannot open /sys/bus/pci/devices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-25 06:06 UTC by Rene Androsch
Modified: 2004-10-03 02:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Androsch 2004-02-25 06:06:56 UTC
When I start my system I get this message several times.

Also when I do: lspci
I get: Cannot open /sys/bus/pci/devices

I've created a symbolic in / (/sys -> /proc/sys) which make at least lspci work again.
I can't remember which package I upgraded, since I upgraded / installed about 30  packages ..

Reproducible: Always
Steps to Reproduce:
1. system startup
2. or
3. lspci
Comment 1 SpanKY gentoo-dev 2004-02-26 18:00:30 UTC
are you using 2.6 ?
if so, why didnt you create /sys ?
Comment 2 Rene Androsch 2004-02-26 18:07:44 UTC
I'm using vanilla-2.4.25 and sometimes gentoo-sources-2.4.22-r7.

Why should I create /sys. Nothing would be in it?
If it would be looking in /proc/sys/... everything would be okay.
I created a symbolic-link but that doesn't help much.

Addidtional info:
During system startup, the message, comes right after the USB und PCI line.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-03-01 11:33:20 UTC
which version of pciutils ?
Comment 4 Rene Androsch 2004-03-03 10:16:20 UTC
sys-apps/pciutils-2.1.11-r1

I get it during system startup right after:
Starting USB and PCI devices
...
...
....
...
...
...
Comment 5 Forester 2004-03-09 10:20:41 UTC
Could you provide the content of /usr/include/pci/config.h please and also state which linux-headers you're using?

As a side note making the symlink is not the correct fix, /sys is for 2.6 kernels. If you want to use a symlink as a temporary fix then it should be linked to /proc and not /proc/sys
Comment 6 SpanKY gentoo-dev 2004-10-03 02:25:57 UTC
ok, latest pciutils has this fixed