A question regarding init_mm - Kernel

This is a discussion on A question regarding init_mm - Kernel ; 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 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: A question regarding init_mm

  1. A question regarding init_mm

    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

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: A question regarding init_mm

    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.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)
    Comment: Exmh version 2.5 07/13/2001

    iD8DBQFIm7/zcC3lWbTT17ARAnm1AKCfnSy4YKBpnkMx7tuAYM5bnyEuwwCgl c77
    Dyxmx9fMODt2FydRzXZj1X8=
    =ZOKG
    -----END PGP SIGNATURE-----


  3. Re: A question regarding init_mm

    Valdis.Kletnieks@vt.edu 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

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread