-
nvidia for 5.1.1 - How To ?
So far, in vain tried to get the nvidia-module built for 5.1.1.
[No, I am not on Debian. I run Knoppix from USB thumb drive; as described elsewhere in here]
I found nothing via apt-cache, and therefore downloaded the latest installer from NVIDIA,
NVIDIA-Linux-x86-100.14.11-pkg1.run
and ran it. Okay, no sources. So I downloaded the sources for
linux-2.6.19.1.tar.bz2
and unzipped in /usr/src
Then I got "The kernel header file '/lib/modules/2.6.19/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel sources /lib/modules/2.6.19/build have not been configured"
Okay, then
cd /usr/src/linux-2.6.19/
make oldconfig
make prepare
Now the process goes through, the scale advances from 0% to 100%, but still fails with an unspecified error.
What do I have to do to make it go through and build the kernel module ?
Thanks for any hint, to get Google's flight-simulator running from thumb drive ... !
Uwe
Here is the build-log:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Sep 4 05:07:06 2007
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 : false
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
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.
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.19/source'
-> Kernel output path: '/lib/modules/2.6.19/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.
o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi
a.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 *~
rm -f -f stprof stprof.o symtab.h Modules.symvers
rm -f -rf .tmp_versions
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.19/source S
YSOUT=/lib/modules/2.6.19/build'...
sh ./conftest.sh "cc" "cc" /lib/modules/2.6.19/source /lib/modules/2.6.19/bu
ild cc_sanity_check full_output
sh ./conftest.sh "cc" "cc" /lib/modules/2.6.19/source /lib/modules/2.6.19/bu
ild select_makefile full_output
make --no-print-directory -f Makefile module
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.19/build KBUILD_VERBOSE=1 -C /lib/
modules/2.6.19/source SUBDIRS=/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pk
g1/usr/src/nv modules
make -C /lib/modules/2.6.19/build \
KBUILD_SRC=/UNIONFS/usr/src/linux-2.6.19.1 \
KBUILD_EXTMOD="/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv"
-f /UNIONFS/usr/src/linux-2.6.19.1/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)
mkdir -p /tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_ve
rsions
rm -f /tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_versi
ons/*
WARNING: Symbol version dump /UNIONFS/usr/src/linux-2.6.19.1/Module.symver
s
is missing; modules will have no dependencies and modversions.
make -f /UNIONFS/usr/src/linux-2.6.19.1/scripts/Makefile.build obj=/tmp/self
gz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz11712/NV
IDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.nv
.o.d -nostdinc -isystem /UNIONFS/usr/bin/../lib/gcc/i486-linux-gnu/4.1.2/in
clude -D__KERNEL__ -Iinclude -Iinclude2 -I/UNIONFS/usr/src/linux-2.6.19.1/in
clude -include include/linux/autoconf.h -I/tmp/selfgz11712/NVIDIA-Linux-x86
-100.14.11-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mpreferred-stack-bo
un
dary=2 -march=i386 -mregparm=3 -ffreestanding -maccumulate-outgoing-args -DC
ONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/UNIONFS/usr/src/linux-2.6.1
9.1/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-fra
me-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-s
ign -I/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv -Wall -Wi
mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpo
inter-arith -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wsign-co
mpare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
-DNVRM -DNV_VERSION_STRING=\"100.14.11\" -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGN
AL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESE
NT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOO
SE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRE
SENT -DNV_ACPI_DEVICE_OPS_MATCH_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CH
ANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_
CONSOLE_SEM_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBU
ILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /t
mp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_nv.o /tmp/sel
fgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv-linux.h:19,
from /tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/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/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In functio
n '__nv_setup_pat_entries':
/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:950: warnin
g: comparison between signed and unsigned
/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In functio
n '__nv_restore_pat_entries':
/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:976: warnin
g: comparison between signed and unsigned
/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In functio
n 'nv_kern_cpu_callback':
/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1282: warni
ng: comparison between signed and unsigned
/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1289: warni
ng: comparison between signed and unsigned
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[4]: *** [/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv
.o] Error 1
make[3]: *** [_module_/tmp/selfgz11712/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv] Error 2
make[2]: *** [modules] 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 www.nvidia.com.
-
Senior Member
registered user
You need to install linux-headers-2.6.19_2.6.19-10.00.Custom_i386.deb first, which is provided with the 5.1.1 DVD (but not the CD).
Nil desperandum !
... if you send me your email address via a FORUM PRIVATE MESSAGE, I can email the package to you.
See http://www.knoppix.net/forum/viewtop...859&highlight=
( Posting: Tue Aug 28, 2007 4:06 pm onwards). ... see all the following instructions.)
Similar Threads
-
By Dioxin in forum Hardware & Booting
Replies: 2
Last Post: 05-26-2005, 03:29 PM
-
By swazi in forum Knoppix DVD
Replies: 1
Last Post: 09-11-2004, 05:15 AM
-
By Rink in forum Hardware & Booting
Replies: 4
Last Post: 09-04-2004, 01:57 PM
-
By code_pupil in forum Hardware & Booting
Replies: 2
Last Post: 08-03-2003, 07:49 AM
-
By Nthline in forum Ideas
Replies: 1
Last Post: 04-26-2003, 07:00 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$107.99

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69

Lacie 2big Quadra RAID 2 x 2 TB 4 TB Only 158 hours
$199.00

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99

Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M
$580.00

PCI to 4 Ports SATA Controller RAID CARD Pci sata Sil3114 Supports 3TBx4 HDD
$18.90

LSI 9461-16i MEGARAID RAID 12GBPS 16 PCIE3.0 PORT KIT W/BATTERY 03-50011-69004
$145.99

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99