My Problem:
Code: Select all
gentoo root # emerge ati-drivers
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/ati-drivers-3.7.6-r1 to /
>>> md5 src_uri ;-) fglrx-4.3.0-3.7.6.i386.rpm
* X11 implementation is xfree.
>>> Unpacking source...
>>> Unpacking fglrx-4.3.0-3.7.6.i386.rpm
* Applying fglrx-2.6-vmalloc-vmaddr.patch... [ ok ]
>>> Source unpacked.
* Building the DRM module...
make: Entering directory `/mnt/spare/src/linux-2.6.4-ck1'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M] /var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/agp3.o
CC [M] /var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/nvidia-agp.o
CC [M] /var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/agpgart_be.o
CC [M] /var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/i7505-agp.o
CC [M] /var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/firegl_public.c:2248: warning: initialization from incompatible pointer type
/var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/firegl_public.c:2266: warning: initialization from incompatible pointer type
/var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/firegl_public.c:2273: warning: initialization from incompatible pointer type
/var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/firegl_public.c:2280: warning: initialization from incompatible pointer type
/var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/firegl_public.c:2289: warning: initialization from incompatible pointer type
LD [M] /var/tmp/portage/ati-drivers-3.7.6-r1/work/lib/modules/fglrx/build_mod/fglrx.o
ACCESS DENIED open_wr: /mnt/spare/src/linux-2.6.4-ck1/.tmp_versions/fglrx.mod
/bin/sh: line 1: .tmp_versions/fglrx.mod: Permission denied
Building modules, stage 2.
MODPOST
ACCESS DENIED open_wr: /mnt/spare/src/linux-2.6.4-ck1/.__modpost.cmd
/bin/sh: line 1: ./.__modpost.cmd: Permission denied
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: Leaving directory `/mnt/spare/src/linux-2.6.4-ck1'
* DRM module not built
nostrip
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-video_-_ati-drivers-3.7.6-r1-8605.log"
open_wr: /mnt/spare/src/linux-2.6.4-ck1/.tmp_versions/fglrx.mod
open_wr: /mnt/spare/src/linux-2.6.4-ck1/.__modpost.cmd
--------------------------------------------------------------------------------
Notice that my Kernel Sources are saved in /mnt/spare/src/..., but /usr/src is a symlink to /mnt/spare/src, so /usr/src/linux is pointing to the correct sources. I've been able to build the fglrx module manually, but make install from there also fails. I can use(and am using) the module, I just copied it over to my /lib/modules/...
This error is happening to me since about one week, I had built ati-drivers without problems several times before (3.7.0, 3.2.
BTW: Yes, I did it as root.
The error log (nothing different from above):
Code: Select all
loki@gentoo loki $ cat /tmp/sandbox-media-video_-_ati-drivers-3.7.6-r1-8605.log open_wr: /mnt/spare/src/linux-2.6.4-ck1/.tmp_versions/fglrx.mod
open_wr: /mnt/spare/src/linux-2.6.4-ck1/.__modpost.cmd



