Bug 40257 - linux-{2.6.39,3.0.{0,1}}* with xf86-video-intel: kernel freeze if I have an external monitor connected when X starts
Summary: linux-{2.6.39,3.0.{0,1}}* with xf86-video-intel: kernel freeze if I have an e...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-20 12:09 UTC by Randy
Modified: 2017-07-24 23:04 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments
kernel config (63.04 KB, application/octet-stream)
2011-08-20 12:10 UTC, Randy
no flags Details
Xorg.0.log (26.99 KB, text/x-log)
2011-08-20 12:23 UTC, Randy
no flags Details
dmesg (72.60 KB, application/octet-stream)
2011-08-20 12:24 UTC, Randy
no flags Details

Description Randy 2011-08-20 12:09:34 UTC
I am using Gentoo Linux, and starting with Linux 2.6.39, I cannot start X if I have an external monitor connected.

I originally reported this bug to Gentoo, and they asked me to report it upstream. The original report is here: https://bugs.gentoo.org/show_bug.cgi?id=378555

I've copied some relevant info from that ticket here:

Unfortunately,
because it appears to be a kernel panic, and because X blanks the screen, I am
unable to see the panic message itself, and also nothing appears in the log,
which makes this a very difficult problem to search for to determine if it has
already been reported.

If I disable the xdm init script, the machine boots to the console just fine.
Also, if I do not have any external monitor connected, X will start and operate
just fine. If I add the external monitor after I am already logged in to KDE,
the second monitor will operate correctly.

I have been able to reproduce this problem with two different external monitors
to verify that it isn't the particular monitor I am connecting.

gentoo-sources-2.6.38 does not suffer from this problem.

Reproducible: Always

Steps to Reproduce:
1. Connect an external monitor
2. Boot the machine, with xdm enabled, or start XDM.
Actual Results:  
The laptop's screen appears to turn off (backlight off). The external monitor
is on, with a non-blinking cursor appearing in the upper left corner of the
screen. At this point, the machine appears to be completely frozen, not
responding to ping requests. I am also not able to get to any of the virtual
terminals.

Expected Results:  
The machine should boot into KDM.

I am currently using x11-drivers/xf86-video-intel-2.15.0-r1 (the failure also
happens with 2.14), and sys-kernel/gentoo-sources-3.0.0 (also happens with
2.6.39).

I do not have an xorg.conf at all. Here is lspci output:

# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated
Graphics Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network
Connection (rev 05)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2
Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High
Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express
Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express
Root Port 2 (rev 05)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express
Root Port 3 (rev 05)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express
Root Port 4 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2
Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface
Controller (rev 05)
00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID
Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller
(rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series
Chipset Thermal Subsystem (rev 05)
02:00.0 Network controller: Broadcom Corporation Device 4727 (rev 01)
03:00.0 CardBus bridge: Ricoh Co Ltd Device e476 (rev 02)
03:00.1 SD Host controller: Ricoh Co Ltd Device e822 (rev 03)
03:00.4 FireWire (IEEE 1394): Ricoh Co Ltd Device e832 (rev 03)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture
Generic Non-core Registers (rev 02)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture
System Address Decoder (rev 02)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

This is a Dell E6510.
Comment 1 Randy 2011-08-20 12:10:15 UTC
Created attachment 50407 [details]
kernel config
Comment 2 Randy 2011-08-20 12:22:59 UTC
This is xorg-server-1.10.2, mesa-7.10.3, and libdrm-2.4.26.

The system is x86_64.
Comment 3 Randy 2011-08-20 12:23:24 UTC
Created attachment 50408 [details]
Xorg.0.log
Comment 4 Randy 2011-08-20 12:24:13 UTC
Created attachment 50409 [details]
dmesg
Comment 5 Jesse Barnes 2011-08-22 10:33:20 UTC
Does the latest 3.1-rc kernel have the problem?  Can you bisect down to the offending patch?
Comment 6 Randy 2011-08-23 07:21:33 UTC
Yesterday I updated to gentoo-sources-3.0.3 and xorg-server-1.10.4. I'm not really sure which of these upgrades fixed my issue, but I guess that doesn't matter as the latest available (in Gentoo) of each resolves the problem. I'll mark the ticket as resolved.


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.