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

lspci reports 1 nic, but 3 nics available when looking at ip addr, ethtool #10

Open
ryran opened this issue Sep 26, 2012 · 1 comment · May be fixed by #252
Open

lspci reports 1 nic, but 3 nics available when looking at ip addr, ethtool #10

ryran opened this issue Sep 26, 2012 · 1 comment · May be fixed by #252
Assignees
Labels

Comments

@ryran
Copy link
Owner

ryran commented Sep 26, 2012

Output from xsos -lei:

LSPCI
  Net:
    1 Intel Corporation 82541GI Gigabit Ethernet Controller (rev 05)
  VGA:
    XGI Technology Inc. (eXtreme Graphics Innovation) Z7/Z9 (XG20 core)
-------------------------------------------------------------------------------
ETHTOOL
  eth0  link=UP 1000Mb/s full (autoneg=Y)  drv forcedeth v0.64
  eth1  link=DOWN                          drv forcedeth v0.64
  eth2  link=DOWN                          drv e1000 v7.3.21-k6-1-NAPI / fw N/A
-------------------------------------------------------------------------------
IP
  Interface  Slave Of  MAC Address        State  IPv4 Address
  =========  ========  =================  =====  ==================
  lo         -         -                  up     127.0.0.1/8
  eth0       -         00:e0:81:b1:a7:6f  up     128.231.13.176/23
  eth1       -         00:e0:81:b1:a7:70  up     -
  eth2       -         00:e0:81:b1:a7:71  up     -
-------------------------------------------------------------------------------

WTH?

@ghost ghost assigned ryran Sep 26, 2012
@ryran
Copy link
Owner Author

ryran commented Sep 26, 2012

And here's the relevant bits from the lspci output on this system:

$ awk '$2 ~/Bridge|Ethernet/' lspci
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev f3)
01:06.0 Ethernet controller: Intel Corporation 82541GI Gigabit Ethernet Controller (rev 05)
80:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev f3)

nVidia... interesting.
"Bridge"... weird.

ptalbert added a commit to ptalbert/xsos that referenced this issue Jul 15, 2020
Some devices have an unexpected PCI class so the original XSOS_LSPCI_*_REGEX
will miss them.

We relax the pattern matching by making it case insensitive and removing the
colon.

Fixes: ryran#10

Signed-off-by: Patrick Talbert <[email protected]>
@ptalbert ptalbert linked a pull request Jul 15, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant