Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not able to bring up Intel I219-V Interface
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 22

PostPosted: Thu Sep 16, 2021 5:20 am    Post subject: Not able to bring up Intel I219-V Interface Reply with quote

Hi Everyone, I am not able to see my Intel 1G NIC card . I have the drivers for it - tried both inbuilt to the kernel and as a module, but the Nic does not show up.

This post - https://forums.gentoo.org/viewtopic-t-1095826-start-0.html. suggest changing it to module and it worked for them -

Quote:
cat /usr/src/linux/.config | grep CONFIG_E1000E
CONFIG_E1000E=m

modprobe e1000e

And it shows that its loaded as a module

Quote:
# lspci -vv | grep -i ethernet
lspci: Unable to load libkmod resources: error -12
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I219-V
DeviceName: Onboard - Ethernet
Subsystem: ASUSTeK Computer Inc. Ethernet Connection (11) I219-V


Please suggest what else needs to be done to show up the interface .
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1396
Location: Earth

PostPosted: Thu Sep 16, 2021 7:33 pm    Post subject: Reply with quote

do you have sys-apps/kmod installed ?

Code:
[I] sys-apps/kmod
     Available versions:  29^t{tbz2} **9999*l^t {debug doc +lzma pkcs7 python static-libs +tools +zlib zstd PYTHON_TARGETS="python3_8 python3_9"}
     Installed versions:  29^t{tbz2}(01:33:17 AM 08/28/2021)(lzma tools zlib -debug -doc -pkcs7 -python -static-libs -zstd PYTHON_TARGETS="python3_9 -python3_8")
     Homepage:            https://git.kernel.org/?p=utils/kernel/kmod/kmod.git
     Description:         library and tools for managing linux kernel modules


i use the same and never got problems.

good luck :roll:
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Tue Sep 21, 2021 4:25 am    Post subject: Reply with quote

Thanks CooSee, kmod is there. However when using kmod as
Quote:
kmod load e1000e
, to load e1000e drivers, its not taking the command. What exact kmod command you use to load modules ? can you please share that.

Thanks
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1396
Location: Earth

PostPosted: Tue Sep 21, 2021 10:12 am    Post subject: Reply with quote

manu_leo wrote:
Thanks CooSee, kmod is there. However when using kmod as
Quote:
kmod load e1000e
, to load e1000e drivers, its not taking the command. What exact kmod command you use to load modules ? can you please share that.

Thanks


Welcome to the GenToo Jungle 8)

Quote:
kmod is a multi-call binary which implements the programs used to control Linux Kernel modules. Most users will only run it using its other names.


Quote:
SEE ALSO lsmod 8, rmmod 8, insmod 8, modinfo 8, modprobe 8, depmod 8


man 8 modprobe >> will show manpage of modprobe etc.

Code:
modprobe e1000e
will load the module - it should be automatically loaded, if it's a module

Code:
modprobe -r e1000e
will remove the module

which kernel are you using?

what does your /var/log/dmesg say ?

i got sometimes problems with onboard ethernet in the past, when i also used onboard (CPU) graphics.

also look in your BIOS that only LAN Controller is enabled, no other additional Option regarding LAN.

please try another kernel.

goog luck :)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 279

PostPosted: Tue Sep 21, 2021 11:31 am    Post subject: Reply with quote

Please show also output of
Code:
lspci -knn

Code:
ifconfig -a
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Tue Sep 28, 2021 4:39 am    Post subject: Reply with quote

Here you go Spica -
Quote:

# lspci -knn
00:00.0 PCI bridge [0604]: Intel Corporation Device [8086:4c43] (rev 01)
00:01.0 PCI bridge [0604]: Intel Corporation Device [8086:4c01] (rev 01)
Kernel driver in use: pcieport
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:06ed]
DeviceName: Onboard - Other
Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
Kernel driver in use: xhci_hcd
00:14.2 RAM memory [0500]: Intel Corporation Device [8086:06ef]
DeviceName: Onboard - Other
Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:06e8]
DeviceName: Onboard - Other
Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:15.1 Serial bus controller [0c80]: Intel Corporation Device [8086:06e9]
DeviceName: Onboard - Other
Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:06e0]
DeviceName: Onboard - Other
Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:06d2]
DeviceName: Onboard - SATA
Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
Kernel driver in use: ahci
00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:06c0] (rev f0)
Kernel driver in use: pcieport
00:1b.4 PCI bridge [0604]: Intel Corporation Device [8086:06ac] (rev f0)
Kernel driver in use: pcieport
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:06b8] (rev f0)
Kernel driver in use: pcieport
00:1c.6 PCI bridge [0604]: Intel Corporation Device [8086:06be] (rev f0)
Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:06b0] (rev f0)
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:0685]
DeviceName: Onboard - Other
Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:06a3]
DeviceName: Onboard - Other
Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:06a4]
DeviceName: Onboard - Other
Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (11) I219-V [8086:0d4d]
DeviceName: Onboard - Ethernet
Subsystem: ASUSTeK Computer Inc. Ethernet Connection (11) I219-V [1043:8672]
02:00.0 Ethernet controller [0200]: Exablaze ExaNIC X25 [1ce4:0009]
Subsystem: Exablaze ExaNIC X25 [1ce4:0009]
Kernel driver in use: exanic
Kernel modules: exanic
04:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208B [GeForce GT 710] [10de:128b] (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. GK208B [GeForce GT 710] [19da:7326]
04:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. GK208 HDMI/DP Audio Controller [19da:7326]
Kernel driver in use: snd_hda_intel
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:0123]
Kernel driver in use: r8169



Quote:
# ifconfig -a
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.230.96.133 netmask 255.255.255.128 broadcast 10.230.96.255
inet6 fe80::201:e8ff:fe8b:521e prefixlen 64 scopeid 0x20<link>
ether 00:01:e8:8b:52:1e txqueuelen 1000 (Ethernet)
RX packets 398801 bytes 45443536 (43.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28920 bytes 2443938 (2.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp2s0d1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 55.55.55.3 netmask 255.255.255.0 broadcast 55.55.55.255
inet6 fe80::201:e8ff:fe8b:521e prefixlen 64 scopeid 0x20<link>
ether 00:01:e8:8b:52:1e txqueuelen 1000 (Ethernet)
RX packets 244449 bytes 20089410 (19.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 315 bytes 15282 (14.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.11.46 netmask 255.255.255.0 broadcast 192.168.11.255
inet6 fe80::2e0:4cff:fe68:575 prefixlen 64 scopeid 0x20<link>
ether 00:e0:4c:68:05:75 txqueuelen 1000 (Ethernet)
RX packets 412919 bytes 56823792 (54.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 387859 bytes 30024908 (28.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1882 bytes 95420 (93.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1882 bytes 95420 (93.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

sit0: flags=128<NOARP> mtu 1480
sit txqueuelen 1000 (IPv6-in-IPv4)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


enp2s0 and enp2s0d1 is my 10G NIC Card, enp6s0 is the Realtek card. Onboard Intel NIC card not visible.
Back to top
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 279

PostPosted: Tue Sep 28, 2021 7:14 am    Post subject: Reply with quote

Hi Manu,

I do not see the words "Kernel driver in use" in the output, which means the driver is not assigned to device, for example, the driver was not loaded or it was attempted to load but it was immediately unloaded by kernel because of some reason
manu_leo wrote:
Code:
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (11) I219-V [8086:0d4d]
   DeviceName: Onboard - Ethernet
   Subsystem: ASUSTeK Computer Inc. Ethernet Connection (11) I219-V [1043:8672]
02:00.0 Ethernet controller [0200]: Exablaze ExaNIC X25 [1ce4:0009]


According to this page, the device 1043:8672 is in kernel starting from v4.1 and it is managed by these keys:
Quote:
CONFIG_E1000E
CONFIG_ETHERNET
CONFIG_NET_VENDOR_INTEL

Please make sure these params are enabled.

The right place to check why a driver didn't load is output of dmesg

Could you please try to do two experiments
1)
  • reboot the computer (this will flush dmesg buffer)
  • after reboot, run this command
    Code:
    dmesg | grep -E '1f.6|e100|Linux version'
  • paste the output here.
With this output we can see what happens on 1f.6 PCI bus (which is the problem device), driver activity and kernel version.

2)
  • open a terminal window, in terminal run this command
    Code:
    dmesg -w
    this will listen to new messages in dmesg
  • open another terminal window, switch to root user and run
    Code:
    modprobe e1000e
  • Some output will be printed in the first terminal window, please paste it here


Edit:
This error makes me think that /boot partition was not mounted when you installed kernel or modules were not installed properly
Code:
 lspci: Unable to load libkmod resources: error -12
lspci use the version of currently running kernel, but it can't find the right module cache file using that version, or fails to load it, so also please make sure the version of booted kernel is the same as version of just installed kernel and modules
Back to top
View user's profile Send private message
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 22

PostPosted: Tue Sep 28, 2021 9:54 am    Post subject: Reply with quote

Thanks for the help, here you go -

Quote:
# cat /usr/src/linux/.config | grep -i CONFIG_E1000E
CONFIG_E1000E=m
CONFIG_E1000E_HWTS=y

~ # cat /usr/src/linux/.config | grep -i CONFIG_ETHERNET
CONFIG_ETHERNET=y

~ # cat /usr/src/linux/.config | grep -i CONFIG_NET_VENDOR_INTEL
CONFIG_NET_VENDOR_INTEL=y


Quote:
~ # dmesg | grep -E '1f.6|e100|Linux version'
[ 0.000000] Linux version 4.19.124-gentoo (root@SEMI-17-AQ-17) (gcc version 9.3.0 (Gentoo 9.3.0-r1 p3)) #2 SMP Thu Sep 16 10:36:37 IST 2021
[ 0.458773] pci 0000:00:1f.6: [8086:0d4d] type 00 class 0x020000
[ 0.458819] pci 0000:00:1f.6: reg 0x10: [mem 0xad100000-0xad11ffff]
[ 0.459008] pci 0000:00:1f.6: PME# supported from D0 D3hot D3cold
[ 0.621954] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 0.622301] e100: Copyright(c) 1999-2006 Intel Corporation
[73207.492470] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[73207.492470] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.


below is the o.p for dmesg -w when I load the module modprobe e1000e -
Quote:
[73207.492470] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[73207.492470] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
Back to top
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 279

PostPosted: Tue Sep 28, 2021 10:05 am    Post subject: Reply with quote

Hi Manu,

Thanks for the provided info.

You need to try a newer kernel.
According to this, 0x0D4D was added in v5.5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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