Uploaded image for project: 'Openshift sandboxed containers'
  1. Openshift sandboxed containers
  2. KATA-1580

guest crash - kvm run failed Bad address

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Medium Medium
    • None
    • 4.6
    • sandboxed-containers
    • None
    • 0
    • 0

      Description of problem:
      Running kernel parallel compiling inside a RHEL-8.3 guest results in a guest crash.

      Red Hat Enterprise Linux 8.3 Beta (Ootpa)
      Kernel 4.18.0-236.el8.x86_64 on an x86_64

      Activate the web console with: systemctl enable --now cockpit.socket

      kata login: error: kvm run failed Bad address
      RAX=ffffffff9f6c5940 RBX=0000000000000001 RCX=000000000000001c RDX=ffff8d6b96cd8000
      RSI=ffff8d6b96cd8000 RDI=ffff8d6b96cd8000 RBP=000000000000001c RSP=ffff9a1ad3203860
      R8 =0000000000000000 R9 =0000000000000004 R10=ffff8d6eff562000 R11=0000000000000000
      R12=ffff8d6b96cd8000 R13=ffff8d6f15e03400 R14=fffffb46d25b3600 R15=0000000000000006
      RIP=ffffffff9f6c5943 RFL=00010082 [--S----] CPL=0 II=0 A20=1 SMM=0 HLT=0
      ES =0000 0000000000000000 ffffffff 00c00000
      CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
      SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA]
      DS =0000 0000000000000000 ffffffff 00c00000
      FS =0000 00007f79399da740 ffffffff 00c00000
      GS =0000 ffff8d6f1fb00000 ffffffff 00c00000
      LDT=0000 0000000000000000 ffffffff 00c00000
      TR =0040 fffffe00004b7000 0000206f 00008b00 DPL=0 TSS64-busy
      GDT= fffffe00004b5000 0000007f
      IDT= fffffe0000000000 00000fff
      CR0=80050033 CR2=0000557188f43000 CR3=00000004bc2d4001 CR4=00160ee0
      DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
      DR6=00000000ffff0ff0 DR7=0000000000000400
      EFER=0000000000000d01
      Code=00 7f ff 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 fa <48> c7 07 00 00 00 00 48 8d 7f 08 31 c0 48 c7 87 30 02 00 00 00 00 00 00 48 89 d1 48 83 e7

      Not even mounted the virtiofs but in case it was related. Here were the cmdlines:

      1. /usr/libexec/virtiofsd --socket-path=/tmp/vhostqemu -o source=$TESTDIR -o cache=always -o no_posix_lock -o log_level=debug
      1. /usr/libexec/qemu-kvm name kata -cpu host -smp 32 -m 32g -hda rhel-8.2-update-2-x86_64-kvm.img.qcow2 -cdrom kata.iso -nic user,hostfwd=tcp::2222:22 -nographic -object memory-backend-file,id=mem,size=32g,mem-path=/dev/shm,share=on -numa node,memdev=mem -chardev socket,id=char0,path=/tmp/vhostqemu -device vhost-user-fs-pci,chardev=char0,tag=myfs
      1. lscpu
        Architecture: x86_64
        CPU op-mode(s): 32-bit, 64-bit
        Byte Order: Little Endian
        CPU(s): 48
        On-line CPU(s) list: 0-47
        Thread(s) per core: 2
        Core(s) per socket: 12
        Socket(s): 2
        NUMA node(s): 2
        Vendor ID: GenuineIntel
        CPU family: 6
        Model: 63
        Model name: Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz
        Stepping: 2
        CPU MHz: 1772.013
        CPU max MHz: 2500.0000
        CPU min MHz: 1200.0000
        BogoMIPS: 3596.08
        Virtualization: VT-x
        L1d cache: 32K
        L1i cache: 32K
        L2 cache: 256K
        L3 cache: 30720K
        NUMA node0 CPU(s): 0-11,24-35
        NUMA node1 CPU(s): 12-23,36-47
        Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti intel_ppin ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc dtherm ida arat pln pts md_clear flush_l1d

      Version-Release number of selected component (if applicable):
      kernel-4.18.0-236.el8.x86_64
      qemu-kvm-5.1.0-7.module+el8.3.0+8099+dba2fe3e.x86_64

      How reproducible:
      unknown

            jira-bugzilla-migration RH Bugzilla Integration
            qcai@redhat.com Qian Cai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: