Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Driver not loading for 1G NIC
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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Wed May 19, 2021 5:01 am    Post subject: Driver not loading for 1G NIC Reply with quote

Hi Everyone, I have installed Gentoo on a new server that has below Ethernet Card -

# lspci -vv | grep -i ethernet
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I219-V
DeviceName: Onboard - Ethernet
Subsystem: ASUSTeK Computer Inc. Ethernet Connection (11) I219-V

I have built in Intel drivers in the kernel but still when I restart the server after building the kernel, the 1G Ports does not come up. Neither they are visible under /sys/class/net.

No logs are there in dmesg or /var/log/messages

When I boot it from Livecd, the 1G ports they come up fine and I am able to configure it. but the momnet, I reboot the server, the ports are no longer visible.

Please suggest how to get this fixed. Is there any other command to figure out the drivers for 1G card and then we can try incorporating it in the kernel.

Thanks again for all the help.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3950

PostPosted: Wed May 19, 2021 9:33 am    Post subject: Reply with quote

Hi
please boot from livecd and run
Code:

lspci -nkk

and try to find the "driver in use" of your nic.
Do you have
Code:

CONFIG_E1000=m
CONFIG_E1000E=m
CONFIG_E1000E_HWTS=y

in your kernel .config
?
_________________
:)
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Wed May 19, 2021 10:48 am    Post subject: Reply with quote

Thanks Alamahant

I have the required drivers configured in kernel, but the 1G nic still does not show up.

# lspci -nkk | grep "driver in use"
Kernel driver in use: pcieport
Kernel driver in use: xhci_hcd
Kernel driver in use: ahci
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: snd_hda_intel
Kernel driver in use: exanic
Kernel driver in use: snd_hda_intel
Kernel driver in use: nvme

# cat /usr/src/linux/.config | grep E1000
CONFIG_E1000=y
CONFIG_E1000E=y
CONFIG_E1000E_HWTS=y
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3950

PostPosted: Wed May 19, 2021 11:03 am    Post subject: Reply with quote

May be build it as module...
Plus your kernel may be missing additionally needed config.
Also try it with
gentoo-kernel-bin
as a temporary measure.
_________________
:)
Back to top
View user's profile Send private message
DeadlySyns
n00b
n00b


Joined: 14 May 2021
Posts: 8

PostPosted: Wed May 19, 2021 5:12 pm    Post subject: Reply with quote

Are you booting the new kernel?
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3468
Location: Canada

PostPosted: Thu May 20, 2021 8:01 am    Post subject: Reply with quote

manu_leo wrote:
Thanks Alamahant

I have the required drivers configured in kernel, but the 1G nic still does not show up.

# lspci -nkk | grep "driver in use"
Kernel driver in use: pcieport
Kernel driver in use: xhci_hcd
Kernel driver in use: ahci
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: snd_hda_intel
Kernel driver in use: exanic
Kernel driver in use: snd_hda_intel
Kernel driver in use: nvme

# cat /usr/src/linux/.config | grep E1000
CONFIG_E1000=y
CONFIG_E1000E=y
CONFIG_E1000E_HWTS=y



I don't see here intel network drivers in use (it will be called something like e1000e. It seems the network related driver is "exanic" - is it something from Cisco ?
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