I tried to use gentoo-sources-2.6.19 on my ppc64, and it compiled installed successfully. The only glitch is that DRI didn't work: When I modprobe uninorth_agp it reported agpgart: Detected Apple U3 chipset agpgart: configuring for size idx: 8 agpgart: AGP aperture is 32M @ 0x0 but in fact my display card is radeon 9800XT with 256M video ram. With gentoo-sources-2.6.18-r3 the uninorth_agp reports correctly(idx: 64, aperture is 256M) and DRI works fine. I took a look at uninorth-agp.c and found that it changed radically from that of kernel-2.6.18. Emerge info: Portage 2.1.1-r2 (default-linux/ppc/ppc64/2006.1/multilib, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 ppc64) ================================================================= System uname: 2.6.18-gentoo-r3 ppc64 PPC970, altivec supported Gentoo Base System version 1.12.6 Last Sync: Sat, 02 Dec 2006 02:30:01 +0000 ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="ppc64" AUTOCLEAN="yes" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe" CHOST="powerpc64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.gentoo.or.kr http://distfiles.gentoo.org http://ftp.tsinghua.edu.cn/mirror/gentoo http://mirror.usu.edu/mirrors/gentoo" LANG="en_US.UTF-8" LINGUAS="zh_CN en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/MyPortage /usr/local/MyPortage/gentoo-xeffects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc64 X a52 aac aalib accessibility aiglx alsa altivec apache2 asf aspell berkdb bitmap-fonts browserplugin bzip2 cairo cdr chardet cjk cli cracklib crypt cups curl dba dbus dlloader dri dts dvd dvdnav dvdr eds elibc_glibc emboss encode esd exif faac faad2 fb ffmpeg flac foomaticdb fortran gd gd-external gdbm gif gimpprint glitz gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal ibm iconv imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg jpeg2k kde kernel_linux lcms ldap libg++ libwww linguas_en linguas_zh_CN mad mbox mikmod mng motif mp3 mpeg mpg mysql nas ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection samba sasl sdl session slang spell spl sqlite ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd video_cards_ati video_cards_fbdev video_cards_radeon vidix vorbis wma x264 xanim xcomposite xine xml xml2 xorg xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Try booting with the agpgart-uninorth.aperture=256 kernel parameter (or if it is a module then configure the aperture parameter in /etc/modules.d/)
I am sorry for my ignorance. How to configure the aperture size? When I tried "modprobe uninorth_agp aperture=256" it said "invalid aperture size". Thank you.
Sorry for the inconvenience. The value of the aperture parameter should be 256M, not 256. Now the DRI is working. Thank you