Sign in with
Sign up | Sign in
Your question

Problems installing Nvidia drivers on SuSE Linux 9.1 with ..

Last response: in Graphics & Displays
Share
Anonymous
June 22, 2004 3:05:11 AM

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

Hi!
I have downloaded the Nvidia Driver from Nvidia.com for Linux, when
building the driver it was not possible to create the modules. Can
somebody tell me what i made wrong? for any help, thank in advance.

Tamer

This is the output:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Jun 16 02:24:36 2004

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this
means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.6/build'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o
os-interfa
ce.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module
SYSSRC=/lib/modules/2.6.6/build'...
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" >
/tmp/selfgz6364/NVI
DIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h
CC [M] /tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o
In file included from include/linux/list.h:7,
from include/linux/wait.h:14,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:52,
from
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used
in arith
metic
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In
function
`nvos_malloc_pages':
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:385:
warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In
function
`nvos_create_alloc':
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:513:
warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:523:
warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: At
top level
:
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185:
warning
: initialization from incompatible pointer type
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In
function
`nv_alloc_file_private':
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1193:
warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1204:
warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In
function
`nv_kern_open':
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1265:
warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In
function
`nv_kern_ctl_open':
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1914:
warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: At
top level
:
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2010:
error:
conflicting types for `nv_set_hotkey_occurred_flag'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:350:
error: p
revious declaration of `nv_set_hotkey_occurred_flag'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2197:
error:
conflicting types for `nv_find_nv_mapping'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:339:
error: p
revious declaration of `nv_find_nv_mapping'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2269:
error:
conflicting types for `nv_find_agp_kernel_mapping'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:341:
error: p
revious declaration of `nv_find_agp_kernel_mapping'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2345:
error:
conflicting types for `nv_get_kern_phys_address'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:342:
error: p
revious declaration of `nv_get_kern_phys_address'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2375:
error:
conflicting types for `nv_get_user_phys_address'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:343:
error: p
revious declaration of `nv_get_user_phys_address'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2406:
error:
conflicting types for `nv_alloc_pages'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:353:
error: p
revious declaration of `nv_alloc_pages'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2594:
error:
conflicting types for `nv_free_pages'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:354:
error: p
revious declaration of `nv_free_pages'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2692:
error:
conflicting types for `nv_lock_rm'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:345:
error: p
revious declaration of `nv_lock_rm'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2712:
error:
conflicting types for `nv_unlock_rm'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:346:
error: p
revious declaration of `nv_unlock_rm'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2726:
error:
conflicting types for `nv_lock_heap'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:347:
error: p
revious declaration of `nv_lock_heap'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2736:
error:
conflicting types for `nv_unlock_heap'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:348:
error: p
revious declaration of `nv_unlock_heap'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2752:
error:
conflicting types for `nv_post_event'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:363:
error: p
revious declaration of `nv_post_event'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2790:
error:
conflicting types for `nv_get_event'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:364:
error: p
revious declaration of `nv_get_event'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2833:
error:
conflicting types for `nv_agp_init'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:356:
error: p
revious declaration of `nv_agp_init'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2895:
error:
conflicting types for `nv_agp_teardown'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:357:
error: p
revious declaration of `nv_agp_teardown'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2936:
error:
conflicting types for `nv_agp_translate_address'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:358:
error: p
revious declaration of `nv_agp_translate_address'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2968:
error:
conflicting types for `nv_int10h_call'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:351:
error: p
revious declaration of `nv_int10h_call'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2977:
error:
conflicting types for `nv_start_rc_timer'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:360:
error: p
revious declaration of `nv_start_rc_timer'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2998:
error:
conflicting types for `nv_stop_rc_timer'
/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:361:
error: p
revious declaration of `nv_stop_rc_timer'
make[3]: ***
[/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o
] Error 1
make[2]: ***
[/tmp/selfgz6364/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv] Err
or 2
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 www.nvidia.com.
Anonymous
June 22, 2004 3:05:12 AM

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

Tamer wrote:

> Hi!
> I have downloaded the Nvidia Driver from Nvidia.com for Linux, when
> building the driver it was not possible to create the modules. Can
> somebody tell me what i made wrong? for any help, thank in advance.
>
> Tamer
>
> This is the output:
>
> nvidia-installer log file '/var/log/nvidia-installer.log'
> creation time: Wed Jun 16 02:24:36 2004

Hi and intro to the group. CC here. Been lurking long time and wondering if
I wuz the only Lowley Linux Geek around. ;-)

ftp://ftp.suse.com/pub/suse/i386/supplementary/X/XFree8...

Is a link on the nvidia download page that may contain what you need. I've
never installed on Suse so far, but several Mandrake with the .run script
and this weekend I did a Knoppix the *Debian* way since I was at war about
my suddenly not being to access the nvidia download. Kept getting a time
out on port 80. After I talked to my ISP this morning the problem seems to
have cleared up. ;-)

My procedure on both distros has required me to have a kernel source set up
properly configured for the kernel I am running and my machine and nvidia
interacting and downloading the sources and compiling the modules and
installing them.

It was a fairly complicated deal with the Deb and I had to apt-get a couple
of packages, but it did not require me to make contact with nvidia in the
process so I got it up and running regardless of the ISP difficulties I was
having.

Wish I had more to offer. Hope you get it going.

CC
Anonymous
June 23, 2004 2:47:41 AM

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

Hi again!
Thank you very much for helping me. You were really a great support. I
got the NVIDIA driver to run after I compiled the latest kernel from
scratch up again. But the problem is that I can’t install the NVIDIA
driver when I boot the new kernel, only the previous default kernel
allows me to install the NVIDIA driver. The problem is actually solved
and not solved. Not solved that if I run the new compiled kernel I won’t
be able to run XWindows with the new driver.

Tamer


Chronocidal Charlie wrote:

> Tamer wrote:
>
>
>>Hi!
>>I have downloaded the Nvidia Driver from Nvidia.com for Linux, when
>>building the driver it was not possible to create the modules. Can
>>somebody tell me what i made wrong? for any help, thank in advance.
>>
>>Tamer
>>
>>This is the output:
>>
>>nvidia-installer log file '/var/log/nvidia-installer.log'
>>creation time: Wed Jun 16 02:24:36 2004
>
>
> Hi and intro to the group. CC here. Been lurking long time and wondering if
> I wuz the only Lowley Linux Geek around. ;-)
>
> ftp://ftp.suse.com/pub/suse/i386/supplementary/X/XFree8...
>
> Is a link on the nvidia download page that may contain what you need. I've
> never installed on Suse so far, but several Mandrake with the .run script
> and this weekend I did a Knoppix the *Debian* way since I was at war about
> my suddenly not being to access the nvidia download. Kept getting a time
> out on port 80. After I talked to my ISP this morning the problem seems to
> have cleared up. ;-)
>
> My procedure on both distros has required me to have a kernel source set up
> properly configured for the kernel I am running and my machine and nvidia
> interacting and downloading the sources and compiling the modules and
> installing them.
>
> It was a fairly complicated deal with the Deb and I had to apt-get a couple
> of packages, but it did not require me to make contact with nvidia in the
> process so I got it up and running regardless of the ISP difficulties I was
> having.
>
> Wish I had more to offer. Hope you get it going.
>
> CC
>
>
Anonymous
June 23, 2004 2:53:24 PM

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tamer wrote:

> Hi again!
> Thank you very much for helping me. You were really a great support. I
> got the NVIDIA driver to run after I compiled the latest kernel from
> scratch up again. But the problem is that I can?t install the NVIDIA
> driver when I boot the new kernel, only the previous default kernel
> allows me to install the NVIDIA driver. The problem is actually solved
> and not solved. Not solved that if I run the new compiled kernel I won?t
> be able to run XWindows with the new driver.
>
> Tamer

Since the sequence you relate above seems to suggest that you configured and
compiled and then built the nvidia module and then when you reboot in the
new kernel you can't get the driver to load, I'm going to ask.

Did you wait until you were rebooted and running the new kernel before you
built the nvidia driver. I'm sure there is another way to do it, like
running mkinitrd against a kernel other than the one running by pointing to
the proper /lib/modules/(kernel directory). The procedure I use has always
required me to install and configure the sources, compile the kernel and
then reboot into the new kernel and *then* let the nvidia driver build
against the running kernel. Since you state you can only use it with your
old kernel, I suspect that is what was running when nvidia was built and
installed.

If one is not interested in changing kernels, and simply building the nvidia
driver, simply installing the kernel sources, (I believe on the 2.4 series
kernels, make mrproper, doing a make menuconfig or xconfig or what ever is
one's preferred method of configuring, and then doing a make dep is
sufficient) prior to the nvidia .run script since the target kernel is
already running.

I've not had to make any modifications to any of my module loader scripts
such as /etc/modules, /etc/modules.conf or even with a 2.6
series, /etc/modules.preload or what have you. After making the proper
modifications to /etc/X11/XF86Config-4 and rebooting it comes up
automagically. Other systems and configurations may require manual loading
of it or the individual may simply desire to make adjustments to only load
it when they want it.

I'm going to have to try SuSe one of these days before I get too old. I
didn't get into Linux until about 1996 and have confined myself to Debian,
Slack, RH, few mini distributions and a couple of live CD distros like
Knoppix, after I'd arrived alive at 55.

I humorously refer to myself on occasion as, "The World's Oldest *Living*
Linux User. ;-)

Regards,

CC

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA2WBp7qlV9FVfKBkRAhz/AJ9eeq+ab4ACC8gEVNOqnsBP6/touQCfQ1QW
BA5Jir1ug1wUtcP4xeY6siA=
=ibXn
-----END PGP SIGNATURE-----
!