Instalacja sterownika I219-LM
: 25 gru 2021, 22:32
Cześć,
Mam problem z instalacją sterownika.
Szukałem rozwiązania i znalazłem instrukcję w jaki sposób mogę pobrać i samemu wgrać sterownik. Niestety w trakcie kompilacji dostaje błąd.
Pobieram sterownik z strony https://www.intel.com/content/www/us/en ... linux.html
Następnie rozpakowywuje archiwum, przechodzę do katalogu TAR i wykonuje polecenie.
I otrzymuje błąd w trakcie kompilacji.
Prosiłbym o pomoc.
Mam problem z instalacją sterownika.
Kod: Zaznacz cały
*-network:1 UNCLAIMED
description: Ethernet controller
product: Ethernet Connection (13) I219-LM
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
version: 20
width: 32 bits
clock: 33MHz
capabilities: pm msi cap_list
configuration: latency=0
resources: memory:a6100000-a611ffff
Pobieram sterownik z strony https://www.intel.com/content/www/us/en ... linux.html
Następnie rozpakowywuje archiwum, przechodzę do katalogu TAR i wykonuje polecenie.
Kod: Zaznacz cały
make install
Kod: Zaznacz cały
➜ src sudo make install
*** The target kernel has CONFIG_MODULE_SIG_ALL enabled, but
*** the signing key cannot be found. Module signing has been
*** disabled for this build.
make[1]: Entering directory '/usr/src/linux-headers-5.13.0-22-generic'
CC [M] /home/workstati/downloads/e1000e-3.8.4/src/netdev.o
In file included from /home/workstati/downloads/e1000e-3.8.4/src/e1000.h:14,
from /home/workstati/downloads/e1000e-3.8.4/src/netdev.c:30:
/home/workstati/downloads/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/home/workstati/downloads/e1000e-3.8.4/src/kcompat.h:6696:22: error: ‘struct xdp_umem’ has no member named ‘pages’; did you mean ‘pgs’?
6696 | return umem->pages[addr >> PAGE_SHIFT].addr + (addr & (PAGE_SIZE - 1));
| ^~~~~
| pgs
/home/workstati/downloads/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/home/workstati/downloads/e1000e-3.8.4/src/kcompat.h:6704:22: error: ‘struct xdp_umem’ has no member named ‘pages’; did you mean ‘pgs’?
6704 | return umem->pages[addr >> PAGE_SHIFT].dma + (addr & (PAGE_SIZE - 1));
| ^~~~~
| pgs
/home/workstati/downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_configure_rx’:
/home/workstati/downloads/e1000e-3.8.4/src/netdev.c:3714:17: error: implicit declaration of function ‘pm_qos_update_request’; did you mean ‘freq_qos_update_request’? [-Werror=implicit-function-declaration]
3714 | pm_qos_update_request(&adapter->pm_qos_req, lat);
| ^~~~~~~~~~~~~~~~~~~~~
| freq_qos_update_request
/home/workstati/downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_open’:
/home/workstati/downloads/e1000e-3.8.4/src/netdev.c:5189:9: error: implicit declaration of function ‘pm_qos_add_request’; did you mean ‘freq_qos_add_request’? [-Werror=implicit-function-declaration]
5189 | pm_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
| ^~~~~~~~~~~~~~~~~~
| freq_qos_add_request
/home/workstati/downloads/e1000e-3.8.4/src/netdev.c:5189:50: error: ‘PM_QOS_CPU_DMA_LATENCY’ undeclared (first use in this function)
5189 | pm_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
| ^~~~~~~~~~~~~~~~~~~~~~
/home/workstati/downloads/e1000e-3.8.4/src/netdev.c:5189:50: note: each undeclared identifier is reported only once for each function it appears in
/home/workstati/downloads/e1000e-3.8.4/src/netdev.c:5243:9: error: implicit declaration of function ‘pm_qos_remove_request’; did you mean ‘freq_qos_remove_request’? [-Werror=implicit-function-declaration]
5243 | pm_qos_remove_request(&adapter->pm_qos_req);
| ^~~~~~~~~~~~~~~~~~~~~
| freq_qos_remove_request
/home/workstati/downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_io_slot_reset’:
/home/workstati/downloads/e1000e-3.8.4/src/netdev.c:8100:9: error: implicit declaration of function ‘pci_cleanup_aer_uncorrect_error_status’ [-Werror=implicit-function-declaration]
8100 | pci_cleanup_aer_uncorrect_error_status(pdev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:281: /home/workstati/downloads/e1000e-3.8.4/src/netdev.o] Error 1
make[1]: *** [Makefile:1879: /home/workstati/downloads/e1000e-3.8.4/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.13.0-22-generic'
make: *** [Makefile:73: default] Error 2