[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about installing nvidia driver (no version for "struct_module")



LeVA <leva@az.isten.hu> writes:

> When I've compiled my 2.6.5 kernel, and installed the nvidia
> drivers, it was ok. But after the make clean in /usr/src/linux
> (symlink to linux-2.6.5) the installer didn't work. And that was
> because it couldn't find the version file, which contains the kernel
> source's version, which exists in the 2.4* kernel's sources by
> default, but with 2.6* kernel, you must make the kernel to create
> that version file.

You story sounds like bug #242163. There are a few workarounds:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242163
http://home.comcast.net/~andrex/Debian-nVidia/troubleshooting.html

I also have some nvidia trouble. Perhaps someone can help me

I am trying to configure my nvidia card (Sarge + 2.6.5 vanilla
kernel). I followed the standard procedure from
/usr/share/doc/nvidia-source. XFree86 works with the "nvidia" driver,
but I don't get any glx-display.

(II) Loading sub module "ISO8859_1"
(II) LoadModule: "ISO8859_1"
(II) Loading /usr/X11R6/lib/modules/codeconv/libISO8859_1.a
(II) Module ISO8859_1: vendor="X-TrueType Server Project"
        compiled for 4.1.0.1, module version = 1.3.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.2
(II) UnloadSubModule: "ISO8859_1"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libISO8859_1.a
(WW) Cannot open APM
(II) NV(0): WC region has to be split (0xc0000000,0x3e80000)
(==) NV(0): Write-combining range (0xc0000000,0x2000000)
(==) NV(0): Write-combining range (0xc2000000,0x1000000)
(==) NV(0): Write-combining range (0xc3000000,0x800000)
(==) NV(0): Write-combining range (0xc3800000,0x400000)
(==) NV(0): Write-combining range (0xc3c00000,0x200000)
(==) NV(0): Write-combining range (0xc3e00000,0x80000)
(**) NV(0): DPMS enabled
(EE) Failed to initialize GLX extension (NVIDIA XFree86 driver not
found)

[gnalle_~]% bzflag
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Can't create window.  Exiting.

In my /var/log/syslog this produces the following lines
May 16 16:43:23 nissefisken kernel: nvidia: no version for "struct_module" found: kernel tainted.
May 16 16:43:23 nissefisken kernel: nvidia: module license 'NVIDIA' taints kernel.
May 16 16:43:23 nissefisken kernel: 0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336  Wed Jan 14 18:29:26 PST 2004
May 16 16:43:23 nissefisken udev[12367]: creating device node '/dev/nvidia0'
May 16 16:43:23 nissefisken udev[12366]: creating device node '/dev/nvidiactl'

If I start start x with the "nv" driver, and then modprobe "nvidia"
afterwards, then I get the same three lines
nvidia: no version for "struct_module" found: kernel tainted.
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336

However now the nvidia module is loaded:
nissefisken# lsmod | grep nvidia
nvidia               2068648  0

What is struct_module. Is struct_module the reason why my nvidia does
not work for me?

Log files (These correspond to using xfree with the "nv"-driver)
http://dirac.ruc.dk/~gnalle/boot
http://dirac.ruc.dk/~gnalle/syslog.0

nissefisken# dpkg -l kernel-image-2.6.5-1-386
Desired=Unknown/Install/Remove/Purge/Hold|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:uppercase=bad)
||/ Name                           Version
Description
+++-==============================-==============================-============================================================================
ii  kernel-image-2.6.5-1-386       2.6.5-4
Linux kernel image for version 2.6.5 on 386.
nissefisken# uname -r
2.6.5-1-386


I did a bit of googling and I found a person who reported a somewhat similar error on debian-boot:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=1OiKz-8is-33%40gated-at.bofh.it&rnum=1

Sonmeone posted that he got the following error
fglrx: no version for "struct_module" found: kernel tainted.
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx] module loaded - fglrx 3.7.6 [Mar  5 2004] on minor 0

I would be grateful for any hints and enlightening flames :)


                        Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/



Reply to: