jirislaby / ksplice Goto Github PK
View Code? Open in Web Editor NEWPatch kernel without rebooting
License: GNU General Public License v2.0
Patch kernel without rebooting
License: GNU General Public License v2.0
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??
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?
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â
Is this supposed to work with CentOS 6?
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 .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.