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 friend’s 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 can’t 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.


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

After the successful installation & before rebooting do not forget to type


sax2 -r -m 0=nvidia

*0 - digit

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

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

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.

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

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.

Sorry about the delayed response….

But I couldn’t 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

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

Hi
Those headers are correct, they don’t change to match the updated
kernel.

Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-pae
up 9:27, 2 users, load average: 0.02, 0.08, 0.15
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Malcolm,

Thanks for the info. I still can not compile the NVidia driver. I would use the software repositories, but they do not include a driver for my NVidia card - Quardro NVS 135M.

I have downloaded the file:
NVIDIA-Linux-x86_64-100.14.23-pkg2.run

I have followed all the instructions and get an error.
The last release of OpenSuse I used 10.3, this driver and the steps worked fine.

Attached is the tail end of my /var/log/nvidia-installer.log

mkdir -p /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/.tmp
versions ; rm -f /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/sr
c/nv/.tmp_versions/*
make -f /usr/src/linux-2.6.27.7-9/scripts/Makefile.build obj=/tmp/selfgz2907
7/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv
echo #define NV_COMPILER “cc -v 2>&1 | tail -n 1” > /tmp/selfgz29077/NV
IDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/
.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.3/include -D

KERNEL_ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.27.7-9/include -I/usr/sr
c/linux-2.6.27.7-9/arch/x86/include -include include/linux/autoconf.h -I/tm
p/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Os -m64 -mtune=generic -mno-red-zone -
mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -mno-sse -mno-mmx -mn
o-sse2 -mno-3dnow -I/usr/src/linux-2.6.27.7-9/include/asm-x86/mach-default -
Iinclude/asm-x86/mach-default -fno-stack-protector -fomit-frame-pointer -fas
ynchronous-unwind-tables -Wdeclaration-after-statement -Wno-pointer-sign -I
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv -Wall -Wimpli
cit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointe
r-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-comp
are -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -D
NVRM -DNV_VERSION_STRING=“100.14.23” -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL
STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT
-DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE

STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -
DNV_REMAP_PFN_RANGE_PRESENT -DNV_K
MEM_CACHE_CREATE_5_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_
MODNAME=KBUILD_STR(nvidia)" -D"DEBUG_HASH=30" -D"DEBUG_HASH2=28" -c -o /tmp/
selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/.tmp_nv.o /tmp/sel
fgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c
In file included from /usr/src/linux-2.6.27.7-9/include/linux/bitops.h:17,
from /usr/src/linux-2.6.27.7-9/include/linux/kernel.h:15,
from /usr/src/linux-2.6.27.7-9/include/linux/sched.h:52,
from /usr/src/linux-2.6.27.7-9/include/linux/utsname.h:35,
from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/nv/nv-linux.h:19,
from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/nv/nv.c:14:
include2/asm/bitops.h: In function ‘set_bit’:
include2/asm/bitops.h:60: warning: pointer of type ‘void *’ used in arit
hmetic
include2/asm/bitops.h: In function ‘clear_bit’:
include2/asm/bitops.h:97: warning: pointer of type ‘void *’ used in arit
hmetic
In file included from /usr/src/linux-2.6.27.7-9/include/linux/utsname.h:35,
from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/nv/nv-linux.h:19,
from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/nv/nv.c:14:
/usr/src/linux-2.6.27.7-9/include/linux/sched.h: In function ‘object_is_on
stack’:
/usr/src/linux-2.6.27.7-9/include/linux/sched.h:1989: warning: pointer of ty
pe ‘void *’ used in arithmetic
In file included from include2/asm/dma-mapping.h:9,
from /usr/src/linux-2.6.27.7-9/include/linux/dma-mapping.h:
52,
from /usr/src/linux-2.6.27.7-9/include/asm-generic/pci-dma-
compat.h:7,
from include2/asm/pci.h:96,
from /usr/src/linux-2.6.27.7-9/include/linux/pci.h:1009,
from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/nv/nv-linux.h:78,
from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/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/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/nv/nv.c:14:
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv-linux.h:98
:27: error: asm/semaphore.h: No such file or directory
In file included from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/nv/nv-linux.h:100,
from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/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:141: warning: pointer of t
ype ‘void *’ used in arithmetic
In file included from /usr/src/linux-2.6.27.7-9/include/linux/compat.h:14,
from include2/asm/mtrr.h:141,
from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/nv/nv-linux.h:112,
from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/nv/nv.c:14:
include2/asm/compat.h: In function ‘compat_alloc_user_space’:
include2/asm/compat.h:210: warning: pointer of type ‘void *’ used in ari
thmetic
In file included from /tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/nv/nv.c:14:
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv-linux.h: I
n function ‘nv_execute_on_all_cpus’:
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv-linux.h:65
2: error: too many arguments to function ‘on_each_cpu’
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c: In func
tion ‘nvos_proc_create’:
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:630: err
or: ‘proc_root_driver’ undeclared (first use in this function)
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:630: err
or: (Each undeclared identifier is reported only once
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:630: err
or: for each function it appears in.)
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c: In func
tion ‘__nv_setup_pat_entries’:
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:958: war
ning: comparison between signed and unsigned
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c: In func
tion ‘__nv_restore_pat_entries’:
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:984: war
ning: comparison between signed and unsigned
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c: In func
tion ‘nv_kern_cpu_callback’:
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:1290: wa
rning: comparison between signed and unsigned
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:1293: er
ror: too many arguments to function ‘smp_call_function’
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:1297: wa
rning: comparison between signed and unsigned
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:1300: er
ror: too many arguments to function ‘smp_call_function’
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c: In func
tion ‘nv_kern_vma_nopage’:
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:1832: er
ror: ‘NOPAGE_SIGBUS’ undeclared (first use in this function)
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c: At top
level:
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:1839: er
ror: unknown field ‘nopage’ specified in initializer
/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv/nv.c:1839: wa
rning: initialization from incompatible pointer type
make[4]: *** [/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/usr/src/nv
/nv.o] Error 1
make[3]: *** [module/tmp/selfgz29077/NVIDIA-Linux-x86_64-100.14.23-pkg2/us
r/src/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.

Hi
I’m taking a guess here but it may be gcc43 issues with the older
driver. What I suggest is go into YaST and delete gcc43 and install
gcc41. If it works, remove gcc41 and re-install gcc43, you
could install both and just create softlinks. But try above first.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-pae
up 10:17, 2 users, load average: 0.06, 0.02, 0.04
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Malcolm,

Excellent suggestion. I tried your suggestion and this is what the installer said:

The CC version check failed:

The compiler used to compile the kernel (gcc 4.3) does not exactly match the current compiler (gcc 4.1). The Linux 2.6 kernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel.

If you know what you are doing and want to ignore the gcc version check, select “No” to continue installation. Otherwise, select “Yes” to abort installation, set the CC environment variable to the name of the compiler used to compile your kernel, and restart installation. Abort now? (Answer: No)

I proceeded to build the driver and it still failed (with similar errors). I am going to chock this up to some changes made with the kernel 2.6.* branch.

I am not sure what changed between 10.3 vs 11.1

  • Nobes

Hi
Ok, I would restore back to the gcc43, drop to runlevel 3. Then (as
root) cd to /usr/src/linux and run the following commands, then cd to
the nvidia file your trying to install and try again;


make clean
make oldconfig
make prepare
make scripts
cp /usr/src/linux-obj/i386/default/Module.symvers /usr/src/linux/


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-pae
up 1:01, 1 user, load average: 0.13, 0.11, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Malcolm,

Thanks for the new suggestion. I did as you stated with the exception of:
cp /usr/src/linux-obj/i386/default/Module.symvers /usr/src/linux/
was changed to:
cp /usr/src/linux-obj/x86_64/default/Module.symvers /usr/src/linux/

I am running 64-bit linux.

It still failed with similar errors.

  • Nobes

Hi
Can you post the log file up on nopaste.com?


curl -F file=@/var/log/nvidia-installer.log www.nopaste.com/a

and post back the URL.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-pae
up 2:21, 1 user, load average: 0.43, 0.36, 0.40
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Malcolm,

Cool, I had no idea that service existed and that there was a utility (curl) to aide that service. Learn something new everyday. Anyway the url is:
nvidia-installer.log - nopaste.com (beta)

From browsing elsewhere it seems as if some API in the 2.6.27 kernel has changed. I am led to believe this based on what I found on the web:
GeForce 9200M GS + 2.6.27-rc6 - nV News Forums
and the log file that is posted.

I think I just need to figure out someway of patching my driver from NVidia (NVIDIA-Linux-x86_64-100.14.11-pkg2.run). Admitedly though I might try to touch base with some one at Nvidia.

  • Nobes

Hi
So have you tried checking your PCI ID against a later version. Do you
need to know how to apply the patch posted?


echo -n "0x" && /sbin/lspci -nv |grep VGA|cut -f4 -d ":"|cut -f1 -d "("

From the above output use the numbers from the output to look at the
Supported Products List (link on the left) to verify your card is
supported by the driver.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-pae
up 3:40, 2 users, load average: 0.17, 0.10, 0.07
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Making some progress…

So when I run the command Malcolm provided the result is:
0x042b
which corresponds to:
Quadro NVS 135M

I found that NVidia provides a new unified binary driver (NVIDIA-Linux-x86_64-180.22-pkg2.run). This driver ran, compiled, and installed without “errors”. Yay! - or so I thought…

Now when I do the command > “init 5”, basically the screen flickers and I am dumped backed to console-1. If I do ctrl-alt-F7 I am presented at a black screen with a blinking underscore in the top left corner.

The driver was downloaded from:
Linux x64 (AMD64/EM64T)
The supported list is located at:
Appendix*A.*Supported NVIDIA GPU Products

It seems as if my card (NVS 135M) should be supported with this driver but I had no such luck. I guess it is time to bug Nvidia forumns.

  • Nobes