From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E5ECE4258A for ; Wed, 13 Sep 2023 16:10:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EAA340293; Wed, 13 Sep 2023 16:10:59 +0200 (CEST) Received: from frogstar.hit.bme.hu (frogstar.hit.bme.hu [152.66.248.44]) by mails.dpdk.org (Postfix) with ESMTP id E664A40284 for ; Wed, 13 Sep 2023 16:10:58 +0200 (CEST) Received: from [172.16.18.16] (lglj4300.sze.hu [193.224.130.125]) (authenticated bits=0) by frogstar.hit.bme.hu (8.17.1/8.17.1) with ESMTPSA id 38DEAqjD009504 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Wed, 13 Sep 2023 16:10:57 +0200 (CEST) (envelope-from lencse@hit.bme.hu) X-Authentication-Warning: frogstar.hit.bme.hu: Host lglj4300.sze.hu [193.224.130.125] claimed to be [172.16.18.16] Message-ID: <4d8d693b-34f2-90fe-f058-a3e61093d5c0@hit.bme.hu> Date: Wed, 13 Sep 2023 16:10:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US To: users@dpdk.org From: Gabor LENCSE Subject: Weird error messages -- what can be their root cause? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.8 at frogstar.hit.bme.hu X-Virus-Status: Clean Received-SPF: pass (frogstar.hit.bme.hu: authenticated connection) receiver=frogstar.hit.bme.hu; client-ip=193.224.130.125; helo=[172.16.18.16]; envelope-from=lencse@hit.bme.hu; x-software=spfmilter 2.001 http://www.acme.com/software/spfmilter/ with libspf2-1.2.11; X-DCC--Metrics: frogstar.hit.bme.hu; whitelist X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,AWL,TW_PD, T_SCC_BODY_TEXT_LINE autolearn=disabled version=3.4.6-frogstar X-Spam-Checker-Version: SpamAssassin 3.4.6-frogstar (2021-04-09) on frogstar.hit.bme.hu X-Scanned-By: MIMEDefang 2.86 on 152.66.248.44 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Dear All, I have been using siitperf ( https://github.com/lencsegabor/siitperf ), my DPDK-based RFC 8219 SIIT and stateful NAT64 tester under Debian 9 using DPDK 16 for several years and it worked perfectly. I have upgraded it to DPDK 21 under Ubuntu 22.04, and it seemed to work. However it failed under Debian 12 using DPDK 22. Then I tried under Debian 11 using DPDK 20.11.7. What I experienced was, that the senders functions did not finish sending, and the receiver functions did not receive any packets when I did a self-test (the network interfaces were looped back with a direct cable). When I sent only a very low number of packets, then a sender functions finished, but still no packets arrived. Here is the dmesg, when I sent only a single frame in each direction: [ 9475.185898] dmar_fault: 2 callbacks suppressed [ 9475.185899] DMAR: DRHD: handling fault status reg 302 [ 9475.186851] DMAR: [DMA Read] Request device [01:00.1] PASID ffffffff fault addr ffe942000 [fault reason 06] PTE Read access is not set [ 9475.187730] DMAR: [DMA Read] Request device [01:00.0] PASID ffffffff fault addr ffe96b000 [fault reason 06] PTE Read access is not set Do you have any idea, what the strange messages may mean? When I send more frames, more messages appear, but their number is not proportional to the number of frames per direction. E.g. when I sent 5 frames per direction, the output was: [10630.082486] dmar_fault: 2 callbacks suppressed [10630.082487] DMAR: DRHD: handling fault status reg 302 [10630.083425] DMAR: [DMA Read] Request device [01:00.1] PASID ffffffff fault addr ffe942000 [fault reason 06] PTE Read access is not set [10630.084290] DMAR: [DMA Read] Request device [01:00.0] PASID ffffffff fault addr ffe96b000 [fault reason 06] PTE Read access is not set [10630.282477] DMAR: DRHD: handling fault status reg 502 [10630.283293] DMAR: [DMA Read] Request device [01:00.1] PASID ffffffff fault addr ffe942000 [fault reason 06] PTE Read access is not set [10630.284120] DMAR: [DMA Read] Request device [01:00.0] PASID ffffffff fault addr ffe96b000 [fault reason 06] PTE Read access is not set [10630.482477] DMAR: DRHD: handling fault status reg 702 [10630.483272] DMAR: [DMA Read] Request device [01:00.1] PASID ffffffff fault addr ffe942000 [fault reason 06] PTE Read access is not set I use the same hardware, which worked perfectly under Debian 9. This is my NIC: root@tester:~/siitperf# dpdk-devbind.py --status Network devices using DPDK-compatible driver ============================================ 0000:01:00.0 'Ethernet Controller 10-Gigabit X540-AT2 1528' drv=uio_pci_generic unused=ixgbe 0000:01:00.1 'Ethernet Controller 10-Gigabit X540-AT2 1528' drv=uio_pci_generic unused=ixgbe And my kernel command line is: root@tester:~/siitperf# cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-5.10.0-25-amd64 root=UUID=2825291f-1f01-4cd3-9f03-ddbaa24c773e ro quiet idle=poll isolcpus=1-15 hugepagesz=1G hugepages=32 Any suggestions are appreciated! Thank you very much for your help in advance! Best regards, Gábor