<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Joseph,<br>
<br>
as a band aid you can try the attached patch. It should at least
fix the crash at hand and allow amdgpu to continue with the boot
process.<br>
<br>
Regards,<br>
Christian.<br>
<br>
Am 19.02.2018 um 14:13 schrieb Christian König:<br>
</div>
<blockquote type="cite"
cite="mid:5025ec18-0343-019c-29d4-43dee75c5113@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class="moz-cite-prefix">Hi Joseph,<br>
<br>
and here is the root cause of the problem:<br>
<blockquote type="cite">0b:00.0 VGA compatible controller:
Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX
470/480/570/580] (rev ef) (prog-if 00 [VGA controller])<br>
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device
0b31<br>
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV-
VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-<br>
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-<br>
Interrupt: pin A routed to IRQ 11<br>
Region 0: Memory at <ignored> (64-bit, prefetchable)
[disabled]<br>
Region 2: Memory at b0000000 (64-bit, prefetchable)
[disabled] [size=2M]<br>
</blockquote>
<br>
The BIOS is not able to assign resources to one of the VGA
adapters when there are more than eight installed.<br>
<br>
You could try with pci=realloc, but I doubt that there is much
we can do in the operating system when the BIOS messed things up
like that.<br>
<br>
What we should do is to prevent amdgpu from crashing so badly,
e.g. allow to cleanly continue with the working hardware even
when one of the devices doesn't work.<br>
<br>
<blockquote type="cite">when I load in amdgpu, everything froze,
so I don't have the log.</blockquote>
You can work around that using netconsole, see
Documentation/networking/netconsole.txt.<br>
<br>
Going to try to fix that by just using the screen shot you send
earlier, but it would be better if I can get a full log.<br>
<br>
Regards,<br>
Christian.<br>
<br>
Am 19.02.2018 um 12:55 schrieb Joseph Wang:<br>
</div>
<blockquote type="cite"
cite="mid:CAPoeEY8uEOt2PR5raz0Y10=xqJvxObh52UvLJQGsBMw-DhzC7A@mail.gmail.com">
<div dir="ltr">Here is the lspci without amdgpu loaded. when I
load in amdgpu, everything froze, so I don't have the log.<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
amd-gfx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org" moz-do-not-send="true">amd-gfx@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>