Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245349 - x11-drivers/xf86-video-intel - breaks xorg on Intel DG45FC with invalid memory offset
Summary: x11-drivers/xf86-video-intel - breaks xorg on Intel DG45FC with invalid memor...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-03 01:19 UTC by Harris Landgarten
Modified: 2009-02-02 10:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2008-11-03 01:19:22 UTC
Since updating to xf86-video-intel from xf86-video-830 xorg-x11 will not start. The Xorg log shows that all is well as far as loading drivers and finding resources until:

(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


Backtrace:
0: /usr/bin/X(xf86SigHandler+0x65) [0x4892b5]
1: /lib/libc.so.6 [0x7f709ba062b0]
2: /usr/lib64/xorg/modules/drivers//intel_drv.so(I830EmitFlush+0x8f) [0x7f709a8a98df]
3: /usr/lib64/xorg/modules/drivers//intel_drv.so(I830Sync+0x52) [0x7f709a8a9c42]
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) [0x7f709a8be4b1]
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]

+0x65) [0x4892b5]
1: /lib/libc.so.6 [0x7f709ba062b0]
2: /usr/lib64/xorg/modules/drivers//intel_drv.so(I830EmitFlush+0x8f) [0x7f709a8a98df]
3: /usr/lib64/xorg/modules/drivers//intel_drv.so(I830Sync+0x52) [0x7f709a8a9c42]
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) [0x7f709a8be4b1]
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]

FatalError re-entered, aborting
Caught signal 11.  Server aborting
lError re-entered, aborting
Caught signal 11.  Server aborting

All was working with the xf86-video-830 driver which is no longer in the tree.

Reproducible: Always




Chipset in G45 Intel 4 series graphics configured for maximum memory in the BIOS
Comment 1 Harris Landgarten 2008-11-03 01:27:07 UTC
More info from the Xorg log:

(**) 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)


Note that the i915 module is loaded but i830 dma init fails.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-03 06:20:20 UTC
1) Which version of the package do you see this with?
2) Please post your `emerge --info' too.
Comment 3 Harris Landgarten 2008-11-03 15:26:50 UTC
Package version in 2.5.0 

emerge info:

Portage 2.2_rc13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-glibc2.2.5
Timestamp of tree: Sun, 02 Nov 2008 19:31:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2  -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2  -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa intel fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Harris Landgarten 2008-11-05 18:57:06 UTC
I downgraded to xf86-video-intel-2.4.2-r3 and that works perfectly.
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2008-11-05 21:34:39 UTC
Thanks for debugging this :)

Could you please open a bug over at FreeDesktop's bugzilla by reading these instructions [1]. And please add "remi@gentoo.org" as a CC on that bug so that I can track it and add patches if needed.

Thanks again.

[1] http://intellinuxgraphics.org/how_to_report_bug.html
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-02-02 10:29:04 UTC
Please let me know if you've opened a bug at FreeDesktop.

Thanks