LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-28-2004, 08:52 AM   #1
ldin
LQ Newbie
 
Registered: Feb 2004
Posts: 22

Rep: Reputation: 15
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"
 
Old 02-28-2004, 10:10 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
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
 
Old 02-28-2004, 10:51 AM   #3
ldin
LQ Newbie
 
Registered: Feb 2004
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 02-28-2004, 10:57 AM   #4
basemodel
Member
 
Registered: Jul 2003
Posts: 54

Rep: Reputation: 15
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.
 
Old 02-28-2004, 11:07 AM   #5
ldin
LQ Newbie
 
Registered: Feb 2004
Posts: 22

Original Poster
Rep: Reputation: 15
nope,still says the same thing, maybe i should update my kernel?
 
Old 02-28-2004, 01:42 PM   #6
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
Did you include the option "--kernel-include-path=/usr/include" when you ran the nvidia installer binary?
 
Old 02-29-2004, 01:29 PM   #7
ldin
LQ Newbie
 
Registered: Feb 2004
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 02-29-2004, 02:25 PM   #8
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
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
 
Old 02-29-2004, 02:29 PM   #9
ldin
LQ Newbie
 
Registered: Feb 2004
Posts: 22

Original Poster
Rep: Reputation: 15
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..
 
Old 02-29-2004, 02:41 PM   #10
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
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.
 
Old 02-29-2004, 02:56 PM   #11
ldin
LQ Newbie
 
Registered: Feb 2004
Posts: 22

Original Poster
Rep: Reputation: 15
thanks very much mindbinder!!
 
Old 02-29-2004, 03:15 PM   #12
ldin
LQ Newbie
 
Registered: Feb 2004
Posts: 22

Original Poster
Rep: Reputation: 15
im under root,and its saying permission denied.. :-\
 
Old 02-29-2004, 03:18 PM   #13
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
You probably need to set the permissions to make the file executable.
Try "chmod 777 /path/to/file" then run the file.
 
Old 02-29-2004, 03:24 PM   #14
ldin
LQ Newbie
 
Registered: Feb 2004
Posts: 22

Original Poster
Rep: Reputation: 15
nope,still dident work
 
Old 02-29-2004, 03:33 PM   #15
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

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


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not another Nvidia Question. qodenet Linux - Hardware 5 01-11-2005 04:17 PM
Yes another nvidia question.. 74039186 Fedora 4 06-22-2004 11:20 PM
Another nvidia tv-out question????????? erik Linux - Hardware 1 08-16-2003 09:19 PM
yet another nvidia question phant0m Linux - Newbie 0 07-28-2003 08:52 AM
Another NVIDIA question pilotgi Linux - Newbie 5 07-22-2002 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration