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

compilation error make install for e1000e-3.8.4 and kernel 6.2.0-35-generic on ubuntu 22.04

myresu
Beginner
4,029 Views

I have solved some issues but it consume a lot off time.

did you test it with this kernel 6.2.0-35-generic?

 

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-6.2.0-35-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
You are using: gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
CC [M] /home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.o
In file included from /home/miro/Downloads/inteleth/e1000e-3.8.4/src/e1000.h:14,
from /home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:30:
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/kcompat.h: In function ‘__kc_xdp_umem_get_data’:
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/kcompat.h:6696:56: warning: returning ‘long long unsigned int’ from a function with return type ‘char *’ makes pointer from integer without a cast [-Wint-conversion]
6696 | return umem->pgs[addr >> PAGE_SHIFT]->dma_addr + (addr & (PAGE_SIZE - 1));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: In function ‘e1000_configure_rx’:
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_systim_reset’:
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:4432:17: error: ‘struct ptp_clock_info’ has no member named ‘adjfreq’
4432 | if (info->adjfreq) {
| ^~
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:4434:31: error: ‘struct ptp_clock_info’ has no member named ‘adjfreq’
4434 | ret_val = info->adjfreq(info, adapter->ptp_delta);
| ^~
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_open’:
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:5189:50: note: each undeclared identifier is reported only once for each function it appears in
/home/miro/Downloads/inteleth/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/paravirt.h:17,
from ./arch/x86/include/asm/cpuid.h:62,
from ./arch/x86/include/asm/processor.h:19,
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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:6:
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: In function ‘e1000_set_mac’:
/home/miro/Downloads/inteleth/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:578:27: note: in definition of macro ‘__fortify_memcpy_chk’
578 | __underlying_##op(p, q, __fortify_size); \
| ^
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/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:578:27: note: in definition of macro ‘__fortify_memcpy_chk’
578 | __underlying_##op(p, q, __fortify_size); \
| ^
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: In function ‘e1000_io_slot_reset’:
/home/miro/Downloads/inteleth/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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: In function ‘e1000_probe’:
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:8465:9: error: too many arguments to function ‘netif_napi_add’
8465 | netif_napi_add(netdev, &adapter->napi, e1000e_poll, 64);
| ^~~~~~~~~~~~~~
In file included from /home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:13:
./include/linux/netdevice.h:2592:1: note: declared here
2592 | netif_napi_add(struct net_device *dev, struct napi_struct *napi,
| ^~~~~~~~~~~~~~
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/paravirt.h:17,
from ./arch/x86/include/asm/cpuid.h:62,
from ./arch/x86/include/asm/processor.h:19,
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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:6:
/home/miro/Downloads/inteleth/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:578:27: note: in definition of macro ‘__fortify_memcpy_chk’
578 | __underlying_##op(p, q, __fortify_size); \
| ^
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/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:578:27: note: in definition of macro ‘__fortify_memcpy_chk’
578 | __underlying_##op(p, q, __fortify_size); \
| ^
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_set_interrupt_capability’:
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:2317:9: note: here
2317 | case E1000E_INT_MODE_MSI:
| ^~~~
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: In function ‘e1000e_reset’:
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:4551:9: note: here
4551 | default:
| ^~~~~~~
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: In function ‘e1000_setup_rctl’:
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:3568:17: note: here
3568 | case 2:
| ^~~~
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:3571:17: note: here
3571 | case 1:
| ^~~~
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: In function ‘__e1000e_disable_aspm’:
/home/miro/Downloads/inteleth/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/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:7556:9: note: here
7556 | case PCIE_LINK_STATE_L1:
| ^~~~
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c: At top level:
/home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.c:9061:1: fatal error: opening dependency file /home/miro/Downloads/inteleth/e1000e-3.8.4/src/.netdev.o.d: Permission denied
9061 | MODULE_VERSION(DRV_VERSION);
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
make[2]: *** [scripts/Makefile.build:260: /home/miro/Downloads/inteleth/e1000e-3.8.4/src/netdev.o] Error 1
make[1]: *** [Makefile:2026: /home/miro/Downloads/inteleth/e1000e-3.8.4/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.2.0-35-generic'
make: *** [Makefile:73: default] Error 2

0 Kudos
10 Replies
IntelSupport
Community Manager
4,008 Views

Hello myresu,

 

Thank you for posting on the Intel️® communities.

 

Can you please share more detail on the issues you are facing?

 

Kindly update me with the Intel Ethernet Controller Specifications that you are using as well.

 

You are encouraged to go through the Readme Text Files as well in below links for the

E1000e 3.8.4 driver.

You can also go through Supported Operating Systems for Intel® Ethernet Controllers (LOM)

 

Please let us know the outcome after you have checked it and will be happy to assist if any other troubleshooting required for this issue.

 

Best regards,

Hayat

Intel Customer Support Technician


0 Kudos
myresu
Beginner
3,991 Views

hello I, repeate instruction in Readme Text Files with the same result, the both automatic and manual instalation,

 

what more detail do you need?

0 Kudos
IntelSupport
Community Manager
3,981 Views

Hello myresu,


Thank you for your response.


Can you please share with me your Ethernet specifications.


You can find them by running this command:

lspci | grep -i Ethernet 


If necessary please use: sudo lspci | grep -i Ethernet 


Please let us know the outcome after you have checked it and will be happy to assist if any other troubleshooting required for this issue.

 

Best regards,

Hayat

Intel Customer Support Technician

 




0 Kudos
myresu
Beginner
3,959 Views

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (6) I219-V (rev 30)

 

something else?

0 Kudos
IntelSupport
Community Manager
3,874 Views

Hello myresu,

 

Regarding your question I would highly suggest that you post in below link instead:

 

https://community.intel.com/t5/Embedded-Products/ct-p/embedded-products

 

As the issue will be needing more internal information to be provided.

 

Kindly provide the intel ethernet product name as well in the post: Intel® Ethernet Connection I219-V

 

Kindly let us know once you successfully posted in the embedded community site so we can proceed to close this thread.

 

Best regards,

Hayat

Intel Customer Support Technician


0 Kudos
IntelSupport
Community Manager
3,752 Views

Hello myresu,


Kindly allow us 2-3 days more to get back to you on the issue for some investigations.


Thank you.


Best regards,

Hayat

Intel Customer Support Technician


0 Kudos
rawmun33
Beginner
3,692 Views

Hello,

I got the same problem with ubuntu 22.04.3.

My kernel is 5.15.0-78-generic.

My ethernet controller mac address is : bc:0f:f3:c2:d1:f5

lspci | grep -i Ethernet  :

0000:00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (17) I219-LM (rev 11)

 

Thanx in advance

 

0 Kudos
IntelSupport
Community Manager
3,659 Views

Hi myresu,


Thank you for your patience.


You are advised to try using kernel version 3.8.7.

You can get the download here: https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/


Can you please share the update on this - once you have tried.


Please let us know if you have any other queries.

Best Regards,

Hayat

Intel Customer Support



0 Kudos
rawmun33
Beginner
3,650 Views

Hi

Thanx for your reply. It is not acceptable to downgrade the kernel because of security issues.

Fortunately i re-install ubuntu-22.04 and the controller ethernet is detected with the right driver.

I don't need to compile e1000e driver anymore

 

 

0 Kudos
IntelSupport
Community Manager
3,637 Views

Hello myresu,

 

This post is to inform you that the thread will be closed.

 

Once the thread is closed, it will no longer be monitored by Intel.

 

Kindly submit a new thread should you need further assistance. We will be more than glad to continue assisting you.

Best Regards,

Hayat

Intel® Customer Support


0 Kudos
Reply