From: Vladislav B. <vs...@vl...> - 2011-10-26 19:51:58
|
Hi, It's a bit too early to look at 3.1 kernel. We are usually doing it when it's released. Thanks, Vlad Iain Paton, on 10/25/2011 02:20 AM wrote: > Hi, > > I'm trying to build scst against linux 3.1 and having some problems. Using svn r3898. > > running scripts/scripts/generate-kernel-patch 3.0 > kernel.patch > > then applying it to the 3.1 tree seems to go ok (with some fuzz), however compiling the resultant kernel gets this error > > In file included from /data/linux/source/linux-3.1-org/include/linux/skbuff.h:26:0, > from /data/linux/source/linux-3.1-org/include/linux/netfilter.h:6, > from /data/linux/source/linux-3.1-org/include/net/netns/x_tables.h:5, > from /data/linux/source/linux-3.1-org/include/net/net_namespace.h:19, > from /data/linux/source/linux-3.1-org/include/linux/init_task.h:13, > from /data/linux/source/linux-3.1-org/arch/x86/kernel/init_task.c:5: > /data/linux/source/linux-3.1-org/include/linux/net.h: In function 'net_get_page': > /data/linux/source/linux-3.1-org/include/linux/net.h:311:10: error: 'struct page' has no member named 'net_priv' > /data/linux/source/linux-3.1-org/include/linux/net.h: In function 'net_put_page': > /data/linux/source/linux-3.1-org/include/linux/net.h:317:10: error: 'struct page' has no member named 'net_priv' > make[3]: *** [arch/x86/kernel/init_task.o] Error 1 > make[2]: *** [arch/x86/kernel] Error 2 > make[1]: *** [arch/x86] Error 2 > make: *** [sub-make] Error 2 > > This seems related to net_priv being conditionally added into struct_page based on > whether CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION is defined or not. > > .config shows the option as enabled and include/generated/autoconf.h has > > #define CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION 1 > #define __enabled_CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION 1 > #define __enabled_CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION_MODULE 0 > > Something is different here as those __enabled_ #defines don't appear in the 3.0 autoconf.h. > > I don't immediately have time to investigate further tonight and couldn't see anything obvious in the list archive, so thought I'd ask and see if anyone has any ideas or can point at a fix I've missed ? > > Thanks, > Iain > > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Scst-devel mailing list > https://lists.sourceforge.net/lists/listinfo/scst-devel > |