<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 - failed to send pre message kernel output delays booting/suspending/resuming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100891">100891</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>failed to send pre message kernel output delays booting/suspending/resuming
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>harn-solo@gmx.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=131160" name="attach_131160" title="dmesg output (kernel 4.9)">attachment 131160</a> <a href="attachment.cgi?id=131160&action=edit" title="dmesg output (kernel 4.9)">[details]</a></span>
dmesg output (kernel 4.9)

Starting with kernel version 4.9 the boot process, s3 suspend and s3 resume is
delayed by kernel messages like the following

[   17.322912] 
                failed to send pre message 148 ret is 0 
[   17.543482] 
                failed to send message 148 ret is 0 

for a very long time, e.g. 10 min (see attachment for a full dmesg log). When
the system is fully booted everything else seems to be fine.


I'm not sure if it is related at all, but I did a quick bisection: between
4.9-rc2 and 4.9-rc3, with the introduction of commit
3b496626ee8f07919256a4e99cddf42ecd4ba891 I had to supply a new firmware file
(topaz_k_smc.bin) otherwise my screen remains black. After supplying the
missing firmware-file from from linux-firmware.git I noticed the long boot
delay and the messages.

Kernel series 4.11-rcX reduces the delays drastically, down to around 1-2
minutes but after a resume from s3 the GPUs gets hot very quickly without fans
kicking in until it reaches some sort of emergency mode with short bursts of
jet engine like fans.

This happens on the kernels 4.9-rc3 up to the latest 4.11-rc, always tested
with the latest set of firmware files.

My GPU-hardware is a Sapphire R9 380X:

05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Amethyst XT [Radeon R9 M295X Mac Edition] (rev f1)
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aad8</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>