https://bugzilla.kernel.org/show_bug.cgi?id=58731
Summary: radeon_uvd: Can't load firmware "radeon/RV710_uvd.bin" Product: Drivers Version: 2.5 Kernel Version: 3.10.0-rc2 Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) AssignedTo: drivers_video-dri@kernel-bugs.osdl.org ReportedBy: smf.linux@ntlworld.com Regression: No
Created an attachment (id=102361) --> (https://bugzilla.kernel.org/attachment.cgi?id=102361) dmesg output and other supporting information
[AMD/ATI] RV710 [Radeon HD 4350/4550] on M5A97 PRO and AMD Phenom(tm) II X6 1100T Processor (16Gbyte RAM) fails to load RV710_uvd.bin at boot. I have found that "request_firmware" call is returning -2 (ENOENT) though the correct file is available in /lib/firmware/radeon. On further investigation this appears to stem from "assign_firmware_buf" not having a buffer available (buf->size=0). I have attached an instrumented dmesg (lines tagged with SMF), lspci and /lib/firmware/radion listings for information. I am assuming that this video card should support the UVD functionality. Please advise.
regards
Stuart Foster
https://bugzilla.kernel.org/show_bug.cgi?id=58731
Christian König christian.koenig@amd.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |christian.koenig@amd.com
--- Comment #1 from Christian König christian.koenig@amd.com 2013-05-24 08:05:10 --- This isn't a bug, but a configuration error.
You compile the radeon module directly into the kernel, but don't include the RV710_uvd.bin firmware into your kernel image. See CONFIG_EXTRA_FIRMWARE in your kernel configuration for details.
Regards, Christian.
https://bugzilla.kernel.org/show_bug.cgi?id=58731
Stuart Foster smf.linux@ntlworld.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #2 from Stuart Foster smf.linux@ntlworld.com 2013-05-24 09:12:01 --- (In reply to comment #1)
This isn't a bug, but a configuration error.
You compile the radeon module directly into the kernel, but don't include the RV710_uvd.bin firmware into your kernel image. See CONFIG_EXTRA_FIRMWARE in your kernel configuration for details.
Regards, Christian.
Christian,
Thanks for the info, that has got me passed the firmware loading stage, I am still a little confused has to the criterion for including firmware in the kernel image, for example in this case radeon/R700_rlc.bin and radeon/RV710_uvd.bin seem to be a "must include" where as radeon/RV710_pfp.bin and radeon/RV710_me.bin seem to be happy loaded from the file system at boot time. Obviously early in the boot sequence there are less resources to perform things like file loading but to me it seems some what arbitrary, the documentation suggest to me that within certain constraints it is a developers choice. What is your view ?
Thanks
Stuart Foster
https://bugzilla.kernel.org/show_bug.cgi?id=58731
--- Comment #3 from Christian König christian.koenig@amd.com 2013-05-24 09:31:53 --- No idea why your kernel ends up like it does, but the firmware isn't loaded from the harddisk.
The RV710_me.bin and RV710_pfp.bin are definitely inside your kernel image, take a look at your dmesg the disk is initialized why after the radeon module.
Looks like your distribution does something to get the RV710_me.bin and RV710_pfp.bin into the kernel, otherwise I can't explain what happens here.
Christian.
https://bugzilla.kernel.org/show_bug.cgi?id=58731
--- Comment #4 from Stuart Foster smf.linux@ntlworld.com 2013-05-24 09:43:18 --- On 05/24/13 10:31, bugzilla-daemon@bugzilla.kernel.org wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=58731
--- Comment #3 from Christian König christian.koenig@amd.com 2013-05-24 09:31:53 --- No idea why your kernel ends up like it does, but the firmware isn't loaded from the harddisk.
The RV710_me.bin and RV710_pfp.bin are definitely inside your kernel image, take a look at your dmesg the disk is initialized why after the radeon module.
Looks like your distribution does something to get the RV710_me.bin and RV710_pfp.bin into the kernel, otherwise I can't explain what happens here.
Christian.
Christian,
Ok its a mystery, I will dig deeper later, there are more interesting things to look at in the mean time.
thanks again.
Stuart Foster
https://bugzilla.kernel.org/show_bug.cgi?id=58731
Adam J. Richter adam@yggdrasil.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adam@yggdrasil.com
--- Comment #5 from Adam J. Richter adam@yggdrasil.com --- Please try remaking your initial ramdisk.
dri-devel@lists.freedesktop.org