Bug 16721 - ATI Mobility Radeon HD 5470 - Boot fails with KMS enabled
Summary: ATI Mobility Radeon HD 5470 - Boot fails with KMS enabled
Status: CLOSED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 blocking
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-21 12:20 UTC by Jure Repinc
Modified: 2011-06-24 10:19 UTC (History)
1 user (show)

See Also:
Kernel Version: Git
Subsystem:
Regression: No
Bisected commit-id:


Attachments
lspci (9.98 KB, text/plain)
2010-08-21 12:20 UTC, Jure Repinc
Details
config (61.71 KB, text/x-mpsub)
2010-08-21 12:22 UTC, Jure Repinc
Details
first-boot-screen (248.61 KB, image/jpeg)
2010-08-21 12:25 UTC, Jure Repinc
Details
second-boot-screen (247.83 KB, image/jpeg)
2010-08-21 12:28 UTC, Jure Repinc
Details
dmesg (69.11 KB, text/plain)
2010-08-26 17:47 UTC, Jure Repinc
Details

Description Jure Repinc 2010-08-21 12:20:51 UTC
Created attachment 27591 [details]
lspci

This is on eMachines E640G laptop. I compiled kernel from Git (at commit 36423a5ed5e4ea95ceedb68fad52965033e11639) and when I try to run with Radeon KMS enabled first kernel just stops booting, then after about a minute ro so I get some more output which looks like an oops. I'll attach the screenshots later. if I disable KMS the kernel boots fine.
Comment 1 Jure Repinc 2010-08-21 12:22:56 UTC
Created attachment 27611 [details]
config
Comment 2 Jure Repinc 2010-08-21 12:25:50 UTC
Created attachment 27621 [details]
first-boot-screen

This is where booting stops for the first time
Comment 3 Jure Repinc 2010-08-21 12:28:26 UTC
Created attachment 27631 [details]
second-boot-screen

This is where the boot stops for the second time after abou a minute.
Comment 4 Jure Repinc 2010-08-26 17:46:12 UTC
OK, I've updated the sources to commit d4348c678977c7093438bbbf2067c49396ae941b and this time the kernel does boot (although the one minute long pause is still there). I've checked dmesg and it looks like it can't find the firmware:

[    1.328311] [drm] Loading CEDAR Microcode
[    1.927991] ACPI: Battery Slot [BAT1] (battery present)
[   61.920928] r600_cp: Failed to load firmware "radeon/CEDAR_pfp.bin"
[   61.921022] [drm:evergreen_startup] *ERROR* Failed to load firmware!

But I checked and the fitmware is there:

# ls -l /lib/firmware/radeon/ | grep CEDAR
-rw-r--r-- 1 root root  5504 avg 26 19:30 CEDAR_me.bin
-rw-r--r-- 2 root root  4480 avg 26 19:30 CEDAR_pfp.bin
-rw-r--r-- 4 root root  3072 avg 26 19:30 CEDAR_rlc.bin
Comment 5 Jure Repinc 2010-08-26 17:47:35 UTC
Created attachment 28051 [details]
dmesg

This is the complete dmesg after booting to the end
Comment 6 Alex Deucher 2010-08-26 18:01:36 UTC
Make sure the firmware is included in your initrd if you are using one.
Comment 7 Jure Repinc 2010-08-26 18:13:16 UTC
I'm not using initrd. Should I be using it? On another laptop I also don't use initrd and it does load R300 Microcode.
Comment 8 Alex Deucher 2010-08-26 19:08:28 UTC
Is the radeon drm built in or built as a module?  If it's built in, you'll have to add the firmware to your kernel image IIRC.  If it's a module, make sure it's looking in the right place.
Comment 9 Jure Repinc 2010-08-26 19:30:08 UTC
Aaah now I know what was going on. Just found out this now
http://www.x.org/wiki/radeonBuildHowTo#TroubleshootingExtraFirmwareforR600.2BAC8-R700.2BAC8-Evergreen
So I added these configs and now it loads firmware/microcode just fine.

So I guess this bug should be closed now? Unless handling the case of not existing/found firmware should still be improved?
Comment 10 Jure Repinc 2011-06-24 10:17:49 UTC
I closed as invalid since the problem was on my side and with firmware all works finr for quite some time now
Comment 11 Jure Repinc 2011-06-24 10:19:27 UTC
Actually close

Note You need to log in before you can comment on or make changes to this bug.