So far here is what I have done.
Under SU user:
1.Force install Newest ATI drivers from ati.com
rpm -i --force RPMNAME.rpm
worked fine.
2.Installed kernel-source 2.6.3.7
3. Ran ./make.sh under build_mod directory
/lib/modules/fglrx/build_mod
./make.sh
No problems (see below)
Code:
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.3-7mdksmp/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk'
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o
In file included from include/linux/sched.h:23,
from include/linux/module.h:10,
from /lib/modules/fglrx/build_mod/2.6.x/agp3.c:60:
include/linux/smp.h:33: error: conflicting types for 'smp_send_reschedule'
include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here
include/linux/smp.h:33: error: conflicting types for 'smp_send_reschedule'
include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agp3.o] Error 1
make[1]: *** [/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
make: *** [kmod_build] Error 2
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
NOW heres the problem
4. Ran ./make_install.sh under fglrx directory
/lib/modules/fglrx
./make_install.sh
Code:
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.3-7mdksmp/kernel/drivers/char/drm/fglrx.ko): Invalid module format
failed.
Any suggestions? is this because Im using the smp kernel (2.6.3.7smp) and the regular source (2.6.3.7)?
Thank you,
The GNUbie