Package: ksplice
Version: 0.9.5-1
Severity: important
I was trying to follow the example at:
http://www.ksplice.com/example-update
This is what I did so far:
#cd /usr/src/
#apt-get install linux-source-2.6.26
#tar -xjvf linux-source-2.6.26.tar.bz2
#cd linux-source-2.6.26
#cp /boot/config-2.6.26-1-686 .config
#make xconfig
#mkdir ksplice
#cd ksplice/
#cp /boot/config-2.6.26-1-686 .config
#cp /boot/System.map-2.6.26-1-686 System.map
#ln -s /lib/modules/2.6.26-1-686/build
/usr/src/linux-source-2.6.26/ksplice/build
#cd ../kernel
#pwd
/usr/src/linux-source-2.6.26/kernel
#ksplice-create --patch=printk.patch /usr/src/linux-source-2.6.26
The first error message that I got was:
In file included from include/linux/gfp.h:4,
from include/linux/slab.h:12,
from include/linux/percpu.h:5,
from include/asm/local.h:4,
from include/linux/module.h:19,
from init/main.c:13:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
include/linux/mmzone.h:197:5: warning: "MAX_NR_ZONES" is not defined
Then after searching on Internet I found that I need to give:
#make prepare
After doing the above, now I get the following error message:
#ksplice-create --patch=printk.patch /usr/src/linux-source-2.6.26
Starting kernel builds (this process might take a long time)...
scripts/kconfig/conf -s arch/x86/Kconfig
rm ksplice-revert-stamp
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC init/main.o
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
Aborting: Prebuild failed at /usr/bin/ksplice-create line 180.
debian-sid:/usr/src/linux-source-2.6.26/kernel#
All the commands that I gave start with "#" symbol. Also I am attaching my
printk.patch file below:
--- linux-source-2.6.26/kernel/printk.c 2009-02-12 15:13:57.0 -0800
+++ linux-test/kernel/printk_patch.c2009-02-12 15:17:45.0 -0800
@@ -610,7 +610,8 @@
{
va_list args;
int r;
-
+
+ vprintk("Quoth the kernel:\n", NULL);
va_start(args, fmt);
r = vprintk(fmt, args);
va_end(args);
Thanks
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ksplice depends on:
ii binutils2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii gcc [c-compiler]4:4.3.2-3The GNU C compiler
ii gcc-4.1 [c-compiler 4.1.2-25 The GNU C compiler
ii gcc-4.2 [c-compiler 4.2.4-6 The GNU C compiler
ii gcc-4.3 [c-compiler 4.3.3-3 The GNU C compiler
ii libc6 2.7-18 GNU C Library: Shared libraries
ii patch 2.5.9-5 Apply a diff file to an original
ii perl5.10.0-19Larry Wall's Practical Extraction
ii rsync 3.0.5-1 fast remote file copy program (lik
ksplice recommends no packages.
ksplice suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org