Trying to build the nvidia video module for 2.6.26-git through
2.6.27-rc2, I get "Unknown symbol init_mm", openSUSE 11.1 Alpha1.
Checking a few places I can see init_mm.
# cat /proc/kallsyms |grep init_mm
ffffffff80630020 D init_mm
# grep init_mm System.map-2.6.27-rc2-smp
ffffffff80630020 D init_mm
/usr/src/linux-2.6.27-rc2/arch/x86/kernel # grep init_mm init_task.c
struct mm_struct init_mm = INIT_MM(init_mm);
EXPORT_UNUSED_SYMBOL(init_mm); /* will be removed in 2.6.26 */
Any thoughts on why it's not seen? No one on the nvidia list has a clue
either.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
On Fri, 08 Aug 2008 02:49:29 BST, Sid Boyce said:
> EXPORT_UNUSED_SYMBOL(init_mm); /* will be removed in 2.6.26 */
> Any thoughts on why it's not seen? No one on the nvidia list has a clue
> either.
Run a kernel built with 'CONFIG_UNUSED_SYMBOLS=y', that should help matters
somewhat.
The *real* problem is that the NVidia driver uses the deprecated pgd_offset_k()
function (see NV_PGD_OFFSET in lv-linux.h). That's what needs fixing.
[email protected] wrote:
> On Fri, 08 Aug 2008 02:49:29 BST, Sid Boyce said:
>
>> EXPORT_UNUSED_SYMBOL(init_mm); /* will be removed in 2.6.26 */
>
>> Any thoughts on why it's not seen? No one on the nvidia list has a clue
>> either.
>
> Run a kernel built with 'CONFIG_UNUSED_SYMBOLS=y', that should help matters
> somewhat.
>
> The *real* problem is that the NVidia driver uses the deprecated pgd_offset_k()
> function (see NV_PGD_OFFSET in lv-linux.h). That's what needs fixing.
Thanks, that solved the problem. There is a patch for NVidia 177.13
which works, but I haven't yet been able to read it through to see
exactly what files were altered.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks