On 1/21/07, Mauro Darida <[EMAIL PROTECTED]> wrote:
On Thursday 11 January 2007 19:13, Mauro Darida wrote: > Hello all, > after upgrade from sarge to etch direct rendering for my ati rage mobility > mach64 card is not working anymore. I have self-compiled kernel 2.6.19. > I downloaded both : > common-20060403-linux.i386.tar.bz2 > mach64-20060325-linux.i386.tar.bz2 > but I am unable to install the second one, it aborts attempting to build > mach64 module for the kernel, saying that I need the latest kernel source > (!): > This version of the script supports 2.4.x and 2.6.x kernels. > > Kernel Version : 2.6.19.1 > Module Directory : /lib/modules/2.6.19.1 > [...] > Compiling... > ERROR: Kernel modules did not compile > > The DRI drivers can not be installed without the latest kernel modules. > Installation will be aborted. See the dri.log file for information on > what went wrong. > > As a consequence of that, currently the only way for me to watch a video is > to use mplayer with "x11/xv" which is far from optimum (previously "vidix" > was working flawlessy). > Any help will be appreciated. > -- I forgot to include the content of the dri.log file: make DRM_MODULES=mach64.o modules make[1]: Entering directory `/usr/local/src/mach64-20060325-linux.i386/drm/linux-core' make -C /lib/modules/2.6.19.1/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules make[2]: Entering directory `/usr/src/linux-2.6.19.1' CC [M] /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drm_auth.o In file included from /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drm_auth.c:36: /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drmP.h:44:26: error: linux/config.h: No such file or directory
I guess you've already cleaned your kernel source. Please do another kernel compile, but don't clean. Mach64 need several files from there. Second thing, you might need to apply this patch to your Mach64 dri source. [EMAIL PROTECTED]:~/kernel/mach64-20060403-linux.i386$ diff -urN drm/linux-core/drm_compat.h{.lama,} --- drm/linux-core/drm_compat.h.lama 2006-04-03 11:24:33.000000000 -0400 +++ drm/linux-core/drm_compat.h 2007-01-21 00:18:24.000000000 -0500 @@ -170,7 +170,7 @@ #endif #ifndef __put_page -#define __put_page(p) atomic_dec(&(p)->count) +#define __put_page(p) atomic_dec(&(p)->_count) #endif #ifndef REMAP_PAGE_RANGE_5_ARGS Regards, Andika -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]