DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1236] [dpdk-23.07]VM crash when start dpdk-l3fwd-power in VM with QEMU-8.0.0
@ 2023-05-22  8:15 bugzilla
  2023-11-06  3:30 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-05-22  8:15 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 3299 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1236

            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 remote -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=vfio-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=/root/dpdk/vhost-net,queues=4    \
-- -i --nb-cores=4 --rxq=4 --txq=4 --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-x86_64
 -name vm0 -enable-kvm -pidfile /tmp/.vm0.pid \
-daemonize -monitor unix:/tmp/vm0_monitor.sock,server,nowait -netdev
user,id=nttsip1,hostfwd=tcp:10.239.252.245:6000-:22 -device
e1000,netdev=nttsip1  \
-cpu host -smp 4 -m 8192 -object
memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on -numa
node,memdev=mem -mem-prealloc \
-chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device
virtio-serial -device
virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 -vnc :4 \
-drive file=/home/image/ubuntu2004.img -chardev
socket,id=char0,path=/root/dpdk/vhost-net -netdev
type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=4 \
-device
virtio-net-pci,netdev=netdev0,mac=00:11:22:33:44:55,disable-modern=true,mrg_rxbuf=on,csum=on,mq=on,vectors=10

4.SSH connect VM and build dpdk-l3fwd-power APP, and then start
dpdk-l3fwd-power:

CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
meson configure -Dexamples=l3fwd-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='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, and
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 occured.
Regression
Is this issue a regression: (Y/N) N

Maybe this is an Compatibility Issues with QEMU-8.0.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 5191 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 1236] [dpdk-23.07]VM crash when start dpdk-l3fwd-power in VM with QEMU-8.0.0
  2023-05-22  8:15 [Bug 1236] [dpdk-23.07]VM crash when start dpdk-l3fwd-power in VM with QEMU-8.0.0 bugzilla
@ 2023-11-06  3:30 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2023-11-06  3:30 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 695 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1236

linglix.chen@intel.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |linglix.chen@intel.com
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from linglix.chen@intel.com ---
Verified on dpdk-23.11.0-rc1(495846c12b) main branch PASSED.
fix patch has been merged into main, efc3f842b3 net/virtio: fix link state
interrupt vector setting

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 2872 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-06  3:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-22  8:15 [Bug 1236] [dpdk-23.07]VM crash when start dpdk-l3fwd-power in VM with QEMU-8.0.0 bugzilla
2023-11-06  3:30 ` bugzilla

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).