<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 - Radeon Kernel Oops & Lockup when switching on DisplayPort attached monitor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90681">90681</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Radeon Kernel Oops & Lockup when switching on DisplayPort attached monitor
          </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>major
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>bradfirj@fstab.me
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=116079" name="attach_116079" title="journalctl output for crash">attachment 116079</a> <a href="attachment.cgi?id=116079&action=edit" title="journalctl output for crash">[details]</a></span>
journalctl output for crash

Switching my DisplayPort attached monitor on (or off and then on again) while
booted to multiuser target (no Xorg or Wayland) causes a kernel Oops, followed
by soft-lockups which render the system unusable.

Doing the same while at the full Graphical target causes gnome-shell to crash,
but it is possible to recover the system by logging in again.

The kernel error and IP are:
<span class="quote">>May 24 23:25:28 fedora-workstation.home kernel: BUG: unable to handle kernel NULL pointer dereference at 00000000000003b0
>May 24 23:25:28 fedora-workstation.home kernel: IP: [<ffffffffa0152055>] radeon_connector_edid+0x5/0x70 [radeon]</span >

Full journal from a reproduction of the bug will be attached, as will lspci
-nn.

I have isolated this using git bisect to the following commit (the patch for
which is attached to this bug).
This is a commit currently part of the linux-stable tree and lies between 4.0.2
and 4.0.3

<span class="quote">>016a255b7835ee7e49a3eba3c14ba0bc0221a4f8 is the first bad commit
>commit 016a255b7835ee7e49a3eba3c14ba0bc0221a4f8
>Author: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>
>Date:   Tue Apr 7 09:52:42 2015 -0400</span >
>
<span class="quote">>    drm/radeon: only mark audio as connected if the monitor supports it (v3)
>    
>    commit 0f55db36d49d45b80eff0c0a2a498766016f458b upstream.
>    
>    Otherwise the driver may try and send audio which may confuse the
>    monitor.
>    
>    v2: set pin to NULL if no audio
>    v3: avoid crash with analog encoders
>    
>    Signed-off-by: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>
>    Signed-off-by: Greg Kroah-Hartman <<a href="mailto:gregkh@linuxfoundation.org">gregkh@linuxfoundation.org</a>>></span >
>
<span class="quote">>:040000 040000 de0366a6790f5c91d175bcb89cb34956bbe72b26 >bbdb5734961f824558152c7c34a840c78bc3a9a9 M  drivers</span ></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>