Subject : radeonfb lockup in .28-rc (bisected) Submitter : James Cloos <cloos@jhcloos.com> Date : 2008-10-28 0:00 References : http://marc.info/?l=linux-kernel&m=122515210200530&w=4 Handled-By : Benjamin Herrenschmidt <benh@kernel.crashing.org> This entry is being used for tracking a regression from 2.6.27. Please don't close it until the problem is fixed in the mainline.
Caused by: commit b1ee26bab14886350ba12a5c10cbc0696ac679bf Author: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: Wed Oct 15 22:03:46 2008 -0700 radeonfb: accelerate imageblit and other improvements Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: David S. Miller <davem@davemloft.net> Cc: Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
First-Bad-Commit : b1ee26bab14886350ba12a5c10cbc0696ac679bf
References : http://lkml.org/lkml/2008/11/10/12
The referenced patched helped here to eliminate the hang on boot ... but there seems to be another problem on shutdown (complete hang). I'll try to evaluate that later on today.
Ok, some more information. With the patched referenced from Rafael the original described problem vanishes, but terminating X while being on a fb-console will hang the system in the same way. Terminating X while the gpu is under X control works fine. Reverting b1ee26bab14886350ba12a5c10cbc0696ac679bf fixes the problem. So there seems to be another race .....
Patch : http://lkml.org/lkml/2008/11/10/12
Alexander, does switching from X to a VT and back causes any problems to happen?
Yes switching from X to VT and back works fine. I've excessive tried VT switching but forget to mention the result ;-)
just in case: X driver ist xf86-video-ati-6.9.0
Rats. Smells like an old X problem that I though fixed. When X is shutdown while not on the front console, it still goes bang the video chip. This is an X bug, I don't see a way to work around it in the kernel other than disabling acceleration completely again :-( I can try to have a go at fixing X though that won't fix existing distro
Fixed by: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c4c6fa9891f3d1bcaae4f39fb751d5302965b566