Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 01-03-05, 04:32 PM   #1
Registered User
Join Date: Dec 2004
Posts: 1
Default Problem using NVIDIA-Linux-x86-1.0-6111-pkg1.run/nvidia-installer in a make file

Problem using NVIDIA-Linux-x86-1.0-6111-pkg1.run/nvidia-installer in a make file


I am trying to use NVIDIA-Linux-x86-1.0-6111-pkg1.run/nvidia-installer in a make file to install the nvidia drivers.

I am running a custom linux based on LFS (linuxfromscratch) 6.0 using the kernal.

When I run the make file I get an error:

make[1]: Leaving directory `/tmp/selfgz8054/NVIDIA-Linux-x86-1.0-6111-pkg1/u
-> Error.
ERROR: The NVIDIA kernel module was not created.

When I run it normally ./NVIDIA-Linux-x86-1.0-6111-pkg1.run ... it works!

I assume there is some difference between the environment variables in the make shell and the logon shell but have been unable to figure it out.

Here is what I have found out so far.

The makefile works for NVIDIA-Linux-x86-1.0-4496-pkg2.run & NVIDIA-Linux-x86-1.0-5328-pkg1.run on a 2.4.22 kernel. Any version above that I get the same error.

I have checked the nvidia-installer source and it seems to be failing at:

/* check that the file actually exists */

tmp = nvstrcat(p->kernel_module_build_directory, "/",
p->kernel_module_filename, NULL);
if (access(tmp, F_OK) == -1) {
ui_status_end(op, "Error.");
ui_error(op, "The NVIDIA kernel module was not created.");
return FALSE;

I have run the make file manually as reported in the log and checked for the files I think it is looking for, nvidia.ko, nvidia.o, nvidia.mod.o, and they are there. All seem to have the appropreiate permissions.

make module SYSSRC=/lib/modules/ SYSOUT=/lib/modules/

ld -m elf_i386 -r -o usr/src/nv/nvidia.ko usr/src/nv/nvidia.o usr/src/nv/nvidia.mod.o

I am trying to make a package simular to NVIDIA-Linux-x86-1.0-6111-pkg1.run with my own nvidia-installer so I can print out the files its trying to look for but am stumped on how to do this. When I copy my nvidia-installer and try to an install it complains about line 9 on the .manifest file.

Any ideas on what the problem is, how to determine what the probem is, or a workaround I can use to install the nvidia drivers using the nvidia-installer for a make file?

Heres are the switches I'm using to install the drivers:

./NVIDIA-Linux-x86-1.0-6111-pkg1.run \
--silent --kernel-name= \
--kernel-install-path=/lib/modules/ \

Last edited by epdagger; 01-03-05 at 04:38 PM. Reason: adding more infomation
epdagger is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
nVidia Linux drivers with Linux on Mac, help? Thetargos NVIDIA Linux 0 05-13-12 12:52 PM
302.07 (beta) for Linux x86/x86_64 released AaronP NVIDIA Linux 0 05-02-12 09:55 AM
RPM Source problems LaoTzuTao NVIDIA Linux 10 01-19-03 05:15 AM
download problem with linux NVIDIA driver packages Timo NVIDIA Linux 7 07-31-02 09:22 AM

All times are GMT -5. The time now is 12:37 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.