Skip to contentSkip to conversation

TEST13-PRE7 - Nvidia Kernel Module Compile Problem

DISCUSSION Tony Spinillo 5 participants 5 messages Dec 31, 2000 – Jan 1, 2001

lore
Share & tools
lore
#0 lore raw

The nvidia kernel module (from www.nvidia.com) has compiled and loaded correctly with all test13-pre series up to pre6. I just tried to compile and load under pre7.
I got the following:
nv.c:860:unknown field `unmap' specified in initializer nv.c:860:warning: initialization from incompatible pointer type make:*** [nv.o] Error 1

Is this due to a problem with the recent makefile changes or a problem with the nvidia module?

Thanks!

Tony

The output for ver_linux:

Kernel modules         2.3.23
Gnu C                  egcs-2.91.66
Gnu Make               3.79.1
Binutils               2.10.0.24
Linux C Library        2.1.3
Dynamic linker         ldd (GNU libc) 2.1.3
Procps                 2.0.7
Mount                  2.10o
Net-tools              1.57
Console-tools          0.2.3
Sh-utils               2.0

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw

Bitch to nVidia.

--cw

On Sat, Dec 30, 2000 at 07:54:21PM +0000, Tony Spinillo wrote:
The nvidia kernel module (from www.nvidia.com) has compiled and loaded correctly with all test13-pre series up to pre6. I just tried to compile and load under pre7.
I got the following:
nv.c:860:unknown field `unmap' specified in initializer nv.c:860:warning: initialization from incompatible pointer type make:*** [nv.o] Error 1

Is this due to a problem with the recent makefile changes or a problem with the nvidia module?

Thanks!

Tony

The output for ver_linux:

Kernel modules 2.3.23
Gnu C egcs-2.91.66
Gnu Make 3.79.1
Binutils 2.10.0.24
Linux C Library 2.1.3
Dynamic linker ldd (GNU libc) 2.1.3
Procps 2.0.7
Mount 2.10o
Net-tools 1.57
Console-tools 0.2.3
Sh-utils 2.0
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 7 lines · Tony Spinillo

The nvidia kernel module (from www.nvidia.com) has compiled and loaded correctly with all test13-pre series up to pre6. I just tried to compile and load under pre7.
I got the following:
nv.c:860:unknown field `unmap' specified in initializer nv.c:860:warning: initialization from incompatible pointer type make:*** [nv.o] Error 1

Delete the unmap: line somewhere near line 868 of nv.c Seems to be working fine here.

regards,

Davej.

Signature · 7 lines
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#3 lore raw
In reply to Tony Spinillo
Quoted 4 lines · Tony Spinillo

The nvidia kernel module (from www.nvidia.com) has compiled and loaded correctly with all test13-pre series up to pre6. I just tried to compile and load under pre7.

I'm intrigued... how did you resolve the 'mem_map_inc_count' and 'mem_map_dec_count',
'put_module_symbol' and 'get_module_symbol' references?

It's only of academic interest for me now as I've ditched the nvidia - not worth the hassle.

Amusingly, We're breaking the EULA even by reading the supplied source code...

Tony

Signature · 7 lines
Can't think of a decent signature...

[email protected]		http://www.nothing-on.tv
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#4 lore raw

Re: TEST13-PRE7 - Nvidia Kernel Module Compile Problem [OFF TOPIC]

Quoted 9 lines · Tony Hoyle

I'm intrigued... how did you resolve the 'mem_map_inc_count' and 'mem_map_dec_count',
'put_module_symbol' and 'get_module_symbol' references?

It's only of academic interest for me now as I've ditched the nvidia - not worth the hassle.

Amusingly, We're breaking the EULA even by reading the supplied source code...

usually there are patches on irc.openprojects.net #nvidia after a day or less whenever kernel changes fsck up the latest nvidia kernel module.

justin

Signature · 6 lines
I see dead people.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/