Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Im using Sabayon linux 3.25 and when i emerge nvidia-legacy-drivers i get this error: Code: y-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv modules make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. In ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24

    Nvidia legacy emerge error


    Im using Sabayon linux 3.25 and when i emerge nvidia-legacy-drivers i get this error:

    Code:
     y-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv modules
    make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
    In file included from /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c:14:
    /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv-linux.h:17:26: error: linux/config.h: No such file or directory
    /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c: In function ‘nv_kern_open’:
    /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c:1764: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
    make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.o] Error 1
    make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv] Error 2
    make[2]: *** [modules] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [module] Error 1
    make: *** [module] Error 2
    
    !!! ERROR: x11-drivers/nvidia-legacy-drivers-1.0.7184-r90 failed.
    Call stack:
      ebuild.sh, line 1564:   Called dyn_compile
      ebuild.sh, line 937:   Called src_compile
      nvidia-legacy-drivers-1.0.7184-r90.ebuild, line 145:   Called linux-mod_src_compile
      linux-mod.eclass, line 510:   Called die
    
    !!! Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.19-gentoo-r4/build clean module.
    !!! If you need support, post the topmost build error, and the call stack if relevant.
    
    !!! This ebuild is from an overlay: '/usr/portage/local/layman/sabayon'
    Help would be appreciated.


    --divad

  2. #2
    Linux Enthusiast gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    541
    Make sure you are using the same version of GCC to build the Nvidia drivers that the kernel was compiled with.

    Also, are you positive that you don't need the regular drivers?

    It is hard to make an informed guess without the details of your system.

    It would help to know the hardware.

    Linux User #376741
    Code is Poetry

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24
    Here r my specs

    Nvidia TNT/Riva 128 64-bit
    AMD Athlon 64
    512MB ram
    GCC version 4.1.1-gentoo-r1
    linux-kernel 2.6.19
    linux-headers 2.6.19

  4. #4
    Linux Enthusiast gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    541
    Just curious, but have you tried the mainstream drivers instead of the legacy ones?

    Also, I am not that familiar with Sabayon, but I hear there are some patches they apply that aren't in Gentoo, and even though they share the same portage trees, it is not recommended to do some portage commands and such.

    Other than that, I am sorry I don't have an answer. Have you searched the Gentoo forums yet?

    Linux User #376741
    Code is Poetry

  5. #5
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24
    Yes i did and it said "FATAL: Error inserting nvidia (/lib/modules/2.6.19-gentoo-r4/video/nvidia.ko): No such device"

    No i didn't check the Gentoo forums but ill check...

  6. #6
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24
    dmesg says this "[ 470.198157] NVRM: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this system is
    [ 470.198160] NVRM: supported through the NVIDIA Legacy drivers. Please
    [ 470.198163] NVRM: visit http://www.nvidia.com/object/unix.html for more
    [ 470.198165] NVRM: information. The 1.0-9631 NVIDIA driver will ignore
    [ 470.198167] NVRM: this GPU. Continuing probe...
    [ 470.198388] NVRM: No NVIDIA graphics adapter found!
    "

  7. #7
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24
    Quote Originally Posted by gruven
    Just curious, but have you tried the mainstream drivers instead of the legacy ones?

    Also, I am not that familiar with Sabayon, but I hear there are some patches they apply that aren't in Gentoo, and even though they share the same portage trees, it is not recommended to do some portage commands and such.

    Other than that, I am sorry I don't have an answer. Have you searched the Gentoo forums yet?
    Yea i did use the gentoo portage tree instead of the sabayon portage trees......that just might be my problem...

  8. #8
    Linux Enthusiast gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    541
    I just saw a post on gentoo forums, and it looks like it was you, but you can never be sure.

    So it looks like you will be needing to patch the driver, or recompile your kernel with the same version of gcc you are using to build the driver, or possibly both.

    Linux User #376741
    Code is Poetry

  9. #9
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24
    Yep that was me "mdskpr" right?

    i guess ill build a new kernel i've done that before but ive never patched a driver.....

  10. #10
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24
    Thanks, gruven

Page 1 of 2 1 2 LastLast

Posting Permissions

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