Impossibile connessione via cavo

Cari fedoriani,
ho una nuova macchina, ho installato F35, va benissimo, ma non si connette via cavo. Temporaneamente ho un adattatore eth>usb e potrei anche usare il wi-fi, ma preferirei il sano vecchio cavo.

Questo il pezzo galeotto:
[[email protected] /]# lspci | grep “Ethernet”
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V (rev 11)

Una ricerca in rete mostra che qualche problema c’è…
https://www.linuxquestions.org/questions/linux-hardware-18/ethernet-adapter-intel-i219v-and-audio-adapter-realtek-high-definition-audio-device-on-nuc10i710fnh-4175666897/
https://bugzilla.redhat.com/show_bug.cgi?id=1827940

… ma prima di metterci mano vorrei conoscere il vostro parere,

Salutoni

E’ un problema di driver, per cui segui la procedura suggerita, ma la modificherei un pochino.
Prerequisiti sono i development tools e i headers e modules del kernel.

sudo dnf groupinstall "Development Tools"
sudo dnf groupinstall "C Development Tools and Libraries"
sudo dnf install dkms kernel-headers kernel-devel elfutils-libelf-devel git unzip`
  1. Scarica il driver

  2. Scompatta il file e vai nella directory dove trovi il file di compilazione (in /src)

  3. Compilalo oppure, secondo me meglio, aggiungi questo driver al tree di DKMS, poi lo compili tramite DKMS in modo che al prossimo aggiornamento del kernel non devi ricompilare a mano. Puoi usare anche “dkms autoinstall”
    3bis) Esiste la possibilitá di crearti l’RPM con rpmbuild, leggi nel file README.

  4. Se non é caricato fallo tu:

    sudo modprobe e1000e

  5. Vedi se al riavvio ora ti vede la porta.

2 Mi Piace

Grazie mille Robyduck,
dovrei aver tempo di mettermici domani pomeriggio, me ne servirà perché non mi sembra semplicissimo (abbiate pazienza…): darò conto degli sviluppi in questa sede, chiedendovi aiuto in caso di problemi!
Una buna giornata fedoriana

Rieccomi,
mi servono un paio di delucidazioni…

1.1) cosa dovrei aggiungere alla cartella dkms, l’intera cartella “src” o solo uno dei suoi file?
1.2) per compilare tramite dkms, se la sintassi corretta è
dkms build -m -v <versione_modulo> -k <versione_kernel>
cosa devo scrivere sotto “modulo”? e sotto “versione_modulo”?

  1. se scelgo di creare un rpm, posso saltare i passaggi precedenti? mi sembrerebbe più facile - però poi all’aggiornamento del kernel devo ripetere l’operazione di localinstall?

Scusate l’ignoranza,
Grazie

Ciao,
per usare dkms (simile ai vecchi akmod) devi prima aggiungere il modulo al tree con ‘dkms add…’
ma forse é meglio fare un rpm, vero, ma…ho fatto una prova veloce, anche perché ho tutto giá configurato per la costruzione degli rpm. C’é un errore apparentemente nello script del build, manca un controllo e si blocca.
A questo punto vai manualmente, ma poi dovrai sempre rifarlo se cambi kernel.
Ti consiglio di mettere la directory scompattata in /usr/local/src/e1000e.
Poi vai in questa directory:

cd e1000e-3.8.4/src/

Dopodiché compila il driver:

make install

Troverai il file binario in:

/lib/modules/<VERSIONE_KERNEL>/updates/drivers/net/ethernet/intel/e1000e/e1000e.ko

Togli di mezzo eventuali moduli e1000e e caricalo:

rmmod e1000e; modprobe e1000e

Assegna un IP per la tua eth0, presumendo che sia standard (puoi mettere anche un’altro, ma sempre all’interno del range gestito dal router).

ip address add 192.168.1.200/24 dev eth0

Prova a vedere se ricevi risposta:

ping 192.168.1.200
1 Mi Piace

Grazie di cuore per l’aiuto!

Ho seguito pedissequamente le indicazioni e mi sono arenato subito:

[[email protected] src]# 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]: ingresso nella directory «/usr/src/kernels/5.14.16-301.fc35.x86_64»
  CC [M]  /usr/src/e1000e-3.8.4/src/netdev.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/netdev.c:30:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000_configure_rx’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_open’:
/usr/src/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
/usr/src/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,
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~
/usr/src/e1000e-3.8.4/src/netdev.c:5189:50: note: each undeclared identifier is reported only once for each function it appears in
/usr/src/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
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000_io_slot_reset’:
/usr/src/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);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_set_interrupt_capability’:
/usr/src/e1000e-3.8.4/src/netdev.c:2315:35: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2315 |                 adapter->int_mode = E1000E_INT_MODE_MSI;
/usr/src/e1000e-3.8.4/src/netdev.c:2317:9: note: here
 2317 |         case E1000E_INT_MODE_MSI:
      |         ^~~~
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_reset’:
/usr/src/e1000e-3.8.4/src/netdev.c:4543:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
 4543 |                 if (adapter->netdev->mtu > ETH_DATA_LEN) {
      |                    ^
/usr/src/e1000e-3.8.4/src/netdev.c:4551:9: note: here
 4551 |         default:
      |         ^~~~~~~
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000_setup_rctl’:
/usr/src/e1000e-3.8.4/src/netdev.c:3566:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3566 |                         psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE3_SHIFT;
/usr/src/e1000e-3.8.4/src/netdev.c:3568:17: note: here
 3568 |                 case 2:
      |                 ^~~~
/usr/src/e1000e-3.8.4/src/netdev.c:3569:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3569 |                         psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE2_SHIFT;
/usr/src/e1000e-3.8.4/src/netdev.c:3571:17: note: here
 3571 |                 case 1:
      |                 ^~~~
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘__e1000e_disable_aspm’:
/usr/src/e1000e-3.8.4/src/netdev.c:7554:31: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7554 |                 aspm_dis_mask |= PCI_EXP_LNKCTL_ASPM_L0S;
/usr/src/e1000e-3.8.4/src/netdev.c:7556:9: note: here
 7556 |         case PCIE_LINK_STATE_L1:
      |         ^~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/netdev.o] Errore 1
make[1]: *** [Makefile:1858: /usr/src/e1000e-3.8.4/src] Errore 2
make[1]: uscita dalla directory «/usr/src/kernels/5.14.16-301.fc35.x86_64»
make: *** [Makefile:73: default] Errore 2 # 

In nessuna directory updates dei vari kernel figurano i files binari menzionati…

:disappointed:

Uff, immagino che dargli un CFLAGS per saltare i warning non funziona.
Avrei un’ultima prova, poi per adesso sono senza ulteriori soluzioni, ma deve in qualche modo andare.

sudo dnf install https://ftp.lysator.liu.se/pub/opensuse/repositories/hardware/openSUSE_Tumbleweed/x86_64/intel-e1000e-3.8.7-1.160.x86_64.rpm

Essendo un rpm lo puoi sempre rimuovere se non va, non spaventarti che c’é scritto Suse, gran parte degli rpm sono compatibili.

Grazie,
ho avuto qualche stupido intoppo hardware, risolto ma mi ha rubato tempo.
Tornando a noi:

  • non so come si usa CFLAGS…

  • l’rpm segnalato non esiste più, sono andato a vedere e l’ho sostituito (vedi sotto)

  • installato

[[email protected]***]# dnf install https://ftp.lysator.liu.se/pub/opensuse/repositories/hardware/openSUSE_Tumbleweed/x86_64/intel-e1000e-3.8.7-1.161.x86_64.rpm
Ultima verifica della scadenza dei metadati: 0:03:08 fa il gio 18 nov 2021, 12:57:14.
intel-e1000e-3.8.7-1.161.x86_64.rpm             128 kB/s |  36 kB     00:00    
Dipendenze risolte.
================================================================================
 Package             Architecture  Version            Repository           Size
================================================================================
Installing:
 intel-e1000e        x86_64        3.8.7-1.161        @commandline         36 k

Riepilogo della transazione
================================================================================
Installati  1 pacchetto

Dimensione totale: 36 k
Dimensione installata: 57 k
Procedere [s/N]: s
Scaricamento dei pacchetti:
Esecuzione del controllo di transazione
Controllo di transazione eseguito con successo.
Test di transazione in corso
Test di transazione eseguito con successo
Transazione in corso
  Preparazione in corso        :                                            1/1 
  Installing                   : intel-e1000e-3.8.7-1.161.x86_64            1/1 
  Esecuzione scriptlet in corso: intel-e1000e-3.8.7-1.161.x86_64            1/1 
ERROR: merge-pciids or perl not found

  Verifica in corso            : intel-e1000e-3.8.7-1.161.x86_64            1/1 

Installati:
  intel-e1000e-3.8.7-1.161.x86_64                                               

Fatto!

Ma non va…

Ok, allora toglilo.
Vediamo se va questa:

cd e1000e-3.8.4/src/
sudo make install -i
sudo modprobe e1000e

Poi verifica se l’hai caricato:

lsmod | grep 1000

La porta adesso va?

Grazie mille del sostegno!

Rimosso il pacchetto con dnf, ho dato i comandi indicati:

[[email protected] src]# sudo make install -i
*** 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]: ingresso nella directory «/usr/src/kernels/5.14.16-301.fc35.x86_64»
  CC [M]  /usr/src/e1000e-3.8.4/src/netdev.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/netdev.c:30:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000_configure_rx’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_open’:
/usr/src/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
/usr/src/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,
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~
/usr/src/e1000e-3.8.4/src/netdev.c:5189:50: note: each undeclared identifier is reported only once for each function it appears in
/usr/src/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
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000_io_slot_reset’:
/usr/src/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);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_set_interrupt_capability’:
/usr/src/e1000e-3.8.4/src/netdev.c:2315:35: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2315 |                 adapter->int_mode = E1000E_INT_MODE_MSI;
/usr/src/e1000e-3.8.4/src/netdev.c:2317:9: note: here
 2317 |         case E1000E_INT_MODE_MSI:
      |         ^~~~
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_reset’:
/usr/src/e1000e-3.8.4/src/netdev.c:4543:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
 4543 |                 if (adapter->netdev->mtu > ETH_DATA_LEN) {
      |                    ^
/usr/src/e1000e-3.8.4/src/netdev.c:4551:9: note: here
 4551 |         default:
      |         ^~~~~~~
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘e1000_setup_rctl’:
/usr/src/e1000e-3.8.4/src/netdev.c:3566:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3566 |                         psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE3_SHIFT;
/usr/src/e1000e-3.8.4/src/netdev.c:3568:17: note: here
 3568 |                 case 2:
      |                 ^~~~
/usr/src/e1000e-3.8.4/src/netdev.c:3569:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3569 |                         psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE2_SHIFT;
/usr/src/e1000e-3.8.4/src/netdev.c:3571:17: note: here
 3571 |                 case 1:
      |                 ^~~~
/usr/src/e1000e-3.8.4/src/netdev.c: In function ‘__e1000e_disable_aspm’:
/usr/src/e1000e-3.8.4/src/netdev.c:7554:31: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7554 |                 aspm_dis_mask |= PCI_EXP_LNKCTL_ASPM_L0S;
/usr/src/e1000e-3.8.4/src/netdev.c:7556:9: note: here
 7556 |         case PCIE_LINK_STATE_L1:
      |         ^~~~
cc1: some warnings being treated as errors
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/netdev.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/netdev.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/netdev.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/ethtool.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/ethtool.c:15:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/ethtool.c: In function ‘e1000_get_rxnfc’:
/usr/src/e1000e-3.8.4/src/ethtool.c:2580:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2580 |                         if (mrqc & E1000_MRQC_RSS_FIELD_IPV4_TCP)
      |                            ^
/usr/src/e1000e-3.8.4/src/ethtool.c:2583:17: note: here
 2583 |                 case UDP_V4_FLOW:
      |                 ^~~~
/usr/src/e1000e-3.8.4/src/ethtool.c:2591:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2591 |                         if (mrqc & E1000_MRQC_RSS_FIELD_IPV6_TCP)
      |                            ^
/usr/src/e1000e-3.8.4/src/ethtool.c:2594:17: note: here
 2594 |                 case UDP_V6_FLOW:
      |                 ^~~~
In file included from /usr/src/e1000e-3.8.4/src/ethtool.c:15:
/usr/src/e1000e-3.8.4/src/ethtool.c: In function ‘e1000_loopback_cleanup’:
/usr/src/e1000e-3.8.4/src/e1000.h:670:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  670 | #define ew32(reg, val)  __ew32(hw, E1000_##reg, (val))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/e1000e-3.8.4/src/ethtool.c:1931:17: note: in expansion of macro ‘ew32’
 1931 |                 ew32(TARC(0), tarc0);
      |                 ^~~~
/usr/src/e1000e-3.8.4/src/ethtool.c:1933:9: note: here
 1933 |         case e1000_80003es2lan:
      |         ^~~~
/usr/src/e1000e-3.8.4/src/ethtool.c:1934:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1934 |                 if (hw->phy.media_type == e1000_media_type_fiber ||
      |                    ^
/usr/src/e1000e-3.8.4/src/ethtool.c:1941:9: note: here
 1941 |         case e1000_82571:
      |         ^~~~
/usr/src/e1000e-3.8.4/src/ethtool.c:1943:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1943 |                 if (hw->phy.media_type == e1000_media_type_fiber ||
      |                    ^
/usr/src/e1000e-3.8.4/src/ethtool.c:1951:9: note: here
 1951 |         default:
      |         ^~~~~~~
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/ethtool.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/ethtool.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/ethtool.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/ich8lan.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/ich8lan.c:41:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/ich8lan.c: In function ‘e1000_init_phy_workarounds_pchlan’:
/usr/src/e1000e-3.8.4/src/ich8lan.c:320:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  320 |                 msleep(50);
      |                 ^~~~~~~~~~
/usr/src/e1000e-3.8.4/src/ich8lan.c:323:9: note: here
  323 |         case e1000_pch2lan:
      |         ^~~~
/usr/src/e1000e-3.8.4/src/ich8lan.c:324:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  324 |                 if (e1000_phy_is_accessible_pchlan(hw))
      |                    ^
/usr/src/e1000e-3.8.4/src/ich8lan.c:328:9: note: here
  328 |         case e1000_pchlan:
      |         ^~~~
In file included from ./include/linux/printk.h:456,
                 from ./include/linux/kernel.h:19,
                 from ./include/linux/list.h:9,
                 from ./include/linux/timer.h:5,
                 from ./include/linux/netdevice.h:24,
                 from /usr/src/e1000e-3.8.4/src/e1000.h:11,
                 from /usr/src/e1000e-3.8.4/src/ich8lan.c:41:
/usr/src/e1000e-3.8.4/src/ich8lan.c: In function ‘e1000_valid_nvm_bank_detect_ich8lan’:
./include/linux/dynamic_debug.h:131:52: warning: this statement may fall through [-Wimplicit-fallthrough=]
  131 | #define __dynamic_func_call(id, fmt, func, ...) do {    \
      |                                                    ^
./include/linux/dynamic_debug.h:152:9: note: in expansion of macro ‘__dynamic_func_call’
  152 |         __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
      |         ^~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:170:9: note: in expansion of macro ‘_dynamic_func_call’
  170 |         _dynamic_func_call(fmt, __dynamic_netdev_dbg,           \
      |         ^~~~~~~~~~~~~~~~~~
./include/linux/netdevice.h:5285:9: note: in expansion of macro ‘dynamic_netdev_dbg’
 5285 |         dynamic_netdev_dbg(__dev, format, ##args);              \
      |         ^~~~~~~~~~~~~~~~~~
/usr/src/e1000e-3.8.4/src/e1000.h:36:9: note: in expansion of macro ‘netdev_dbg’
   36 |         netdev_dbg(hw->adapter->netdev, format, ## arg)
      |         ^~~~~~~~~~
/usr/src/e1000e-3.8.4/src/ich8lan.c:3224:17: note: in expansion of macro ‘e_dbg’
 3224 |                 e_dbg("Unable to determine valid NVM bank via EEC - reading flash signature\n");
      |                 ^~~~~
/usr/src/e1000e-3.8.4/src/ich8lan.c:3226:9: note: here
 3226 |         default:
      |         ^~~~~~~
/usr/src/e1000e-3.8.4/src/ich8lan.c: In function ‘e1000_sw_lcd_config_ich8lan’:
/usr/src/e1000e-3.8.4/src/ich8lan.c:2128:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2128 |                 if ((hw->adapter->pdev->device == E1000_DEV_ID_ICH8_IGP_AMT) ||
      |                    ^
/usr/src/e1000e-3.8.4/src/ich8lan.c:2134:9: note: here
 2134 |         case e1000_pchlan:
      |         ^~~~
/usr/src/e1000e-3.8.4/src/ich8lan.c: In function ‘e1000_check_for_copper_link_ich8lan’:
/usr/src/e1000e-3.8.4/src/ich8lan.c:1596:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1596 |                 if (ret_val)
      |                    ^
/usr/src/e1000e-3.8.4/src/ich8lan.c:1599:9: note: here
 1599 |         case e1000_pchlan:
      |         ^~~~
/usr/src/e1000e-3.8.4/src/ich8lan.c: In function ‘e1000_init_mac_params_ich8lan’:
/usr/src/e1000e-3.8.4/src/ich8lan.c:688:34: warning: this statement may fall through [-Wimplicit-fallthrough=]
  688 |                 mac->ops.rar_set = e1000_rar_set_pch2lan;
      |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/src/e1000e-3.8.4/src/ich8lan.c:690:9: note: here
  690 |         case e1000_pch_lpt:
      |         ^~~~
/usr/src/e1000e-3.8.4/src/ich8lan.c: In function ‘e1000_init_phy_params_pchlan’:
/usr/src/e1000e-3.8.4/src/ich8lan.c:441:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
  441 |                         if ((phy->id != 0) && (phy->id != PHY_REVISION_MASK))
      |                            ^
/usr/src/e1000e-3.8.4/src/ich8lan.c:444:17: note: here
  444 |                 case e1000_pch2lan:
      |                 ^~~~
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/ich8lan.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/ich8lan.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/ich8lan.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/mac.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/mac.c:4:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/mac.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/mac.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/mac.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/nvm.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/nvm.c:4:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/nvm.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/nvm.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/nvm.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/phy.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/phy.c:4:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/phy.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/phy.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/phy.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/manage.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/manage.c:4:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/manage.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/manage.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/manage.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/80003es2lan.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/80003es2lan.c:8:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/80003es2lan.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/80003es2lan.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/80003es2lan.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/82571.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/82571.c:20:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/82571.c: In function ‘e1000_init_hw_82571’:
/usr/src/e1000e-3.8.4/src/82571.c:1114:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1114 |                 e1000e_enable_tx_pkt_filtering(hw);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/e1000e-3.8.4/src/82571.c:1116:9: note: here
 1116 |         case e1000_82574:
      |         ^~~~
/usr/src/e1000e-3.8.4/src/82571.c: In function ‘e1000_init_nvm_params_82571’:
/usr/src/e1000e-3.8.4/src/82571.c:148:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  148 |                 if (((eecd >> 15) & 0x3) == 0x3) {
      |                    ^
/usr/src/e1000e-3.8.4/src/82571.c:159:9: note: here
  159 |         default:
      |         ^~~~~~~
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/82571.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/82571.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/82571.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/param.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/param.c:8:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/param.c: In function ‘e1000e_check_options’:
/usr/src/e1000e-3.8.4/src/param.c:408:46: warning: this statement may fall through [-Wimplicit-fallthrough=]
  408 |                         adapter->itr_setting = opt.def;
      |                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/src/e1000e-3.8.4/src/param.c:410:17: note: here
  410 |                 case 3:
      |                 ^~~~
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/param.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/param.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/param.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/ptp.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/ptp.c:9:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/ptp.c: In function ‘e1000e_ptp_init’:
/usr/src/e1000e-3.8.4/src/ptp.c:338:52: warning: this statement may fall through [-Wimplicit-fallthrough=]
  338 |                 if ((hw->mac.type < e1000_pch_lpt) ||
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  339 |                     (er32(TSYNCRXCTL) & E1000_TSYNCRXCTL_SYSCFI)) {
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/e1000e-3.8.4/src/ptp.c:344:9: note: here
  344 |         case e1000_82574:
      |         ^~~~
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/ptp.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/ptp.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/ptp.o] Errore 1 (ignorato)
  CC [M]  /usr/src/e1000e-3.8.4/src/kcompat.o
In file included from /usr/src/e1000e-3.8.4/src/e1000.h:14,
                 from /usr/src/e1000e-3.8.4/src/kcompat.c:4:
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/usr/src/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
/usr/src/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/usr/src/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
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/kcompat.o] Errore 1 (ignorato)
objtool: Can't open '/usr/src/e1000e-3.8.4/src/kcompat.o': No such file or directory
make[2]: [scripts/Makefile.build:271: /usr/src/e1000e-3.8.4/src/kcompat.o] Errore 1 (ignorato)
  LD [M]  /usr/src/e1000e-3.8.4/src/e1000e.o
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/netdev.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/ethtool.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/ich8lan.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/mac.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/nvm.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/phy.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/manage.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/80003es2lan.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/82571.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/param.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/ptp.o: File o directory non esistente
ld: impossibile trovare /usr/src/e1000e-3.8.4/src/kcompat.o: File o directory non esistente
make[2]: [scripts/Makefile.build:448: /usr/src/e1000e-3.8.4/src/e1000e.o] Errore 1 (ignorato)
make[2]: ***  Nessuna regola per generare l'obiettivo «/usr/src/e1000e-3.8.4/src/e1000e.o», necessario per «/usr/src/e1000e-3.8.4/src/Module.symvers».  Arresto.
make[1]: [Makefile:1773: modules] Errore 2 (ignorato)
make[1]: uscita dalla directory «/usr/src/kernels/5.14.16-301.fc35.x86_64»
Copying manpages...
Installing modules...
*** 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]: ingresso nella directory «/usr/src/kernels/5.14.16-301.fc35.x86_64»
make[2]: ***  Nessuna regola per generare l'obiettivo «/lib/modules/5.14.16-301.fc35.x86_64/updates/drivers/net/ethernet/intel/e1000e/e1000e.ko», necessario per «__modinst».  Arresto.
make[1]: [Makefile:1784: modules_install] Errore 2 (ignorato)
  DEPMOD  /lib/modules/5.14.16-301.fc35.x86_64
make[1]: uscita dalla directory «/usr/src/kernels/5.14.16-301.fc35.x86_64»
Running depmod...
[[email protected] src]# sudo modprobe e1000e
[[email protected] src]# lsmod | grep 1000
e1000e                307200  0

Provo a riavviare…
…niente da fare! :confounded: