2000-12-31 01:21:44

by Tony Spinillo

[permalink] [raw]
Subject: TEST13-PRE7 - Nvidia Kernel Module Compile Problem

The nvidia kernel module (from http://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


2000-12-31 01:36:12

by Chris Wedgwood

[permalink] [raw]
Subject: Re: TEST13-PRE7 - Nvidia Kernel Module Compile Problem

Bitch to nVidia.



--cw

On Sat, Dec 30, 2000 at 07:54:21PM +0000, Tony Spinillo wrote:
The nvidia kernel module (from http://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/

2000-12-31 01:47:05

by Dave Jones

[permalink] [raw]
Subject: Re: TEST13-PRE7 - Nvidia Kernel Module Compile Problem

On Sat, Dec 30, 2000 at 07:54:21PM +0000, Tony Spinillo wrote:
> The nvidia kernel module (from http://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.

--
| Dave Jones. http://www.suse.de/~davej
| SuSE Labs

2001-01-01 00:47:20

by Tony Hoyle

[permalink] [raw]
Subject: Re: TEST13-PRE7 - Nvidia Kernel Module Compile Problem

Tony Spinillo wrote:
>
> The nvidia kernel module (from http://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

--
Can't think of a decent signature...

[email protected] http://www.nothing-on.tv

2001-01-01 02:18:44

by Justin

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

On Mon, 1 Jan 2001, Tony Hoyle wrote:

> 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
--
I see dead people.