All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ?
@ 2012-04-20 13:06 bugzilla-daemon
  2012-04-20 13:28 ` [Bug 43138] " bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-20 13:06 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138

           Summary: Radeon HD5450 fails to load cedar firmware ?
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.3.2.
          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: bugtraq@hobbit.in-berlin.de
        Regression: No


lspci
03:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cedar
PRO [Radeon HD 5450]
03:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Cedar HDMI Audio
[Radeon HD 5400/6300 Series]

dmesg snippets
[drm] Initialized drm 1.1.0 20060810
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (CEDAR 0x1002:0x68F9 0x1043:0x0366).
[drm] register mmio base: 0xFDCC0000
[drm] register mmio size: 131072
ATOM BIOS: 68F9.12.16.0.2.AS03
radeon 0000:03:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M
used)
radeon 0000:03:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
[drm] Detected VRAM RAM=1024M, BAR=256M
[drm] RAM width 64bits DDR
[drm] radeon: 1024M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] Driver supports precise vblank timestamp query.
radeon 0000:03:00.0: irq 44 for MSI/MSI-X
radeon 0000:03:00.0: radeon: using MSI.
[drm] radeon: irq initialized.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] radeon: ib pool ready.
[drm] Loading CEDAR Microcode
r600_cp: Bogus length 4480 in firmware "radeon/CEDAR_me.bin"
r600_rlc: Bogus length 5504 in firmware "radeon/CEDAR_rlc.bin"
[drm:evergreen_startup] *ERROR* Failed to load firmware!
radeon 0000:03:00.0: disabling GPU acceleration

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
@ 2012-04-20 13:28 ` bugzilla-daemon
  2012-04-20 19:41 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-20 13:28 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138





