Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have compiled a customer kernel, 2.6.35.3, my current kernel is 2.6.33.4. After booting into 2.6.35.3 I needed to install the nvidia driver again because X would not load. The install failed, here is my /var/log/nvidia-installer.log:
Code:
bash-4.1$ cat /var/log/nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Aug 23 22:06:00 2010
installer version: 256.44
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
no cc version 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.
-> Installing NVIDIA driver version 256.44.
-> There appears to already be a driver installed on your system (version: 256.
44). As part of installing this driver (version: 256.44), the existing driv
er will be uninstalled. Are you sure you want to continue? ('no' will abort
installation) (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/usr/src/linux'
-> Kernel output path: '/usr/src/linux'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; make clean'...
-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/usr/src/linux SYSOUT=/usr/src/l
inux'...
NVIDIA: calling KBUILD...
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are
missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.tmp_versions ; rm -
f /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/k
ernel
cc -Wp,-MD,/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.nv.o.d -nostdi
nc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/linux
-2.6.33.4/arch/x86/include -Iinclude -include include/generated/autoconf.h
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
iasing -fno-common -Werror-implicit-function-declaration -Wno-format-securit
y -fno-delete-null-pointer-checks -O2 -m32 -msof
t-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=
i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreest
anding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -p
ipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno
-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wd
eclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf
2-cfi-asm -fconserve-stack -I/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel
-Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DN
VRM -DNV_VERSION_STRING=\"256.44\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KB
UILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD
_STR(nvidia)" -c -o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv.o /tm
p/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv.c
In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
:571,
from include/linux/poll.h:13,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-linu
x.h:84,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv.c:13
:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
_from_user':
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
arison between signed and unsigned integer expressions
set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz1913/NVIDI
A-Linux-x86-256.44/kernel/nv.o";
cc -Wp,-MD,/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.nv_gvi.o.d -no
stdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/l
inux-2.6.33.4/arch/x86/include -Iinclude -include include/generated/autocon
f.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric
t-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-sec
urity -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -fre
g-struct-re
turn -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-ou
tgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_A
S_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchro
nous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-po
inter -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-poi
nter-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/s
elfgz1913/NVIDIA-Linux-x86-256.44/kernel -Wall -MD -Wsign-compare -Wno-cast-
qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.44\"
-UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfg
z1913/NVIDIA-Linux-x86-256.44/kernel/nv_gvi.o /tmp/selfgz1913/NVIDIA-Linux-x
86-256.44/kernel/nv_gvi.c
In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
:571,
from include/linux/poll.h:13,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-linu
x.h:84,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv_gvi.
c:15:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
_from_user':
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
arison between signed and unsigned integer expressions
set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz1913/NVIDI
A-Linux-x86-256.44/kernel/nv_gvi.o";
cc -Wp,-MD,/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.nv-vm.o.d -nos
tdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/li
nux-2.6.33.4/arch/x86/include -Iinclude -include include/generated/autoconf
.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict
-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-secu
rity -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg
-struct-return -mpreferred
-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,
-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG
_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tabl
es -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optim
ize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-s
trict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1913/NVIDIA
-Linux-x86-256.44/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error
-D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.44\" -UDEBUG -U_DEBUG
-DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)
" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1913/NVIDIA-Linux
-x86-256.44/kernel/nv-vm.o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv
-vm.c
In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
:571,
from include/linux/poll.h:13,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-linu
x.h:84,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-vm.c
:14:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
_from_user':
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
arison between signed and unsigned integer expressions
set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz1913/NVIDI
A-Linux-x86-256.44/kernel/nv-vm.o";
cc -Wp,-MD,/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.os-agp.o.d -no
stdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/l
inux-2.6.33.4/arch/x86/include -Iinclude -include include/generated/autocon
f.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric
t-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-sec
urity -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -fre
g-struct-return -mpreferred-stack-boundary=2 -m
arch=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ff
reestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME
=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx
-mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dw
arf2-cfi-asm -fconserve-stack -I/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kern
el -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE
-DNVRM -DNV_VERSION_STRING=\"256.44\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D
"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME
=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/o
s-agp.o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/os-agp.c
In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
:571,
from include/linux/poll.h:13,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-linu
x.h:84,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/os-agp.
c:24:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
_from_user':
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
arison between signed and unsigned integer expressions
set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz1913/NVIDI
A-Linux-x86-256.44/kernel/os-agp.o";
cc -Wp,-MD,/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.os-interface.o.
d -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr
/src/linux-2.6.33.4/arch/x86/include -Iinclude -include include/generated/a
utoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno
-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-form
at-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=
3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686
-mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestandi
ng -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe
-Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse
2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdecla
ration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cf
i-asm -fconserve-stack -I/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel -Wal
l -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"256.44\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD
_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=
KBUILD_STR(nvidia)" -c -o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/os
-interface.o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/os-interface.c
In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
:571,
from include/linux/poll.h:13,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-linu
x.h:84,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/os-inte
rface.c:26:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
_from_user':
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
arison between signed and unsigned integer expressions
set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz1913/NVIDI
A-Linux-x86-256.44/kernel/os-interface.o";
cc -Wp,-MD,/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.os-registry.o.d
-nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/s
rc/linux-2.6.33.4/arch/x86/include -Iinclude -include include/generated/aut
oconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-s
trict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format
-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3
-freg-struct-return -mpreferred-stack-bo
undary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=ge
neric32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_S
IGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-s
se -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibli
ng-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-ove
rflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1913/NVIDIA-Linux-x8
6-256.44/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNE
L__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.44\" -UDEBUG -U_DEBUG -DNDEBUG
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)"
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1913/NVIDIA-Linux-x8
6-256.44/kernel/os-registry.o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel
/os-registry.c
In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
:571,
from include/linux/poll.h:13,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-linu
x.h:84,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/os-regi
stry.c:15:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
_from_user':
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
arison between signed and unsigned integer expressions
set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz1913/NVIDI
A-Linux-x86-256.44/kernel/os-registry.o";
cc -Wp,-MD,/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.nv-i2c.o.d -no
stdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/l
inux-2.6.33.4/arch/x86/include -Iinclude -include include/generated/autocon
f.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric
t-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-sec
urity -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -fre
g-struct-return -mpreferre
d-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa
,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFI
G_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tab
les -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-opti
mize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-
strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1913/NVIDI
A-Linux-x86-256.44/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error
-D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.44\" -UDEBUG -U_DEBUG
-DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c
)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1913/NVIDIA-Linu
x-x86-256.44/kernel/nv-i2c.o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/
nv-i2c.c
In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
:571,
from include/linux/poll.h:13,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-linu
x.h:84,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-i2c.
c:8:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
_from_user':
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
arison between signed and unsigned integer expressions
set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz1913/NVIDI
A-Linux-x86-256.44/kernel/nv-i2c.o";
cc -Wp,-MD,/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.nvacpi.o.d -no
stdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/l
inux-2.6.33.4/arch/x86/include -Iinclude -include include/generated/autocon
f.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric
t-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-sec
urity -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -fre
g-struct-return -mpreferred-stack-boundary
=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic3
2 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_
FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mn
o-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-cal
ls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
-fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1913/NVIDIA-Linux-x86-256.
44/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -D
MODULE -DNVRM -DNV_VERSION_STRING=\"256.44\" -UDEBUG -U_DEBUG -DNDEBUG -DMO
DULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)" -D"KBUILD_
MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/k
ernel/nvacpi.o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nvacpi.c
In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
:571,
from include/linux/poll.h:13,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-linu
x.h:84,
from /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nvacpi.
c:15:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
_from_user':
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
arison between signed and unsigned integer expressions
set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz1913/NVIDI
A-Linux-x86-256.44/kernel/nvacpi.o";
ld -m elf_i386 -r -o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nvid
ia.o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-kernel.o /tmp/selfgz1
913/NVIDIA-Linux-x86-256.44/kernel/nv.o /tmp/selfgz1913/NVIDIA-Linux-x86-256
.44/kernel/nv_gvi.o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nv-vm.o /
tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/os-agp.o /tmp/selfgz1913/NVIDI
A-Linux-x86-256.44/kernel/os-interface.o /tmp/selfgz1913/NVIDIA-Linux-x86-25
6.44/kernel/os-registry.o /tmp/selfgz1913/NVIDIA-Linux-x8
6-256.44/kernel/nv-i2c.o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nvac
pi.o
(cat /dev/null; echo kernel//tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel
/nvidia.ko;) > /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/modules.order
make -f /usr/src/linux-2.6.33.4/scripts/Makefile.modpost
scripts/mod/modpost -i /usr/src/linux-2.6.33.4/Module.symvers -I /tmp/se
lfgz1913/NVIDIA-Linux-x86-256.44/kernel/Module.symvers -o /tmp/selfgz1913/N
VIDIA-Linux-x86-256.44/kernel/Module.symvers -S -w -s
cc -Wp,-MD,/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/.nvidia.mod.o.d
-nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/sr
c/linux-2.6.33.4/arch/x86/include -Iinclude -include include/generated/auto
conf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-st
rict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-
security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -
freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=ge
neric -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack
-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-
compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dn
ow -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-aft
er-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fco
nserve-stack -I/tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel -Wall -MD -Wsi
gn-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSI
ON_STRING=\"256.44\" -UDEBUG -U_DEBUG -DNDEBUG -D"KBUILD_STR(s)=#s" -D"KBUI
LD_BASENAME=KBUILD_STR(nvidia.mod)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"
-DMODULE -c -o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nvidia.mod.o /
tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nvidia.mod.c
ld -r -m elf_i386 -T /usr/src/linux-2.6.33.4/scripts/module-common.lds --b
uild-id -o /tmp/selfgz1913/NVIDIA-Linux-x86-256.44/kernel/nvidia.ko /tmp/sel
fgz1913/NVIDIA-Linux-x86-256.44/kernel/nvidia.o /tmp/selfgz1913/NVIDIA-Linux
-x86-256.44/kernel/nvidia.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel
module from obtaining ownership of the NVIDIA graphics device(s), or
NVIDIA GPU installed in this system is not supported by this NVIDIA
Linux graphics driver release.
Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './kernel/nvidia.ko': -1
Invalid module format
-> Kernel messages:
[ 4.380329] pcmcia_socket pcmcia_socket0: cs: memory probe
0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
[ 4.381246] pcmcia_socket pcmcia_socket0: cs: memory probe
0xa0000000-0xa0ffffff: clean.
[ 4.567744] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection
driver for Linux, in-tree:s
[ 4.568434] iwl3945: Copyright(c) 2003-2010 Intel Corporation
[ 4.568865] iwl3945 0000:06:00.0: power state changed by ACPI to D0
[ 4.569295] iwl3945 0000:06:00.0: power state changed by ACPI to D0
[ 4.569724] iwl3945 0000:06:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ
17
[ 4.570152] iwl3945 0000:06:00.0: setting latency timer to 64
[ 4.610968] iwl3945 0000:06:00.0: Tunable channels: 11 802.11bg, 13
802.11a channels
[ 4.611715] iwl3945 0000:06:00.0: Detected Intel Wireless WiFi Link
3945ABG
[ 4.612283] alloc irq_desc for 46 on node -1
[ 4.612286] alloc kstat_irqs on node -1
[ 4.612318] iwl3945 0000:06:00.0: irq 46 for MSI/MSI-X
[ 4.615431] phy0: Selected rate control algorithm 'iwl-3945-rs'
[ 5.409132] Adding 2104476k swap on /dev/sda1. Priority:-1 extents:1
across:2104476k
[ 5.914108] EXT4-fs (sda2): re-mounted. Opts: (null)
[ 5.979058] EXT4-fs (sda2): re-mounted. Opts: (null)
[ 9.432222] EXT4-fs (sda3): mounted filesystem with ordered data mode.
Opts: (null)
[ 9.684108] sed used greatest stack depth: 6316 bytes left
[ 11.349656] ldconfig used greatest stack depth: 6284 bytes left
[ 22.159441] update-mime-dat used greatest stack depth: 5940 bytes left
[ 29.490380] iwl3945 0000:06:00.0: loaded firmware version 15.32.2.9
[ 29.560774] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 49.032097] ethtool used greatest stack depth: 5932 bytes left
[ 144.128542] nvidia: version magic '2.6.33.4-smp SMP mod_unload 686 '
should be '2.6.35.3 SMP mod_unload 686 '
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.
bash-4.1$
I can see that it is compiling against the my /usr/src/linux, which is my original kernel, is it supposed to compile against the original, or against my new kernel? Does this have something to do with the error? Let me know what other info you need.
I pointed my /usr/src/linux symlink to /usr/local/src/linux-2.6.35.3 directory. This time when I ran the nVidia installer, this is the error I got:
Quote:
If you are using a Linux 2.4 kernel, please make sure you either have configured kernel sources matching your kernel or the correct set of kernel headers installed on you system.
If you are using a Linux 2.6 kernel, please make sure you have configured kernel sources matching your kernel installed on your system. If you specified a separate output directory using either the "KBUILD_OUTPUT" or the "O" KBUILD parameter, make sure to specify this directory with the SYSOUT environment variable or with the equivilent nvidia-installer command line option.
Depending on where and how the kernel sources (or the kernel header) were installed, you may need to specify their location with the SYSSRC environment variable or the equivilent nvidia-installer command line option.
I am still getting the same error message as above, but I fixed something that was causing a problem. I originally compiled my kernel source in my home directory, then I moved it to /usr/local/src, but /lib/modules/2.6.35.3/build and /lib/modules/2.6.35.3/source were still pointing to my home directory, so I moved my kernel src to /usr/src/linux-2.6.35.3 and updated the build and source symlinks.
Also when trying to install the new nVidia driver, I first did:
Code:
export SYSSRC=/lib/modules/2.6.35.3/source
I am still getting the same error message as my above post. Any suggestions, obviously I am missing something that I need to do to install the nVidia driver after a new kernel install.
This one is my fault, there was a kernel module that I forgot to include during my kernel configuration for my nvidia chipset. Once I configured this, and recompiled my 2.6.35.3 kernel, I was able to install the nvidia driver in 2.6.35.3. But now my 2.6.33.4 video does not work. Is there a way that I can get my nvidia stuff to work in both of my kernels? I want to test the new kernel out, but not move to it yet.
Here is what I found out. When the nvidia installer is run, even for a different kernel, it uninstalls the module on all other kernels. Here is the workaround. Boot into the new kernel:
Code:
sh ./NVIDIA-INSTALLER.run -x #do not install, extract only
cd NVIDIA-INSTALLER/kernel
export SYSSRC=/lib/modules/2.6.35.3/source
make module
make install
This will install the nvidia driver in your new kernel, but not remove it from the old.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.