Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: can't install nvidia agp driver

  1. #1
    Join Date
    Sep 2008
    Location
    Bangladesh
    Posts
    17

    Default can't install nvidia agp driver

    Hi everyone

    I have just installed openSUSE 11.1 with KDE desktop (4.1), along with the default kernel, kernel source, make & gcc packages installed.

    My PC has an old agp card (GeFORCE FX 5500 with 256 MB RAM).

    I have a very slow dialup connection, so I manually downloaded the legacy driver (NVIDIA-Linux-x86-173.14.12-pkg1) for it from a friends place.

    Then I ran the command sh NVIDIA-Linux-x86-173.14.12-pkg1) q on it, when it tries to build the kernel module it reported

    Unable to build the NVIDIA kernel module. Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

    I am posting the some of the contents of '/var/log/nvidia-installer.log' below, as I cant post it all, since it exceeds the limit of 10000 characters set by the forum.

    What puzzles me most is that this same driver was installed on version 11.0 of openSUSE using the same method, & it worked fine!!

    Thanking you all in advance 

    Emon

    *********************************
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Fri Jan 2 08:27:36 2009
    installer version: 1.0.7

    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    precompiled interfaces : true
    no ncurses color : false
    query latest version : false
    OpenGL header files : true
    no questions : true
    silent : false
    no recursion : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    no kernel module : false
    force SELinux : default
    no X server check : false
    no cc version check : false
    force tls : (not specified)
    X install prefix : (not specified)
    X library install path : (not specified)
    X module install path : (not specified)
    OpenGL install prefix : (not specified)
    OpenGL install libdir : (not specified)
    utility install prefix : (not specified)
    utility install libdir : (not specified)
    doc install prefix : (not specified)
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)

    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> Installing NVIDIA driver version 173.14.12.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    ERROR: Unable to connect to download.nvidia.com (unknown host)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
    this means that the installer will need to compile a kernel interface for
    your kernel.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> Kernel source path: '/lib/modules/2.6.27.7-9-default/source'
    -> Kernel output path: '/lib/modules/2.6.27.7-9-default/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Performing Xen check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.27.7-9-defa
    ult/source SYSOUT=/lib/modules/2.6.27.7-9-default/build'...
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.27.7-9-default/build KBUILD_VERBOS
    E=1 -C /lib/modules/2.6.27.7-9-default/source SUBDIRS=/tmp/selfgz4267/NVIDIA
    -Linux-x86-173.14.12-pkg1/usr/src/nv modules
    make -C /lib/modules/2.6.27.7-9-default/build \
    KBUILD_SRC=/usr/src/linux-2.6.27.7-9 \
    KBUILD_EXTMOD="/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv"
    -f /usr/src/linux-2.6.27.7-9/Makefile \
    modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are mis
    sing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it
    ."; \
    echo; \
    /bin/false)

    **************
    I HAVE DELETED SOME LINES HERE TO SHORTEN THE MAIL
    **************
    c/nv/nv.c:14:
    /usr/src/linux-2.6.27.7-9/include/linux/scatterlist.h: In function ‘sg_vir
    t’:
    /usr/src/linux-2.6.27.7-9/include/linux/scatterlist.h:199: warning: pointer
    of type ‘void *’ used in arithmetic
    In file included from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
    c/nv/nv.c:14:
    /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv-linux.h:107:27
    : error: asm/semaphore.h: No such file or directory
    In file included from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
    c/nv/nv-linux.h:109,
    from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
    c/nv/nv.c:14:
    /usr/src/linux-2.6.27.7-9/include/linux/highmem.h: In function ‘zero_user_
    segments’:
    /usr/src/linux-2.6.27.7-9/include/linux/highmem.h:138: warning: pointer of t
    ype ‘void *’ used in arithmetic
    /usr/src/linux-2.6.27.7-9/include/linux/highmem.h:138: warning: pointer of t
    ype ‘void *’ used in arithmetic
    /usr/src/linux-2.6.27.7-9/include/linux/highmem.h:138: warning: pointer of t
    ype ‘void *’ used in arithmetic
    /usr/src/linux-2.6.27.7-9/include/linux/highmem.h:138: warning: pointer of t
    ype ‘void *’ used in arithmetic
    /usr/src/linux-2.6.27.7-9/include/linux/highmem.h:141: warning: pointer of t
    ype ‘void *’ used in arithmetic
    /usr/src/linux-2.6.27.7-9/include/linux/highmem.h:141: warning: pointer of t
    ype ‘void *’ used in arithmetic
    /usr/src/linux-2.6.27.7-9/include/linux/highmem.h:141: warning: pointer of t
    ype ‘void *’ used in arithmetic
    /usr/src/linux-2.6.27.7-9/include/linux/highmem.h:141: warning: pointer of t
    ype ‘void *’ used in arithmetic
    In file included from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
    c/nv/nv.c:14:
    /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv-linux.h: In fu
    nction ‘nv_execute_on_all_cpus’:
    /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv-linux.h:674: e
    rror: too many arguments to function ‘on_each_cpu’
    /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.c: In function
    ‘nv_kern_cpu_callback’:
    /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.c:1299: error:
    too many arguments to function ‘smp_call_function’
    /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.c:1306: error:
    too many arguments to function ‘smp_call_function’
    make[4]: *** [/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.
    o] Error 1
    make[3]: *** [_module_/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
    c/nv] Error 2
    make[2]: *** [sub-make] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [module] Error 1
    make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at Welcome to NVIDIA - World Leader in Visual Computing Technologies.
    *********************************

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: can't install nvidia agp driver

    Alright so here is how to install the nvidia driver manually, in case the one in the repo doesn't work or u just want to use the latest.

    Go to Yast>Software>Software Management

    Search for and install if you don't have these:

    make
    gcc
    kernel-source

    Now download the latest Nvidia driver:

    Place the file in your /home/username

    Now restart and at the boot screen, pause the boot by moving the down button, then move back up and clear any text in the boot arguments by holding backspace. Then just type the number: 3
    At the login

    Type "root" then enter and then your root password and press enter.

    now type
    cd /home/username

    *Now remember you can use the {TAB} key to auto complete

    so type:
    sh NVIDIA{TAB}
    and the whole file name should auto complete

    eg: sh NVIDIA-Linux-x86-173.14.09-pkg1.run

    Follow the installer and let it compile the kernel module for you.
    Say Yes to everything
    Use TAB to move around
    reboot
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    relative
    Posts
    1,172

    Default Re: can't install nvidia agp driver

    After the successful installation & before rebooting do not forget to type
    Code:
    sax2 -r -m 0=nvidia
    *0 - digit
    http://mydailyhash.wordpress.com/
    http://yami.googlecode.com/

  4. #4
    Join Date
    Sep 2008
    Location
    Bangladesh
    Posts
    17

    Default Re: can't install nvidia agp driver

    Alright so here is how to install the nvidia driver manually, in case the one in the repo doesn't work or u just want to use the latest.
    No I can't have the latest & greatest drivers, cos I mentioned that my agp card is old!! That's why I am having to download a legacy driver....

    Search for and install if you don't have these:

    make
    gcc
    kernel-source
    Yes I have those pkg installed, I mentioned it in the very first line!!!

    Now restart and at the boot screen, pause the boot by moving the down button, then move back up and clear any text in the boot arguments by holding backspace. Then just type the number: 3
    At the login

    Type "root" then enter and then your root password and press enter.
    Thanks for that tip, I din't know that it could be done that way; but I did switch to runlevel 3 after loging in by doing 'su' & then 'telinit 3'.

    Now remember you can use the {TAB} key to auto complete

    so type:
    sh NVIDIA{TAB}
    and the whole file name should auto complete

    eg: sh NVIDIA-Linux-x86-173.14.09-pkg1.run

    Follow the installer and let it compile the kernel module for you.
    Say Yes to everything
    Use TAB to move around
    reboot
    may be I couldn't clarify in my original post but....... that's exactly what I was trying to do, but could not

    I would request you, please, PLEASE, take no offence &... go through my original post once again...

    Emon

  5. #5
    Join Date
    Sep 2008
    Location
    Bangladesh
    Posts
    17

    Default Re: can't install nvidia agp driver

    Alright so here is how to install the nvidia driver manually, in case the one in the repo doesn't work or u just want to use the latest.
    No I can't have the latest & greatest drivers, cos I mentioned that my agp card is old!! That's why I am having to download a legacy driver....

    Search for and install if you don't have these:

    make
    gcc
    kernel-source
    Yes I have those pkg installed, I mentioned it in the very first line!!!

    Now restart and at the boot screen, pause the boot by moving the down button, then move back up and clear any text in the boot arguments by holding backspace. Then just type the number: 3
    At the login

    Type "root" then enter and then your root password and press enter.
    Thanks for that tip, I din't know that it could be done that way; but I did switch to runlevel 3 after loging in by doing 'su' & then 'telinit 3'.

    Now remember you can use the {TAB} key to auto complete

    so type:
    sh NVIDIA{TAB}
    and the whole file name should auto complete

    eg: sh NVIDIA-Linux-x86-173.14.09-pkg1.run

    Follow the installer and let it compile the kernel module for you.
    Say Yes to everything
    Use TAB to move around
    reboot
    may be I couldn't clarify in my original post, but....... that's exactly what I was trying to do, but could not

    I would request you, please, PLEASE, take no offense &... go through my original post once again...

    Emon

  6. #6
    Join Date
    Jun 2008
    Location
    relative
    Posts
    1,172

    Default Re: can't install nvidia agp driver

    Everything looks like OK. I'm usually installing the Base Development patter in Yast-Software Management before doing anything with kernel or nvidia drivers. Maybe something is missing.
    Good luck.
    http://mydailyhash.wordpress.com/
    http://yami.googlecode.com/

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,665
    Blog Entries
    15

    Default Re: can't install nvidia agp driver

    Quote Originally Posted by emon suse

    >
    > Alright so here is how to install the nvidia driver manually, in case
    > the one in the repo doesn't work or u just want to use the latest.
    >


    No I can't have the latest & greatest drivers, cos I mentioned that my
    agp card is old!! That's why I am having to download a legacy
    driver....

    >
    > Search for and install if you don't have these:
    >
    > make
    > gcc
    > kernel-source


    Yes I have those pkg installed, I mentioned it in the very first
    line!!!

    >
    > Now restart and at the boot screen, pause the boot by moving the down
    > button, then move back up and clear any text in the boot arguments by
    > holding backspace. Then just type the number: 3
    > At the login
    >
    > Type "root" then enter and then your root password and press enter.
    >


    Thanks for that tip, I din't know that it could be done that way; but I
    did switch to runlevel 3 after loging in by doing 'su' & then 'telinit
    3'.

    >
    > Now remember you can use the {TAB} key to auto complete
    >
    > so type:
    > sh NVIDIA{TAB}
    > and the whole file name should auto complete
    >
    > eg: sh NVIDIA-Linux-x86-173.14.09-pkg1.run
    >
    > Follow the installer and let it compile the kernel module for you.
    > Say Yes to everything
    > Use TAB to move around
    > reboot
    >


    may be I couldn't clarify in my original post, but....... that's
    exactly what I was trying to do, but could not

    I would request you, please, PLEASE, take no offense &... go through my
    original post once again...

    Emon
    Hi
    You might also need to install kernel-syms as well linux-kernel-headers.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-pae
    up 22:27, 2 users, load average: 0.30, 0.30, 0.28
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82


  8. #8
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: can't install nvidia agp driver

    You might also need to install kernel-syms as well linux-kernel-headers.
    You could be right I think Malcolm. I seem to recall this being needed for me in the distant past.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  9. #9
    Join Date
    Sep 2008
    Location
    Bangladesh
    Posts
    17

    Talking Re: can't install nvidia agp driver

    Quote Originally Posted by caf4926 View Post
    You could be right I think Malcolm. I seem to recall this being needed for me in the distant past.
    Sorry about the delayed response.

    But I couldnt compile the kernel. so finally got the driver rpm pkgs from ftp://download.nvidia.com/opensuse/11.1/i586/ & installed them; everything seems to be working fine now, just wanted to let everyone know.

    Thanks again for your time everyone,

    Emon

  10. #10

    Default Re: can't install nvidia agp driver

    I am having the same problem as the parent poster above. I can not get the NVidia drivers to compile on my box. My hardware is a Dell D630 with a NVidia NVM 135M. When I look at the packages installed I see that the linux-kernel-headers installed is 2.6.27-2.28.
    When I execute the command> uname -a
    I get the following output:
    Linux box01 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux
    but all of the other kernel related installs are 2.6.27.7-9.1

    Any idea on how I can get a linux-kernel-headers to match my actual system?

    - Nobes

Page 1 of 3 123 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
  •