HomeDefectsLIN1025-1575
Acknowledged

LIN1025-1575 : Real-time operations are not fully supported in the current i40e driver.

Created: Jun 4, 2025    Updated: Aug 18, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: BSP

Description

You may see the following bug and call trace in kernel log, when using i40e driver with RT kernel.

[18089.663263] BUG: scheduling while atomic: irq/222-i40e-et/5443/0x00000002
[18089.663270] INFO: lockdep is turned off.
[18089.663274] Modules linked in: af_alg hidp bnep rfcomm can_bcm can_raw can pppoe pppox ppp_generic slhc sctp tipc ip6_udp_tunnel udp_tunnel squashfs xt_conntrack xt_MASQUERADE ip6table_nat ip6table_filter ip6_tables iptable_nat xt_addrtype iptable_filter ip_tables x_tables xfrm_user cfg80211 intel_rapl_msr intel_rapl_common intel_uncore_frequency intel_uncore_frequency_common x86_pkg_temp_thermal spi_nor intel_powerclamp coretemp iTCO_wdt crct10dif_pclmul crct10dif_common intel_pmc_bxt iTCO_vendor_support sha512_ssse3 watchdog ast sha256_ssse3 sha1_ssse3 qat_c62x intel_qat dh_generic aesni_intel crc8 crypto_simd ice cryptd firmware_class i2c_i801 spi_intel_pci i2c_smbus spi_intel intel_th_pci intel_th input_leds led_class wmi acpi_power_meter acpi_pad sch_fq_codel openvswitch nsh nf_conncount nf_nat fuse configfs nfnetlink dmi_sysfs [last unloaded: ip6_udp_tunnel]
[18089.663542] CPU: 0 UID: 0 PID: 5443 Comm: irq/222-i40e-et Tainted: G S  B D    O     N 6.12.31-rt6-yocto-preempt-rt #1
[18089.663556] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [D]=DIE, [O]=OOT_MODULE, [N]=TEST
[18089.663561] Hardware name: Intel Corporation M50CYP2SB2U/M50CYP2SB2U, BIOS SE5C6200.86B.4018.D65.2010201151 10/20/2020
[18089.663566] Call Trace:
[18089.663570]  <TASK>
[18089.663577]  dump_stack_lvl+0x75/0xb0
[18089.663599]  ? rtlock_slowlock_locked+0x54a/0x1bc0
[18089.663613]  dump_stack+0x14/0x1a
[18089.663626]  __schedule_bug.cold+0x4e/0x64
[18089.663641]  __schedule+0x87f/0xbc0
[18089.663662]  ? rtlock_slowlock_locked+0x54a/0x1bc0
[18089.663681]  ? rtlock_slowlock_locked+0x54a/0x1bc0
[18089.663696]  schedule_rtlock+0x27/0x90
[18089.663712]  rtlock_slowlock_locked+0x4c5/0x1bc0
[18089.663795]  rt_spin_lock_nested+0x64/0xb0
[18089.663810]  tcp_v4_rcv+0x1075/0x14d0
[18089.663862]  ip_protocol_deliver_rcu+0x37/0x1a0
[18089.663878]  ? ip_local_deliver_finish+0x71/0xf0
[18089.663888]  ? ip_local_deliver+0x85/0x140
[18089.663900]  ip_local_deliver_finish+0xb1/0xf0
[18089.663909]  ? ip_local_deliver_finish+0x71/0xf0
[18089.663929]  ip_local_deliver+0x12d/0x140
[18089.663951]  ? __pfx_ip_local_deliver_finish+0x10/0x10
[18089.663977]  ip_sublist_rcv_finish+0xb7/0x140
[18089.663997]  ip_sublist_rcv+0x20b/0x260
[18089.664027]  ? __pfx_ip_rcv_finish+0x10/0x10
[18089.664055]  ip_list_rcv+0xfe/0x130
[18089.664096]  __netif_receive_skb_list_core+0x23e/0x260
[18089.664142]  netif_receive_skb_list_internal+0x21a/0x3b0
[18089.664179]  napi_complete_done+0x78/0x240
[18089.664199]  i40e_napi_poll+0xeee/0x17d0
[18089.664262]  __napi_poll.constprop.0+0x31/0x1c0
[18089.664282]  net_rx_action+0x3a3/0x420
[18089.664368]  handle_softirqs.isra.0+0xa4/0x350
[18089.664404]  __local_bh_enable_ip+0x99/0x150
[18089.664423]  irq_forced_thread_fn+0x77/0x90
[18089.664441]  irq_thread+0x147/0x1f0
[18089.664453]  ? __pfx_irq_forced_thread_fn+0x10/0x10
[18089.664465]  ? __pfx_irq_thread_dtor+0x10/0x10
[18089.664488]  ? __pfx_irq_thread+0x10/0x10
[18089.664498]  kthread+0xfa/0x130
[18089.664509]  ? __pfx_kthread+0x10/0x10
[18089.664525]  ret_from_fork+0x41/0x60
[18089.664533]  ? __pfx_kthread+0x10/0x10
[18089.664546]  ret_from_fork_asm+0x1a/0x30
[18089.664610]  </TASK>

Steps to Reproduce

INFO: Shared image path: /net/pek-lpgtest7408/buildarea1/SharedImage/LTS25/Kernel/intel-x86-64_preempt-rt_glibc-std_GIT/20250604_232501
INFO: HTTP shared image: http://pek-lpgtest7408.wrs.com/buildarea1/SharedImage/LTS25/Kernel/intel-x86-64_preempt-rt_glibc-std_GIT/20250604_232501

/lpg-build/cdc/fast_prod/WRL10_25/WRL10_25_GIT/wrlinux-10/setup.sh --machines intel-x86-64 --templates feature/docker feature/bcc feature/bpf feature/bpftrace --distros wrlinux --dl-layers=1 --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"' >> conf/local.conf
echo 'BB_NUMBER_THREADS ?= "24"' >> conf/local.conf
echo 'PARALLEL_MAKE ?= "-j 24"' >> conf/local.conf
bitbake-layers add-layer /net/pek-lpgtest20/buildarea1/zwang11/WASSP_LINUX_1025/testcases/wrlinux/wr-testing/kts-dev
cd /net/pek-lpgtest20/buildarea1/zwang11/WASSP_LINUX_1025/testcases/wrlinux/wr-testing/kts-dev/tools && ./gen_kernel_plan.py -s wr-kts -b intel-x86-64 -k preempt-rt -a x86-64 -p $BUILDDIR ; cd - && cp standard_wr-kts.ini test_plan.list

echo 'IMAGE_FSTYPES += "tar.bz2"' >> conf/local.conf
echo 'IMAGE_FSTYPES:remove = " live hddimg iso"' >> conf/local.conf
echo 'require templates/feature/wr-kts/template.conf' >> conf/local.conf
echo 'SERIAL_CONSOLES:append = " 115200;ttyS1"
DISTRO_FEATURES += "seccomp ipv6"' >> conf/local.conf
bitbake wrlinux-image-std

The calltrace {*}only found on target 29169{*}, I test OK on 29053.