[Xpert]kernel module version incorrect

2002-04-23 Thread Klaus-Peter Schrage

Mark LaPierre wrote:
>I downloaded and compiled the DRM drivers from xfee86.org as suggested by two 
> very helpful people.  I copied the r128.o file to 
> /lib/modules/2.4.9-31/kernel/drivers/char/drm/r128.o and restarted X.  I
> checked the permissions so don't tell me to fix that.
...
> It would appear that the version on xfree86.org is not any newer than what I 
> already had.  Perhaps I copied it to the wrong location?
This should be the right location for your new r128.o file. Did you do 
depmod -a
after copying? Any messages coming out of that?

Another suggestion: Perhaps the Redhat kernel 2.4.9-31 is too "old" or badly 
configured. I'm not running a Redhat kernel any longer on RH 7.1, so I don't 
know the default settings for 2.4.9-31. I'm using a pristine kernel 2.4.18 
and have compiled it with the following settings for drm (you'd surely have 
to enable other or all kinds of chipsets, mine is a VIA):
[snip]
CONFIG_AGP=m
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_I810 is not set
CONFIG_AGP_VIA=y
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_SWORKS is not set
CONFIG_DRM=y
# CONFIG_DRM_OLD is not set

#
# DRM 4.1 drivers
#
CONFIG_DRM_NEW=y
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
CONFIG_DRM_R128=m
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_MWAVE is not set
[snip]
The crucial point is to disable support for the "old" DRM drivers.
Now XFree86 4.2.0 is nicely running with direct rendering enabled.
Klaus


___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]kernel module version incorrect

2002-04-22 Thread Michel Dänzer

On Mon, 2002-04-22 at 21:39, [EMAIL PROTECTED] wrote:

>   [dri] r128.o kernel module version is 2.1.6 but version 2.2 or greater
>   is needed.

Right, your kernel module is too old. http://xfree86.org/~alanh/ should
help.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]kernel module version incorrect

2002-04-22 Thread MarkLapier


  Hello,

  My log file indicates a version mis-match with the r128.o kernel
  module.  It claims I need version 2.2 or greater but
  /lib/modules/2.4.9-31/kernel/drivers/char/drm/r128.o is version is
  2.1.6.

  Here's my question.  Where can I get the appropriate r128.o version or
  the source to build it?

  My log file says:

  (II) R128(0): [drm] loaded kernel module for "r128" driver
  (II) R128(0): [drm] created "r128" driver at busid "PCI:1:0:0"
  (II) R128(0): [drm] added 8192 byte SAREA at 0xd8898000
  (II) R128(0): [drm] mapped SAREA 0xd8898000 to 0x40018000
  (II) R128(0): [drm] framebuffer handle = 0xd400
  (II) R128(0): [drm] added 1 reserved context for kernel
  (EE) R128(0): [dri] R128DRIScreenInit failed because of a version
  mismatch.
  [dri] r128.o kernel module version is 2.1.6 but version 2.2 or greater
  is needed.
  [dri] Disabling the DRI.
  (EE) R128(0): [drm] failed to remove DRM signal handler
  (II) R128(0): [drm] removed 1 reserved context for kernel
  DRIUnlock called when not locked
  (II) R128(0): [drm] unmapping 8192 bytes of SAREA 0xd8898000 at
  0x40018000

  System Info:

  RH Linux 7.0
  kernel 2.4.9-31
  XFree86 2.4.0
  ATI Expert 128 AGP

  Thanks for the help.

  Mark LaPierre


___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert