Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Can't create //usr/X11R6/lib/modules/dri/fglrx_dri.so: File exists

  1. #1
    Join Date
    Nov 2007
    Posts
    77

    Default Can't create //usr/X11R6/lib/modules/dri/fglrx_dri.so: File exists

    Detected configuration:
    Architecture: x86_64 (64-bit)
    X Server: X.Org 7.1 and later releases 64-bit
    loki_setup: directory: (null)
    loki_setup: Can't create //usr/X11R6/lib/modules/dri/fglrx_dri.so: File exists
    loki_setup: Can't create //usr/X11R6/lib64/modules/dri/fglrx_dri.so: File exists

    Wonderful, it can't create a file even as super user.

    I have removed both files several times but I always seem to get those two errors.

    It is trying to load the old fglrx_dri.so but when it does, all I see is black and flashes when my system tries to load X. I had to switch back to vesa for the time being.
    Last edited by Laughing1; 04-29-2008 at 10:49 PM.

  2. #2
    Join Date
    Nov 2007
    Posts
    77

    Default

    I found out what the issue was:

    First I ran:

    # lsmod | grep fglrx

    to see if there was the old version of fglrx running (it printed output), so I used the command:

    # rmmod fglrx

    in order to remove the old fglrx module then I ran the AMD script, rebooted, and it finally worked properly.

  3. #3
    Join Date
    Dec 2008
    Location
    Syros, Greece
    Posts
    29

    Default

    I have the same problem, but i don't have any module loaded.

    lsmod | grep fglrx

    is clean.

    I have check the destination and there are not any fglrx_dri.so files in any place.

    The result is that i'm getting a black screen and the system freezes.

    Any hints?
    Last edited by baskin; 06-16-2009 at 12:55 PM.

  4. #4
    Join Date
    Nov 2007
    Posts
    77

    Default

    Try this if you installed it from the .sh fglrx package as root:
    Code:
    # sh /usr/share/fglrx/fgrlx-uninstall.sh
    Or remove the RPM if you installed it via RPM.

  5. #5
    Join Date
    Dec 2008
    Location
    Syros, Greece
    Posts
    29

    Default

    I have tried that, the unistalation completes successfully, there are not any files, but i'm continuing to get the error message.

  6. #6
    Join Date
    Jul 2008
    Posts
    208

    Default

    I get this too but when you look at the log file at /usr/share/ati you see other errors. I get this with kernels newer than 2.6.28, so I'm using 2.6.27.15 and have no problems. But you have to compile kernel with msi settings under bus options. I can't remember but think I enable the pci slot option too.

  7. #7
    Join Date
    Dec 2008
    Location
    Syros, Greece
    Posts
    29

    Default

    Quote Originally Posted by forum1793 View Post
    I get this too but when you look at the log file at /usr/share/ati you see other errors. I get this with kernels newer than 2.6.28, so I'm using 2.6.27.15 and have no problems. But you have to compile kernel with msi settings under bus options. I can't remember but think I enable the pci slot option too.
    I'm using kernel 2.6.27.23 and on another similar system with the same kernel, I have no problem.

  8. #8
    Join Date
    Dec 2008
    Location
    Syros, Greece
    Posts
    29

    Default

    I have searched this issue a little further.

    After the failed installation i have in /usr/share/ati/fglrx-install.log:

    [Message] Kernel Module : Trying to install a precompiled kernel module.
    [Message] Kernel Module : Precompiled kernel module version mismatched.
    [Message] Kernel Module : Found kernel module build environment, generating kernel module now.
    AMD kernel module generator version 2.1
    doing Makefile based build for kernel 2.6.x and higher
    rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
    make -C /lib/modules/2.6.27.23-0.1-default/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
    make[1]: Entering directory `/usr/src/linux-2.6.27.23-0.1-obj/x86_64/default'
    make -C ../../../linux-2.6.27.23-0.1 O=/usr/src/linux-2.6.27.23-0.1-obj/x86_64/default/. modules
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
    LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
    LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
    make[1]: Leaving directory `/usr/src/linux-2.6.27.23-0.1-obj/x86_64/default'
    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.
    - recreating module dependency list
    - trying a sample load of the kernel modules
    failed.
    [Error] Kernel Module : Failed to install compiled kernel module - please consult readme.
    If i change to /lib/modules/fglrx and execute ./make_install.sh i get:

    FATAL:Error inserting fglrx(/lib/modules/2.6.27.23-0.1.default/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
    All executed as root.

  9. #9
    Join Date
    Aug 2007
    Posts
    6,645

    Default

    Are you sure that the oss modules (drm radeon) are not loaded? Also check dmesg for errors.

  10. #10
    Join Date
    Dec 2008
    Location
    Syros, Greece
    Posts
    29

    Default

    I always try after clean boot on init 3.

    Just to be sure i checked with lsmod and no drm or radeon modules are loaded.

    dmesg | grep fglrx shows this:

    fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
    [fglrx] Maximum main memory to use for locked dma buffers: 3795 MBytes.
    [fglrx] vendor: 1002 device: 9490 count: 1
    [fglrx] ioport: bar 4, base 0xe000, size: 0x100
    [fglrx] Kernel PAT support is enabled
    [fglrx:firegl_init_module] *ERROR* firegl_stub_register failed
    [fglrx] Maximum main memory to use for locked dma buffers: 3795 MBytes.
    [fglrx] vendor: 1002 device: 9490 count: 1
    [fglrx] ioport: bar 4, base 0xe000, size: 0x100
    [fglrx] Kernel PAT support is enabled
    [fglrx:firegl_init_module] *ERROR* firegl_stub_register failed
    [fglrx] Maximum main memory to use for locked dma buffers: 3795 MBytes.
    [fglrx] vendor: 1002 device: 9490 count: 1
    [fglrx] ioport: bar 4, base 0xe000, size: 0x100
    [fglrx] Kernel PAT support is enabled
    [fglrx:firegl_init_module] *ERROR* firegl_stub_register failed
    [fglrx] Maximum main memory to use for locked dma buffers: 3795 MBytes.
    [fglrx] vendor: 1002 device: 9490 count: 1
    [fglrx] ioport: bar 4, base 0xe000, size: 0x100
    [fglrx] Kernel PAT support is enabled
    [fglrx:firegl_init_module] *ERROR* firegl_stub_register failed
    [fglrx] Maximum main memory to use for locked dma buffers: 3795 MBytes.
    [fglrx] vendor: 1002 device: 9490 count: 1
    [fglrx] ioport: bar 4, base 0xe000, size: 0x100
    [fglrx] Kernel PAT support is enabled
    [fglrx:firegl_init_module] *ERROR* firegl_stub_register failed
    [fglrx] Maximum main memory to use for locked dma buffers: 3795 MBytes.
    [fglrx] vendor: 1002 device: 9490 count: 1
    [fglrx] ioport: bar 4, base 0xe000, size: 0x100
    [fglrx] Kernel PAT support is enabled
    [fglrx:firegl_init_module] *ERROR* firegl_stub_register failed
    [fglrx] Maximum main memory to use for locked dma buffers: 3795 MBytes.
    [fglrx] vendor: 1002 device: 9490 count: 1
    [fglrx] ioport: bar 4, base 0xe000, size: 0x100
    [fglrx] Kernel PAT support is enabled
    [fglrx:firegl_init_module] *ERROR* firegl_stub_register failed
    [fglrx] Maximum main memory to use for locked dma buffers: 3795 MBytes.
    [fglrx] vendor: 1002 device: 9490 count: 1
    [fglrx] ioport: bar 4, base 0xe000, size: 0x100
    [fglrx] Kernel PAT support is enabled
    [fglrx:firegl_init_module] *ERROR* firegl_stub_register failed
    [fglrx] Maximum main memory to use for locked dma buffers: 3795 MBytes.
    [fglrx] vendor: 1002 device: 9490 count: 1
    [fglrx] ioport: bar 4, base 0xe000, size: 0x100
    [fglrx] Kernel PAT support is enabled
    [fglrx] module loaded - fglrx 8.62.4 [May 20 2009] with 1 minors
    [fglrx] module unloaded - fglrx 8.62.4 [May 20 2009]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •