Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7520

Hit 'watchdog: BUG: soft lockup - CPU# stuck for ...' messages when dd on 32 xhci usb devices concurrent in guest

    • None
    • Low
    • rhel-sst-virtualization
    • ssg_virtualization
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      Hit 'watchdog: BUG: soft lockup - CPU# stuck for ...!' messages when dd on 32 xhci usb devices concurrent in guest

      Version-Release number of selected component (if applicable):
      host version:
      kernel-5.14.0-354.el9.x86_64
      qemu-kvm-8.0.0-11.el9.x86_64
      edk2-ovmf-20230524-2.el9.noarch
      guest: rhel9.3.0

      How reproducible:
      4/4

      Steps to Reproduce:
      1.Boot guest with 32 usb devices

      1. sh xhci.sh q35 32 ovmf

      2.Check usb in guest

      1. fdisk -l | grep /dev/sd | wc -l

      3.Run dd cmd in guest

      1. cat concurrent_dd.sh
        for dev in $(ls /dev/sd*)
        do
        dd if=/dev/zero of=$dev bs=1M count=2048 &
        done
      1. sh concurrent_dd.sh

      4.check dmesg in guest

      1. dmesg

      Actual results:
      After steps 3, the guest hang for a while, then print 'watchdog: BUG: soft lockup - CPU# stuck for ...! [kworker/22:0:153]' messages in guest.
      Please check the detailed log: xhci_guest_dmesg.txt

      Expected results:
      Not hit 'watchdog: BUG: soft lockup - CPU# stuck for ...! [kworker/22:0:153]' messages in guest dmesg

      Additional info:
      1)Can reproduce this bug with qemu-kvm-7.2.0-14.el9_2.3.x86_64

              virt-maint virt-maint
              rhn-support-yiwei Yiqian Wei
              virt-maint virt-maint
              Yanbin Duan Yanbin Duan
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: