New: Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
https://bugs.freedesktop.org/show_bug.cgi?id=66942
Priority: medium
Bug ID: 66942
Assignee: [email protected]
Summary: Cayman HD 6950 hangs at start when loading kernel
3.11.0-rc1 or drm-next
Severity: major
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: NEW
Version: XOrg CVS
Component: DRM/Radeon
Product: DRI
I just compiled and tested kernel 3.11.0-rc1. It hangs and do nothing when initializing (last thing displayed is "Loading initial ramdisk").
Setting radeon.dpm=1 or 0 gives the same result.
Since I know I'm also experiencing this hang with last week drm-next branch, I'll try to bisect and see where it leads us.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #1 from Alexandre Demers <[email protected]> --- As a side note, it could be related to bug 66940
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #2 from Alex Deucher <[email protected]> --- probably a duplicate of bug 66551.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #3 from Alexandre Demers <[email protected]> --- (In reply to comment #2)
Quoted 1 line
probably a duplicate of bug 66551.
Probably not, the bug happens prior to the commit identified in bug 66551. I'm bisecting as we are talking.
I also noticed a small glitch that was not in kernel 3.9 but is present in 3.10 that I'll report in another bug.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[email protected]
Reviewed-by Jerome Glisse[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #4 from Alexandre Demers <[email protected]> --- Here is the first bad commit, which is pretty large since it doesn't point what was changed before. It could be about any commit before that that touches Cayman.
69e0b57a91adca2e3eb56ed4db39ab90f3ae1043 is the first bad commit commit 69e0b57a91adca2e3eb56ed4db39ab90f3ae1043
Author: Alex Deucher <[email protected]> Date: Fri Apr 12 16:42:42 2013 -0400
drm/radeon/kms: add dpm support for cayman (v5)
This adds dpm support for cayman asics. This includes:
- clockgating
- dynamic engine clock scaling
- dynamic memory clock scaling
- dynamic voltage scaling
- dynamic pcie gen1/gen2 switching (requires additional acpi support)
- power containment
- shader power scaling
Set radeon.dpm=1 to enable.
v2: fold in tdp fix
v3: fix indentation
v4: fix 64 bit div
v5: attempt to fix state enable
:040000 040000 aa90c4d442d7640629695b1dc48e0ef1b3958e20fc06e4965a658e0600ab5b250ae135e9e8225ca4 M drivers
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #5 from Alex Deucher <[email protected]> ---
Sounds like you may be waiting for the firmware loader to timeout. Make sure you have the new cayman smc ucode installed:
http://people.freedesktop.org/~agd5f/radeon_ucode/CAYMAN_smc.bin
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #6 from Alexandre Demers <[email protected]> --- (In reply to comment #5)
Quoted 3 lines
Sounds like you may be waiting for the firmware loader to timeout. Make sure you have the new cayman smc ucode installed:
http://people.freedesktop.org/~agd5f/radeon_ucode/CAYMAN_smc.bin
Yes, it was missing. I'll test kernel 3.11-rc1 with it and with bug 66551's patch.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #7 from Alexandre Demers <[email protected]> --- I may be doing something wrong, but even with the firmware in the same folder as the others (/usr/lib/firmware/radeon) and 66551's patch, it still hangs at the same place.
Here is the content of that folder. /usr/lib/firmware/radeon$ ls -l CAYMAN* -rw-r--r-- 1 root root 24148 May 29 20:22 CAYMAN_mc.bin
-rw-r--r-- 1 root root 8704 May 29 20:22 CAYMAN_me.bin -rw-r--r-- 1 root root 8704 May 29 20:22 CAYMAN_pfp.bin -rw-r--r-- 1 root root 4096 May 29 20:22 CAYMAN_rlc.bin
-rw-r--r-- 1 root root 31212 Jul 16 21:10 CAYMAN_smc.bin
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #8 from Michel Dänzer <[email protected]> --- Did you re-generate the initrd after installing the missing firmware?
If the problem is the missing firmware, it should continue booting after three minutes or so. Have you waited that long?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #9 from Alexandre Demers <[email protected]> --- (In reply to comment #8)
Quoted 4 lines
Did you re-generate the initrd after installing the missing firmware?
If the problem is the missing firmware, it should continue booting after three minutes or so. Have you waited that long?
Yes. And just to be sure, I rebuilt the kernel tonight and reinstalled it (with a new generated initramfs). I also decompressed the initramfs file and had a look if the firmware had been packaged. There it was.
Also, it never timed out, it sat there for ever (I took time to have dinner).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
Alexandre Demers <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=66963
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #10 from Alexandre Demers <[email protected]> --- Tested with today's kernel from Linus' git. Still the same. I built the radeon driver in the kernel instead of building it as a module. No change.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #11 from Alex Deucher <[email protected]> ---
Does it boot correctly if you build radeon as a module, then disable radeon (add radeon.modeset=0 to your kernel command line in grub) and boot to a non-X runlevel, then load radeon manually?
modprobe -r radeon
modprobe radeon modeset=1
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #12 from Alexandre Demers <[email protected]> --- (In reply to comment #11)
Quoted 6 lines
Does it boot correctly if you build radeon as a module, then disable radeon (add radeon.modeset=0 to your kernel command line in grub) and boot to a non-X runlevel, then load radeon manually?
modprobe -r radeon
modprobe radeon modeset=1
No, sadly, it still hangs at the same place. Problem is, I can't tell if it hangs when loading the initramfs or when it tries to initialize the display beyond that...
Any other suggestion? By the way, I built an 3.11.0-rc2 kernel this morning with as few drivers as possible for my system, just in case, but without any luck.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
Harald Judt <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #13 from Harald Judt <[email protected]> --- Same/similar problem here, with firmware built into the kernel (vanilla 3.11.0-rc2). With nomodeset the system boots, without it it doesn't.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #14 from Harald Judt <[email protected]> ---
Please ignore my post, it was a kernel configuration problem. Got confused by the many tests and used a wrong config... DPM works fine now, but radeon ring 5 problem with GPU stall after resuming from hibernation still exists in 3.11-rc2. Maybe some patches haven't made it into git yet, so I'll look for them.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #15 from Alexandre Demers <[email protected]> --- (In reply to comment #14)
Quoted 5 lines
Please ignore my post, it was a kernel configuration problem. Got confused by the many tests and used a wrong config... DPM works fine now, but radeon ring 5 problem with GPU stall after resuming from hibernation still exists in 3.11-rc2. Maybe some patches haven't made it into git yet, so I'll look for them.
What was the error in your kernel config?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #16 from Harald Judt <[email protected]> ---
Sorry, I think I have to disappoint you, I don't think it will help with your problem; I got the wrong config without the CAYMAN_smc.bin, and it hang for a minute or so. After adding it, all worked fine (except for the issue with hibernate/resume).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #17 from Alexandre Demers <[email protected]> --- Alex, is there a chance for me to reverse some commits prior to 69e0b57 to find which one or which feature is hanging my computer? Any approach I should try?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #18 from Alex Deucher <[email protected]> --- (In reply to comment #17)
Quoted 3 lines
Alex, is there a chance for me to reverse some commits prior to 69e0b57 to find which one or which feature is hanging my computer? Any approach I should try?
I'm not really sure what would have broken your system. I also don't really see how 69e0b57 could have broken anything since nothing changes with that as long as dpm is disabled. Do you still have the issue if you reset your tree to the commit prior to 69e0b57? Do you still get hangs if you disable radeon (e.g., add radeon.modeset=0 to your kernel command line in grub)?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #19 from Alex Deucher <[email protected]> --- Does booting a recent 3.11rc kernel with radeon.aspm=0 help?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #20 from Alexandre Demers <[email protected]> --- (In reply to comment #19)
Quoted 1 line
Does booting a recent 3.11rc kernel with radeon.aspm=0 help?
No, still hangs at the same point.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
--- Comment #21 from Alexandre Demers <[email protected]> --- (In reply to comment #18)
Quoted 10 lines
(In reply to comment #17)
Quoted 3 lines
Alex, is there a chance for me to reverse some commits prior to 69e0b57 to find which one or which feature is hanging my computer? Any approach I should try?
I'm not really sure what would have broken your system. I also don't really see how 69e0b57 could have broken anything since nothing changes with that as long as dpm is disabled. Do you still have the issue if you reset your tree to the commit prior to 69e0b57? Do you still get hangs if you disable radeon (e.g., add radeon.modeset=0 to your kernel command line in grub)?
I'll have to test when I'll get home, but I rebuilt a rc3 yesterday night and I made sure to make it clean. I'll see if this helps. I'll also go back just prior to 69e0b57 if it doesn't help. Finally, I'll play with the init and disable some options just in case. Who knows what might help.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66942
Alexandre Demers <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTABUG--- Comment #22 from Alexandre Demers <[email protected]> --- (In reply to comment #18)
Quoted 10 lines
(In reply to comment #17)
Quoted 3 lines
Alex, is there a chance for me to reverse some commits prior to 69e0b57 to find which one or which feature is hanging my computer? Any approach I should try?
I'm not really sure what would have broken your system. I also don't really see how 69e0b57 could have broken anything since nothing changes with that as long as dpm is disabled. Do you still have the issue if you reset your tree to the commit prior to 69e0b57? Do you still get hangs if you disable radeon (e.g., add radeon.modeset=0 to your kernel command line in grub)?
Good new, if I can say. I cleaned my build tree, updated my packages (one was about gcc), redownloaded the firmware and recompiled 69e0b57: it now boots with and without radeon.dpm=1. So, I'm closing this bug. One of those things must have been the culprit.
I just have to test with rc3 now and hope for the best.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel