snapapi26 kernel module on kernel 2.6.18

Discussion in 'Acronis True Image Product Line' started by SangreNegra, Nov 20, 2006.

Thread Status:
Not open for further replies.
  1. SangreNegra

    SangreNegra Registered Member

    Joined:
    Nov 20, 2006
    Posts:
    4
    Hello,

    i have some problems installing the snapapi26 kernel module v 0.0.7 for the true image server 9.1 on a system running kernel 2.6.18.

    As is seems there has been a function called "set_wmb" got removed by the kernel developers.

    Anybody aware of that problem and knows a solution?

    Any help is greatly appreciated! Thanks!

    Best regards Johannes
     
  2. SangreNegra

    SangreNegra Registered Member

    Joined:
    Nov 20, 2006
    Posts:
    4
    Ok guys, i guess it found something interesting regarding my problem:

    http://lkml.org/lkml/2006/7/14/233

    Let's try to tweak the module sources and get around this very old function usage.

    Best regards Johannes
     
  3. floc

    floc Registered Member

    Joined:
    Dec 10, 2006
    Posts:
    6
    did you solved? Same problem here but there are many controls in snapapi26.c for set_wmb, I'm scared to simply remove them even after reading that the function after all don't make anything important in the kernel...
     
  4. SangreNegra

    SangreNegra Registered Member

    Joined:
    Nov 20, 2006
    Posts:
    4
    Hi floc,

    yes i was able to fix the sources, it was really simple, thought it was a lot of work ;)
    I will attach the sources of snapapi26 as well as snumbd26 kernel module.
    Make a diff to the originals to find out what i've changes, but nothing dramatically.
    Just replaced set_wmb with clear variable value assignments and called set_wmb() with it's empty constructor after that.

    Have fun with the modules!

    Best regards Johannes
     

    Attached Files:

  5. SangreNegra

    SangreNegra Registered Member

    Joined:
    Nov 20, 2006
    Posts:
    4
    Ok and due to forum limitations of attachment amount here is the snumbd26 module source.

    /Johannes
     

    Attached Files:

  6. floc

    floc Registered Member

    Joined:
    Dec 10, 2006
    Posts:
    6
    many thanks! :thumb:
     
Thread Status:
Not open for further replies.