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

gnome-session crashes on s390x with virtio-gpu

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-9.5
    • mesa
    • None
    • None
    • Important
    • rhel-sst-gpu
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • s390x
    • None

      What were you trying to do that didn't work?

      Running "gdm" on s390x in a KVM guest with virtio-gpu does not work anymore.

      Please provide the package NVR for which bug is seen:

      The issue started in compose RHEL-9.5.0-20240621.6 with:

      kernel-5.14.0-467.el9.s390x
      gnome-session-40.1.1-9.el9.s390x
      gnome-shell-40.10-20.el9.s390x
      mesa-libGL-24.1.0-2.el9.s390x
      mutter-40.9-16.el9.s390x

      Everything was still working fine in the previous compose RHEL-9.5.0-20240616.55 with:

      kernel-5.14.0-460.el9.s390x
      gnome-session-40.1.1-9.el9.s390x
      gnome-shell-40.10-20.el9.s390x
      mesa-libGL-23.3.3-1.el9.s390x
      mutter-40.9-16.el9.s390x

      How reproducible:

      100%

      Steps to reproduce

      1. virt-install  --name r9 --ram=4096 --vcpus=1 --nographcis --accelerate   --network network=default,model=virtio   -l http://.../RHEL-9.5.0-20240621.6/compose/BaseOS/s390x/os/ --debug  -console pty,target_type=sclp   --disk /var/lib/libvirt/images/rhel9.qcow2,size=12
      2. Once the guest has finished installation, shut it down and run "virsh edit r9" to add these XML snippets:
            <input type='keyboard' bus='virtio'>
            </input>
            <input type='mouse' bus='virtio'>
            </input>
            <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'>
              <listen type='address' address='127.0.0.1'/>
            </graphics>
            <video>
              <model type='virtio' heads='1' primary='yes'/>
            </video>
      3. Start the guest again with "virsh start --console r9"
      4. In the guest:
        dnf install gdm
      5. In the host, use "vncviewer :0" to see the graphical output of the guest
      6. In the guest:
        systemctl start gdm

      Expected results

      The GDM login screen should show up in the VNC window

      Actual results

      In the VNC window there is only the message: "Oh no! Something has gone wrong. A problem has occurred and the system can't recover. Please contact a system administrator".

      In the output of "dmesg" there is a message like:

       User process fault: interruption code 003b ilc:3 in libc.so.6[3ff8fd00000+1c9000]
       Failing address: 0000000000000000 TEID: 0000000000000800
       Fault in primary space mode while using user ASCE.
       AS:00000000cace01c7 R3:0000000000000024 
       CPU: 0 PID: 27746 Comm: gnome-session-c Kdump: loaded Not tainted 5.14.0-467.el9.s390x #1
       Hardware name: IBM 3931 LA1 400 (KVM/Linux)
       User PSW : 0705000180000000 000003ff8fdf2ec6
                  R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 RI:0 EA:3
       User GPRS: 0000000000000000 0000000000000000 000000000000000f 0000000000000000
                  0000000000000000 0000000000000000 0000000000000000 0000000000000000
                  0000000000000000 000003ffceb79b98 0000000000000000 0000000000000000
                  000003ff905aef68 0000000000000000 000003ffceb79a80 000003ffceb799c0
       User Code: 000003ff8fdf2eb8: a71b0010        aghi    %r1,16
                  000003ff8fdf2ebc: e70000300081    vfene    %v0,%v0,%v0,0,3
                 #000003ff8fdf2ec2: a784000c        brc    8,000003ff8fdf2eda
                 >000003ff8fdf2ec6: e70180004006    vl    %v0,0(%r1,%r8),4
                  000003ff8fdf2ecc: a71b0010        aghi    %r1,16
                  000003ff8fdf2ed0: e70000300081    vfene    %v0,%v0,%v0,0,3
                  000003ff8fdf2ed6: a774fff8        brc    7,000003ff8fdf2ec6
                  000003ff8fdf2eda: e73000070021    vlgv    %r3,%v0,7,0
       Last Breaking-Event-Address:
        [<000003ff8fdf2f32>] 0x3ff8fdf2f32

              rhn-engineering-airlied David Airlie
              thuth@redhat.com Thomas Huth
              IBM Confidential Group
              David Airlie David Airlie
              Peter Kopec Peter Kopec
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: