New: Radeon KMS does not start after merge of the new PM-Code
https://bugzilla.kernel.org/show_bug.cgi?id=16104
Summary: Radeon KMS does not start after merge of the new
PM-Code
Product: Drivers
Version: 2.5
Kernel Version: 2.6.35-rc1
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Video(DRI - non Intel)
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes
Created an attachment (id=26611)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26611)
gitbisectresult
Using kernels after 2.6.34 with Radeon KMS does not work. Whenever the radeon modeule becomes active the screen goes black with vertical dottet lines. Disabling modeset lets the kernel start. KMS worked with the old code okay on this machine. Its an latop from Fujitsu-Siemens with an x700 Mobility PCIE. I tried an bisect run, bisect log said that ce8a3eb20c4cb7d9e0c33e7560070688cd9066fc is the first bad commit. I tried to revert it ontop of 2.6.35-rc1, the vertical dotted lines disappeared, however system hangs forever with an black screen.
I attach bisect-log. If more Information is needed please tell me so.
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #1 from Jan Kreuzer <[email protected]> 2010-06-02 07:48:08 --- Created an attachment (id=26612)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26612)
git bisect log
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
Jérôme Glisse <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Jérôme Glisse <[email protected]> 2010-06-02 08:19:21 --- Please attach full kernel log with 2.6.34, if you can't boot because of KMS boot with: radeon.modeset=0 3
Then log as root and do (through ssh would be easier):
rmmod radeon
modprobe radeon modeset=1
Then save the kernel log (/var/log/messages usually) and attach it here
Signature · 10 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #3 from Jan Kreuzer <[email protected]> 2010-06-02 11:59:57 --- Which kernel do you mean the working 2.6.34 or the non working 2.6.35-rc1 ?
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #4 from Jérôme Glisse <[email protected]> 2010-06-02 12:40:51 --- non working 2.6.35 and also a working log with 2.6.34
Signature · 10 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #5 from Jan Kreuzer <[email protected]> 2010-06-02 14:13:44 --- Created an attachment (id=26615)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26615)
/Var/log/messages from working kernel (2.6.34-rc7)
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #6 from Jan Kreuzer <[email protected]> 2010-06-02 14:16:57 --- Created an attachment (id=26616)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26616)
/Var/log/messages from non-working kernel (2.6.35-rc1)
I think the error is unrelated to the problem, as airlieds drm-radeno-next tree doesnt show the bug in native_sched_clock but booting with modeset also does not work. I will also attach messages from airlieds 2.6.34-tree.
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #7 from Jan Kreuzer <[email protected]> 2010-06-02 14:17:45 --- Created an attachment (id=26617)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26617)
/Var/log/messages from non-working kernel (2.6.34-drm-radeon-next)
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #8 from Alex Deucher <[email protected]> 2010-06-02 15:02:44 --- Is it just LVDS? Does an external monitor work?
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #9 from Jan Kreuzer <[email protected]> 2010-06-03 07:39:25 --- New code does not work when plugging in an flatscreen per dvi. Still boot hangs with dotted white vertical lines on lvds, whereas dvi says no cable connected.
However i noticed a new problem when plugging in dvi with 2.6.34. When i plug dvi at running time it works as espected (aka dynamically configures monitor), however when i plug dvi in at boot time the lvds becomes all white as soon X starts and only dvi works. I will open a new bugreport for this.
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #10 from Jérôme Glisse <[email protected]> 2010-06-03 11:09:06 --- Please boot with drm.debug=15 and attach kernel log. Also please boot with no external monitor connected. So we can fix bug one at a time. (need log with a working and non working kernel)
Signature · 13 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #11 from Jure Repinc <[email protected]> 2010-06-03 15:12:36 --- I bisected to the same commit on my HP Compaq nx6325 laptop with integrated RS482. 2.6.34 was fine, 2.6.35-rc1 freezes. This is with only the LCDS, no external monitor. I'll attach logs when I get back home, if still needed.
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #12 from Alex Deucher <[email protected]> 2010-06-03 15:42:01 --- Does reverting ce8a3eb20c4cb7d9e0c33e7560070688cd9066fc actually fix the problem? Booting with drm.debug=15 should work as well since that would re-enable the debug code that commit turned off.
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #13 from Jan Kreuzer <[email protected]> 2010-06-04 06:51:24 --- Created an attachment (id=26646)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26646)
dmesg with drm.debug=15 from working kernel
Attached is log from working kernel. I am currently unable to get log from not working kernel, as soon as i modprobe radeon with modeset the system hangs, magic-sysrq does not work.
Booting with drm.debug=15 does not prevent the hang, i try to revert the commit an report back.
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #14 from Jan Kreuzer <[email protected]> 2010-06-04 09:24:56 --- Reverting the commit against 2.6.35-rc1 and booting with drm.debug=15 worked (eg no crash, but white screen, which could be solved by vbetool dpms off / on), however after i rebooted and removed the drm.debug option it crashed again. Also all later tries (with and without drm.debug) crashed. A timing problem ?
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #15 from Alex Deucher <[email protected]> 2010-06-04 15:49:38 --- Does applying the following two patches help?
http://people.freedesktop.org/~agd5f/0001-drm-radeon-kms-add-support-for-internal-thermal-sens.patch
http://people.freedesktop.org/~agd5f/0001-drm-radeon-kms-pm-Misc-fixes.patch
The first one isn't relevant to your hw, but the second one won't apply cleanly without it.
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #16 from Jure Repinc <[email protected]> 2010-06-04 20:14:20 --- Oh damn, ignore my previous comment #11, as it looks like I was way to fast looking at the commit ID. For my freeze the actuall one is ce8f53709bf440100cb9d31b1303291551cf517f which is probably another bug, which I will report separately. Sorry for all the noise.
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #17 from Alex Deucher <[email protected]> 2010-06-04 20:30:47 --- (In reply to comment #16)
Quoted 4 lines
Oh damn, ignore my previous comment #11, as it looks like I was way to fast looking at the commit ID. For my freeze the actuall one is
ce8f53709bf440100cb9d31b1303291551cf517fwhich is probably another bug, which I will report separately. Sorry for all the noise.
The patches in comment #15 are relevant for that commit, although you'd probably want to open a new bug anyway.
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #18 from Jan Kreuzer <[email protected]> 2010-06-05 06:01:08 --- The patches work, system no longer crashes. Thank you. However now i get an all white-screen as soon as kms gets activated (same white screen as described in comment #9), i can work around it with an vbetool dpms off / on cycle. Should i open a new bugreport for this, and if so which logs do you need for the new problem ?
Thank you for your time.
Jan Kreuzer
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
--- Comment #19 from Jan Kreuzer <[email protected]> 2010-06-05 06:34:13 --- Although startup now works i get screenflickering when runing, also the system sometimes hangs when using 3D applications (compiz, kwin-compositing, openarena, padman), this worked without problems with the old pm-code.
Thank you
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
Rafael J. Wysocki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected], | |[email protected] Blocks| |16055
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
Rafael J. Wysocki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |CODE_FIX--- Comment #20 from Rafael J. Wysocki <[email protected]> 2010-06-09 09:04:07 --- Fixed by commit f8ed8b4c5d30b5214f185997131b06e35f6f7113 .
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --
[Bug 16104] Radeon KMS does not start after merge of the new PM-Code
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16104
Rafael J. Wysocki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --