Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
546 Views

I40e driver crash with Linux 4.18

Hi.

On system start we got kernel crash, running on Broadwell-D 10G ports, in SR-IOV mode.

Kernel is 4.18.0-21-generic #22~18.04.1-Ubuntu SMP

i40e-2.7.29

i40evf-3.6.15

 

[ 152.372095] general protection fault: 0000 [#1] SMP PTI

[ 152.377322] CPU: 0 PID: 10435 Comm: libvirtd Tainted: G OE 4.18.0-21-generic #22~18.04.1-Ubuntu

[ 152.387222] Hardware name: Default string Default string/Default string, BIOS 5.11 07/07/2016

[ 152.395745] RIP: 0010:i40e_sync_vsi_filters+0xaa/0xc90 [i40e]

[ 152.401490] Code: 00 00 00 48 89 85 78 ff ff ff 48 8b 83 10 02 00 00 48 c1 e8 03 48 89 85 70 ff ff ff 83 e0 01 88 45 8b 48 8b 03 48 85 c0 74 17 <8b> 80 38 02 00 00 8b b3 0c 02 00 00 31 c6 89 83 0c 02 00 00 89 75

[ 152.420348] RSP: 0018:ffffbdd548f9f6f8 EFLAGS: 00010202

[ 152.425573] RAX: 7a63377031ca8d83 RBX: ffff955158455000 RCX: 0000000000000000

[ 152.432697] RDX: 0000000000000001 RSI: 00000000fffffe01 RDI: ffff955158455000

[ 152.439820] RBP: ffffbdd548f9f7a0 R08: 0000000000000000 R09: 00000000000042a7

[ 152.446945] R10: 0000000000000000 R11: 0000000000000f77 R12: ffff955158455000

[ 152.454070] R13: ffff95590c8ea1e8 R14: ffff955158455a28 R15: ffff95592b220000

[ 152.461202] FS: 00007fffea40d700(0000) GS:ffff95593f200000(0000) knlGS:0000000000000000

[ 152.469278] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033

[ 152.475016] CR2: 00007ffff79e39e4 CR3: 00000008618bc006 CR4: 00000000003606f0

[ 152.482143] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

[ 152.489274] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

[ 152.496396] Call Trace:

[ 152.498849] ? del_timer_sync+0x39/0x40

[ 152.502681] ? __next_timer_interrupt+0xe0/0xe0

[ 152.507212] i40e_set_vf_mac+0xde/0x280 [i40e]

[ 152.511658] i40e_ndo_set_vf_mac+0x55/0x60 [i40e]

[ 152.516361] do_setlink+0x4e8/0xeb0

[ 152.519853] ? update_load_avg+0x5ab/0x710

[ 152.523952] ? try_to_wake_up+0x59/0x490

[ 152.527877] ? update_curr+0x7a/0x1d0

[ 152.531543] rtnl_setlink+0xdc/0x130

[ 152.535123] rtnetlink_rcv_msg+0x27c/0x2f0

[ 152.539223] ? _cond_resched+0x19/0x40

[ 152.542976] ? kmem_cache_alloc+0xb4/0x1d0

[ 152.547075] ? __d_alloc+0x29/0x250

[ 152.550566] ? _cond_resched+0x19/0x40

[ 152.554318] ? rtnl_calcit.isra.29+0x110/0x110

[ 152.558767] netlink_rcv_skb+0x54/0x130

[ 152.562603] rtnetlink_rcv+0x15/0x20

[ 152.566175] netlink_unicast+0x1ab/0x250

[ 152.570100] netlink_sendmsg+0x2d1/0x3d0

[ 152.574019] sock_sendmsg+0x3e/0x50

[ 152.577510] ___sys_sendmsg+0x2a0/0x2f0

[ 152.581349] ? __kmalloc+0x210/0x250

[ 152.584931] ? __wake_up_common_lock+0x8e/0xc0

[ 152.589374] ? __wake_up_common_lock+0x8e/0xc0

[ 152.593814] ? __check_object_size+0xac/0x1a0

[ 152.598175] ? _copy_to_user+0x26/0x30

[ 152.601926] ? _raw_spin_unlock_bh+0x1e/0x20

[ 152.606197] __sys_sendmsg+0x63/0xa0

[ 152.609775] ? __sys_sendmsg+0x63/0xa0

[ 152.613520] __x64_sys_sendmsg+0x1f/0x30

[ 152.617439] do_syscall_64+0x5a/0x120

[ 152.621105] entry_SYSCALL_64_after_hwframe+0x44/0xa9

[ 152.626156] RIP: 0033:0x7ffff6da0607

[ 152.629733] Code: 44 00 00 41 54 55 41 89 d4 53 48 89 f5 89 fb 48 83 ec 10 e8 0b ea ff ff 44 89 e2 41 89 c0 48 89 ee 89 df b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 48 89 44 24 08 e8 44 ea ff ff 48

[ 152.648592] RSP: 002b:00007fffea40c3d0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e

[ 152.656150] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007ffff6da0607

[ 152.663273] RDX: 0000000000000000 RSI: 00007fffea40c430 RDI: 0000000000000017

[ 152.670397] RBP: 00007fffea40c430 R08: 0000000000000000 R09: 0000000000000000

[ 152.677523] R10: 00007fffea40c4bc R11: 0000000000000293 R12: 0000000000000000

[ 152.684645] R13: 00007fffea40c430 R14: 00007fffcc025290 R15: 0000000000000017

[ 152.691772] Modules linked in: vfio_pci vfio_virqfd vfio_iommu_type1 vfio devlink ebtable_filter ebtables ip6table_filter ip6_tables br_netfilter bridge stp llc binfmt_misc ipt_REJECT nf_reject_ipv4 xt_tcpudp iptable_filter bpfilter i40evf(OE) openvswitch nsh nf_conntrack_ipv6 nf_nat_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_defrag_ipv6 nf_conncount nf_nat nf_conntrack gpio_ich ppdev intel_rapl sb_edac x86_pkg_temp_thermal intel_powerclamp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 intel_cstate intel_rapl_perf twofish_generic twofish_avx_x86_64 twofish_x86_64_3way twofish_x86_64 twofish_common serpent_avx2 serpent_avx_x86_64 serpent_sse2_x86_64 serpent_generic blowfish_generic blowfish_x86_64 blowfish_common cast5_avx_x86_64 cast5_generic cast_common

[ 152.762117] lpc_ich des_generic algif_skcipher camellia_generic camellia_aesni_avx2 camellia_aesni_avx_x86_64 crypto_simd cryptd camellia_x86_64 glue_helper xcbc md4 algif_hash af_alg xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo ioatdma parport_pc parport mac_hid kvm_intel kvm irqbypass sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear mxm_wmi ahci libahci igb(OE) dca i40e(OE) wmi

[ 152.820511] ---[ end trace b75f452e497a6ee0 ]---

[ 152.825135] RIP: 0010:i40e_sync_vsi_filters+0xaa/0xc90 [i40e]

[ 152.830884] Code: 00 00 00 48 89 85 78 ff ff ff 48 8b 83 10 02 00 00 48 c1 e8 03 48 89 85 70 ff ff ff 83 e0 01 88 45 8b 48 8b 03 48 85 c0 74 17 <8b> 80 38 02 00 00 8b b3 0c 02 00 00 31 c6 89 83 0c 02 00 00 89 75

[ 152.849753] RSP: 0018:ffffbdd548f9f6f8 EFLAGS: 00010202

[ 152.854975] RAX: 7a63377031ca8d83 RBX: ffff955158455000 RCX: 0000000000000000

[ 152.862107] RDX: 0000000000000001 RSI: 00000000fffffe01 RDI: ffff955158455000

[ 152.869243] RBP: ffffbdd548f9f7a0 R08: 0000000000000000 R09: 00000000000042a7

[ 152.876373] R10: 0000000000000000 R11: 0000000000000f77 R12: ffff955158455000

[ 152.883505] R13: ffff95590c8ea1e8 R14: ffff955158455a28 R15: ffff95592b220000

[ 152.890638] FS: 00007fffea40d700(0000) GS:ffff95593f200000(0000) knlGS:0000000000000000

[ 152.898725] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033

[ 152.904470] CR2: 00007ffff79e39e4 CR3: 00000008618bc006 CR4: 00000000003606f0

[ 152.911603] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

[ 152.918735] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

 

Please help to resolve it.

 

Thanks.

martin

0 Kudos
3 Replies
Highlighted
71 Views

Hello Martin,

 

Thank you for posting in Intel Ethernet Communities. Please provide the following details for us to check on your query.

 

1.) Does the issue also happened without SR-IOV configuration?

2.) Have you tried the latest i40e driver version 2.9.21?

https://downloadcenter.intel.com/download/24411/Intel-Network-Adapter-Driver-for-PCIe-40-Gigabit-Eth...

3.) Have you tried the latest VF driver version 3.7.53?

https://downloadcenter.intel.com/download/24693/Intel-Network-Adapter-Virtual-Function-Driver-for-In...

4.) Please share the exact model and markings of the adapter?

You may refer to the link below on where to find Part and Serial number of the adapter.

https://www.intel.com/content/www/us/en/support/articles/000007022/network-and-i-o/ethernet-products...

 

We look forward to your response.

 

Best regards,

Crisselle C

Intel Customer Support

A Contingent Worker at Intel

0 Kudos
Highlighted
71 Views

Hello Martin,

 

Please provide the details that we requested for us to check on your query. If you have additional questions, please let us know.

 

Looking forward to your response.

 

Best regards,

Crisselle C

Intel Customer Support

A Contingent Worker at Intel

0 Kudos
Highlighted
71 Views

Hello Martin,

 

Please be informed that we will proceed closing this inquiry since we haven't receive any response from our previous follow up. Should you have any other concern or further assistance in the future, please do not hesitate to post a new question.

 

Best regards,

Crisselle C

Intel Customer Support

A Contingent Worker at Intel

0 Kudos