Fixing Direct firmware load for amdgpu/polaris12_mc.bin failed with error -2

Michel Dänzer michel at daenzer.net
Mon Jul 24 01:02:32 UTC 2017


On 22/07/17 07:55 AM, Stuart Longland wrote:
> On 22/07/17 03:18, Deucher, Alexander wrote:
>>> I can confirm that /lib/firmware/amdgpu/polaris12_mc.bin exists.  So I
>>> have no idea why I am getting -ENOENT (aka error -2).  If the file isn't
>>> to go in /lib/firmware, then where do I put it?
>> You need to make sure the firmware is also included in your initrd if you are using one.
> 
> Yeah, I don't use an initrd: I find it's too much of a pain to maintain
> one (had that situation years ago with a machine that needed one for
> software/BIOS RAID), so I ensure the drivers needed for mounting / are
> baked into the kernel.
> 
> I understand why distributions use them though: they want to make a
> kernel that works for possibly thousands of (incompatible) different
> configurations.  I just need to make a kernel for my machine, so don't
> need the complexity.
> 
> I should have mentioned that I wasn't using an initrd, my apologies for
> leaving that out. :-)

If you compile the amdgpu driver into the kernel as well (not
recommended), you need to make sure all firmware files it needs for your
GPU(s) are included in the kernel as well.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list