Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4865 Discussions

Error on latest e1000e Linux driver for ubuntu22.04

Vivian996
Beginner
2,863 Views

To install version 3.8.4 of the e1000e Linux* Intel® Network Adapter Driver for Intel® Gigabit Network Connections for PCI Express*. Use `sudo make install` in e1000e-3.8.4/src, below is the error log:

Vivian996_0-1679015955543.pngVivian996_1-1679016001324.pngVivian996_2-1679016029180.png

 

If want to know more details, the full log is here:

song@ubuntu-2204:~/Downloads/e1000e-3.8.4/src$ sudo make install
[sudo] password for song: 
*** 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.19.0-35-generic'
  CC [M]  /home/song/Downloads/e1000e-3.8.4/src/netdev.o
In file included from /home/song/Downloads/e1000e-3.8.4/src/e1000.h:14,
                 from /home/song/Downloads/e1000e-3.8.4/src/netdev.c:30:
/home/song/Downloads/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/home/song/Downloads/e1000e-3.8.4/src/kcompat.h:6696:45: error: ‘*(umem->pgs + (sizetype)(((addr) >> 12) * 8))’ is a pointer; did you mean to use ‘->’?
 6696 |         return umem->pgs[addr >> PAGE_SHIFT].addr + (addr & (PAGE_SIZE - 1));
      |                                             ^
      |                                             ->
/home/song/Downloads/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/home/song/Downloads/e1000e-3.8.4/src/kcompat.h:6704:45: error: ‘*(umem->pgs + (sizetype)(((addr) >> 12) * 8))’ is a pointer; did you mean to use ‘->’?
 6704 |         return umem->pgs[addr >> PAGE_SHIFT].dma + (addr & (PAGE_SIZE - 1));
      |                                             ^
      |                                             ->
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_configure_rx’:
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:3714:41: error: passing argument 1 of ‘freq_qos_update_request’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 3714 |                 freq_qos_update_request(&adapter->pm_qos_req, lat);
      |                                         ^~~~~~~~~~~~~~~~~~~~
      |                                         |
      |                                         struct pm_qos_request *
In file included from /home/song/Downloads/e1000e-3.8.4/src/kcompat.h:2737,
                 from /home/song/Downloads/e1000e-3.8.4/src/e1000.h:14,
                 from /home/song/Downloads/e1000e-3.8.4/src/netdev.c:30:
./include/linux/pm_qos.h:307:54: note: expected ‘struct freq_qos_request *’ but argument is of type ‘struct pm_qos_request *’
  307 | int freq_qos_update_request(struct freq_qos_request *req, s32 new_value);
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:3723:17: error: implicit declaration of function ‘pm_qos_update_request’; did you mean ‘freq_qos_update_request’? [-Werror=implicit-function-declaration]
 3723 |                 pm_qos_update_request(&adapter->pm_qos_req,
      |                 ^~~~~~~~~~~~~~~~~~~~~
      |                 freq_qos_update_request
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_open’:
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5189:52: error: ‘PM_QOS_CPU_DMA_LATENCY’ undeclared (first use in this function)
 5189 |         freq_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5189:52: note: each undeclared identifier is reported only once for each function it appears in
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5189:30: error: passing argument 1 of ‘freq_qos_add_request’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 5189 |         freq_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
      |                              ^~~~~~~~~~~~~~~~~~~~
      |                              |
      |                              struct pm_qos_request *
In file included from /home/song/Downloads/e1000e-3.8.4/src/kcompat.h:2737,
                 from /home/song/Downloads/e1000e-3.8.4/src/e1000.h:14,
                 from /home/song/Downloads/e1000e-3.8.4/src/netdev.c:30:
./include/linux/pm_qos.h:304:51: note: expected ‘struct freq_constraints *’ but argument is of type ‘struct pm_qos_request *’
  304 | int freq_qos_add_request(struct freq_constraints *qos,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5189:9: error: too few arguments to function ‘freq_qos_add_request’
 5189 |         freq_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /home/song/Downloads/e1000e-3.8.4/src/kcompat.h:2737,
                 from /home/song/Downloads/e1000e-3.8.4/src/e1000.h:14,
                 from /home/song/Downloads/e1000e-3.8.4/src/netdev.c:30:
./include/linux/pm_qos.h:304:5: note: declared here
  304 | int freq_qos_add_request(struct freq_constraints *qos,
      |     ^~~~~~~~~~~~~~~~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5243:33: error: passing argument 1 of ‘freq_qos_remove_request’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 5243 |         freq_qos_remove_request(&adapter->pm_qos_req);
      |                                 ^~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 struct pm_qos_request *
In file included from /home/song/Downloads/e1000e-3.8.4/src/kcompat.h:2737,
                 from /home/song/Downloads/e1000e-3.8.4/src/e1000.h:14,
                 from /home/song/Downloads/e1000e-3.8.4/src/netdev.c:30:
./include/linux/pm_qos.h:308:54: note: expected ‘struct freq_qos_request *’ but argument is of type ‘struct pm_qos_request *’
  308 | int freq_qos_remove_request(struct freq_qos_request *req);
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_close’:
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5330:9: error: implicit declaration of function ‘pm_qos_remove_request’; did you mean ‘freq_qos_remove_request’? [-Werror=implicit-function-declaration]
 5330 |         pm_qos_remove_request(&adapter->pm_qos_req);
      |         ^~~~~~~~~~~~~~~~~~~~~
      |         freq_qos_remove_request
In file included from ./include/linux/string.h:253,
                 from ./include/linux/bitmap.h:11,
                 from ./include/linux/cpumask.h:12,
                 from ./arch/x86/include/asm/cpumask.h:5,
                 from ./arch/x86/include/asm/msr.h:11,
                 from ./arch/x86/include/asm/processor.h:22,
                 from ./arch/x86/include/asm/timex.h:5,
                 from ./include/linux/timex.h:67,
                 from ./include/linux/time32.h:13,
                 from ./include/linux/time.h:60,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:13,
                 from /home/song/Downloads/e1000e-3.8.4/src/netdev.c:6:
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_set_mac’:
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5359:22: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 5359 |         memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len);
      |                ~~~~~~^~~~~~~~~~
./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’
  379 |         __underlying_##op(p, q, __fortify_size);                        \
      |                           ^
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5359:9: note: in expansion of macro ‘memcpy’
 5359 |         memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len);
      |         ^~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5359:22: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
 5359 |         memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len);
      |                ~~~~~~^~~~~~~~~~
./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’
  379 |         __underlying_##op(p, q, __fortify_size);                        \
      |                           ^
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5359:9: note: in expansion of macro ‘memcpy’
 5359 |         memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len);
      |         ^~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_probe’:
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:8619:22: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 8619 |         memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len);
      |                ~~~~~~^~~~~~~~~~
./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’
  379 |         __underlying_##op(p, q, __fortify_size);                        \
      |                           ^
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:8619:9: note: in expansion of macro ‘memcpy’
 8619 |         memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len);
      |         ^~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:8619:22: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
 8619 |         memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len);
      |                ~~~~~~^~~~~~~~~~
./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’
  379 |         __underlying_##op(p, q, __fortify_size);                        \
      |                           ^
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:8619:9: note: in expansion of macro ‘memcpy’
 8619 |         memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len);
      |         ^~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_set_interrupt_capability’:
/home/song/Downloads/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;
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:2317:9: note: here
 2317 |         case E1000E_INT_MODE_MSI:
      |         ^~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_reset’:
/home/song/Downloads/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) {
      |                    ^
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:4551:9: note: here
 4551 |         default:
      |         ^~~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_setup_rctl’:
/home/song/Downloads/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;
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:3568:17: note: here
 3568 |                 case 2:
      |                 ^~~~
/home/song/Downloads/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;
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:3571:17: note: here
 3571 |                 case 1:
      |                 ^~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘__e1000e_disable_aspm’:
/home/song/Downloads/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;
/home/song/Downloads/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:257: /home/song/Downloads/e1000e-3.8.4/src/netdev.o] Error 1
make[1]: *** [Makefile:1850: /home/song/Downloads/e1000e-3.8.4/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.19.0-35-generic'
make: *** [Makefile:73: default] Error 2
song@ubuntu-2204:~/Downloads/e1000e-3.8.4/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.19.0-35-generic'
  CC [M]  /home/song/Downloads/e1000e-3.8.4/src/netdev.o
In file included from /home/song/Downloads/e1000e-3.8.4/src/e1000.h:14,
                 from /home/song/Downloads/e1000e-3.8.4/src/netdev.c:30:
/home/song/Downloads/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/home/song/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/song/Downloads/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_dma’:
/home/song/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/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_configure_rx’:
/home/song/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/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_open’:
/home/song/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/song/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/song/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/song/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
In file included from ./include/linux/string.h:253,
                 from ./include/linux/bitmap.h:11,
                 from ./include/linux/cpumask.h:12,
                 from ./arch/x86/include/asm/cpumask.h:5,
                 from ./arch/x86/include/asm/msr.h:11,
                 from ./arch/x86/include/asm/processor.h:22,
                 from ./arch/x86/include/asm/timex.h:5,
                 from ./include/linux/timex.h:67,
                 from ./include/linux/time32.h:13,
                 from ./include/linux/time.h:60,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:13,
                 from /home/song/Downloads/e1000e-3.8.4/src/netdev.c:6:
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_set_mac’:
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5359:22: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 5359 |         memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len);
      |                ~~~~~~^~~~~~~~~~
./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’
  379 |         __underlying_##op(p, q, __fortify_size);                        \
      |                           ^
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5359:9: note: in expansion of macro ‘memcpy’
 5359 |         memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len);
      |         ^~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5359:22: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
 5359 |         memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len);
      |                ~~~~~~^~~~~~~~~~
./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’
  379 |         __underlying_##op(p, q, __fortify_size);                        \
      |                           ^
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:5359:9: note: in expansion of macro ‘memcpy’
 5359 |         memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len);
      |         ^~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_io_slot_reset’:
/home/song/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);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/string.h:253,
                 from ./include/linux/bitmap.h:11,
                 from ./include/linux/cpumask.h:12,
                 from ./arch/x86/include/asm/cpumask.h:5,
                 from ./arch/x86/include/asm/msr.h:11,
                 from ./arch/x86/include/asm/processor.h:22,
                 from ./arch/x86/include/asm/timex.h:5,
                 from ./include/linux/timex.h:67,
                 from ./include/linux/time32.h:13,
                 from ./include/linux/time.h:60,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:13,
                 from /home/song/Downloads/e1000e-3.8.4/src/netdev.c:6:
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_probe’:
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:8619:22: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 8619 |         memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len);
      |                ~~~~~~^~~~~~~~~~
./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’
  379 |         __underlying_##op(p, q, __fortify_size);                        \
      |                           ^
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:8619:9: note: in expansion of macro ‘memcpy’
 8619 |         memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len);
      |         ^~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:8619:22: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
 8619 |         memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len);
      |                ~~~~~~^~~~~~~~~~
./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’
  379 |         __underlying_##op(p, q, __fortify_size);                        \
      |                           ^
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:8619:9: note: in expansion of macro ‘memcpy’
 8619 |         memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len);
      |         ^~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_set_interrupt_capability’:
/home/song/Downloads/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;
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:2317:9: note: here
 2317 |         case E1000E_INT_MODE_MSI:
      |         ^~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_reset’:
/home/song/Downloads/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) {
      |                    ^
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:4551:9: note: here
 4551 |         default:
      |         ^~~~~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘e1000_setup_rctl’:
/home/song/Downloads/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;
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:3568:17: note: here
 3568 |                 case 2:
      |                 ^~~~
/home/song/Downloads/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;
/home/song/Downloads/e1000e-3.8.4/src/netdev.c:3571:17: note: here
 3571 |                 case 1:
      |                 ^~~~
/home/song/Downloads/e1000e-3.8.4/src/netdev.c: In function ‘__e1000e_disable_aspm’:
/home/song/Downloads/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;
/home/song/Downloads/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:257: /home/song/Downloads/e1000e-3.8.4/src/netdev.o] Error 1
make[1]: *** [Makefile:1850: /home/song/Downloads/e1000e-3.8.4/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.19.0-35-generic'
make: *** [Makefile:73: default] Error 2

 

 

0 Kudos
3 Replies
Fariz_Intel
Moderator
2,792 Views

Hi Vivian996,

 

Thank you for posting in Intel Ethernet Communities.

 

We apologize for any inconvenience caused by this issue. We would be grateful if you could give some information as per below:

 

  • What is you NIC model e.g. Intel I219/I225?
  • What is your Ubuntu kernel version?
  • If you are using Linux Kernel 5.19, have you test with different version e.g. Linux Kernel 6 or lower?

 

 

Best regards,

Fariz_Intel


0 Kudos
Fariz_Intel
Moderator
2,658 Views

Hi Vivian996,

 

If you have additional questions or clarifications, feel free to let us know.

 

 

Best regards,

Fariz_Intel


0 Kudos
Fariz_Intel
Moderator
2,616 Views

Hi Vivian996,

 

Since we have not seen an update, if you need any additional information, please submit a new question as this thread will no longer be monitored.

 

Best regards,

Fariz_Intel


0 Kudos
Reply