Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275572 - x11-drivers/ati-drivers-9.6 fails to modprobe due to out of memory with gentoo-sources-2.6.28-r6
Summary: x11-drivers/ati-drivers-9.6 fails to modprobe due to out of memory with gento...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-27 07:25 UTC by niteblade
Modified: 2009-07-06 10:10 UTC (History)
2 users (show)

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


Attachments
kernel config (.config,61.62 KB, text/plain)
2009-06-27 08:01 UTC, niteblade
Details

Note You need to log in before you can comment on or make changes to this bug.
Description niteblade 2009-06-27 07:25:02 UTC
when trying to modprobe the fglrx module I get:
[fglrx] Maximum main memory to use for locked dma buffers: 927 MBytes.
[fglrx:drm_alloc] *ERROR* [driver] Allocating 0 bytes
[fglrx:firegl_init_device_list] *ERROR* Out of memory when allocating device heads
[fglrx:firegl_init_module] *ERROR* firegl_init_devices] failed



Reproducible: Always
Comment 1 niteblade 2009-06-27 08:01:39 UTC
Created attachment 195853 [details]
kernel config
Comment 2 niteblade 2009-06-27 08:08:02 UTC
my emerge --info:
Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.28-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r6-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 26 Jun 2009 18:00:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium4m -Os -pipe -mfpmath=sse -msse2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xdm"
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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=pentium4m -Os -pipe -mfpmath=sse -msse2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de en utf8"
MAKEOPTS="-j 3 -l 1.4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="R X Xaw3d a52 aac aalib acl acpi activefilter admin adsl aften aim alsa amr amrnb amrwb arpack async audiofile bcmath bcp berkdb binary-drivers bittorrent bjam blas bluetooth boost boundschecking buffysize bzip2 c++ calendar caps cblas cdaudio cddb cdio cdparanoia cdr chroot cisco cli client-only colordiff compress console consolekit context coverpage cpio cpudetection cracklib crypt css cups curl curlwrappers custom-optimization cvs cxx dbm dbus dbx de_tvtoday device-mapper dga dhcp divx djbfft djvu dmi double-precision dri dv dvd dvdr dvdread eap-tls enca encode esd exif extensions extra fame fastcgi fbcon fbcondecor fbsplash ffmpeg fftw firefox flac fltk fontconfig foomaticdb fortran fortran95 ftp fuse games gcrypt gd gdbm geoip gif gimp gimpprint ginac glib glibc-omitfp glut gmp gnome gnuplot gnutls gocr gpg gpgme gphoto2 gpm gps graphics grub gs gsl gsm gtk gzip hal hddtemp hpn ical iconv icq icu id3 id3tag idn ieee1394 imagemagick imlib imlib2 iproute2 ipv6 ipw3945 irc irmc isdnlog jabber java javascript jce jingle john joystick jpeg jpeg2k kpathsea lame lapack laptop latex lcms libcaca libedit libgcrypt libssh2 libtommath linuxthreads-tls lm_sensors logrotate lua lzo lzw mad mailbox maildir masquerade matroska mbox mcal md5sum memlimit metric midi mikmod mime mmap mmx mng mp2 mp3 mpeg mplayer msn mtp mudflap music ncurses nethack nls nowebdav nptl nptlonly nsplugin ntfs ntp nuv obex objc objc++ objc-gc octave offensive ogg ogg123 openal opengl openmp oscar oss otr pam passwdqc passwordsave pcmcia pcre pda pdf perl physfs plotutils pmu png pnm pop posix postscript ppds pppd pstricks pth publishers python qemu qhull qt3support qt4 rar raw readline recode reflection rfkill rss rtc ruby samba sasl science sdl session sharedmem shorten smi smime smp smtp sndfile sockets socks5 sox speex spell spl sqlite sqlite3 sse sse2 ssh ssl svg svgz swat sysfs syslog sysvipc tcl tcpd theora threads tiff timidity tk tls tordns truetype tta unicode usb utils v4l v4l2 vcd vdr vidix vim-syntax vorbis vorbis-psy wavpack wifi win32codecs winbind wireshark wma wmf wxwindows x264 x86 xattr xcomposite xext xine xinetd xml xorg xosd xpm xrandr xscreensaver xv xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en utf8" USERLAND="GNU" VIDEO_CARDS="fglrx fbdev v4l vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


the relevant snippet from lspci -vv: (first line from lspci -vvn)

01:00.0 0300: 1002:7145 (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400 (prog-if 00 [VGA controller])
  Subsystem: Toshiba America Info Systems Device ff10
  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-
  Latency: 0, Cache Line Size: 64 bytes
  Interrupt: pin A routed to IRQ 16
  Region 0: Memory at c8000000 (32-bit, prefetchable) [size=128M]
  Region 1: I/O ports at 2000 [size=256]
  Region 2: Memory at dc000000 (32-bit, non-prefetchable) [size=64K]
  [virtual] Expansion ROM at dc020000 [disabled] [size=128K]
  Capabilities: [50] Power Management version 2
    Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
    Status: D0 PME-Enable- DSel=0 DScale=0 PME-
  Capabilities: [58] Express (v1) Legacy Endpoint, MSI 00
    DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
            ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
    DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 128 bytes
    DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
    LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
            ClockPM- Surprise- LLActRep- BwNot-
    LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
    LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
  Capabilities: [80] MSI: Mask- 64bit+ Count=1/1 Enable-
    Address: 0000000000000000  Data: 0000

Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-07-06 10:10:00 UTC
Did you read what it says when you emerge the package?

        elog
        elog "Please note that this driver supports only graphic cards based on"
        elog "r600 chipset and newer."                                          
        elog "This represent the ATI Radeon HD series at this moment."          
        elog                                                                    
        elog "If your card is older then usage of ${CATEGORY}/xf86-video-ati"   
        elog "as replacement is highly recommended. Rather than staying with"   
        elog "old versions of this driver."     

it wont modprobe with r500 card.