Bug 24247 - R300 and KMS causes kernel crash on X init
Summary: R300 and KMS causes kernel crash on X init
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 22:54 UTC by Kristian
Modified: 2009-10-12 23:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Output of dmesg (32.68 KB, patch)
2009-09-30 22:55 UTC, Kristian
no flags Details | Splinter Review
Output of lspci -nnxx (5.81 KB, application/octet-stream)
2009-09-30 22:55 UTC, Kristian
no flags Details
Packages installed on the Ubuntu system (104.08 KB, application/octet-stream)
2009-09-30 22:56 UTC, Kristian
no flags Details
The Xorg log file (27.37 KB, text/x-log)
2009-09-30 22:56 UTC, Kristian
no flags Details

Description Kristian 2009-09-30 22:54:54 UTC
When trying to launch X with KMS enabled on a R300 I get a kernel crash. The same software versions works fine on another computer with KMS and RV770.
Comment 1 Kristian 2009-09-30 22:55:30 UTC
Created attachment 29968 [details] [review]
Output of dmesg
Comment 2 Kristian 2009-09-30 22:55:48 UTC
Created attachment 29969 [details]
Output of lspci -nnxx
Comment 3 Kristian 2009-09-30 22:56:09 UTC
Created attachment 29970 [details]
Packages installed on the Ubuntu system
Comment 4 Kristian 2009-09-30 22:56:35 UTC
Created attachment 29971 [details]
The Xorg log file
Comment 5 Kristian 2009-09-30 23:01:32 UTC
This laptop doesn't have it's flat panel attached. The only monitor is a lcd connected through the vga connector.
Comment 6 Michel Dänzer 2009-10-01 03:20:20 UTC
Looks like it misdetects the LVDS panel size as 0x0 and then crashes as a consequence of that.
Comment 7 Kristian 2009-10-01 03:24:53 UTC
(In reply to comment #6)
> Looks like it misdetects the LVDS panel size as 0x0 and then crashes as a
> consequence of that.
> 

Is there some simple way to work around this or is this something that needs to be fixed in the initialization code?
Comment 8 Alex Deucher 2009-10-02 16:47:27 UTC
The DDX has code to skip panels that are 0x0.  Needs to be ported to kms.
Comment 9 Kristian 2009-10-06 05:41:57 UTC
(In reply to comment #6)
> Looks like it misdetects the LVDS panel size as 0x0 and then crashes as a
> consequence of that.

I can now confirm this. I did reconnect the LVDS and now everything works as expected.
Comment 10 Alex Deucher 2009-10-12 07:05:47 UTC
Can you try again with drm-next?  Should be fixed in:
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=2ffb842948ba64b03986f4064140a74c1780c44b
Comment 11 Kristian 2009-10-12 23:10:25 UTC
Works perfectly. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.