Bug 727455 - [Lakeport] Intel Atom motherboard fails to load KMS and reverts to VESA driver
Summary: [Lakeport] Intel Atom motherboard fails to load KMS and reverts to VESA driver
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 16
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: [cat:modesetting]
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-02 08:08 UTC by Darryl Bond
Modified: 2018-04-11 11:20 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-13 07:55:58 UTC
Type: ---


Attachments (Terms of Use)
dmesg (61.48 KB, text/plain)
2011-10-11 21:30 UTC, Darryl Bond
no flags Details
Xorg.0.log (63.06 KB, text/plain)
2011-10-11 21:31 UTC, Darryl Bond
no flags Details
/var/log/messages (182.12 KB, text/plain)
2011-10-11 21:33 UTC, Darryl Bond
no flags Details

Description Darryl Bond 2011-08-02 08:08:02 UTC
Description of problem: KMS fails to load in the i915 driver and the VESA Xserver is loaded

Foxconn 45csx Motherboard.

Version-Release number of selected component (if applicable):
2.6.40-4.fc15.i686
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
01:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)



How reproducible:
Tried 2.6.38.4 and 2.6.40.4. 2.6.38 does not oops but still fails. 2.6.40.4 oopses.

Steps to Reproduce:
1.Boot F15, display does not display anything until the XServer starts
2.check dmesg to find oops
3.check /var/log/Xorg.0.log to see that the VESA driver is being used over the intel driver
  
