I'm trying to get the CVS version of the mach64 drm to run under a 2.4.22
kernel. Build works OK and produces the expected .o files, I copy them
according to the Building page, section 1.6 with:
make LINUXDIR=3D/usr/src/kernel-source-2.4.22 DRM_MODULES=3D"mach64"
then run modprobe without problem.
However things fail when calling modprobe, I get:
/lib/modules/2.4.22/kernel/drivers/char/drm/mach64.o: couldn't find the k=
version the module was compiled for
I did check that the LINUX_VERSION_CODE does correspond to
KERNEL_VERSION(2.4.22) at compile-time by inserting test preprocessing
directives in the sources, so I am left clueless on this. Anyone got an i=
Shan Mignot <shan.mignot@...> dijo:
> I'm trying to get the CVS version of the mach64 drm to run under a 2.4.22
> kernel. Build works OK and produces the expected .o files, I copy them
> according to the Building page, section 1.6 with:
> make LINUXDIR=/usr/src/kernel-source-2.4.22 DRM_MODULES="mach64"
With that command you didn't copy anything. Read few lines below:
"Copy the resulting *.ko (2.6.x kernel) or *.o (2.4.x kernel) modules into
the kernel module tree,
usually /lib/modules/$KERNEL/kernel/drivers/char/drm, where $KERNEL is the
kernel you built against. On 2.6.x kernels make sure that you also copy
drm.ko. Finally, run depmod -a, or depmod -a $KERNEL if you built against a
Then, after configuration of xorg.conf, you should not need to use modprobe,
just restart xwindows system.