linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Kernel 2.6.9 breaks NVidia module, cannot start X.
@ 2004-10-31 11:58 Jan Engelhardt
  2004-10-31 12:42 ` Brice Goglin
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Engelhardt @ 2004-10-31 11:58 UTC (permalink / raw)
  To: linux-kernel


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, www.gwdg.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Kernel 2.6.9 breaks NVidia module, cannot start X.
  2004-10-31 11:58 Kernel 2.6.9 breaks NVidia module, cannot start X Jan Engelhardt
@ 2004-10-31 12:42 ` Brice Goglin
  0 siblings, 0 replies; 6+ messages in thread
From: Brice Goglin @ 2004-10-31 12:42 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: linux-kernel

> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Kernel 2.6.9 breaks NVidia module, cannot start X.
  2004-10-19 14:42 Justin Piszcz
  2004-10-19 14:53 ` Jesse Stockall
@ 2004-10-19 14:58 ` Christoph Hellwig
  1 sibling, 0 replies; 6+ messages in thread
From: Christoph Hellwig @ 2004-10-19 14:58 UTC (permalink / raw)
  To: Justin Piszcz; +Cc: nvidia, linux-kernel

Please complain to NVidia, this is completely offtopic for lkml.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Kernel 2.6.9 breaks NVidia module, cannot start X.
  2004-10-19 14:53 ` Jesse Stockall
@ 2004-10-19 14:57   ` Justin Piszcz
  0 siblings, 0 replies; 6+ messages in thread
From: Justin Piszcz @ 2004-10-19 14:57 UTC (permalink / raw)
  To: Jesse Stockall; +Cc: nvidia, linux-kernel

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
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Kernel 2.6.9 breaks NVidia module, cannot start X.
  2004-10-19 14:42 Justin Piszcz
@ 2004-10-19 14:53 ` Jesse Stockall
  2004-10-19 14:57   ` Justin Piszcz
  2004-10-19 14:58 ` Christoph Hellwig
  1 sibling, 1 reply; 6+ messages in thread
From: Jesse Stockall @ 2004-10-19 14:53 UTC (permalink / raw)
  To: Justin Piszcz; +Cc: nvidia, linux-kernel

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Kernel 2.6.9 breaks NVidia module, cannot start X.
@ 2004-10-19 14:42 Justin Piszcz
  2004-10-19 14:53 ` Jesse Stockall
  2004-10-19 14:58 ` Christoph Hellwig
  0 siblings, 2 replies; 6+ messages in thread
From: Justin Piszcz @ 2004-10-19 14:42 UTC (permalink / raw)
  To: nvidia, linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-10-31 12:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-31 11:58 Kernel 2.6.9 breaks NVidia module, cannot start X Jan Engelhardt
2004-10-31 12:42 ` Brice Goglin
  -- strict thread matches above, loose matches on Subject: below --
2004-10-19 14:42 Justin Piszcz
2004-10-19 14:53 ` Jesse Stockall
2004-10-19 14:57   ` Justin Piszcz
2004-10-19 14:58 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).