Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspbian Pi OS (Debian 10 Buster), Pi does NOT have PCI bus, SNMPD still reports attempt to query PCI bus #271

Closed
Nodi-Rubrum opened this issue Feb 23, 2021 · 4 comments

Comments

@Nodi-Rubrum
Copy link

Nodi-Rubrum commented Feb 23, 2021

Raspbian Pi OS (Debian 10 Buster), Pi does NOT have PCI bus, SNMPD still reports attempt to query PCI bus. Please fix this. A few web sites state this bug was fixed in 5.7.3. It is NOT fixed.

: Starting Simple Network Management Protocol (SNMP) Daemon....
: Started Simple Network Management Protocol (SNMP) Daemon..
: pcilib: Cannot open /proc/bus/pci
: pcilib: Cannot find any working access method.
: pcilib: pci_init failed
: Turning on AgentX master support.
: NET-SNMP version 5.7.3

@bvanassche
Copy link
Contributor

Net-SNMP version v5.7.3 is no longer maintained. The actively maintained branches are the v5.9 and master branches. Please retest with one of these two branches.

@Nodi-Rubrum
Copy link
Author

Yup, I have tested 5.9, it addresses the issue. However, 5.9 is not packaged for Raspberry Pi OS (ARMHF) Buster 10. So anyone that wants to avoid the errors of Net-SNMP trying to query the PCIe bus... which does not exist on Pi devices, will have to download and compile 5.9 from source. Thanks for being responsive to issues posted.

@abutcher-gh
Copy link

I'm not sure how the referenced patch solved this, it seems to do the opposite. I.e. not init PCI on systems with PCI, and still fail to init PCI on systems without it.

@bvanassche
Copy link
Contributor

Commit ea6c54f should fix the PCI test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants