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

igb 5.9.3 was not compiled with Ubuntu 22.04

kyusuke
Beginner
832 Views

The driver was not compiled like below. Could you tell me the solution to this problem? 

PC: Dell precision Tower 7910

OS: Ubuntu 22.04

NIC:  Intel Corporation I210 Gigabit Network Connection

 

 

*** 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.15.0-33-generic'
CC [M] /home/localuser/igb-5.9.3/src/igb_main.o
/home/localuser/igb-5.9.3/src/igb_main.c: In function ‘igb_set_interrupt_capability’:
/home/localuser/igb-5.9.3/src/igb_main.c:1070:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
1070 | igb_reset_interrupt_capability(adapter);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/localuser/igb-5.9.3/src/igb_main.c:1072:9: note: here
1072 | case IGB_INT_MODE_MSI:
| ^~~~
/home/localuser/igb-5.9.3/src/igb_main.c:1073:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
1073 | if (!pci_enable_msi(pdev))
| ^
/home/localuser/igb-5.9.3/src/igb_main.c:1079:9: note: here
1079 | case IGB_INT_MODE_LEGACY:
| ^~~~
In file included from /home/localuser/igb-5.9.3/src/e1000_hw.h:7,
from /home/localuser/igb-5.9.3/src/e1000_api.h:7,
from /home/localuser/igb-5.9.3/src/igb.h:38,
from /home/localuser/igb-5.9.3/src/igb_main.c:30:
/home/localuser/igb-5.9.3/src/igb_main.c: In function ‘igb_vmm_control’:
/home/localuser/igb-5.9.3/src/e1000_osdep.h:72:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
72 | do { \
| ^
/home/localuser/igb-5.9.3/src/igb_main.c:10220:17: note: in expansion of macro ‘E1000_WRITE_REG’
10220 | E1000_WRITE_REG(hw, E1000_DTXCTL, reg);
| ^~~~~~~~~~~~~~~
/home/localuser/igb-5.9.3/src/igb_main.c:10222:9: note: here
10222 | case e1000_82580:
| ^~~~
/home/localuser/igb-5.9.3/src/igb_main.c: In function ‘igb_set_fw_version’:
/home/localuser/igb-5.9.3/src/igb_main.c:2631:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
2631 | if (!(e1000_get_flash_presence_i210(hw))) {
| ^
/home/localuser/igb-5.9.3/src/igb_main.c:2639:9: note: here
2639 | default:
| ^~~~~~~
/home/localuser/igb-5.9.3/src/igb_main.c: In function ‘__igb_notify_dca’:
/home/localuser/igb-5.9.3/src/igb_main.c:6635:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
6635 | if (dca_add_requester(dev) == E1000_SUCCESS) {
| ^
/home/localuser/igb-5.9.3/src/igb_main.c:6642:9: note: here
6642 | case DCA_PROVIDER_REMOVE:
| ^~~~
/home/localuser/igb-5.9.3/src/igb_main.c: In function ‘igb_has_link’:
/home/localuser/igb-5.9.3/src/igb_main.c:4962:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
4962 | if (!hw->mac.get_link_status)
| ^
/home/localuser/igb-5.9.3/src/igb_main.c:4965:9: note: here
4965 | case e1000_media_type_internal_serdes:
| ^~~~
CC [M] /home/localuser/igb-5.9.3/src/e1000_api.o
CC [M] /home/localuser/igb-5.9.3/src/igb_ethtool.o
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3799:35: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types]
3799 | .get_coalesce = igb_get_coalesce,
| ^~~~~~~~~~~~~~~~
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3799:35: note: (near initialization for ‘igb_ethtool_ops.get_coalesce’)
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3800:35: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types]
3800 | .set_coalesce = igb_set_coalesce,
| ^~~~~~~~~~~~~~~~
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3800:35: note: (near initialization for ‘igb_ethtool_ops.set_coalesce’)
/home/localuser/igb-5.9.3/src/igb_ethtool.c: In function ‘igb_set_channels’:
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3713:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
3713 | if (adapter->vfs_allocated_count)
| ^
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3716:9: note: here
3716 | case e1000_82576:
| ^~~~
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3722:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
3722 | if ((adapter->vfs_allocated_count > 0) &&
| ^
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3726:9: note: here
3726 | case e1000_82580:
| ^~~~
/home/localuser/igb-5.9.3/src/igb_ethtool.c: In function ‘igb_max_rss_queues’:
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3621:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
3621 | if (adapter->vfs_allocated_count) {
| ^
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3626:9: note: here
3626 | case e1000_82576:
| ^~~~
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3627:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
3627 | if (adapter->vfs_allocated_count) {
| ^
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3632:9: note: here
3632 | case e1000_82580:
| ^~~~
/home/localuser/igb-5.9.3/src/igb_ethtool.c: In function ‘igb_get_rss_hash_opts’:
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3079:27: warning: this statement may fall through [-Wimplicit-fallthrough=]
3079 | cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3081:9: note: here
3081 | case UDP_V4_FLOW:
| ^~~~
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3082:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
3082 | if (adapter->flags & IGB_FLAG_RSS_FIELD_IPV4_UDP)
| ^
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3085:9: note: here
3085 | case SCTP_V4_FLOW:
| ^~~~
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3093:27: warning: this statement may fall through [-Wimplicit-fallthrough=]
3093 | cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3095:9: note: here
3095 | case UDP_V6_FLOW:
| ^~~~
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3096:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
3096 | if (adapter->flags & IGB_FLAG_RSS_FIELD_IPV6_UDP)
| ^
/home/localuser/igb-5.9.3/src/igb_ethtool.c:3099:9: note: here
3099 | case SCTP_V6_FLOW:
| ^~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:285: /home/localuser/igb-5.9.3/src/igb_ethtool.o] Error 1
make[1]: *** [Makefile:1875: /home/localuser/igb-5.9.3/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-33-generic'
make: *** [Makefile:87: default] Error 2

0 Kudos
4 Replies
kyusuke
Beginner
811 Views

I found that the new driver igb 5.10.2 was compiled with Ubuntu 22.04. I'm sorry for bothering you. 

0 Kudos
Zigfreid_Intel
Moderator
798 Views

Hello kyusuke,


Thank you for posting on Intel Ethernet Communities. 


We do apologize if we weren't able to provide any assistance yet to your concern and we are glad that you are able to find a solution on your end. 


We'd like to know if you have any other questions or clarifications please let us know so we would know if we can close the thread.


Hoping to hear from you soon.


Should there be no response from you, I’ll make sure to reach out after 3 business days


Best regards,

Zigfreid I.

Intel® Customer Support


0 Kudos
Zigfreid_Intel
Moderator
780 Views

Hello kyusuke,


Good day! We hope that you are having a great one so far.


We'd like to know if you have any other questions or clarifications please let us know so we would know if we can close the thread.


Hoping to hear from you soon.


We will wait for your reply within 3 business days in case we don't hear from you, we will proceed closing this request.


Best regards,

Zigfreid I.

Intel® Customer Support


0 Kudos
Zigfreid_Intel
Moderator
761 Views

Hello kyusuke,


Good day! We hope that you are having a great one so far.


Please be informed that we will now close this request since we haven't received any response from our previous follow ups. Just feel free to post a new question if you have any other inquiry in the future as this thread will no longer be monitored.


Best regards,

Zigfreid I.

Intel® Customer Support


0 Kudos
Reply