Actual results:
[    2.085805] [drm] Initialized drm 1.1.0 20060810
[    2.125453] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    2.125466] i915 0000:00:02.0: setting latency timer to 64
[    2.169609] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    2.169616] [drm] Driver supports precise vblank timestamp query.
[    2.175206] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.185402] ------------[ cut here ]------------
[    2.185462] WARNING: at drivers/gpu/drm/i915/intel_display.c:915 assert_pipe+0x67/0x6e [i915]()
[    2.185468] Hardware name: O.E.M
[    2.185472] pipe A assertion failure (expected off, current on)
[    2.185477] Modules linked in: i915(+) drm_kms_helper drm i2c_algo_bit i2c_core video
[    2.185496] Pid: 121, comm: modprobe Not tainted 2.6.40-4.fc15.i686 #1
[    2.185501] Call Trace:
[    2.185515]  [<c043c3e9>] warn_slowpath_common+0x7c/0x91
[    2.185567]  [<f7a3f82b>] ? assert_pipe+0x67/0x6e [i915]
[    2.185618]  [<f7a3f82b>] ? assert_pipe+0x67/0x6e [i915]
[    2.185627]  [<c043c489>] warn_slowpath_fmt+0x33/0x35
[    2.185677]  [<f7a3f82b>] assert_pipe+0x67/0x6e [i915]
[    2.185732]  [<f7a454bb>] i9xx_crtc_disable+0xde/0x12a [i915]
[    2.185785]  [<f7a4552b>] i9xx_crtc_dpms+0x24/0x26 [i915]
[    2.185836]  [<f7a3ee2d>] intel_crtc_dpms+0x3d/0xe9 [i915]
[    2.185886]  [<f7a3ecc2>] intel_crtc_disable+0x1b/0x41 [i915]
[    2.185900]  [<f7879cd1>] drm_helper_disable_unused_functions+0xb8/0xdc [drm_kms_helper]
[    2.185955]  [<f7a49294>] intel_modeset_init+0xcb3/0xd5c [i915]
[    2.185999]  [<f7a2a4e9>] ? i915_read32+0x64/0x6e [i915]
[    2.186069]  [<f7a2be7b>] i915_driver_load+0x88d/0xcf9 [i915]
[    2.186112]  [<f7a29e30>] ? i915_stolen_to_phys+0x72/0x72 [i915]
[    2.186144]  [<f793d820>] ? drm_sysfs_device_add+0x7a/0xa0 [drm]
[    2.186174]  [<f793c4fc>] drm_get_pci_dev+0x146/0x238 [drm]
[    2.186185]  [<c0465f7c>] ? arch_local_irq_save+0x12/0x17
[    2.186235]  [<f7a5b841>] i915_pci_probe+0x1d/0x20 [i915]
[    2.186245]  [<c05f3b1d>] pci_device_probe+0x5f/0xa8
[    2.186255]  [<c0680190>] driver_probe_device+0x123/0x1ff
[    2.186264]  [<c04297a3>] ? should_resched+0xd/0x27
[    2.186273]  [<c0812e91>] ? _cond_resched+0xd/0x21
[    2.186281]  [<c06802b4>] __driver_attach+0x48/0x64
[    2.186289]  [<c067f3f2>] bus_for_each_dev+0x42/0x6b
[    2.186297]  [<c067fded>] driver_attach+0x1f/0x23
[    2.186305]  [<c068026c>] ? driver_probe_device+0x1ff/0x1ff
[    2.186312]  [<c067fa8c>] bus_add_driver+0xca/0x210
[    2.186321]  [<c06806de>] driver_register+0x84/0xe3
[    2.186329]  [<c042f96d>] ? __might_sleep+0x29/0xe4
[    2.186337]  [<c05f425a>] __pci_register_driver+0x3b/0x99
[    2.186367]  [<f793c66b>] drm_pci_init+0x7d/0xd9 [drm]
[    2.186409]  [<f795f085>] i915_init+0x85/0x87 [i915]
[    2.186418]  [<c040118a>] do_one_initcall+0x8c/0x142
[    2.186425]  [<f795f000>] ? 0xf795efff
[    2.186433]  [<c0469c8e>] sys_init_module+0x139a/0x15af
[    2.186445]  [<c08143cc>] syscall_call+0x7/0xb
[    2.186451] ---[ end trace b90753c8d6f12e10 ]---
[    2.191487] ------------[ cut here ]------------
[    2.191539] WARNING: at drivers/gpu/drm/i915/intel_display.c:915 assert_pipe+0x67/0x6e [i915]()
[    2.191544] Hardware name: O.E.M
[    2.191549] pipe B assertion failure (expected off, current on)
[    2.191553] Modules linked in: i915(+) drm_kms_helper drm i2c_algo_bit i2c_core video
[    2.191569] Pid: 121, comm: modprobe Tainted: G        W   2.6.40-4.fc15.i686 #1
[    2.191574] Call Trace:
[    2.191583]  [<c043c3e9>] warn_slowpath_common+0x7c/0x91
[    2.191634]  [<f7a3f82b>] ? assert_pipe+0x67/0x6e [i915]
[    2.191684]  [<f7a3f82b>] ? assert_pipe+0x67/0x6e [i915]
[    2.191693]  [<c043c489>] warn_slowpath_fmt+0x33/0x35
[    2.191744]  [<f7a3f82b>] assert_pipe+0x67/0x6e [i915]
[    2.191797]  [<f7a454bb>] i9xx_crtc_disable+0xde/0x12a [i915]
[    2.191851]  [<f7a4552b>] i9xx_crtc_dpms+0x24/0x26 [i915]
[    2.191901]  [<f7a3ee2d>] intel_crtc_dpms+0x3d/0xe9 [i915]
[    2.191952]  [<f7a3ecc2>] intel_crtc_disable+0x1b/0x41 [i915]
[    2.191964]  [<f7879cd1>] drm_helper_disable_unused_functions+0xb8/0xdc [drm_kms_helper]
[    2.192007]  [<f7a49294>] intel_modeset_init+0xcb3/0xd5c [i915]
[    2.192087]  [<f7a2a4e9>] ? i915_read32+0x64/0x6e [i915]
[    2.192131]  [<f7a2be7b>] i915_driver_load+0x88d/0xcf9 [i915]
[    2.192174]  [<f7a29e30>] ? i915_stolen_to_phys+0x72/0x72 [i915]
[    2.192204]  [<f793d820>] ? drm_sysfs_device_add+0x7a/0xa0 [drm]
[    2.192234]  [<f793c4fc>] drm_get_pci_dev+0x146/0x238 [drm]
[    2.192244]  [<c0465f7c>] ? arch_local_irq_save+0x12/0x17
[    2.192294]  [<f7a5b841>] i915_pci_probe+0x1d/0x20 [i915]
[    2.192302]  [<c05f3b1d>] pci_device_probe+0x5f/0xa8
[    2.192311]  [<c0680190>] driver_probe_device+0x123/0x1ff
[    2.192319]  [<c04297a3>] ? should_resched+0xd/0x27
[    2.192327]  [<c0812e91>] ? _cond_resched+0xd/0x21
[    2.192335]  [<c06802b4>] __driver_attach+0x48/0x64
[    2.192343]  [<c067f3f2>] bus_for_each_dev+0x42/0x6b
[    2.192351]  [<c067fded>] driver_attach+0x1f/0x23
[    2.192358]  [<c068026c>] ? driver_probe_device+0x1ff/0x1ff
[    2.192366]  [<c067fa8c>] bus_add_driver+0xca/0x210
[    2.192374]  [<c06806de>] driver_register+0x84/0xe3
[    2.192382]  [<c042f96d>] ? __might_sleep+0x29/0xe4
[    2.192391]  [<c05f425a>] __pci_register_driver+0x3b/0x99
[    2.192420]  [<f793c66b>] drm_pci_init+0x7d/0xd9 [drm]
[    2.192462]  [<f795f085>] i915_init+0x85/0x87 [i915]
[    2.192470]  [<c040118a>] do_one_initcall+0x8c/0x142
[    2.192477]  [<f795f000>] ? 0xf795efff
[    2.192485]  [<c0469c8e>] sys_init_module+0x139a/0x15af
[    2.192496]  [<c08143cc>] syscall_call+0x7/0xb
[    2.192502] ---[ end trace b90753c8d6f12e11 ]---
[    2.206909] [drm:init_ring_common] *ERROR* failed to set render ring head to zero ctl ffffffff head ffffffff tail ffffffff start ffffffff
[    2.206969] [drm:init_ring_common] *ERROR* render ring initialization failed ctl ffffffff head ffffffff tail ffffffff start ffffffff
[    2.207182] vga_switcheroo: disabled
[    2.207190] [drm:i915_driver_load] *ERROR* failed to init modeset
[    2.250948] i915 0000:00:02.0: PCI INT A disabled
[    2.250972] i915: probe of 0000:00:02.0 failed with error -5


