Bug 18448 - xf86-video-intel-2.5.0 breaks xorg on Intel DG45FC with invalid memory offset
Summary: xf86-video-intel-2.5.0 breaks xorg on Intel DG45FC with invalid memory offset
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
Keywords: NEEDINFO
Depends on:
Reported: 2008-11-08 13:10 UTC by Harris Landgarten
Modified: 2008-11-29 21:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Full Xorg log as requested (14.13 KB, text/plain)
2008-11-10 04:05 UTC, Harris Landgarten
no flags Details

Description Harris Landgarten 2008-11-08 13:10:24 UTC
After installing xf86-video-intel-2.5.0 on an Intel DG45FC based system running Gentoo Linux, Xorg will not start. It fails with:

(**) intel(0): Framebuffer compression disabled
(**) intel(0): Tiling enabled
(**) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(II) intel(0): [drm] Registers = 0xff400000
(II) intel(0): [drm] ring buffer = 0xd0000000
(EE) intel(0): I830 Dma Initialization Failed
(II) intel(0): [drm] removed 1 reserved context for kernel
(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0x1efff000 at 0x7f709e146000
(II) intel(0): [drm] Closed DRM master.
(II) intel(0): Page Flipping disabled
(II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) EXA(0): Offscreen pixmap area of 19660800 bytes
(II) EXA(0): Driver registered support for the following operations:
(II)         Solid
(II)         Copy
(II)         Composite (RENDER acceleration)
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): xf86BindGARTMemory: bind key 0 at 0x01fff000 (pgoffset 8191)
(WW) intel(0): xf86BindGARTMemory: binding of gart memory with key 0
        at offset 0x1fff000 failed (Invalid argument)

Fatal server error:
Couldn't bind memory for HW status

0: /usr/bin/X(xf86SigHandler+0x65) [0x4892b5]
1: /lib/libc.so.6 [0x7f709ba062b0]
2: /usr/lib64/xorg/modules/drivers//intel_drv.so(I830EmitFlush+0x8f)
3: /usr/lib64/xorg/modules/drivers//intel_drv.so(I830Sync+0x52)
4: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7f709a8b80a8]
5: /usr/bin/X(AbortDDX+0x89) [0x466899]
6: /usr/bin/X(AbortServer+0x18) [0x4f47d8]
7: /usr/bin/X(FatalError+0xd5) [0x4f4e45]
8: /usr/lib64/xorg/modules/drivers//intel_drv.so(i830_bind_all_memory+0x81)
9: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7f709a8b8c50]
10: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7f709a8ba4da]
11: /usr/bin/X(AddScreen+0x1c8) [0x430a38]
12: /usr/bin/X(InitOutput+0x240) [0x467360]
13: /usr/bin/X(main+0x286) [0x4311d6]
14: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f709b9f2486]
15: /usr/bin/X [0x430789]

I am running with no xorg.conf. 
xf86-video-intel-2.4.2-r3 runs without issue and detects all hardware automatically.
Comment 1 Gordon Jin 2008-11-09 17:49:02 UTC
Please attach the full Xorg log.
Comment 2 Wang Zhenyu 2008-11-09 18:05:09 UTC
You need upstream kernel 2.6.28-rc4 which contains a critical fix for G45.
Comment 3 Harris Landgarten 2008-11-10 04:05:59 UTC
Created attachment 20178 [details]
Full Xorg log as requested
Comment 4 Harris Landgarten 2008-11-10 11:31:33 UTC
I won't be able to try 2.6.28 until next week. Maybe it will be released by then.
Comment 5 Michael Fu 2008-11-24 17:01:13 UTC
ping for response...Harris.
Comment 6 Harris Landgarten 2008-11-24 19:15:47 UTC
Still waiting for 2.6.28 release. Do you know if this fix was backported to 2.6.27-7?
Comment 7 Rémi Cardona 2008-11-24 23:13:35 UTC
(In reply to comment #6)
> Still waiting for 2.6.28 release. Do you know if this fix was backported to
> 2.6.27-7?

Harris, please try "emerge -1 sys-kernel/git-sources" to get the latest release candidate. It'd be great if we could make sure this bug is fixed *before* 2.6.28.

Comment 8 Harris Landgarten 2008-11-25 06:27:18 UTC
xf86-video-intel-2.5.1 is running with linux-2.6.28-rc5-git4. Right now I can only see the machine remotely but the Xorg.0.log looks right so the bug is most likely fixed. I will be able to verify visually later today when I can access the machine physically.
Comment 9 Harris Landgarten 2008-11-28 20:57:13 UTC
I can now verify that xf86-video-intel-2.5.1 is running with linux-2.6.28-rc5-git4 with no issues.
Comment 10 Gordon Jin 2008-11-29 21:26:34 UTC
Good to know. So closing.

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.