<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Regression: Lenovo e585 (ryzen 2500u) freezes during boot with 4.20-rc5, amdgpu error"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108992">108992</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Regression: Lenovo e585 (ryzen 2500u) freezes during boot with 4.20-rc5, amdgpu error
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>christian.frank.uwb@googlemail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=142765" name="attach_142765" title="amdgpu error message">attachment 142765</a> <a href="attachment.cgi?id=142765&action=edit" title="amdgpu error message">[details]</a></span>
amdgpu error message

Hi,

i upgraded from mainline kernel 4.19.7 to 4.20-rc5.
Sadly using that kernel the system freezes when it tries to show gdm.

OS: Ubuntu 18.04.1

Kernel:
Linux version 4.20.0-042000rc5-generic (kernel@gloin) (gcc version 8.2.0
(Ubuntu 8.2.0-10ubuntu1)) #201812030721 SMP Mon Dec 3 12:23:24 UTC 2018

Command line: BOOT_IMAGE=/boot/vmlinuz-4.20.0-042000rc5-generic
root=UUID=1381a98d-77fd-481f-9cdb-115b30829bd8 ro ivrs_ioapic[32]=00:14.0
ivrs_ioapic[33]=00:00.1 vt.handoff=1

Mesa is at version 18.2.2 (X-Swat ppa)

Firmware files:
ll /lib/firmware/amdgpu/rav*
-rw-r--r-- 1 root root  33280 Nov  6 21:32 /lib/firmware/amdgpu/raven_asd.bin
-rw-r--r-- 1 root root   9344 Nov  6 21:32 /lib/firmware/amdgpu/raven_ce.bin
-rw-r--r-- 1 root root    316 Apr 25  2018
/lib/firmware/amdgpu/raven_gpu_info.bin
-rw-r--r-- 1 root root  17536 Nov  6 21:32 /lib/firmware/amdgpu/raven_me.bin
-rw-r--r-- 1 root root 263808 Nov  6 21:32 /lib/firmware/amdgpu/raven_mec2.bin
-rw-r--r-- 1 root root 263808 Nov  6 21:32 /lib/firmware/amdgpu/raven_mec.bin
-rw-r--r-- 1 root root  21632 Nov  6 21:32 /lib/firmware/amdgpu/raven_pfp.bin
-rw-r--r-- 1 root root  26948 Nov  6 21:32 /lib/firmware/amdgpu/raven_rlc.bin
-rw-r--r-- 1 root root  17408 Nov  6 21:32 /lib/firmware/amdgpu/raven_sdma.bin
-rw-r--r-- 1 root root 341728 Apr 25  2018 /lib/firmware/amdgpu/raven_vcn.bin

christian@christian-ThinkPad-E585:~$ apt-cache show linux-firmware
Package: linux-firmware
Architecture: all
Version: 1.173.2

Error-Log from journalctl:

Dez 09 16:26:20 christian-ThinkPad-E585 set-cpufreq[874]: Setting ondemand
scheduler for all CPUs
Dez 09 16:26:20 christian-ThinkPad-E585 kernel: gmc_v9_0_process_interrupt: 28
callbacks suppressed
Dez 09 16:26:20 christian-ThinkPad-E585 kernel: amdgpu 0000:05:00.0: [mmhub]
VMC page fault (src_id:0 ring:158 vmid:1 pasid:32768, for process gnome-shell
pid 1102 thread g
Dez 09 16:26:20 christian-ThinkPad-E585 kernel: amdgpu 0000:05:00.0:   in page
starting at address 0x0000800100020000 from 18
Dez 09 16:26:20 christian-ThinkPad-E585 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x0010013C
Dez 09 16:26:20 christian-ThinkPad-E585 kernel: amdgpu 0000:05:00.0: [mmhub]
VMC page fault (src_id:0 ring:158 vmid:1 pasid:32768, for process gnome-shell
pid 1102 thread g
Dez 09 16:26:20 christian-ThinkPad-E585 kernel: amdgpu 0000:05:00.0:   in page
starting at address 0x0000800100020000 from 18
Dez 09 16:26:20 christian-ThinkPad-E585 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x0010013C
ez 09 16:26:20 christian-ThinkPad-E585 kernel: [Hardware Error]: Deferred
error, no action required.
Dez 09 16:26:20 christian-ThinkPad-E585 kernel: [Hardware Error]: CPU:0
(17:11:0) MC20_STATUS[-|-|MiscV|-|AddrV|Deferred|-|SyndV
Dez 09 16:26:20 christian-ThinkPad-E585 systemd-journald[378]: Missed 68239
kernel messages
Dez 09 16:26:20 christian-ThinkPad-E585 kernel: [Hardware Error]: Deferred
error, no action required.
Dez 09 16:26:20 christian-ThinkPad-E585 systemd-journald[378]: Missed 6630
kernel messages
Dez 09 16:26:20 christian-ThinkPad-E585 kernel: [Hardware Error]: Coherent
Slave Extended Error Code: 1
Dez 09 16:26:20 christian-ThinkPad-E585 systemd-journald[378]: Missed 7875
kernel messages

I attached an .txt file showing more of the error messages.

I also have seen freezes with 4.19.7 with a similar error message, but this
happens very rarely. With 4.20-rc5 the issue happens every time gdm tries to
start, which makes the system unusable.

If you need any other info, please ping me.

Many thanks !
Christian</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>