Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
network interface does not show up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 907

PostPosted: Mon Jul 15, 2019 12:06 pm    Post subject: network interface does not show up Reply with quote

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
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6214
Location: Dallas area

PostPosted: Mon Jul 15, 2019 12:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 907

PostPosted: Mon Jul 15, 2019 1:02 pm    Post subject: Reply with quote

On live cd, I can't see the D-Link interfaces with "ip link show", so I can't "up" them.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6214
Location: Dallas area

PostPosted: Mon Jul 15, 2019 1:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 907

PostPosted: Mon Jul 15, 2019 3:05 pm    Post subject: Reply with quote

Here's my dmesg:

http://dpaste.com/05432HF
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6214
Location: Dallas area

PostPosted: Mon Jul 15, 2019 3:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 907

PostPosted: Wed Jul 17, 2019 6:22 am    Post subject: Reply with quote

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
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Wed Jul 17, 2019 10:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6214
Location: Dallas area

PostPosted: Wed Jul 17, 2019 11:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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