2000-11-21 17:33:11

by Vitali Lieder

[permalink] [raw]
Subject: NVdriver-problem with 2.4.0-test11


Hallo!

With new 2.4.0-test11 kernel i have the problem with NVdriver-0.95:

depmod: *** unresolved symbols in /lib/modules/2.4.0-test11/video/NVdriver

/lib/modules/2.4.0-test11/video/Nvdriver:unresolved symbol in put_module_symbol
/lib/modules/2.4.0-test11/video/NVdriver:unresolved symbol in get_module_symbol

Please, could you explain me, how i can find in patch the #define's lines
with this symbols, that was cleaned from kernel, so that i can place that
lines by myself in future.

Thank you !

[email protected]
or
lieder.cs.tu-berlin.de

Thanks.




2000-11-22 00:17:49

by Shahin, Mofeed

[permalink] [raw]
Subject: RE: NVdriver-problem with 2.4.0-test11

Umm what worked for me was to do the following :

change the following line in os-interface.c (Part of NVIDIA_kernel package):
symbol_value = get_module_symbol(NV_MODULE_NAME, symbol_name);
to :
symbol_value = inter_module_get_request(NV_MODULE_NAME, symbol_name);

and then remove the following lines which appear after the above lines :

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0)
put_module_symbol(symbol_value);
#endif

Now there may be something else that needs changing, but after doing the
above, the driver loaded up fine as did XFree86.

Mof.


> From: Vitali Lieder [mailto:[email protected]]
>
> Hallo!
>
> With new 2.4.0-test11 kernel i have the problem with NVdriver-0.95:
>
> depmod: *** unresolved symbols in
> /lib/modules/2.4.0-test11/video/NVdriver
>
> /lib/modules/2.4.0-test11/video/Nvdriver:unresolved symbol in
> put_module_symbol
> /lib/modules/2.4.0-test11/video/NVdriver:unresolved symbol in
> get_module_symbol
>
> Please, could you explain me, how i can find in patch the
> #define's lines
> with this symbols, that was cleaned from kernel, so that i
> can place that
> lines by myself in future.