Toon posts:

[ATI] Radeon op een 2.6 kernel

Pagina: 1
Acties:
  • 111 views sinds 30-01-2008
  • Reageer

Verwijderd

Topicstarter
Ik heb een Ati radeon 9700pro en wil deze installeren op mijn Debian Unstable box.

Ik heb het rpm pakket van www.ati.com omgezet naar de .deb met het programma alien.

Dat ging goed, nu moet ik alleen nog ./make en ./make_install uitvoeren:

debian:/lib/modules/fglrx/build_mod# ./make.sh
ATI module generator V 2.0
==========================
initializing...
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h

Dat kan kloppen, deze sources staan in /usr/src/kernel-source-2.6.0-test7/, dus:

cd /usr/src
ln -s /usr/src/kernel-source-2.6.0-test7/ linux

Daarna gaat de make (bijna) goed:

debian:/lib/modules/fglrx/build_mod# ./make.sh
ATI module generator V 2.0
==========================
initializing...
probing for VMA API version...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
doing Makefile based build for kernel 2.6.x and higher
ln -s ../libfglrx_ip.a.GCC3
echo agp3.c nvidia-agp.c agpgart_be.c i7505-agp.c firegl_public.c
agp3.c nvidia-agp.c agpgart_be.c i7505-agp.c firegl_public.c
ln -s ../agp3.c
echo agp3.c nvidia-agp.c agpgart_be.c i7505-agp.c firegl_public.c
agp3.c nvidia-agp.c agpgart_be.c i7505-agp.c firegl_public.c
ln -s ../nvidia-agp.c
echo agp3.c nvidia-agp.c agpgart_be.c i7505-agp.c firegl_public.c
agp3.c nvidia-agp.c agpgart_be.c i7505-agp.c firegl_public.c
ln -s ../agpgart_be.c
echo agp3.c nvidia-agp.c agpgart_be.c i7505-agp.c firegl_public.c
agp3.c nvidia-agp.c agpgart_be.c i7505-agp.c firegl_public.c
ln -s ../i7505-agp.c
echo agp3.c nvidia-agp.c agpgart_be.c i7505-agp.c firegl_public.c
agp3.c nvidia-agp.c agpgart_be.c i7505-agp.c firegl_public.c
ln -s ../firegl_public.c
ln -s ../agp_backend.h
ln -s ../agp.h
ln -s ../firegl_public.h
make -C /lib/modules/2.6.0-test7/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make: *** /lib/modules/2.6.0-test7/build: No such file or directory. Stop.
make: *** [kmod_build] Error 2
build succeeded with return value 0
duplicating results into driver repository...
cp: cannot stat `fglrx.ko': No such file or directory
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================

De make gaat volgens mij fout op:
make: *** /lib/modules/2.6.0-test7/build: No such file or directory. Stop

Maar deze file bestaat wel.

Dan toch maar dat ./make_install proberen in /lib/modules/fglrx:

debian:/lib/modules/fglrx# ./make_install.sh
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.

Dat gaat dus ook niet goed... iemand enig idee wat nu te doen?

  • Blaasvis
  • Registratie: November 2001
  • Laatst online: 11:48

Blaasvis

Cidora \o/

cp: cannot stat `fglrx.ko': No such file or directory

bestaat die wel ?

Freedom is everything you need ; <moto-moi|afk> ik verkloot het gewoon nooit :P


Verwijderd

Topicstarter
debian:/lib/modules/fglrx/build_mod# locate fglrx.ko
/lib/modules/fglrx/build_mod/fglrx.ko

Yup

Ah ik heb het probleem opgelost, de file build stond gelinked naar een directory die niet bestond.

Link verwijderd en een goede gemaakt, en het werkt |:(

[ Voor 46% gewijzigd door Verwijderd op 24-10-2003 07:24 ]