[kpatch] kpatch run fail on Fedora 20

Junliang Li lijunliang.dna at gmail.com
Sat Mar 1 08:28:15 UTC 2014


Hi, all

I got a copy of kpatch from github and compile it on my VM which is
running Fedora 20. Everything is OK until I build a kpatch module. From
error logs I got some messages like :

"/usr/local/libexec/kpatch/create-diff-object:
kpatch_create_symbol_table: 372: local symbol starts at section offset
10, expected 0"

my test patch is:

--- linux-3.13.4-200.fc20.x86_64.orig/drivers/scsi/constants.c
2014-01-20 10:40:07.000000000 +0800
+++ linux-3.13.4-200.fc20.x86_64.work/drivers/scsi/constants.c
2014-03-01 15:52:12.913000000 +0800
@@ -1546,6 +1546,7 @@
 {
        struct scsi_sense_hdr sshdr;

+       printk(KERN_INFO "\nkpatch code\n");
        scmd_printk(KERN_INFO, cmd, " ");
        scsi_decode_sense_buffer(cmd->sense_buffer,
SCSI_SENSE_BUFFERSIZE,
                                 &sshdr);

so, should I try another kernel or create a new patch file ?

thanks,
Junliang Li





More information about the kpatch mailing list