LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   yet...another nvidia question.. (https://www.linuxquestions.org/questions/slackware-14/yet-another-nvidia-question-151532/)

ldin 02-28-2004 08:52 AM

yet...another nvidia question..
 
hello, i have slack 9.1. my problem is that i had the latest drivers installed for my nvidia card, now the problem is that dident work out to well, somewhere on this site i 4get where, i downloaded drivers for my specific issue, but when i uninstalled the other drivers to install the other ones, it trys to build a kernel module and it gives me an error: the nvidia kernel module was not created. the file is called "NVIDIA-Linux-x86-1.0-5328-pkg0.run"... please help guys :-\( my config was edited when i had the original drivers if your wondering"

320mb 02-28-2004 10:10 AM

please post the Exact Error msg you got.........
in /var/log there will be an Nvidia-installer.log file----
if we know exactly what happened, we can give better advice on how to
fix it........thx

ldin 02-28-2004 10:51 AM

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: Yes)
-> 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.
-> Kernel source path: '/lib/modules/2.4.22/build'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
executing: 'cd ./usr/src/nv; make SYSSRC=/lib/modules/2.4.22/build module'..
.
make[1]: Entering directory `/usr/src/linux-2.4.22'
make -C /tmp/selfgz1819/NVIDIA-Linux-x86-1.0-5328-pkg0/usr/src/nv CFLAGS="-
D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-t
rigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mp
referred-stack-boundary=2 -march=i486 -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/tmp/selfgz1819/NVIDIA-Linux-x86-1.0-5328-pkg0/
usr/src/nv'
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
cc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -W
no-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i486 -DMODULE -I. -Wno-cast-qual -Wno-st
rict-prototypes -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SO
URCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_
MINOR_VERSION=0 -DNV_PATCHLEVEL=5328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK
-DNVCPU_X86 -DREMAP_PAGE_RANGE_4 -nostdinc -iwithpr
efix include -DKBUILD_BASENAME=nv -c -o nv.o nv.c
cc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -W
no-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i486 -DMODULE -I. -Wno-cast-qual -Wno-st
rict-prototypes -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SO
URCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_
MINOR_VERSION=0 -DNV_PATCHLEVEL=5328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK
-DNVCPU_X86 -DREMAP_PAGE_RANGE_4 -nostdinc -iwithprefix include -DKBUILD_B
ASENAME=os_agp -c -o os-agp.o os-agp.c
cc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -W
no-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i486 -DMODULE -I. -Wno-cast-qual -Wno-st
rict-prototypes -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SO
URCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_
MINOR_VERSION=0 -D NV_PATCHLEVEL=5328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DR
EMAP_PAGE_RANGE_4 -nostdinc -iwithprefix include -DKBUILD_BASENAME=os_interf
ace -c -o os-interface.o os-interface.c
cc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -W
no-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i486 -DMODULE -I. -Wno-cast-qual -Wno-st
rict-prototypes -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SO
URCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_
MINOR_VERSION=0 -DNV_PATCHLEVEL=5328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK
-DNVCPU_X86 -DREMAP_PAGE_RANGE_4 -nostdinc -iwithprefix include -DKBUILD_B
ASENAME=os_registry -c -o os-registry.o os-registry.c
ld -m elf_i386 -d -r -o nvidia.o nv-kernel.o nv.o os-agp.o os-interface.o os
-registry.o
make[2]: Leaving directory `/tmp/selfgz1819/NVIDIA-Linux-x86-1.0-5328-pkg0/u
sr/src/nv'
make[1]: Leaving directory `/usr/src/linux-2.4.22'
-> Error.
ERROR: The NVIDIA kernel module was not created.
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.


thats what the file says

basemodel 02-28-2004 10:57 AM

I assume you are running this as root, and doing "# sh NVIDIA-Linux-x86-1.0-5328-pkg0.run" ?
It should create the module..if you are running kernel 2.6.x try getting a custom NVIDIA package from http://minion.de/ ...if that fails.. let us know what/if the error has changed to.

ldin 02-28-2004 11:07 AM

nope,still says the same thing, maybe i should update my kernel?

Minderbinder 02-28-2004 01:42 PM

Did you include the option "--kernel-include-path=/usr/include" when you ran the nvidia installer binary?

ldin 02-29-2004 01:29 PM

mind, did you mean like "sh nvidiafilename --kernel-include-path=/usr/include"

that dident work, it says invlaid commandline, please run `./nvidia-installer --help ` for usage information

Minderbinder 02-29-2004 02:25 PM

You should be able to cd to the directory containing the driver and do "./NVIDIA-Linux-x86-1.0-5328-pkg0.run --kernel-include-path=/usr/include"
Do "./NVIDIA-Linux-x86-1.0-5328-pkg0.run --advanced-options" to see the list this command is in and its use.

BTW, did you get the driver from the nvidia site? Mine is named NVIDIA-Linux-x86-1.0-5328-pkg1.run, not NVIDIA-Linux-x86-1.0-5328-pkg0.run

ldin 02-29-2004 02:29 PM

no,this pkg i got from a site that recommend it, i 4get where,but it was somewhere on this forum, it was configured for slack i think...not sure tho, ill wait till you post b4 i do anything..

Minderbinder 02-29-2004 02:41 PM

If you got it somewhere else on this forum and it is configured for slackware, you should ask whoever posted it how it works.
Alternatively, you could download the driver from nvidia's site and install it with the option I mentioned before.

ldin 02-29-2004 02:56 PM

thanks very much mindbinder!!

ldin 02-29-2004 03:15 PM

im under root,and its saying permission denied.. :-\

Minderbinder 02-29-2004 03:18 PM

You probably need to set the permissions to make the file executable.
Try "chmod 777 /path/to/file" then run the file.

ldin 02-29-2004 03:24 PM

nope,still dident work

Minderbinder 02-29-2004 03:33 PM

Do " ls -l /path/to/file" to check what the permissions for the file are and post the output here.


All times are GMT -5. The time now is 02:27 AM.