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

igb 5.9.3 driver doesn't compile with latest Ubuntu 22.04 Kernel 5.15.0

MartinIvanov
Beginner
1,602 Views

igb 5.9.3 driver doesn't compile with latest Ubuntu 22.04 Kernel 5.15.0

 

# make
*** 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-25-generic'
CC [M] /usr/src/igb-5.9.3/src/igb_ethtool.o
/usr/src/igb-5.9.3/src/igb_ethtool.c:3799:28: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_coalesce = igb_get_coalesce,
^~~~~~~~~~~~~~~~
/usr/src/igb-5.9.3/src/igb_ethtool.c:3799:28: note: (near initialization for �‘igb_ethtool_ops.get_coalesce�’)
/usr/src/igb-5.9.3/src/igb_ethtool.c:3800:28: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.set_coalesce = igb_set_coalesce,
^~~~~~~~~~~~~~~~
/usr/src/igb-5.9.3/src/igb_ethtool.c:3800:28: note: (near initialization for �‘igb_ethtool_ops.set_coalesce�’)
/usr/src/igb-5.9.3/src/igb_ethtool.c: In function �‘igb_set_channels�’:
/usr/src/igb-5.9.3/src/igb_ethtool.c:3713:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (adapter->vfs_allocated_count)
^
/usr/src/igb-5.9.3/src/igb_ethtool.c:3716:2: note: here
case e1000_82576:
^~~~
/usr/src/igb-5.9.3/src/igb_ethtool.c:3722:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((adapter->vfs_allocated_count > 0) &&
^
/usr/src/igb-5.9.3/src/igb_ethtool.c:3726:2: note: here
case e1000_82580:
^~~~
/usr/src/igb-5.9.3/src/igb_ethtool.c: In function �‘igb_max_rss_queues�’:
/usr/src/igb-5.9.3/src/igb_ethtool.c:3621:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (adapter->vfs_allocated_count) {
^
/usr/src/igb-5.9.3/src/igb_ethtool.c:3626:2: note: here
case e1000_82576:
^~~~
/usr/src/igb-5.9.3/src/igb_ethtool.c:3627:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (adapter->vfs_allocated_count) {
^
/usr/src/igb-5.9.3/src/igb_ethtool.c:3632:2: note: here
case e1000_82580:
^~~~
/usr/src/igb-5.9.3/src/igb_ethtool.c: In function �‘igb_get_rss_hash_opts�’:
/usr/src/igb-5.9.3/src/igb_ethtool.c:3079:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
/usr/src/igb-5.9.3/src/igb_ethtool.c:3081:2: note: here
case UDP_V4_FLOW:
^~~~
/usr/src/igb-5.9.3/src/igb_ethtool.c:3082:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (adapter->flags & IGB_FLAG_RSS_FIELD_IPV4_UDP)
^
/usr/src/igb-5.9.3/src/igb_ethtool.c:3085:2: note: here
case SCTP_V4_FLOW:
^~~~
/usr/src/igb-5.9.3/src/igb_ethtool.c:3093:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
/usr/src/igb-5.9.3/src/igb_ethtool.c:3095:2: note: here
case UDP_V6_FLOW:
^~~~
/usr/src/igb-5.9.3/src/igb_ethtool.c:3096:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (adapter->flags & IGB_FLAG_RSS_FIELD_IPV6_UDP)
^
/usr/src/igb-5.9.3/src/igb_ethtool.c:3099:2: note: here
case SCTP_V6_FLOW:
^~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:285: recipe for target '/usr/src/igb-5.9.3/src/igb_ethtool.o' failed
make[2]: *** [/usr/src/igb-5.9.3/src/igb_ethtool.o] Error 1
Makefile:1875: recipe for target '/usr/src/igb-5.9.3/src' failed
make[1]: *** [/usr/src/igb-5.9.3/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-25-generic'
Makefile:87: recipe for target 'default' failed
make: *** [default] Error 2

0 Kudos
3 Replies
Mike_Intel
Moderator
1,583 Views

Hello MartinIvanov,


Thank you for posting in Intel Ethernet Communities. 


Before we proceed, kindly confirm if you are designing a board or a system with embedded Intel Network card? And also, what is the complete model of the network card?


If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.


Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
Mike_Intel
Moderator
1,555 Views

Hello MartinIvanov,

 

I hope you're having a wonderful day. I am just making a follow up on the information that we requested for us to proceed with this inquiry.

 

If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.

 

Best regards,

Michael L.

Intel® Customer Support 


0 Kudos
Mike_Intel
Moderator
1,526 Views

Hello MartinIvanov,

 

I hope this message finds you well. I am just sending another follow up on the information that I requested. Since we have not heard back from you, I need to close this inquiry. 


If you need any additional information, please submit a new question as this thread will no longer be monitored.


Thank you and stay safe.

 

Best regards,

Michael L.

Intel® Customer Support 


Reply