Re: Problem with Mach64 on Slackware 11.0

"Mats Pettersson" <[email protected]> Sat, 19 May 2007 15:58:24 +0200
Newsgroups gmane.comp.video.dri.user
Message-ID <001101c79a1d$c4961e10$0132a8c0@Mats>
----- Original Message ----- 
From: "Micha Feigin" <[email protected]>
To: <[email protected]>
Sent: Saturday, May 19, 2007 12:37 AM
Subject: Re: [Dri-users] Problem with Mach64 on Slackware 11.0


> On Sat, 19 May 2007 00:04:01 +0200
> "Mats Pettersson" <[email protected]> wrote:
>
>> Hi!
>>
>> I'm using Slackware 11.0 with kernel 2.6.17.13 and are having problems
>> installing Mach64 DRM/DRI.
>>
>> I have downloaded latest driver with git and compiled it according to the
>> instructions on dri.sourceforge.net, i have copied the resulting drm.ko 
>> and
>> mach64.ko to /lib/modules/VERSION/kernel/drivers/char/drm and done a
>> "depmod -a".
>>
>> When i try to load the module with "modprobe mach64" i get the message:
>>
>> -----
>> FATAL: Error inserting mach64
>> (/lib/modules/2.6.17.13/kernel/drivers/char/drm/mach64.ko):
>> Unknown symbol in module or unknown parameter (see dmesg).
>> -----
>>
>> I have deleted the Module.symvers file as recommended in the README and
>> recompiled, but still get the same message (also when i try "modprobe -f
>> mach64"). When i look at "dmesg" i see the following:
>>
>> -----
>
> Not sure about tainting the kernel, but it sounds like you either already 
> have
> the in-kernel drm module loaded or it's compiled into the kernel directly.
>
> Dry running lsmod and see if drm appears there. You may also try a restart 
> and
> then loading the mach64 and drm modules (this will remove the drm module 
> for
> you if it's there).
>
> If this doesn't work have a look at the file /boot/config-2.6.17.3 
> (assuming
> slackware stores it in the same place) and check that you don't have the 
> line
> CONFIG_DRM=y
> in it

Ok ,thanks! I had DRM compiled in the kernel, i removed DRM and recompiled 
the kernel and now it works to do a "modprobe mach64".

But now i have a new problem. When trying to compile mesa with "make 
linux-dri-x86" i get the error:

glxcmds.c: In function `__glXBindTexImageEXT':

glxcmds.c:2545: error: `X_GLXvop_BindTexImageEXT' undeclared (first use in 
this function)

glxcmds.c:2545: error: (Each undeclared identifier is reported only once

glxcmds.c:2545: error: for each function it appears in.)

glxcmds.c: In function `__glXReleaseTexImageEXT':

glxcmds.c:2597: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first use 
in this function)

make[3]: *** [glxcmds.o] Error 1

make[3]: Leaving directory `/home/mats/slask/mach64/mesa/src/glx/x11'

make[2]: *** [subdirs] Error 1

make[2]: Leaving directory `/home/mats/slask/mach64/mesa/src'

make[1]: *** [default] Error 1

make[1]: Leaving directory `/home/mats/slask/mach64/mesa'

make: *** [linux-dri-x86] Error 2

I have 6.9.0 of X, and i read somwhere i needed 7.1 or higher for the new 
mesa install. Is that why i get theese errors? Is there any older version of 
Mesa for download in that case or do i have to upgrade to X11R7.x?


>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> --
>> _______________________________________________
>> Dri-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dri-users
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> --
> _______________________________________________
> Dri-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dri-users 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--