Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
Well, hopefully someone can help me with this. I loosely followed the guide here.
Running opensuse 10.2, and I'm trying to get 2.6.20 working right. I patched it with suspend2, to use a custom dsdt, and bootsplash. Bootsplash gave me some errors on compile, so I unchecked it and went with 'make rpm'. To my surprize, I had an rpm for a working kernel--sorta.
I ran mkinitrd, updated grub and off I was! But the fun ended there. My wireless card (ipw2200, using the built-in kernel driver) didn't work (I was able to modprobe and networkmanager claimed to have a connection, but I didn't), I couldn't compile the nvidia kernel module, and I couldn't install the hibernate script to even see if suspend2 was working or not.
So I'm using the 2.6.18.2 kernel suse came with for now. I would like to use a nice new shiny kernel, but I don't know how to fix the stuff with my graphics and wireless card. I'd be happy to post whatever you guys need, but I don't know where to begin.
The nvidia driver should complain about not being able to connect, but it should still install. Could you give the exact error that the nvidia driver reports? It would also be nice to see the actual errors you're getting about your wireless card. Vague claims that "it doesn't work" don't give us much to go on.
Note, if you're getting some message about invalid number of parameters to INIT_WORK, then the show's over until the software is ported to 2.6.20.
creation time: Thu Feb 15 00:35:18 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
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.
-> There appears to already be a driver installed on your system (version: 1.0-
8774). As part of installing this driver (version: 1.0-8774), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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.20-default/source'
-> Kernel output path: '/lib/modules/2.6.20-default/build'
-> Performing rivafb check.
-> Performing nvidiafb 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 nv.o nv
-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.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
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.20-default/
source SYSOUT=/lib/modules/2.6.20-default/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.20-default/build KBUILD_VERBOSE=1
-C /lib/modules/2.6.20-default/source SUBDIRS=/tmp/selfgz5699/NVIDIA-Linux-x
86-1.0-8774-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.20-default/build \
KBUILD_SRC=/usr/src/packages/BUILD/kernel-2.6.20default \
KBUILD_EXTMOD="/tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv" -
f /usr/src/packages/BUILD/kernel-2.6.20default/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/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_version
s/*
make -f /usr/src/packages/BUILD/kernel-2.6.20default/scripts/Makefile.build
obj=/tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz5699/NVI
DIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.2/include -D__KERNEL
__ -Iinclude -Iinclude2 -I/usr/src/packages/BUILD/kernel-2.6.20default/inclu
de -include include/linux/autoconf.h -I/tmp/selfgz5699/NVIDIA-Linux-x86-1.0
-8774-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-
strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferred-s
tack-boundary=2 -march=i686 -mtune=pentium4 -mtune=generic -ffreestanding -m
accumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I
/usr/src/packages/BUILD/kernel-2.6.20default/include/asm-i386/mach-default -
Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wd
eclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz569
9/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -
Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multic
har -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_L
OOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJ
OR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DND
EBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_G
ET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT
-DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RAN
GE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBU
ILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_
STR(nvidia)" -c -o /tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv
/.tmp_nv.o /tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c
In file included from /tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-linux.h:17:26:
error: linux/config.h: No such file or directory
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/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c:102: warning:
‘kmem_cache_t’ is deprecated
/tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_open’:
/tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c:1806: warning
: passing argument 2 of ‘request_irq’ from incompatible pointer type
make[4]: *** [/tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.o
] Error 1
make[3]: *** [_module_/tmp/selfgz5699/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] 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.
As for trying to install the hibernate script (I should probably google this first, but here it is anyway).
Code:
cp: cannot stat `hibernate.sh': No such file or directory
Last but not least the Winbond SD/MMC card reader driver isn't working. It is also not working on the default kernel, and I don't get any error messages from dmesg. Not the biggest deal, but I would like that to work too (I don't have a USB SD card reader, I've been using the built-in one up to now). I hope that can be of help for helping me.
As to the nvidia, I should have realized at once: "error: linux/config.h: No such file or directory". They removed this file from the kernel at version 2.6.19 or something like that, and it's generally easier to just add it back with the touch command as follows:
Note the two back-quotes if you type this by hand. I'm afraid I can't help you with hibernate, as I know nothing about it.
Oh, and one more thing. Please make your headers as descriptive of your problem as possible. Telling us that you're new doesn't really give us much to go on, and many of us have just stopped looking at problems where the title is uninformative.
Last edited by Quakeboy02; 02-15-2007 at 12:48 AM.
Sorry about the vagueness of my original post, and I appreciate the tip about the nvidia driver. Any ideas on ipw? Should I start a new thread (with a much clearer subject) to get a better answer?
Well, I'm online with my shiny new kernel. Just putting a little brain power helped. Booting gave me a bunch of errors involving iptables, so I tuned off SuSEFirewall and viola', internet access.
I followed the recommendation for the nvidia installer but it was still a no-go, and what follows is the log from the latest install.
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Feb 18 19:17:23 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
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.
-> There appears to already be a driver installed on your system (version: 1.0-
8774). As part of installing this driver (version: 1.0-8774), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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.20-default/source'
-> Kernel output path: '/lib/modules/2.6.20-default/build'
-> Performing rivafb check.
-> Performing nvidiafb 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 nv.o nv
-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.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
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.20-default/
source SYSOUT=/lib/modules/2.6.20-default/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.20-default/build KBUILD_VERBOSE=1
-C /lib/modules/2.6.20-default/source SUBDIRS=/tmp/selfgz5367/NVIDIA-Linux-x
86-1.0-8774-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.20-default/build \
KBUILD_SRC=/usr/src/packages/BUILD/kernel-2.6.20default \
KBUILD_EXTMOD="/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv" -
f /usr/src/packages/BUILD/kernel-2.6.20default/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/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_version
s/*
make -f /usr/src/packages/BUILD/kernel-2.6.20default/scripts/Makefile.build
obj=/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz5367/NVI
DIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.2/include -D__KERNEL
__ -Iinclude -Iinclude2 -I/usr/src/packages/BUILD/kernel-2.6.20default/inclu
de -include include/linux/autoconf.h -I/tmp/selfgz5367/NVIDIA-Linux-x86-1.0
-8774-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-
strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferred-s
tack-boundary=2 -march=i686 -mtune=pentium4 -mtune=generic -ffreestanding -m
accumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I
/usr/src/packages/BUILD/kernel-2.6.20default/include/asm-i386/mach-default -
Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wd
eclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz536
7/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -
Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multic
har -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_L
OOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJ
OR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DND
EBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_G
ET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT
-DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RAN
GE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBU
ILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_
STR(nvidia)" -c -o /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv
/.tmp_nv.o /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-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/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c:102: warning:
‘kmem_cache_t’ is deprecated
/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_open’:
/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c:1806: warning
: passing argument 2 of ‘request_irq’ from incompatible pointer type
cc -Wp,-MD,/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.2/include -D__KER
NEL__ -Iinclude -Iinclude2 -I/usr/src/packages/BUILD/kernel-2.6.20default/in
clude -include include/linux/autoconf.h -I/tmp/selfgz5367/NVIDIA-Linux-x86-
1.0-8774-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -f
no-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferre
d-stack-boundary=2 -march=i686 -mtune=pentium4 -mtune=generic -ffreestanding
-maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
-I/usr/src/packages/BUILD/kernel-2.6.20default/include/asm-i386/mach-default
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -W
declaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5367/NVIDIA-Linu
x-x86-1.0-8774-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wfor
mat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -
O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_N
AMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERS
ION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM
-DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_
MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESEN
T -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_
ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BAS
ENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/s
elfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz
5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-vm.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/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-vm.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
cc -Wp,-MD,/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.2/include -D__KE
RNEL__ -Iinclude -Iinclude2 -I/usr/src/packages/BUILD/kernel-2.6.20default/i
nclude -include include/linux/autoconf.h -I/tmp/selfgz5367/NVIDIA-Linux-x86
-1.0-8774-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -
fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferr
ed-stack-boundary=2 -march=i686 -mtune=pentium4 -mtune=generic -ffreestandin
g -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=
1 -I/usr/src/packages/BUILD/kernel-2.6.20default/include/asm-i386/mach-defau
lt -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector
-Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5367/NVIDIA-Li
nux-x86-1.0-8774-pkg1/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-a
rith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual
-Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAM
IC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8774 -UDEBU
G -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRE
SENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_ME
SSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -D
NV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBU
ILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8
774-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-
pkg1/usr/src/nv/os-agp.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/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/os-agp.c:24:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
cc -Wp,-MD,/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.2/include
-D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/packages/BUILD/kernel-2.6.20def
ault/include -include include/linux/autoconf.h -I/tmp/selfgz5367/NVIDIA-Lin
ux-x86-1.0-8774-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigr
aphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mp
referred-stack-boundary=2 -march=i686 -mtune=pentium4 -mtune=generic -ffrees
tanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_
FR
AME=1 -I/usr/src/packages/BUILD/kernel-2.6.20default/include/asm-i386/mach-d
efault -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-prote
ctor -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5367/NVID
IA-Linux-x86-1.0-8774-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitc
h -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -W
error -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_K
ERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VER
SION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -
DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLA
SS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_
PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PR
ESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_S
TR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KB
UILD_STR(nvidia)" -c -o /tmp/selfgz5
367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_os-interface.o /tmp/selfg
z5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os-interface.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/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/os-interface.c:26:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
cc -Wp,-MD,/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.os-r
egistry.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.2/include -
D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/packages/BUILD/kernel-2.6.20defa
ult/include -include include/linux/autoconf.h -I/tmp/selfgz5367/NVIDIA-Linu
x-x86-1.0-8774-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigra
phs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpr
eferred-stack-boundary=2 -march=i686 -mtune=pentium4 -mtune=generic -ffreest
anding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_F
RAME=1 -I/usr/src/packages/BUILD/kernel-2.6.20default/include/asm-i386/mach-
default -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-prot
ector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5367/NVI
DIA-Linux-x86-1.0-8774-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswit
ch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -
Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_
KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VE
RSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG
-DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CL
ASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUN
T_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_IN
SERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT
-DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_
STR(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz53
67/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_os-registry.o /tmp/selfgz5
367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os-registry.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/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/os-registry.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
cc -Wp,-MD,/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv-i
2c.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.2/include -D__KE
RNEL__ -Iinclude -Iinclude2 -I/usr/src/packages/BUILD/kernel-2.6.20default/i
nclude -include include/linux/autoconf.h -I/tmp/selfgz5367/NVIDIA-Linux-x86
-1.0-8774-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -
fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferr
ed-stack-boundary=2 -march=i686 -mtune=pentium4 -mtune=generic -ffreestandin
g -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=
1 -I/usr/src/packages/BUILD/kernel-2.6.20default/include/asm-i386/mach-defau
lt -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector
-Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5367/NVIDIA-Li
nux-x86-1.0-8774-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wf
ormat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror
-O -fno-common -MD -Wsign-compare -Wn
o-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D
NVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL
=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE
_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESEN
T -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAG
E_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VM
AP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_
i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5367/NVIDIA-Li
nux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_nv-i2c.o /tmp/selfgz5367/NVIDIA-Linux-
x86-1.0-8774-pkg1/usr/src/nv/nv-i2c.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/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-i2c.c:8:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-i2c.c: At top l
evel:
/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-i2c.c:26: error
: unknown field ‘slave_send’ specified in initializer
/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-i2c.c:27: error
: unknown field ‘slave_recv’ specified in initializer
make[4]: *** [/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-i
2c.o] Error 1
make[3]: *** [_module_/tmp/selfgz5367/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] 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.
So if anyone is still reading this, what do I do now?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.