View previous topic :: View next topic |
Author |
Message |
Vieri l33t
Joined: 18 Dec 2005 Posts: 907
|
Posted: Mon Jul 15, 2019 12:06 pm Post subject: network interface does not show up |
|
|
Hi,
I can list my network card hardware with lspci, but I cannot see all of my NIC interfaces with ip link show or similar.
Code: | # lspci | grep "Ethernet controller"
01:07.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
01:08.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]
02:04.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)
02:05.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)
02:06.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)
02:07.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)
03:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06)
03:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06)
# lspci -v -s 02:05.0
02:05.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)
Subsystem: D-Link System Inc DFE-580TX
Flags: bus master, medium devsel, latency 32, IRQ 17
I/O ports at c800 [size=128]
Expansion ROM at fdd00000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2
Kernel modules: sundance
# modprobe -a sundance
# lsmod | grep sundance
sundance 28672 0
# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: bond0: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
link/ether 6a:1f:ab:39:f3:84 brd ff:ff:ff:ff:ff:ff
3: enp1s7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 00:04:75:9e:17:8f brd ff:ff:ff:ff:ff:ff
4: enp1s8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 00:60:08:6e:62:ea brd ff:ff:ff:ff:ff:ff
5: enp3s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 00:15:17:d3:5e:f6 brd ff:ff:ff:ff:ff:ff
6: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:17:31:83:79:7c brd ff:ff:ff:ff:ff:ff
7: enp3s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 00:15:17:d3:5e:f7 brd ff:ff:ff:ff:ff:ff
|
Any idea why I can't set up my 4-port D-Link ethernet card?
The above output was taken on the Gentoo minimal live CD.
Thanks,
Vieri |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6214 Location: Dallas area
|
Posted: Mon Jul 15, 2019 12:56 pm Post subject: |
|
|
What do you mean you can't set it up? Can't set it up on live cd or without it.
If without the live cd, show the same info on your system
wgetpaste the output of "lspci -nnk" on it too. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
Vieri l33t
Joined: 18 Dec 2005 Posts: 907
|
Posted: Mon Jul 15, 2019 1:02 pm Post subject: |
|
|
On live cd, I can't see the D-Link interfaces with "ip link show", so I can't "up" them. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6214 Location: Dallas area
|
Posted: Mon Jul 15, 2019 1:33 pm Post subject: |
|
|
wgetpaste dmesg output (it should be /var/log/dmesg) and post the link here _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
Vieri l33t
Joined: 18 Dec 2005 Posts: 907
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6214 Location: Dallas area
|
Posted: Mon Jul 15, 2019 3:24 pm Post subject: |
|
|
Code: | [ 37.027166] sundance.c:v1.2 11-Sep-2006 Written by Donald Becker
[ 37.027515] PCI Interrupt Link [APC1] enabled at IRQ 16
[ 37.027790] PCI Interrupt Link [APC2] enabled at IRQ 17
[ 37.028043] PCI Interrupt Link [APC3] enabled at IRQ 18
[ 37.028293] PCI Interrupt Link [APC4] enabled at IRQ 19 |
We can see the driver load and it appears to provide an IRQ, but stops at that point.
What does zgrep SUNDANCE /proc/config.gz return (assuming that there is a /proc/config.gz on the live cd)
There is a debug option for sundance, but I'm not sure how to pass it to the driver (on the live cd) _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
Vieri l33t
Joined: 18 Dec 2005 Posts: 907
|
Posted: Wed Jul 17, 2019 6:22 am Post subject: |
|
|
Code: | # zgrep SUNDANCE /proc/config.gz
CONFIG_SUNDANCE=m
CONFIG_SUNDANCE_MMIO=y
|
I believe MMIO could be the issue. I know I've managed to properly set up my D-Link card on a running Gentoo system WITHOUT MMIO.
As you say, I might need to pass an option at live cd boot time in order to disable MMIO. I just don't know how, yet. Or maybe ask the Gentoo devs to disable MMIO in future iso releases if that doesn't affect too many users...
Thanks |
|
Back to top |
|
|
bbgermany Veteran
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Wed Jul 17, 2019 10:54 am Post subject: |
|
|
Hi,
yes, disable MMIO in the kernel config. I had the same issue with a four port card with sundance chipset.
greets, b _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6214 Location: Dallas area
|
Posted: Wed Jul 17, 2019 11:05 am Post subject: |
|
|
There doesn't seem to be an option to turn it off in the module, once it's configured on.
The devs would have to provide 2 modules, one with it on and one with it off, and I don't know what they provide.
You might look in the /lib/modules/area and see if they do provide 2 sundances.
I'm not sure why they turn in on by default, as the help that comes with it says use it if there are problems, not as a default. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|