Git Product home page Git Product logo

Comments (5)

jpoimboe avatar jpoimboe commented on June 23, 2024

Hi @lulinqing , did you load kpatch.ko first?

from kpatch.

lulinqing avatar lulinqing commented on June 23, 2024

hi @jpoimboe , thanks for reminding... Seems I failed to load kpatch.ko because of some reason during the upgrade from fc19~fc20 ( issue #86 ) and I didn't notice that.

$ ls /usr/local/lib/modules/$(uname -r)/kpatch/kpatch.ko
/usr/local/lib/modules/3.13.6-200.fc20.x86_64/kpatch/kpatch.ko
$ sudo insmod /usr/local/lib/modules/$(uname -r)/kpatch/kpatch.ko
insmod: ERROR: could not insert module /usr/local/lib/modules/3.13.6-200.fc20.x86_64/kpatch/kpatch.ko: Invalid module format
$ dmesg | tail
...
[60868.408750] kpatch: version magic '3.13.6-100.fc19.x86_64 SMP mod_unload ' should be '3.13.6-200.fc20.x86_64 SMP mod_unload '

I do re-compiled the kpatch core module and re-installed via make && sudo make install. But apparently it's not a clean one.

from kpatch.

jpoimboe avatar jpoimboe commented on June 23, 2024

Yeah, if you don't always do a make clean after a kernel update then the core module can get out of date.

I just fixed it with #88. It should be fixed now if you do a make && sudo make install with the latest master.

from kpatch.

lulinqing avatar lulinqing commented on June 23, 2024

Thanks @jpoimboe , that sounds great.

Everything went well now after with a correct kpatch.ko loaded.

from kpatch.

jpoimboe avatar jpoimboe commented on June 23, 2024

Ok good!

from kpatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.