Bug 2160718
Summary: | The guest start failed when running ovs dpdk pvp 1 queue viommu case on kernel 5.14.0-230.mergert.el9.x86_64 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | liting <tli> |
Component: | openvswitch2.17 | Assignee: | Maxime Coquelin <maxime.coquelin> |
Status: | CLOSED DUPLICATE | QA Contact: | ovs-qe |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | FDP 22.L | CC: | ctrautma, fleitner, jhsiao, jiqiu, ralongi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-01-19 20:01:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
liting
2023-01-13 13:09:31 UTC
libvirt log: [root@dell-per730-52 ~]# cat /var/log/libvirt/qemu/g1.log 2023-01-13 13:10:44.059+0000: starting up libvirt version: 8.10.0, package: 2.el9 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2022-12-06-04:27:41, ), qemu version: 7.2.0qemu-kvm-7.2.0-2.el9, kernel: 5.14.0-230.mergert.el9.x86_64, hostname: dell-per730-52.rhts.eng.pek2.redhat.com LC_ALL=C \ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin \ HOME=/var/lib/libvirt/qemu/domain-1-g1 \ XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-1-g1/.local/share \ XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-1-g1/.cache \ XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-1-g1/.config \ /usr/libexec/qemu-kvm \ -name guest=g1,debug-threads=on \ -S \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-g1/master-key.aes"}' \ -machine pc-q35-rhel9.2.0,usb=off,vmport=off,kernel_irqchip=split,dump-guest-core=off \ -accel kvm \ -cpu host,migratable=on,tsc-deadline=on,pmu=off \ -m 8192 \ -overcommit mem-lock=on \ -smp 3,sockets=3,cores=1,threads=1 \ -object '{"qom-type":"thread-context","id":"tc-ram-node0","node-affinity":[0]}' \ -object '{"qom-type":"memory-backend-file","id":"ram-node0","mem-path":"/dev/hugepages/libvirt/qemu/1-g1","share":true,"prealloc":true,"size":8589934592,"host-nodes":[0],"policy":"bind","prealloc-context":"tc-ram-node0"}' \ -numa node,nodeid=0,cpus=0-2,memdev=ram-node0 \ -uuid 36095c8c-6865-41b1-9c0d-c3a6731ac6aa \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=32,server=on,wait=off \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=utc,driftfix=slew \ -global kvm-pit.lost_tick_policy=delay \ -no-hpet \ -no-shutdown \ -global ICH9-LPC.disable_s3=1 \ -global ICH9-LPC.disable_s4=1 \ -boot strict=on \ -device '{"driver":"intel-iommu","id":"iommu0","intremap":"on","caching-mode":true,"device-iotlb":true}' \ -device '{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","addr":"0x2"}' \ -device '{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x3"}' \ -device '{"driver":"pcie-root-port","port":8,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x4"}' \ -device '{"driver":"pcie-root-port","port":9,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x5"}' \ -device '{"driver":"pcie-root-port","port":10,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x6"}' \ -device '{"driver":"pcie-root-port","port":11,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x7"}' \ -blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/g1.qcow2","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"qcow2","file":"libvirt-1-storage","backing":null}' \ -device '{"driver":"virtio-blk-pci","bus":"pci.1","addr":"0x0","drive":"libvirt-1-format","id":"virtio-disk0","bootindex":1}' \ -netdev '{"type":"tap","fd":"33","vhost":true,"vhostfd":"35","id":"hostnet0"}' \ -device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"52:54:00:01:02:03","bus":"pci.2","addr":"0x0"}' \ -chardev socket,id=charnet1,path=/tmp/vhostuser/vhost0,server=on \ -netdev '{"type":"vhost-user","chardev":"charnet1","id":"hostnet1"}' \ -device '{"driver":"virtio-net-pci","iommu_platform":true,"ats":true,"mrg_rxbuf":false,"rx_queue_size":1024,"tx_queue_size":1024,"netdev":"hostnet1","id":"net1","mac":"00:de:ad:00:00:01","bus":"pci.3","addr":"0x0"}' \ -chardev socket,id=charnet2,path=/tmp/vhostuser/vhost1,server=on \ -netdev '{"type":"vhost-user","chardev":"charnet2","id":"hostnet2"}' \ -device '{"driver":"virtio-net-pci","iommu_platform":true,"ats":true,"mrg_rxbuf":false,"rx_queue_size":1024,"tx_queue_size":1024,"netdev":"hostnet2","id":"net2","mac":"00:de:ad:00:00:02","bus":"pci.4","addr":"0x0"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -vnc 0.0.0.0:0,audiodev=audio1 \ -device '{"driver":"cirrus-vga","id":"video0","bus":"pci.5","addr":"0x0"}' \ -device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.6","addr":"0x0"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on 2023-01-13T13:10:44.130006Z qemu-kvm: -chardev socket,id=charnet1,path=/tmp/vhostuser/vhost0,server=on: info: QEMU waiting for connection on: disconnected:unix:/tmp/vhostuser/vhost0,server=on 2023-01-13T13:10:44.644338Z qemu-kvm: -chardev socket,id=charnet2,path=/tmp/vhostuser/vhost1,server=on: info: QEMU waiting for connection on: disconnected:unix:/tmp/vhostuser/vhost1,server=on char device redirected to /dev/pts/2 (label charserial0) 2023-01-13T13:10:47.444502Z qemu-kvm: -device {"driver":"cirrus-vga","id":"video0","bus":"pci.5","addr":"0x0"}: warning: 'cirrus-vga' is deprecated, please use a different VGA card instead 2023-01-13T13:10:57.093391Z qemu-kvm: Received unexpected msg type. Expected 22 received 40 2023-01-13T13:10:57.093414Z qemu-kvm: Fail to update device iotlb 2023-01-13T13:10:57.093463Z qemu-kvm: Received unexpected msg type. Expected 40 received 22 2023-01-13T13:10:57.104339Z qemu-kvm: Received unexpected msg type. Expected 22 received 11 2023-01-13T13:10:57.104349Z qemu-kvm: Fail to update device iotlb 2023-01-13T13:10:57.104583Z qemu-kvm: Received unexpected msg type. Expected 11 received 22 2023-01-13T13:10:57.104592Z qemu-kvm: vhost VQ 1 ring restore failed: -71: Protocol error (71) 2023-01-13T13:10:57.108169Z qemu-kvm: unable to start vhost net: 71: falling back on userspace virtio 2023-01-13T13:10:57.208006Z qemu-kvm: Received unexpected msg type. Expected 22 received 40 2023-01-13T13:10:57.208020Z qemu-kvm: Fail to update device iotlb 2023-01-13T13:10:57.208071Z qemu-kvm: Received unexpected msg type. Expected 40 received 22 2023-01-13T13:10:57.208321Z qemu-kvm: Received unexpected msg type. Expected 22 received 11 2023-01-13T13:10:57.208330Z qemu-kvm: Fail to update device iotlb 2023-01-13T13:10:57.208538Z qemu-kvm: Received unexpected msg type. Expected 11 received 22 2023-01-13T13:10:57.208546Z qemu-kvm: vhost VQ 1 ring restore failed: -71: Protocol error (71) 2023-01-13T13:10:57.208607Z qemu-kvm: Received unexpected msg type. Expected 22 received 11 2023-01-13T13:10:57.208615Z qemu-kvm: Fail to update device iotlb 2023-01-13T13:10:57.208641Z qemu-kvm: Received unexpected msg type. Expected 11 received 22 2023-01-13T13:10:57.208649Z qemu-kvm: vhost VQ 0 ring restore failed: -71: Protocol error (71) 2023-01-13T13:10:57.212170Z qemu-kvm: unable to start vhost net: 71: falling back on userspace virtio 2023-01-13T13:12:26.201845Z qemu-kvm: Received unexpected msg type. Expected 22 received 40 2023-01-13T13:12:26.201867Z qemu-kvm: Fail to update device iotlb 2023-01-13T13:12:26.201916Z qemu-kvm: Received unexpected msg type. Expected 40 received 22 2023-01-13T13:12:26.202204Z qemu-kvm: Received unexpected msg type. Expected 22 received 11 2023-01-13T13:12:26.202213Z qemu-kvm: Fail to update device iotlb 2023-01-13T13:12:26.202445Z qemu-kvm: Received unexpected msg type. Expected 11 received 22 2023-01-13T13:12:26.202454Z qemu-kvm: vhost VQ 1 ring restore failed: -71: Protocol error (71) I met the same issue. https://beaker.engineering.redhat.com/recipes/13233855#task154894511 BTW- 2q works well. The rhel9.2 ctc2 also has this issue. https://beaker.engineering.redhat.com/jobs/7442474 https://beaker-archive.hosts.prod.psi.bos.redhat.com/beaker-logs/2023/01/74424/7442474/13247732/155100364/i40e_25.html mlx5: https://beaker.engineering.redhat.com/jobs/7442362 https://beaker-archive.hosts.prod.psi.bos.redhat.com/beaker-logs/2023/01/74423/7442362/13247467/155097963/mlx5_100.html This bug is a duplicate of Bz2155173. The issue is on QEMU side, not in OVS. Closing as duplicate. *** This bug has been marked as a duplicate of bug 2155173 *** |