Skip to contentSkip to conversation

New: 2.6.35 regression bisected : System hang when starting X with VGA/DVI monitor connected.

Bug 16581 [email protected] 1 participant 6 messages Aug 13, 2010 – Aug 13, 2012

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=16581

Summary: 2.6.35 regression bisected : System hang when starting
X with VGA/DVI monitor connected.
Product: Drivers
Version: 2.5
Kernel Version: 2.6.35
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Regression: Yes

Created an attachment (id=27432)
--> (https://bugzilla.kernel.org/attachment.cgi?id=27432)
kernel .config file

After upgrading from 2.6.34 to 2.6.35.1 on my laptop, I'm seeing a hang and blank screen when X is started if a VGA or DVI monitor is connected to the docking station before boot. If I boot without the VGA or DVI monitor connected, and hotplug them after X is started, all is fine. Interestingly, there is no problem when both the VGA and DVI monitors are connected. Console on radeondrmfb works all the time.

Attached you can find the kernel .config, dmesg with and without the panel attached on boot and the Xorg log on success and failure.

I've bisected the problem to the following change :

ce8f53709bf440100cb9d31b1303291551cf517f is the first bad commit commit ce8f53709bf440100cb9d31b1303291551cf517f

Author: Alex Deucher <[email protected]>
Date:   Fri May 7 15:10:16 2010 -0400

drm/radeon/kms/pm: rework power management

- Separate dynpm and profile based power management methods. You can
select the pm method
by echoing the selected method ("dynpm" or "profile") to power_method in
sysfs.
- Expose basic 4 profile in profile method
"default" - default clocks
"auto" - select between low and high based on ac/dc state "low" - DC, low power mode
"high" - AC, performance mode
The current base profile is "default", but it should switched to "auto"
once we've tested
on more systems. Switching the state is a matter of echoing the
requested profile to
power_profile in sysfs. The lowest power states are selected
automatically when dpms turns
the monitors off in all states but default.
- Remove dynamic fence-based reclocking for the moment. We can revisit
this later once we
have basic pm in.
- Move pm init/fini to modesetting path. pm is tightly coupled with
display state. Make sure
display side is initialized before pm.
- Add pm suspend/resume functions to make sure pm state is properly
reinitialized on resume.
- Remove dynpm module option. It's now selectable via sysfs.

:040000 040000 fa3acba12b9886453c2de619577ae633abfc97bc
faf940f2c2791f1382ed1abbfa54e22df7e1c936 M drivers

Signature · 11 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.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
--
#1 lore raw

[Bug 16581] 2.6.35 regression bisected : System hang when starting X with VGA/DVI monitor connected.

https://bugzilla.kernel.org/show_bug.cgi?id=16581

--- Comment #1 from Roel Teuwen <[email protected]> 2010-08-13 14:20:37 --- Created an attachment (id=27433)
--> (https://bugzilla.kernel.org/attachment.cgi?id=27433)
Xorg log of a working session

Signature · 11 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.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
--
#2 lore raw

[Bug 16581] 2.6.35 regression bisected : System hang when starting X with VGA/DVI monitor connected.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=16581

--- Comment #2 from Roel Teuwen <[email protected]> 2010-08-13 14:21:37 --- Created an attachment (id=27434)
--> (https://bugzilla.kernel.org/attachment.cgi?id=27434)
Xorg log of a hanging session

Signature · 11 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.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
--
#3 lore raw

[Bug 16581] 2.6.35 regression bisected : System hang when starting X with VGA/DVI monitor connected.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=16581

--- Comment #3 from Alex Deucher <[email protected]> 2010-08-13 14:45:18 --- Created an attachment (id=27435)
--> (https://bugzilla.kernel.org/attachment.cgi?id=27435)
possible fix

Does this patch fix the issue?

Signature · 11 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.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
--
author Tested-by Roel Teuwen
#4 lore raw

[Bug 16581] 2.6.35 regression bisected : System hang when starting X with VGA/DVI monitor connected.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=16581

--- Comment #4 from Roel Teuwen <[email protected]> 2010-08-16 08:36:42 --- This patch fixed the issue, thank you.

Signature · 11 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.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
--
#5 lore raw

[Bug 16581] 2.6.35 regression bisected : System hang when starting X with VGA/DVI monitor connected.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=16581

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |CODE_FIX
Signature · 3 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.