Kernel: 2.6.9
GCC: 3.4.2
NVIDIA: 6111 (latest as of 10/19/04)
cc
-Wp,-MD,/appc/kernel/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nvidia.mod.
o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall
-Wstrict-protot
ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2
-fomit-frame-pointer -W
declaration-after-statement -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno
-unit-at-a-time -march=pentium4 -Iinclude/asm-i386/mach-default
-DKBUILD_BASE
NAME=nvidia -DKBUILD_MODNAME=nvidia -DMODULE -c -o
/appc/kernel/NVIDIA-Linux-x86
-1.0-6111-pkg1/usr/src/nv/nvidia.mod.o
/appc/kernel/NVIDIA-Linux-x86-1.0-6111-pk
g1/usr/src/nv/nvidia.mod.c
ld -m elf_i386 -r -o
/appc/kernel/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv
idia.ko /appc/kernel/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nvidia.o
/appc/ke
rnel/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nvidia.mod.o
make[1]: Leaving directory `/usr/src/linux-2.6.9'
NVIDIA: left KBUILD.
FATAL: Error inserting nvidia
(/lib/modules/2.6.9/kernel/drivers/video/nvidia.ko
): Unknown symbol in module, or unknown parameter (see dmesg)
make: *** [package-install] Error 1
# dmesg
nvidia: module license 'NVIDIA' taints kernel.
nvidia: Unknown symbol __VMALLOC_RESERVE
nvidia: Unknown symbol __VMALLOC_RESERVE
On Tue, 2004-10-19 at 10:42, Justin Piszcz wrote:
> # dmesg
> nvidia: module license 'NVIDIA' taints kernel.
> nvidia: Unknown symbol __VMALLOC_RESERVE
> nvidia: Unknown symbol __VMALLOC_RESERVE
>
Try
http://ck.kolivas.org/patches/2.6/2.6.9/2.6.9-ck1/patches/nvidia_compat.diff
Jesse
Thanks, it is now working!
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
493 root 15 0 287m 27m 272m S 9.0 1.3 0:09.83 X
$ uname -a
Linux box 2.6.9 #2 SMP Tue Oct 19 10:51:55 EDT 2004 i686 unknown unknown
GNU/Linux
On Tue, 19 Oct 2004, Jesse Stockall wrote:
> On Tue, 2004-10-19 at 10:42, Justin Piszcz wrote:
>> # dmesg
>> nvidia: module license 'NVIDIA' taints kernel.
>> nvidia: Unknown symbol __VMALLOC_RESERVE
>> nvidia: Unknown symbol __VMALLOC_RESERVE
>>
>
> Try
>
> http://ck.kolivas.org/patches/2.6/2.6.9/2.6.9-ck1/patches/nvidia_compat.diff
>
> Jesse
>
>
Please complain to NVidia, this is completely offtopic for lkml.
On Tue, 19 Oct 2004, Jesse Stockall wrote:
> On Tue, 2004-10-19 at 10:42, Justin Piszcz wrote:
>> nvidia: Unknown symbol __VMALLOC_RESERVE
>> nvidia: Unknown symbol __VMALLOC_RESERVE
>
> Try
> http://ck.kolivas.org/patches/2.6/2.6.9/2.6.9-ck1/patches/nvidia_compat.diff
> Jesse
Wow, I'm wondering. The kernel-of-the-day from SUSE (20040929, 20041023
and 20041028) (2.6.8 + 2.6.9-rc2 IIRC) do not even have unsigned int
__VMALLOC_RESERVE in arch/i386/mm/init.c.
More surprisingly, there is not any VMALLOC thing in the NV sources:
12:56 io:../src/nv # pwd
/usr/src/NV/NVIDIA-Linux-x86-1.0-4496-pkg0/usr/src/nv
12:56 io:../src/nv # grep VMALLOC_RES *
12:56 io:../src/nv # cd /usr/src/NV6/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/
12:56 io:../src/nv # grep VMALLOC_RES *
12:56 io:../src/nv #
So it's not in the 4496 (which I use, due to speed problems with 5xxx and
6xxx in the past) and neither in the 6111.
I'm puzzled, comments welcome.
Jan Engelhardt
--
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen, http://www.gwdg.de
> Wow, I'm wondering. The kernel-of-the-day from SUSE (20040929, 20041023
> and 20041028) (2.6.8 + 2.6.9-rc2 IIRC) do not even have unsigned int
> __VMALLOC_RESERVE in arch/i386/mm/init.c.
>
> More surprisingly, there is not any VMALLOC thing in the NV sources:
>
> 12:56 io:../src/nv # pwd
> /usr/src/NV/NVIDIA-Linux-x86-1.0-4496-pkg0/usr/src/nv
> 12:56 io:../src/nv # grep VMALLOC_RES *
> 12:56 io:../src/nv # cd /usr/src/NV6/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/
> 12:56 io:../src/nv # grep VMALLOC_RES *
> 12:56 io:../src/nv #
IIRC, they are using MAXMEM which is defined to
(-__PAGE_OFFSET-__VMALLOC_RESERVE) in asm-i386/page.h
Brice
================================================
Ph.D Student
Laboratoire de l'Informatique et du Parallélisme
CNRS-ENS Lyon-INRIA-UCB Lyon
France