--- Comment #1 from Michel Dänzer <michel@daenzer.net>  2012-04-20 13:28:55 ---
(In reply to comment #0)
> r600_cp: Bogus length 4480 in firmware "radeon/CEDAR_me.bin"
> r600_rlc: Bogus length 5504 in firmware "radeon/CEDAR_rlc.bin"

What does

 ls -l /lib/firmware/radeon/CEDAR_*

say?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
  2012-04-20 13:28 ` [Bug 43138] " bugzilla-daemon
@ 2012-04-20 19:41 ` bugzilla-daemon
  2012-04-20 19:46 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-20 19:41 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138


bugtraq@hobbit.in-berlin.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|All                         |i386




--- Comment #2 from bugtraq@hobbit.in-berlin.de  2012-04-20 19:41:40 ---
-rw-r--r-- 1 root root 5504 Jan 19 04:25 CEDAR_me.bin
-rw-r--r-- 1 root root 4480 Jan 19 04:25 CEDAR_pfp.bin
-rw-r--r-- 1 root root 3072 Jan 19 04:25 CEDAR_rlc.bin

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
  2012-04-20 13:28 ` [Bug 43138] " bugzilla-daemon
  2012-04-20 19:41 ` bugzilla-daemon
@ 2012-04-20 19:46 ` bugzilla-daemon
  2012-04-20 20:27 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-20 19:46 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138





--- Comment #3 from bugtraq@hobbit.in-berlin.de  2012-04-20 19:46:24 ---
already tried fetching from http://people.freedesktop.org/~agd5f/radeon_ucode/
directly as well as installing standard Debian distri kernel & firmware
package, same error, not sure though if the numbers in the error were absolute
identical
- was some time ago, 3D accel isn't _that_ important as long as everything else
works fine, now finally got around to writing a bugreport

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
                   ` (2 preceding siblings ...)
  2012-04-20 19:46 ` bugzilla-daemon
@ 2012-04-20 20:27 ` bugzilla-daemon
  2012-04-21  6:51 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-20 20:27 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138


Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com




--- Comment #4 from Alex Deucher <alexdeucher@gmail.com>  2012-04-20 20:27:34 ---
Sounds like there's a problem with your initrd or kernel if you built the ucode
into the kernel.  This is an issue on your end.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
                   ` (3 preceding siblings ...)
  2012-04-20 20:27 ` bugzilla-daemon
@ 2012-04-21  6:51 ` bugzilla-daemon
  2012-04-23  9:16 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-21  6:51 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138





--- Comment #5 from bugtraq@hobbit.in-berlin.de  2012-04-21 06:51:09 ---
considering the age of that code I share your suspicions, but why then does a
stock debian kernel & initrd show same behavior as my self-compiled (newer)
one?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
                   ` (4 preceding siblings ...)
  2012-04-21  6:51 ` bugzilla-daemon
@ 2012-04-23  9:16 ` bugzilla-daemon
  2012-04-23 22:25 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-23  9:16 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138





--- Comment #6 from Michel Dänzer <michel@daenzer.net>  2012-04-23 09:16:31 ---
(In reply to comment #2)
> -rw-r--r-- 1 root root 5504 Jan 19 04:25 CEDAR_me.bin
> -rw-r--r-- 1 root root 4480 Jan 19 04:25 CEDAR_pfp.bin
> -rw-r--r-- 1 root root 3072 Jan 19 04:25 CEDAR_rlc.bin

Looks like these all have the correct length. Are there files of the same names
somewhere else on your system that might get picked up instead? If not, it
looks like a bug in either the initrd generation or request_firmware().

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
                   ` (5 preceding siblings ...)
  2012-04-23  9:16 ` bugzilla-daemon
@ 2012-04-23 22:25 ` bugzilla-daemon
  2012-04-23 22:32 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-23 22:25 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138





--- Comment #7 from bugtraq@hobbit.in-berlin.de  2012-04-23 22:25:51 ---
"locate CEDAR_" shows only these 3 files, so there should be no other
duplicates with the same names on my filesystem...
as a stock Debian kernel/initrd is showing same behavior and my own
selfcompiled kernel does not use an initrd, the initrd related tools cannot be
the cause.
that leaves the pretty unlikely bug in the loader and/or some weird local
hardware problem - no idea how much different the cards in the cedar family
really are from each other?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
                   ` (6 preceding siblings ...)
  2012-04-23 22:25 ` bugzilla-daemon
@ 2012-04-23 22:32 ` bugzilla-daemon
  2012-04-24  8:24 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-23 22:32 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138


Jérôme Glisse <glisse@freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |glisse@freedesktop.org




--- Comment #8 from Jérôme Glisse <glisse@freedesktop.org>  2012-04-23 22:32:45 ---
Boot with "radeon.modeset=0 3"

as root:
rmmod radeon
modprobe radeon modeset=1

If it works it means debian initrd doesn't include the firmware. Your own
compiled kernel can't load the firmware because the radeon kernel module load
before your filesystem is accessible. ie you need to build the firmware inside
your kernel image.

There 99% chance that this issue is on your side. I tested cedar, lastest
kernel on a fedora and it doesn't have issue to load the firmware (firmware are
in the inirtd file)

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
                   ` (7 preceding siblings ...)
  2012-04-23 22:32 ` bugzilla-daemon
@ 2012-04-24  8:24 ` bugzilla-daemon
  2012-04-24 10:17 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-24  8:24 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138





--- Comment #9 from Michel Dänzer <michel@daenzer.net>  2012-04-24 08:24:23 ---
(In reply to comment #7)
> that leaves the pretty unlikely bug in the loader and/or some weird local
> hardware problem - no idea how much different the cards in the cedar family
> really are from each other?

It's got nothing to do with the hardware. request_firmware() reports sizes of
the files in question which do not match the sizes of the files on your system
(which match the expected sizes). So something goes wrong between your
filesystem and request_firmware(). The most likely explanation seeming a
problem when copying the files into the initrd, or maybe
/lib/udev/firmware.agent in the initrd doing something wrong or something like
that.

What does

 gunzip -c /boot/initrd.img-$(uname -r) | cpio -tv | grep CEDAR

say?

(In reply to comment #8)
> Boot with "radeon.modeset=0 3"

The '3' won't have any visible effect on a Debian system, you'd need 'single'
for single user mode.

> If it works it means debian initrd doesn't include the firmware.

It does include something (otherwise the failure would be different), but
possibly not the correct files.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
                   ` (8 preceding siblings ...)
  2012-04-24  8:24 ` bugzilla-daemon
@ 2012-04-24 10:17 ` bugzilla-daemon
  2012-04-24 10:18 ` bugzilla-daemon
  2012-04-24 13:42 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-24 10:17 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138


bugtraq@hobbit.in-berlin.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |CODE_FIX




--- Comment #10 from bugtraq@hobbit.in-berlin.de  2012-04-24 10:17:27 ---
stupid me should've checked this beforehand,
very sorry for having wasted your time & thanks for your patience...

...nope, as Debian considers that particular firmware to be "nonfree" it is not
included in the initrd at all, so it boils down to a somewhat misleading "bogus
length" instead of a more appropriate "file not found" error for all cases
above.

issue solved.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
                   ` (9 preceding siblings ...)
  2012-04-24 10:17 ` bugzilla-daemon
@ 2012-04-24 10:18 ` bugzilla-daemon
  2012-04-24 13:42 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-24 10:18 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138


bugtraq@hobbit.in-berlin.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|CODE_FIX                    |INVALID




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 43138] Radeon HD5450 fails to load cedar firmware ?
  2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
                   ` (10 preceding siblings ...)
  2012-04-24 10:18 ` bugzilla-daemon
@ 2012-04-24 13:42 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-24 13:42 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=43138





--- Comment #11 from Michel Dänzer <michel@daenzer.net>  2012-04-24 13:42:41 ---
(In reply to comment #10)
> ...nope, as Debian considers that particular firmware to be "nonfree" it is not
> included in the initrd at all,

That the firmware is in the firmware-linux-nonfree package merely means it's
not installed on the system by default, it doesn't directly prevent the
firmware from getting included in the initrd.

> so it boils down to a somewhat misleading "bogus length" instead of a more
> appropriate "file not found" error for all cases above.

The lengths in the original error messages are the amounts of firmware data
written by the /lib/udev/firmware.agent helper. If the firmware was missing
altogether, how could the helper guess their sizes?

Anyway, glad it's working for you now.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-04-24 13:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-20 13:06 [Bug 43138] New: Radeon HD5450 fails to load cedar firmware ? bugzilla-daemon
2012-04-20 13:28 ` [Bug 43138] " bugzilla-daemon
2012-04-20 19:41 ` bugzilla-daemon
2012-04-20 19:46 ` bugzilla-daemon
2012-04-20 20:27 ` bugzilla-daemon
2012-04-21  6:51 ` bugzilla-daemon
2012-04-23  9:16 ` bugzilla-daemon
2012-04-23 22:25 ` bugzilla-daemon
2012-04-23 22:32 ` bugzilla-daemon
2012-04-24  8:24 ` bugzilla-daemon
2012-04-24 10:17 ` bugzilla-daemon
2012-04-24 10:18 ` bugzilla-daemon
2012-04-24 13:42 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.