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 0285D42B6F;
Mon, 22 May 2023 10:15:34 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id E2D74410DD;
Mon, 22 May 2023 10:15:33 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id C8D4B410D1
for ; Mon, 22 May 2023 10:15:32 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id B835742B70; Mon, 22 May 2023 10:15:32 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1236] [dpdk-23.07]VM crash when start dpdk-l3fwd-power in VM
with QEMU-8.0.0
Date: Mon, 22 May 2023 08:15:32 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: vhost/virtio
X-Bugzilla-Version: 23.07
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: weix.ling@intel.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=16847433320.E6Acd8CF.492968
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--16847433320.E6Acd8CF.492968
Date: Mon, 22 May 2023 10:15:32 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1236
Bug ID: 1236
Summary: [dpdk-23.07]VM crash when start dpdk-l3fwd-power in VM
with QEMU-8.0.0
Product: DPDK
Version: 23.07
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: vhost/virtio
Assignee: dev@dpdk.org
Reporter: weix.ling@intel.com
Target Milestone: ---
[Environment]
DPDK version: Use make showversion or for a non-released version: git remot=
e -v
&& git show-ref --heads
23.07.0-rc0
Other software versions: QEMU-8.0.0
OS: Ubuntu 22.04.2 LTS/Linux 5.15.45-051545-generic
Compiler: gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
Hardware platform: Purley/IceLake etc.
NIC hardware: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz
NIC firmware: ice-1.11.14/4.20 0x80017785 1.3346.0
[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.
1.Bind 1 NIC port to vfio-pci driver:
dpdk-devbind.py --force --bind=3Dvfio-pci 0000:4b:00.0
2.Start dpdk-testpmd as back-end:
x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 8 -a 0000:4b:00.0 \
--vdev net_vhost0,iface=3D/root/dpdk/vhost-net,queues=3D4 \
-- -i --nb-cores=3D4 --rxq=3D4 --txq=3D4 --rss-ip
testpmd>start
3.Start VM with QEMU-8.0.0 as front-end:
taskset -c 20,21,22,23,24,25,26,27 /home/QEMU/qemu-8.0.0/bin/qemu-system-x8=
6_64
-name vm0 -enable-kvm -pidfile /tmp/.vm0.pid \
-daemonize -monitor unix:/tmp/vm0_monitor.sock,server,nowait -netdev
user,id=3Dnttsip1,hostfwd=3Dtcp:10.239.252.245:6000-:22 -device
e1000,netdev=3Dnttsip1 \
-cpu host -smp 4 -m 8192 -object
memory-backend-file,id=3Dmem,size=3D8192M,mem-path=3D/dev/hugepages,share=
=3Don -numa
node,memdev=3Dmem -mem-prealloc \
-chardev socket,path=3D/tmp/vm0_qga0.sock,server,nowait,id=3Dvm0_qga0 -devi=
ce
virtio-serial -device
virtserialport,chardev=3Dvm0_qga0,name=3Dorg.qemu.guest_agent.0 -vnc :4 \
-drive file=3D/home/image/ubuntu2004.img -chardev
socket,id=3Dchar0,path=3D/root/dpdk/vhost-net -netdev
type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce,queues=3D4 \
-device
virtio-net-pci,netdev=3Dnetdev0,mac=3D00:11:22:33:44:55,disable-modern=3Dtr=
ue,mrg_rxbuf=3Don,csum=3Don,mq=3Don,vectors=3D10
4.SSH connect VM and build dpdk-l3fwd-power APP, and then start
dpdk-l3fwd-power:
CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib --default-library=3Dst=
atic
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
meson configure -Dexamples=3Dl3fwd-power x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -c 0xf -n 4
--log-level=3D'user1,7' -- -p 1 -P --config '(0,0,0),(0,1,1),(0,2,2),(0,3,3=
)'
--no-numa --parse-ptype --interrupt-only
Show the output from the previous commands.
The VM will crash, when start dpdk-l3fwd-power APP in VM with QEMU-8.0.0, a=
nd
it works well when start VM with other QEMU version less than QEMU-8.0.0.
[Expected Result]
Start dpdk-l3fwd-power APP in VM with QEMU-8.0.0 works well, no crash occur=
ed.
Regression
Is this issue a regression: (Y/N) N
Maybe this is an Compatibility Issues with QEMU-8.0.0.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--16847433320.E6Acd8CF.492968
Date: Mon, 22 May 2023 10:15:32 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
[dpdk-23.07]VM crash when start dpdk-l3fwd-power in VM with Q=
EMU-8.0.0
Product
DPDK
Version
23.07
Hardware
All
OS
All
Status
UNCONFIRMED
Severity
normal
Priority
Normal
Component
vhost/virtio
Assignee
dev@dpdk.org
Reporter
weix.ling@intel.com
Target Milestone
---
[Environment]
DPDK version: Use make showversion or for a non-released version: git remot=
e -v
&& git show-ref --heads
23.07.0-rc0
Other software versions: QEMU-8.0.0
OS: Ubuntu 22.04.2 LTS/Linux 5.15.45-051545-generic
Compiler: gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
Hardware platform: Purley/IceLake etc.
NIC hardware: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz
NIC firmware: ice-1.11.14/4.20 0x80017785 1.3346.0
[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.
1.Bind 1 NIC port to vfio-pci driver:
dpdk-devbind.py --force --bind=3Dvfio-pci 0000:4b:00.0
2.Start dpdk-testpmd as back-end:
x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 8 -a 0000:4b:00.0 \
--vdev net_vhost0,iface=3D/root/dpdk/vhost-net,queues=3D4 \
-- -i --nb-cores=3D4 --rxq=3D4 --txq=3D4 --rss-ip
testpmd>start
3.Start VM with QEMU-8.0.0 as front-end:
taskset -c 20,21,22,23,24,25,26,27 /home/QEMU/qemu-8.0.0/bin/qemu-system-x8=
6_64
-name vm0 -enable-kvm -pidfile /tmp/.vm0.pid \
-daemonize -monitor unix:/tmp/vm0_monitor.sock,server,nowait -netdev
user,id=3Dnttsip1,hostfwd=3Dtcp:10.239.252.245:6000-:22 -device
e1000,netdev=3Dnttsip1 \
-cpu host -smp 4 -m 8192 -object
memory-backend-file,id=3Dmem,size=3D8192M,mem-path=3D/dev/hugepages,share=
=3Don -numa
node,memdev=3Dmem -mem-prealloc \
-chardev socket,path=3D/tmp/vm0_qga0.sock,server,nowait,id=3Dvm0_qga0 -devi=
ce
virtio-serial -device
virtserialport,chardev=3Dvm0_qga0,name=3Dorg.qemu.guest_agent.0 -vnc :4 \
-drive file=3D/home/image/ubuntu2004.img -chardev
socket,id=3Dchar0,path=3D/root/dpdk/vhost-net -netdev
type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce,queues=3D4 \
-device
virtio-net-pci,netdev=3Dnetdev0,mac=3D00:11:22:33:44:55,disable-modern=3Dtr=
ue,mrg_rxbuf=3Don,csum=3Don,mq=3Don,vectors=3D10
4.SSH connect VM and build dpdk-l3fwd-power APP, and then start
dpdk-l3fwd-power:
CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib --default-library=3Dst=
atic
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
meson configure -Dexamples=3Dl3fwd-power x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -c 0xf -n 4
--log-level=3D'user1,7' -- -p 1 -P --config '(0,0,0),(0,1,1),(0,2,2),(0,3,3=
)'
--no-numa --parse-ptype --interrupt-only
Show the output from the previous commands.
The VM will crash, when start dpdk-l3fwd-power APP in VM with QEMU-8.0.0, a=
nd
it works well when start VM with other QEMU version less than QEMU-8.0.0.
[Expected Result]
Start dpdk-l3fwd-power APP in VM with QEMU-8.0.0 works well, no crash occur=
ed.
Regression
Is this issue a regression: (Y/N) N
Maybe this is an Compatibility Issues with QEMU-8.0.0.