Expected results:
No oops and intel accellerated driver loaded

Additional info:

Comment 1 Darryl Bond 2011-10-09 10:21:41 UTC
Still broken in Fedora 16

Comment 2 Matěj Cepl 2011-10-11 16:13:02 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, make sure there is no nomodeset there, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log*; check with grep Backtrace /var/log/Xorg* which logs might be the most interesting ones, send us at least Xorg.0.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 3 Darryl Bond 2011-10-11 21:30:45 UTC
Created attachment 527547 [details]
dmesg

Dmesg with oops

Comment 4 Darryl Bond 2011-10-11 21:31:50 UTC
Created attachment 527548 [details]
Xorg.0.log

There is no xorg.cong, all settings auto detected

Comment 5 Darryl Bond 2011-10-11 21:33:35 UTC
Created attachment 527549 [details]
/var/log/messages

/var/log/messages for fedora 16 x86_64 booted from USB

Comment 6 Adam Jackson 2011-12-07 23:08:53 UTC
Boot the machine to runlevel 3 (a bare '3' on the kernel command line will do), ssh in, and run lspci -vvnnn -s 0:2.  It looks like your GPU is just not powered on, which is surreal but plausible.

Comment 7 Darryl Bond 2011-12-08 00:23:08 UTC
Booted the F16 live image. It does not display anything with the final release version. If I delete rhgb and quiet from the kernel command line it flashed the i915 module loading before the screen goes blank. 
I managed to start login, start sshd, stop iptables and set the root password :)
Here Tis:

[root@localhost ~]# lspci -vvnnn -s 0:2
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Foxconn International, Inc. Device [105b:0d4d]
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at 3f900000 (32-bit, non-prefetchable) [size=512K]
	Region 1: I/O ports at ec00 [size=8]
	Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Region 3: Memory at 3f980000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
		Address: 00000000  Data: 0000
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel modules: i915

Comment 8 Darryl Bond 2012-04-29 08:31:04 UTC
Still broken in F17 beta.
Installed and updated to latest kernel.

Comment 9 Darryl Bond 2012-05-09 10:01:45 UTC
Found this: https://bugs.freedesktop.org/show_bug.cgi?id=45978
Looks identical. 
I tried pci=noacpi and intel drm (i915)driver loads on 3.3.4-4.fc17.

Comment 10 Fedora End Of Life 2013-01-16 09:56:21 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 11 Fedora End Of Life 2013-02-13 07:56:01 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.