Code Monkey home page Code Monkey logo

ksplice's People

Contributors

jirislaby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ksplice's Issues

an error when ksplice-create

make: Entering directory /usr/src/linux-headers-3.11.0-15-generic' LD /tmp/ksplice-tmp-4Ejbn4/kmodsrc/built-in.o CC /tmp/ksplice-tmp-4Ejbn4/kmodsrc/offsets.o CC [M] /tmp/ksplice-tmp-4Ejbn4/kmodsrc/ksplice.o CC [M] /tmp/ksplice-tmp-4Ejbn4/kmodsrc/x86/libudis86/itab.o CC [M] /tmp/ksplice-tmp-4Ejbn4/kmodsrc/x86/libudis86/input.o CC [M] /tmp/ksplice-tmp-4Ejbn4/kmodsrc/x86/libudis86/syn.o CC [M] /tmp/ksplice-tmp-4Ejbn4/kmodsrc/x86/libudis86/decode.o CC [M] /tmp/ksplice-tmp-4Ejbn4/kmodsrc/x86/libudis86/syn-intel.o CC [M] /tmp/ksplice-tmp-4Ejbn4/kmodsrc/x86/libudis86/syn-att.o CC [M] /tmp/ksplice-tmp-4Ejbn4/kmodsrc/x86/libudis86/udis86.o /tmp/ksplice-tmp-4Ejbn4/kmodsrc/ksplice.c: In function ‘__my_set_all_modules_text_rw’: /tmp/ksplice-tmp-4Ejbn4/kmodsrc/ksplice.c:3496:6: warning: assignment makes pointer from integer without a cast fun = list_entry(vals.next, struct candidate_val, list)->val; ^ RMSYMS /tmp/ksplice-tmp-4Ejbn4/kmodsrc/ksplice-rmsyms.o /tmp/ksplice-tmp-4Ejbn4/kmodsrc/ksplice.o: Unknown section type: __mcount_loc ksplice: died at objmanip.c:2913 Child exited with signal 6 (core dumped) Failed during: /usr/local/libexec/ksplice-objmanip /tmp/ksplice-tmp-4Ejbn4/kmodsrc/ksplice.o /tmp/ksplice-tmp-4Ejbn4/kmodsrc/ksplice.o.rmsyms rmsyms LD [M] /tmp/ksplice-tmp-4Ejbn4/kmodsrc/ksplice-574lyi67.o ld: cannot find /tmp/ksplice-tmp-4Ejbn4/kmodsrc/ksplice-rmsyms.o: No such file or directory make[1]: *** [/tmp/ksplice-tmp-4Ejbn4/kmodsrc/ksplice-574lyi67.o] Error 1 make: *** [_module_/tmp/ksplice-tmp-4Ejbn4/kmodsrc] Error 2 make: Leaving directory/usr/src/linux-headers-3.11.0-15-generic'
Child exited with status 2
Failed during: make -rR -j4 -C /home/mildren/configdir/build M=/tmp/ksplice-tmp-4Ejbn4/kmodsrc KSPLICE_KID=574lyi67 KSPLICE_VERSION=1.0 map_printk=c1667b85 KSPLICE_STANDALONE=1
mildren@mildren-PC:~$
can you tell me why??

Assistance in generating patch

Hello,

I'm trying to generate a patch for use with ksplice on Gentoo.
I have the running kernel sources and new updated kernel sources.

I run diff -r -u newlinux oldlinux > diff which gets me the patch.

When I run ksplice-create --patch=diff --config=. -j 5 /tmp/oldlinux
(. contains System.map, a build symlink linked to /tmp/oldlinux, and .config)

it compiles fine for most of the file but near the end there are a lot of rejects.

What am I doing wrong?

issues compiling against RHEL 6/CentOS 6 based kernels

Hi,

I'm trying to roll together a patch against the official openvz kernel source (which bases from the RHEL 6 kernel source).

Here is the errors I get reported back:

/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c: In function âapply_updateâ:
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c:670: error: implicit declaration of function âref_moduleâ
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c: In function âinit_symbol_arrayâ:
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c:989: error: implicit declaration of function âeach_symbol_sectionâ
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c: At top level:
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c:3382: error: âset_all_modules_text_roâ undeclared here (not in a function)
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c:3382: warning: type defaults to âintâ in declaration of â__ksplice_extract_3382â
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c:3383: error: âset_all_modules_text_rwâ undeclared here (not in a function)
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c:3383: warning: type defaults to âintâ in declaration of â__ksplice_extract_3383â
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c: In function âstage_storeâ:
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c:3388: error: implicit declaration of function âset_all_modules_text_rwâ
/tmp/ksplice-tmp-SwNsuW/kmodsrc/ksplice.c:3406: error: implicit declaration of function âset_all_modules_text_roâ

CentOS 6

Is this supposed to work with CentOS 6?

ksplice can only support 3.* kernel

because in kmodsrc/ksplice.c 2766 line,
(unsigned long)task_thread_info(t)-> restart_block.fn
the member restart_block only exists in 3.* kernel, it was removed in 4.* kernel .

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.