Note that there are some explanatory texts on larger screens.

plurals
  1. POLinux kernel patching issue
    primarykey
    data
    text
    <p>I have some trouble getting this particular kernel patch to compile correctly with my Ubuntu Linux kernel.</p> <p>The patch in question comes from a piece of software called SCST it a iSCSI target for Linux. The patch loads fine when I run <code>patch -p1 &lt; put_page_callback-2.6.32.patch</code> but when I got to compile I get about an hour in or so and then make fails and returns these errors.</p> <pre><code>/root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:63: error: redefinition of '__kcrctab_net_get_page_callback' /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:14: note: previous definition of '__kcrctab_net_get_page_callback' was here /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:63: error: redefinition of '__kstrtab_net_get_page_callback' /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:14: note: previous definition of '__kstrtab_net_get_page_callback' was here /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:63: error: redefinition of '__ksymtab_net_get_page_callback' /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:14: note: previous definition of '__ksymtab_net_get_page_callback' was here /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:66: error: redefinition of '__kcrctab_net_put_page_callback' /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:17: note: previous definition of '__kcrctab_net_put_page_callback' was here /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:66: error: redefinition of '__kstrtab_net_put_page_callback' /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:17: note: previous definition of '__kstrtab_net_put_page_callback' was here /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:66: error: redefinition of '__ksymtab_net_put_page_callback' /root/d1/development/kernel/lucid/source/net/ipv4/tcp_zero_copy.c:17: note: previous definition of '__ksymtab_net_put_page_callback' was here </code></pre> <p>and I have absolutley no idea what is going on. I am not a kernel dev by any means, I am just trying to get this patch and another one which works fine <code>scst_exec_req_fifo-2.6.32.patch</code>. So I can make this iSCSI target run at full speed.</p> <p>Any idea what I can do?</p> <p>** UPDATE **</p> <p>I am following the insructions from <a href="https://help.ubuntu.com/community/Kernel/Compile" rel="nofollow">https&#58;//help.ubuntu.com/community/Kernel/Compile</a>. More specificly a link on that page that goes to <a href="http://blog.avirtualhome.com/2010/05/05/how-to-compile-a-ubuntu-lucid-kernel/" rel="nofollow">http&#58;//blog.avirtualhome.com/2010/05/05/how-to-compile-a-ubuntu-lucid-kernel/</a>.</p> <p>I have already done a few compiles using these instructions, my problems were either I forgot to apply the patches or the patch did not take, but up until now they always completed. Something with this new patch messed something up.</p> <p>As far as why the iSCSI target is messing with the network parts, it apperantly has something to do with the network performance. When I compile the target software without the patch it whines about the performance wont be good. The website for the target is <a href="http://scst.sourceforge.net/index.html" rel="nofollow">http&#58;//scst.sourceforge.net/index.html</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload