Bug 14784 - G35 locks up OS on startx without i915 module loaded
Summary: G35 locks up OS on startx without i915 module loaded
Status: RESOLVED DUPLICATE of bug 14591
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.3 (2007.09)
Hardware: Other All
: medium normal
Assignee: Gordon Jin
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2008-03-02 12:02 UTC by Chad Curvin
Modified: 2008-03-05 13:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Working startx log (2.70 KB, application/octet-stream)
2008-03-02 12:04 UTC, Chad Curvin
no flags Details
Working Xorg log (37.19 KB, text/plain)
2008-03-02 12:05 UTC, Chad Curvin
no flags Details

Description Chad Curvin 2008-03-02 12:02:54 UTC
When I launch startx from the command line (as root) if the i915 kernel drm module isn't loaded the machine "hard" locks and the only option is either press the reset button or hold down power.  Desirable results would be to automatically load module.  Preferred results would be to simply fall back to console.  

Board:
Asus P5E-VM HDMI

Using 15-pin D-Sub (VGA) connector

startx and xorg log will be attached.
Comment 1 Chad Curvin 2008-03-02 12:04:16 UTC
Created attachment 14772 [details]
Working startx log

Straight capture of output from startx on a successful start (a failed start produces no file)
Comment 2 Chad Curvin 2008-03-02 12:05:39 UTC
Created attachment 14773 [details]
Working Xorg log

From a working Xorg log, again no file is built on freezing startx.
Comment 3 Chad Curvin 2008-03-02 12:14:04 UTC
Running:

Gentoo-2.6.24 (32bit)
Xorg-Server 1.4.0.90-r3
Intel Version 2.2.1
Mesa 7.0.2
DRM 1.1.0 (20060810) (from dmesg)

Hardware:
Intel e8400
4GB RAM
Onboard Intel G35 Video


-Chad
Comment 4 Chad Curvin 2008-03-02 12:30:00 UTC
In trying to run ABET tests (http://www.intellinuxgraphics.org/testing.html) the startx (If I don't run startx first) locks up the system.  I'm happy to enable debug and post the output, I'm just not sure which debug should be turned on :)

-Chad
Comment 5 Chad Curvin 2008-03-02 12:32:00 UTC
(In reply to comment #4)
> In trying to run ABET tests (http://www.intellinuxgraphics.org/testing.html)
> the startx (If I don't run startx first) locks up the system.  I'm happy to
> enable debug and post the output, I'm just not sure which debug should be
> turned on :)
> 
> -Chad
> 

Heh heh, that's supposed to be ABAT. ;)
And just to clarify, that is with i915 loaded.  Further investigation appears to show that it only fails on subsequent startx launches (the first one is usually successful).
Comment 6 Stefan Dirsch 2008-03-02 14:06:30 UTC
This sounds like Bug #14591.
Comment 7 Chad Curvin 2008-03-02 20:30:44 UTC
(In reply to comment #6)
> This sounds like Bug #14591.
> 

Indeed it somewhat does.  However, I'm now having a somewhat more consistent way of starting X that makes it even stranger.  If I launch:
startx &> file.log

Then I can get it start (once).  Otherwise, so far, any standard "startx" hangs the system, and subsequent starts with or without the redirect hangs the system. 

-Chad
Comment 8 Chad Curvin 2008-03-02 21:03:32 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > This sounds like Bug #14591.
> > 
> 
> Indeed it somewhat does.  However, I'm now having a somewhat more consistent
> way of starting X that makes it even stranger.  If I launch:
> startx &> file.log
> 
> Then I can get it start (once).  Otherwise, so far, any standard "startx" hangs
> the system, and subsequent starts with or without the redirect hangs the
> system. 
> 
> -Chad
> 

Scratch that.  It isn't consistent.  I was just able to launch X with "startx" without any redirects.  It was the first attempt after the initial boot, that seems to be the only consistency; once only, if at all.

-Chad
Comment 9 Chad Curvin 2008-03-02 21:44:21 UTC
Another update, this doesn't seem to happen (ever, regardless of how many times I kill and restart X) when I roll back to 2.2.0.90 (using the Gentoo ebuild).

-Chad
Comment 10 Stefan Dirsch 2008-03-03 00:39:04 UTC
I bet this commit fixes the issue.

commit 02a3b80ee8341968dbce5b7cb871b187db5ff805
Author: Zhenyu Wang <zhenyu.z.wang@intel.com>
Date:   Fri Feb 29 11:13:34 2008 +0800

    Bug 14591: comment out MI_DISPLAY_POWER_DOWN as for 965GM only

Update to current git head.
Comment 11 Gordon Jin 2008-03-03 01:23:44 UTC
>> When I launch startx from the command line (as root) if the i915 kernel drm
>> module isn't loaded the machine "hard" locks 

Is "without i915 module loaded" required for reproducing the lock?

Can you try the latest git code? The patch in comment#10 is committed after 2.2.1.
Comment 12 Gordon Jin 2008-03-03 01:24:55 UTC
(In reply to comment #5)
> Heh heh, that's supposed to be ABAT. ;)

btw, I just updated ABAT, which is supposed to recover to text console if you run it before startx.
Comment 13 Chad Curvin 2008-03-04 08:44:44 UTC
(In reply to comment #11)
> >> When I launch startx from the command line (as root) if the i915 kernel drm
> >> module isn't loaded the machine "hard" locks 
> 
> Is "without i915 module loaded" required for reproducing the lock?
> 
> Can you try the latest git code? The patch in comment#10 is committed after
> 2.2.1.
> 

Will do, thanks for the info.  I'll test tonight and report back.

-Chad
Comment 14 Chad Curvin 2008-03-04 19:57:00 UTC
(In reply to comment #10)
> I bet this commit fixes the issue.
> 
> commit 02a3b80ee8341968dbce5b7cb871b187db5ff805
> Author: Zhenyu Wang <zhenyu.z.wang@intel.com>
> Date:   Fri Feb 29 11:13:34 2008 +0800
> 
>     Bug 14591: comment out MI_DISPLAY_POWER_DOWN as for 965GM only
> 
> Update to current git head.
> 

Indeed, that seems to have fixed it!  Much appreciated.
Comment 15 Chad Curvin 2008-03-04 19:58:02 UTC
(In reply to comment #11)
> >> When I launch startx from the command line (as root) if the i915 kernel drm
> >> module isn't loaded the machine "hard" locks 
> 
> Is "without i915 module loaded" required for reproducing the lock?
> 
> Can you try the latest git code? The patch in comment#10 is committed after
> 2.2.1.
> 

No it wasn't, it just appeared as the first symptom while doing several tests.  It would like with or without i915 loaded.
Comment 16 Stefan Dirsch 2008-03-05 13:38:58 UTC

*** This bug has been marked as a duplicate of bug 14591 ***


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.