Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129302 - x11-drm fails on ati_pcigart
Summary: x11-drm fails on ati_pcigart
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-08 19:55 UTC by Stefan de Konink
Modified: 2006-06-16 00:13 UTC (History)
1 user (show)

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 Stefan de Konink 2006-04-08 19:55:10 UTC
CC [M]  /var/tmp/portage/x11-drm-20051223/work/drm/linux-core/ati_pcigart.o
/var/tmp/portage/x11-drm-20051223/work/drm/linux-core/ati_pcigart.c: In function `drm_ati_free_pcigart_table':
/var/tmp/portage/x11-drm-20051223/work/drm/linux-core/ati_pcigart.c:87: error: structure has no member named `count'


Might be a good idea to update the package.

Portage 2.1_pre7-r4 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.17-rc1 x86_64)
=================================================================
System uname: 2.6.17-rc1 x86_64 AMD Opteron(tm) Processor 240
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs distlocks metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="amd64 X apache2 avi bitmap-fonts blas bzip2 crypt curl dri dv eds emboss encode flac font-server foomaticdb fortran gif ginac graphviz gs gstreamer gtk2 hdf5 imlib ipv6 isdnlog jpeg kde lcms lzw lzw-tiff minimal mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pdflib pic png postgres pppd qhull quicktime readline sdl spell sqlite ssl tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts usb userlocales v4l vorbis wmf xml2 xpm xprint xv yv12 zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Stefan de Konink 2006-04-14 03:56:03 UTC
Seems the problems are caused by the macro

__put_page(page);

#ifndef __put_page
#define __put_page(p)           atomic_dec(&(p)->count)
#endif

Does someone knows where the page structure is defined?

Removing the statement make the module compile, insert, and gives direct rendering according to Xorg7. But I'm rather not happy deleting things which I'm unaware of its function.
Comment 2 William L. Thomson Jr. (RETIRED) gentoo-dev 2006-05-04 14:24:06 UTC
What file did you remove that from and have you experienced any problems since it was removed? Really would like to get direct rendering working and lose mesa. Thanks
Comment 3 Bryan Stine (RETIRED) gentoo-dev 2006-06-16 00:13:05 UTC
I've committed 20060608, which already contained a fix for this upstream, and 20051223, with a patch containing changes made by the upstream. Both of these should now work for 2.6.17 kernels.