Re: mach64 complaining about wrong version in drm-module

Micha Feigin <[email protected]> Thu, 24 May 2007 19:45:37 +0300
Newsgroups gmane.comp.video.dri.user
Message-ID <[email protected]>
On Thursday 24 May 2007 15:25, Sebastian Lange wrote:
> Hello,
> i compiled the whole dri (mesa + drm kernel driver ...).
> now mach64 complains:
>
> mach64: disagrees about version of symbol drm_open
> mach64: Unknown symbol drm_open
> ...
> ...
> mach64: disagrees about version of symbol drm_release
> mach64: Unknown symbol drm_release
>

sounds like you are using the wrong version of the drm module
> FATAL: Error inserting mach64
> (/lib/modules/2.6.18-4-686/kernel/drivers/char/drm/mach64.ko): Unknown
> symbol in module, or unknown parameter (see dmesg)
>

How did you load the drm module and from where? AFAIK debian comes with drm 
compiled but I'm not sure if compiled in or as a module. Have a look in 
/lib/modules/2.6.18-4-686/kernel/drivers/char/drm/
and see if there is a drm module there (drm.ko) and do lsmod and see if drm 
appears. If it appears as a module, try putting that drm.ko that you compiled 
in /lib/modules/2.6.18-4-686/kernel/drivers/char/drm/, run update-modules and 
then you need to either exit X, unload drm (which would be the old version) 
and reload it (the new version) and then restart X, or just restart the 
system so that it can do it for you.

Also look in the file /boot/config-2.6.18-4-686 or something similar, and look 
for the name CONFIG_DRM it should read CONFIG_DRM=m or CONFIG_DRM=n

> dmesg tells the same ^^ (loglevel for console :>)
> -----
> So far for the official part.
> I compiled the drm as the mach64 drivers from the drm-sources (10 minutes
> ago).
> it loads fine my intel_agp agpgart and drm.
> just mach 64 does not like my kernel.
> This is debian lenny (testing).
> The card used is in a [bäh] Gericom [/bäh] laptop: Ati Rade 3D Pro LT
> The hw-table points out to use the mach64-driver with this.
> This is why only the mach64 was compiled by me.
> all Kernel headers etc. are installed.
> The one think i wonder, or what the Troubleshooting tells is a problem with
> 2.6.1 (far far beyond ^^)
> ---
>
> dmesg | grep drm
>
> (excluding the mach64-errors)
> [drm] Initialized drm 1.0.1 20051102 (i wonder if this is really my
> compiled version)
>
> ---
>
> Greetings
>
> Sebastian

-------------------------------------------------------------------------
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/
--