Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135534 - /dev/agpgart not found with i810
Summary: /dev/agpgart not found with i810
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-04 09:29 UTC by Alain-Jacques L. de Burlet
Modified: 2006-09-04 12:22 UTC (History)
1 user (show)

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


Attachments
Kernel .config (gentoo-sources-2.6.16-r7) (.config,35.03 KB, text/plain)
2006-06-04 11:24 UTC, Alain-Jacques L. de Burlet
Details
dmesg output (dmesg.txt,13.22 KB, text/plain)
2006-09-02 13:22 UTC, Alain-Jacques L. de Burlet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alain-Jacques L. de Burlet 2006-06-04 09:29:17 UTC
I've been having a problem with X after trying to update my gentoo-sources kernel. I'm currently using 2.6.12-r10 and everything works fine. I've tried many times to use a newer kernel version (now i'm trying 2.6.16-r7), but I always get the same problem: Xorg cant detect /dev/agpgart:

(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)

My current kernel settings are:

Graphics support --->
   <*> Support for frame buffer devices
   ---   Enable Video Mode Handling Helpers
   < >   VGA 16-color graphics support      (*!*!*)
   < > Intel 810/815 support (EXPERIMENTAL)    (*!*!*)
   <*> Intel 830M/845G/852GM/855GM/865G support (EXPERIMENTAL)
Character devices  --->
   --- /dev/agpgart (AGP Support)
   ---   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
   <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
   <M>   Intel I810
   <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->

The options that i've marked with (*!*!*) means that I tried to set these to (=y).


And the configuration of the video card in xorg.conf is:

Section "Device"
    Identifier  "Intel 852/855GM"
    Driver      "i810"
    VideoRam    65536
    Option      "DRI"   "True"
#    Option      "AGPMode" "4"
#    Option      "AGPFastWrite" "True"
#    Option      "UseInternalAGPGART" "no" # use external apggart, from kernel
#    Option      "Capabilities" "0x00000000" # disable v-sync
EndSection 

Here's my emerge --info:

Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr cli crypt cups curl dri eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 isdnlog java jpeg kde lcms ldap libg++ libwww mad mikmod mng motif mp3 mpeg mysql ncurses nls nptl nsplugin ogg openal opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection samba sdl session spell spl ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xorg xv xvid zlib video_cards_vesa video_cards_i810 video_cards_i915 userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

I really need to update my kernel. Any help would be greatly appreciated.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-04 09:56:10 UTC
Attach your kernel .config here and reopen then.
Comment 2 Alain-Jacques L. de Burlet 2006-06-04 11:24:24 UTC
Created attachment 88367 [details]
Kernel .config (gentoo-sources-2.6.16-r7)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-04 11:34:53 UTC
Reopen...
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-06-09 15:41:52 UTC
Please attach "lspci" and "lspci -n" output (from any kernel), and confirm that /dev/agpgart does not exist when booted into an affected kernel.
Comment 5 Alain-Jacques L. de Burlet 2006-06-24 16:01:47 UTC
lspci:
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
01:01.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
01:01.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller
01:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 81)

lspci -n:
00:00.0 0600: 8086:3580 (rev 02)
00:00.1 0880: 8086:3584 (rev 02)
00:00.3 0880: 8086:3585 (rev 02)
00:02.0 0300: 8086:3582 (rev 02)
00:02.1 0380: 8086:3582 (rev 02)
00:1d.0 0c03: 8086:24c2 (rev 01)
00:1d.1 0c03: 8086:24c4 (rev 01)
00:1d.2 0c03: 8086:24c7 (rev 01)
00:1d.7 0c03: 8086:24cd (rev 01)
00:1e.0 0604: 8086:2448 (rev 81)
00:1f.0 0601: 8086:24cc (rev 01)
00:1f.1 0101: 8086:24ca (rev 01)
00:1f.5 0401: 8086:24c5 (rev 01)
00:1f.6 0703: 8086:24c6 (rev 01)
01:01.0 0607: 104c:ac44 (rev 02)
01:01.1 0c00: 104c:8029
01:03.0 0280: 14e4:4320 (rev 03)
01:08.0 0200: 8086:103d (rev 81)


From an affected kernel, /dev/agpgart doesnt exist.

Also tried to set the InternalAGPGart to "True", but still doesnt work.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-07-01 08:58:41 UTC
Please attach dmesg output from latest kernel (currently gentoo-sources-2.6.17)
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-07-13 10:58:46 UTC
Please reopen when you have posted dmesg output from the latest development kernel, currently 2.6.18-rc1
Comment 8 Alain-Jacques L. de Burlet 2006-09-02 13:22:06 UTC
Created attachment 95783 [details]
dmesg output

Sending dmesg output for gentoo-sources-2.6.17-r7. Sending soon the error message for the latest development kernel
Comment 9 Alain-Jacques L. de Burlet 2006-09-02 13:22:38 UTC
dmesg output posted
Comment 10 Alain-Jacques L. de Burlet 2006-09-02 13:29:36 UTC
Note: i've upgraded gcc to 4.1.1 and xorg-x11 to 7.0-r1 though I think it has nothing to do with X.Org, seems more like a problem with kernel configuration. But what would it be?
Comment 11 Daniel Drake (RETIRED) gentoo-dev 2006-09-04 11:26:05 UTC
Please attach dmesg from the latest development kernel, currently 2.6.18-rc6
Comment 12 Alain-Jacques L. de Burlet 2006-09-04 11:39:45 UTC
I've tried to emerge development-sources but this package no longer exists. What would be the name of the development souce now?
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2006-09-04 12:22:01 UTC
vanilla-sources