You are not logged in.
I just built, installed, and booted with kernel 2.6.16-rc6 & then tried to install package nvidia-1.0.8178-15. It failed with numerous compilation errors written to the log. Is there a fix or workaround for this or do we have to wait for a newer version of the driver from Nvidia?
Thanks.
Offline
i have working packages for .16 wait until it's final then i'll publish them or grep the patches from nvidia forum and apply the properly.
greetings
tpowa
Offline
tpowa:
I built my custom 2.6.16 kernel last night, then installed your nvidia package from testing & everything looks good. Thank you!
Offline
I'm having some trouble installing the package against my own 2.6.16-mm1 kernel. I haven't had a problem until now with these xorg/nvidia/lib-dri hoops. Do you have any suggestions?
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Mar 26 21:19:25 2006
option status:
license pre-accepted : true
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: true
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : true
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : true
no network : true
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
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 : none
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)
Using built-in stream user interface
-> License accepted by command line option.
-> Not probing for precompiled kernel interfaces.
-> Performing CC test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.16-mm1/source'
-> Kernel output path: '/lib/modules/2.6.16-mm1/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.o nv-vm.o os-
agp.o os-interface.o os-registry.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.16-mm1/sour
ce SYSOUT=/lib/modules/2.6.16-mm1/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.16-mm1/build KBUILD_VERBOSE=1 -C /
lib/modules/2.6.16-mm1/source SUBDIRS=/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-
pkg0/usr/src/nv modules
make -C /lib/modules/2.6.16-mm1/build
KBUILD_SRC=/usr/src/linux-2.6.16-mm1
KBUILD_EXTMOD="/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv" -f /us
r/src/linux-2.6.16-mm1/Makefile modules
rm -rf /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.tmp_versions
mkdir -p /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.tmp_versions
make -f /usr/src/linux-2.6.16-mm1/scripts/Makefile.build obj=/opt/nvidia/NVI
DIA-Linux-x86-1.0-8178-pkg0/usr/src/nv
echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /opt/nvidia/NVIDIA-
Linux-x86-1.0-8178-pkg0/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.nv.o.d
-nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERNEL__
-Iinclude -Iinclude2 -I/usr/src/linux-2.6.16-mm1/include -include include/li
nux/autoconf.h -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wal
l -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-commo
n -Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -
march=k8 -ffreestanding -I/usr/src/linux-2.6.16-mm1/include/asm-i386/mach-de
fault -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-poi
nter-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wall -Wi
mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpo
inter-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-ca
st-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM
-DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178
-UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PM_MESSA
GE_T_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"
KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178
-pkg0/usr/src/nv/nv.o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv-linux.h:47,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/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 arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:559,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv-linux.h:71,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv.c:14:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:246: warning: wrong type argument to increment
In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv.c:14:
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c: In function 'nvo
s_get_agp_device_by_class':
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:503: warning: imp
licit declaration of function 'pci_find_class'
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:503: warning: ass
ignment makes pointer from integer without a cast
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:517: warning: ass
ignment makes pointer from integer without a cast
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c: In function 'nv_
kern_mmap':
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:1983: warning: im
plicit declaration of function 'remap_page_range'
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c: In function 'nvo
s_count_devices':
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:3646: warning: as
signment makes pointer from integer without a cast
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:3652: warning: as
signment makes pointer from integer without a cast
cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.nv-vm.o.
d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERNE
L__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16-mm1/include -include includ
e/linux/autoconf.h -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c
ommon -Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary
=2 -march=k8 -ffreestanding -I/usr/src/linux-2.6.16-mm1/include/asm-i386/mac
h-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno
-pointer-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wall
-Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -
Wpointer-arith -Wno-mu
ltichar -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_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG
-DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV
_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=K
BUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /opt/nvidia/N
VIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-vm.o /opt/nvidia/NVIDIA-Linux-x8
6-1.0-8178-pkg0/usr/src/nv/nv-vm.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv-linux.h:47,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/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 arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:559,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv-linux.h:71,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv-vm.c:14:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:246: warning: wrong type argument to increment
In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv-vm.c:14:
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.os-agp.o
.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERN
EL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16-mm1/include -include inclu
de/linux/autoconf.h -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c
ommon -Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary
=2 -march=k8 -ffreestanding -I/usr/src/linux-2.6.16-mm1/include/asm-i386/mac
h-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno
-pointer-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wall
-Wimplicit -Wreturn-type -Wswitch -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 -DN
VRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PM_
MESSAGE_T_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s
" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidi
a)" -c -o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-agp.o /op
t/nvidia/NVIDIA-Linux-x86-1.0-8178-
pkg0/usr/src/nv/os-agp.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv-linux.h:47,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/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 arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:559,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv-linux.h:71,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
os-agp.c:24:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:246: warning: wrong type argument to increment
In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
os-agp.c:24:
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.os-inter
face.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D
__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16-mm1/include -include
include/linux/autoconf.h -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/s
rc/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-bo
undary=2 -march=k8 -ffreestanding -I/usr/src/linux-2.6.16-mm1/include/asm-i3
86/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statemen
t -Wno-pointer-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv
-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
eses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compar
e -Wno
-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DN
VRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PM_
MESSAGE_T_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s
" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR
(nvidia)" -c -o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-int
erface.o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-interface.
c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv-linux.h:47,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/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 arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:559,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
nv-linux.h:71,
from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
os-interface.c:26:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:246: warning: wrong type argument to increment
In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
os-interface.c:26:
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-interface.c: In fun
ction 'os_set_mlock_capability':
/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-interface.c:1375: e
rror: 'struct task_struct' has no member named 'rlim'
make[4]: *** [/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-inter
face.o] Error 1
make[3]: *** [_module_/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/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.
Offline
I would recommend, if you run your own kernels, to use the original nvidia installer.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
I would recommend, if you run your own kernels, to use the original nvidia installer.
It currently does not work out of the box with 2.6.16 as there is a patch required. You need to run it with the --extract-only option, patch it, and run nvidia-installer.
Offline
Install the nvidia package from Testing, it has the patch applied.
·¬»· i am shadowhand, powered by webfaction
Offline
I just installed the nvidia package from testing and it installed fine in 2.6.16.
Offline
Testing pkgbuild worked great! Thanks!
Offline
Had the nvidia driver been removed from testing, but not moved to current? I can't find it - and can't start my desktop after kernel update. Standard X11 drivers only produce black screen or funny patterns. Please help, I need my PC for work.
Thanks, Dieter
Offline
They are in extra.
- Rpg Cyco
Offline
And that package from extra in most cases will not work. Read the posts on the mailing list. I'm also affected. It's strange, that using the installer + patch by hand is working for me.
Offline
Oh ok, my apologies. Strange indeed.
- Rpg Cyco
Offline
It seems that the database update for the extra repository is not finished yet. I downloaded the package manually from
ftp://ftp.archlinux.org/extra/os/i686/n … pkg.tar.gz
and installed it with pacman -U. Installation was successful here, nvidia works again.
Then I entered "pacman -S nviida" and expected the response "nvidia is already up to date" - but:
pacman -S nvidia
:: nvidia-1.0.8178-16: local version is newer. Upgrade anyway? [Y/n]
Pacman still offers the older nvidia package (-15):
pacman -Ss nvidia
extra/nforce 1.0.0310-1
The Nvidia nforce drivers
extra/nvclock 0.8b-1
A small utility which allows users to overclock NVIDIA based video cards
extra/nvidia 1.0.8178-15
Drivers for XFree86/X.Org
extra/nvidia-legacy 1.0.7174-18
Drivers for XFree86/X.Org
And that's my wish to the kernel updaters from Arch linux: Please ensure that depending drivers such as nvidia are available in a working version at the time the new kernel is rolled out. It's always annoying to see X fail when booting the system, start another working Linux and look into the forum for a workaround. Some systems - such as mime - cannot show any readable X screen without a working nvidia driver. And I don't want to read the forum from the console. Thanks!
Dieter
Offline
Hm. I can't believe that. I repacked pkgrel=16 for arch64 and also had the problems. And yes, there's the patch incuded and well applied while building the pkg.
Offline
And that's my wish to the kernel updaters from Arch linux: Please ensure that depending drivers such as nvidia are available in a working version at the time the new kernel is rolled out. It's always annoying to see X fail when booting the system, start another working Linux and look into the forum for a workaround. Some systems - such as mime - cannot show any readable X screen without a working nvidia driver. And I don't want to read the forum from the console. Thanks!
Dieter
That's exactly what tpowa does, he updates every module before a kernel release.
Offline
Unfortunately, some mirrors have not picked it up yet. Thank god for `links -g`and this forum!
Offline