#16 mol.ko has symbol errors with 2.6.23

open
5
2007-07-29
2007-07-29
No

building the modules gives:

WARNING: "handle_mm_fault" [/usr/src/modules/mol/kmod/mol.ko] undefined!

Loading mol gives:

insmod /lib/modules/2.6.23-rc1-git6-aragorn/extra/mol.ko
mol: Unknown symbol handle_mm_fault
FATAL: Error inserting mol

Discussion

  • Joseph Jezak

    Joseph Jezak - 2007-07-30

    Logged In: YES
    user_id=1223416
    Originator: NO

    The person who removed the symbol export from the kernel isn't interested in restoring it. I'll see what I can do, but this isn't going to be fixed quickly, sorry.

     
  • Brian Tarricone

    Brian Tarricone - 2007-12-24

    Logged In: YES
    user_id=25407
    Originator: NO

    As a temporary workaround until there's a real fix, patching the kernel to export handle_mm_fault might work. The function is identical in 2.6.22.15 (still exported) and 2.6.23.12 (not exported anymore). I'll give that a try after my next reboot.

    You just need to add:

    EXPORT_SYMBOL_GPL(handle_mm_fault);

    to mm/memory.c, right under the definition of the function. Should be around line 2660 or so.

     
  • Joseph Jezak

    Joseph Jezak - 2008-01-10

    Logged In: YES
    user_id=1223416
    Originator: NO

    The attached patch and the current SVN version fixes this issue, but there are still other issues remaining.
    File Added: mol-mm.patch

     
  • Joseph Jezak

    Joseph Jezak - 2008-01-10

    2.6.23+ kernel patch

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks