From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/testpmd Bug 1451] [dpdk-24.07] dcf_lifecycle/dcf_with_acl_filter_03: operating system crash
Date: Tue, 04 Jun 2024 06:41:07 +0000 [thread overview]
Message-ID: <bug-1451-3@http.bugs.dpdk.org/> (raw)
[-- Attachment #1: Type: text/plain, Size: 9320 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1451
Bug ID: 1451
Summary: [dpdk-24.07] dcf_lifecycle/dcf_with_acl_filter_03:
operating system crash
Product: DPDK
Version: 24.07
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: testpmd
Assignee: dev@dpdk.org
Reporter: songx.jiale@intel.com
Target Milestone: ---
Created attachment 282
--> https://bugs.dpdk.org/attachment.cgi?id=282&action=edit
os crash dmesg info
[Environment]
DPDK version:
dpdk-24.07.0-rc0: 7e06c0de1952d3109a5b0c4779d7e7d8059c9d78
Other software versions: N/A.
OS: Ubuntu 24.04 LTS/6.8.0-31-generic
Compiler: clang version 12.0.1
Hardware platform: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz
NIC hardware: Intel Corporation Ethernet Controller E810-C for SFP [8086:1593]
(rev 02)
NIC driver: ice-1.14.9
NIC firmware: 4.50 0x8001d8c2 1.3597.0
[Test Setup]
1. reload ice driver
rmmod ice && modprobe ice
2. create 1 vf
echo 1 > /sys/bus/pci/devices/0000\:31\:00.0/sriov_numvfs
3. set vf trust on
ip link set ens85f0np0 vf 0 trust on
4. blind vf to vfio-pci
./usertools/dpdk-devbind.py -b vfio-pci 0000:31:01.0
5. start test (note: all commands are executed together)
echo quit | x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4
--file-prefix=dpdk_35207_20240517102319 -a 0000:31:01.0,cap=dcf
--log-level=ice,7 -- -i --port-topology=loop && ethtool -N ens85f0np0 flow-type
tcp4 src-ip 192.168.10.0 m 0.255.255.255 dst-port 8000 m 0x00ff action -1
6. dmesg
[Show the output from the previous commands.]
Please refer to the attachment for complete demsg information.
[ +0.887949] BUG: kernel NULL pointer dereference, address: 000000000000042e
[ +0.000050] #PF: supervisor read access in kernel mode
[ +0.000026] #PF: error_code(0x0000) - not-present page
[ +0.000024] PGD 19896e067 P4D 0
[ +0.000021] Oops: 0000 [#1] PREEMPT SMP NOPTI
[ +0.000024] CPU: 14 PID: 10169 Comm: ethtool Tainted: G OE
6.8.0-31-generic #31-Ubuntu
[ +0.000039] Hardware name: Supermicro SYS-730A-I/X12DAi-N6, BIOS 1.1a
08/09/2021
[ +0.000028] RIP: 0010:ice_flow_add_prof+0x1330/0x23a0 [ice]
[ +0.000246] Code: 45 a8 66 45 89 47 04 48 8b 88 48 25 00 00 48 85 c9 0f 84 c8
0a 00 00 48 8b 41 08 48 83 c1 08 48 39 c8 0f 84 b7 0a 00 00 31 ff <0f> b6 b0 2e
04 00 00 89 f2 66 44 39 c6 72 2c 48 85 ff 0f 84 cc 04
[ +0.000075] RSP: 0018:ff5438008a92f8b8 EFLAGS: 00010246
[ +0.000029] RAX: 0000000000000000 RBX: 0000000000000001 RCX: ff4e8aa1d9a495f0
[ +0.000034] RDX: 1fffffffffffffff RSI: 0000000004000000 RDI: 0000000000000000
[ +0.000033] RBP: ff5438008a92f990 R08: 000000000000000c R09: 0000000000000000
[ +0.000032] R10: 0000000000000001 R11: 0000000000000c3c R12: ff4e8aa22c650028
[ +0.000033] R13: 0000000000000000 R14: ff4e8aa202517368 R15: ff4e8aa202517228
[ +0.000033] FS: 000074271407a740(0000) GS:ff4e8aaccf500000(0000)
knlGS:0000000000000000
[ +0.000038] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0.000029] CR2: 000000000000042e CR3: 00000001a81c4003 CR4: 0000000000771ef0
[ +0.000034] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ +0.000032] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ +0.000032] PKRU: 55555554
[ +0.000016] Call Trace:
[ +0.000016] <TASK>
[ +0.000017] ? show_regs+0x6d/0x80
[ +0.000028] ? __die+0x24/0x80
[ +0.000020] ? page_fault_oops+0x99/0x1b0
[ +0.000028] ? do_user_addr_fault+0x2ee/0x6b0
[ +0.000030] ? exc_page_fault+0x83/0x1b0
[ +0.000029] ? asm_exc_page_fault+0x27/0x30
[ +0.000031] ? ice_flow_add_prof+0x1330/0x23a0 [ice]
[ +0.000223] ? ice_flow_add_prof+0xd18/0x23a0 [ice]
[ +0.000206] ? __alloc_pages+0x1e9/0x350
[ +0.000029] ice_acl_add_rule_ethtool+0x4bd/0x5e0 [ice]
[ +0.000229] ? __check_object_size.part.0+0x3a/0x150
[ +0.000033] ice_add_ntuple_ethtool+0x5f3/0xb40 [ice]
[ +0.000222] ? __check_object_size.part.0+0x3a/0x150
[ +0.000029] ice_set_rxnfc+0x7a/0x430 [ice]
[ +0.000218] ethtool_set_rxnfc+0x16a/0x1b0
[ +0.000035] __dev_ethtool+0xf08/0x2060
[ +0.000027] ? dev_ethtool+0x112/0x1c0
[ +0.000026] ? __check_object_size.part.0+0x3a/0x150
[ +0.000028] ? sk_ioctl+0x4b/0x110
[ +0.000024] ? kmalloc_trace+0x139/0x350
[ +0.000026] ? dev_ethtool+0x92/0x1c0
[ +0.000808] dev_ethtool+0xdf/0x1c0
[ +0.000789] dev_ioctl+0x349/0x580
[ +0.000783] sock_do_ioctl+0xf0/0x150
[ +0.000760] sock_ioctl+0x2cb/0x340
[ +0.000733] ? __count_memcg_events+0x6b/0x120
[ +0.000742] __x64_sys_ioctl+0xa0/0xf0
[ +0.000732] x64_sys_call+0x143b/0x25c0
[ +0.000729] do_syscall_64+0x7f/0x180
[ +0.000718] ? irqentry_exit+0x43/0x50
[ +0.000700] ? exc_page_fault+0x94/0x1b0
[ +0.000687] entry_SYSCALL_64_after_hwframe+0x73/0x7b
[ +0.000670] RIP: 0033:0x742713f24ded
[ +0.000688] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10
00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00
f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
[ +0.001341] RSP: 002b:00007ffd8699da90 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ +0.000699] RAX: ffffffffffffffda RBX: 000056e3b2c19370 RCX: 0000742713f24ded
[ +0.000696] RDX: 00007ffd8699dda0 RSI: 0000000000008946 RDI: 0000000000000003
[ +0.000698] RBP: 00007ffd8699dae0 R08: 000056e3b2c19010 R09: 0000000000000007
[ +0.000696] R10: 000056e3b2c192a0 R11: 0000000000000246 R12: 00007ffd8699dd90
[ +0.000685] R13: 00007ffd8699dda0 R14: 00007ffd8699dc30 R15: 0000000000003c00
[ +0.000462] </TASK>
[ +0.000440] Modules linked in: veth iavf cls_flower act_mirred sch_mqprio
sch_mqprio_lib vfio_pci vfio_iommu_type1 pcspkr usbmouse evbug xt_conntrack
nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xt_addrtype nft_compat nf_tables
br_netfilter bridge stp llc qrtr overlay vfio_pci_core intel_rapl_msr
intel_rapl_common intel_uncore_frequency intel_uncore_frequency_common vfio
i10nm_edac nfit iommufd cfg80211 x86_pkg_temp_thermal intel_powerclamp coretemp
binfmt_misc kvm_intel cmdlinepart nls_iso8859_1 snd_hda_codec_realtek spi_nor
snd_hda_codec_generic mtd kvm irqbypass snd_hda_intel snd_intel_dspcfg rapl
snd_intel_sdw_acpi snd_hda_codec dax_hmem cxl_acpi snd_hda_core intel_cstate
snd_hwdep cxl_core isst_if_mbox_pci ib_uverbs snd_pcm ast ib_core snd_timer
i2c_i801 ipmi_ssif isst_if_mmio isst_if_common snd spi_intel_pci i2c_smbus
soundcore spi_intel mei_me acpi_ipmi mei intel_pch_thermal intel_vsec ioatdma
ipmi_si ipmi_devintf input_leds ipmi_msghandler joydev
[ +0.000127] acpi_power_meter acpi_pad mac_hid dm_multipath msr efi_pstore
nfnetlink dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic raid10
raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq
libcrc32c raid1 raid0 hid_generic usbhid rndis_host cdc_ether usbnet hid mii
crct10dif_pclmul crc32_pclmul polyval_clmulni nvme polyval_generic ice(OE)
ghash_clmulni_intel ixgbe igb sha256_ssse3 nvme_core sha1_ssse3 xfrm_algo i40e
ahci mdio xhci_pci i2c_algo_bit igc nvme_auth gnss libahci dca xhci_pci_renesas
wmi aesni_intel crypto_simd cryptd [last unloaded: vfio_iommu_type1]
[ +0.008362] CR2: 000000000000042e
[ +0.000710] ---[ end trace 0000000000000000 ]---
[ +0.054883] RIP: 0010:ice_flow_add_prof+0x1330/0x23a0 [ice]
[ +0.000475] Code: 45 a8 66 45 89 47 04 48 8b 88 48 25 00 00 48 85 c9 0f 84 c8
0a 00 00 48 8b 41 08 48 83 c1 08 48 39 c8 0f 84 b7 0a 00 00 31 ff <0f> b6 b0 2e
04 00 00 89 f2 66 44 39 c6 72 2c 48 85 ff 0f 84 cc 04
[ +0.000787] RSP: 0018:ff5438008a92f8b8 EFLAGS: 00010246
[ +0.000403] RAX: 0000000000000000 RBX: 0000000000000001 RCX: ff4e8aa1d9a495f0
[ +0.000407] RDX: 1fffffffffffffff RSI: 0000000004000000 RDI: 0000000000000000
[ +0.000409] RBP: ff5438008a92f990 R08: 000000000000000c R09: 0000000000000000
[ +0.000409] R10: 0000000000000001 R11: 0000000000000c3c R12: ff4e8aa22c650028
[ +0.000412] R13: 0000000000000000 R14: ff4e8aa202517368 R15: ff4e8aa202517228
[ +0.000412] FS: 000074271407a740(0000) GS:ff4e8aaccf500000(0000)
knlGS:0000000000000000
[ +0.000419] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0.000420] CR2: 000000000000042e CR3: 00000001a81c4003 CR4: 0000000000771ef0
[ +0.000426] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ +0.000427] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ +0.000426] PKRU: 55555554
[ +0.000426] note: ethtool[10169] exited with irqs disabled
[ +0.058650] ice 0000:31:00.0: Disabling promiscuous mode succeeded
[May17 11:53] evbug: Event. Dev: input0, Type: 1, Code: 116, Value: 1
[ +0.001189] evbug: Event. Dev: input0, Type: 0, Code: 0, Value: 0
[ +0.001294] evbug: Event. Dev: input0, Type: 1, Code: 116, Value: 0
[ +0.001189] evbug: Event. Dev: input0, Type: 0, Code: 0, Value: 0
[Expected Result]
os will not crash and is used normally.
[Regression]
Is this issue a regression: (Y/N) N
currently, it can only be replicated on Ubuntu 24.04.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 11384 bytes --]
reply other threads:[~2024-06-04 6:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-1451-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).