Re: [mpls-linux-devel] Kernel 2.6.32.11 or better
Status: Beta
Brought to you by:
jleu
From: Chris R. <Chr...@nr...> - 2010-05-04 10:46:14
|
Renato Based on a quick check, the patches I came up with are almost (about 75%) the same as yours. But since they didnt match completely I attempted to build a new FC12 rpm using your kernel and iproute patches. Unfortunately the system locks up on receipt of the 1st MPLS packet just like a patched kernel using my patches. I check if the build disables the stack overflow and it turns out the flag CONFIG_CC_STACKPROTECTOR in the file config-generic is not even present which I "think" means it's not included in the compile by default. So there is something else wrong and as I said before, since the major changes from 2.6.27 and 2.6.32 appears to be with the skbuff I suspect something there is the problem. Also, there seems to be some interesting changes with MPLS inclusion into the FC12 rpm build files. I had to remove patches that add the ipv4/Makefile changes because the mpls.o file inclusion is already there. This is just one example of some additions to the make scripts which include MPLS but note the actual mpls code is not present, ergo a bit confusing as to what is going on? ....Chris On 04/19/2010 12:07 PM, Renato Westphal wrote: > Hi, > > I have already ported mpls-1.963 to the kernel 2.6.32.11, I just > didn't ported the ebtables module. > > The only problem is that you should disable the stack protector on the > kernel, > since a buffer overflow occurs when you bind a route with a nhlfe key. > I'm working on this bug, but disabling stack protector everything > should work. > > Patch for kernel 2.6.32.11 <http://2.6.32.11>: > > 1 - Get kernel 2.6.32.11 <http://2.6.32.11>: > http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.11.tar.bz2 > > 2 - Apply attached patch: patch -p1 < ../linux-2.6.32.11-mpls1.963.patch > > 3 - make menuconfig: > > Networking options ---> > <*> Multiprotocol Label Switching > <*> MPLS: Virtual tunnel interface > <*> IP: MPLS support > <*> The IPv6 protocol ---> > <*> IPv6: MPLS support > > [*] Network packet filtering framework (Netfilter) ---> > Core Netfilter Configuration ---> > <*> "mpls" target support > > General setup ---> > [*] Network namespace > > Disable stack protector > > Processor type and features ---> > [ ] Enable -fstack-protector buffer overflow detection (EXPERIMENTAL) > > 4 - build kernel... > > > Patch for iproute2: > > 1 - Get iproute2-2.6.33: > http://devresources.linuxfoundation.org/dev/iproute2/download/iproute2-2.6.33.tar.bz2 > > 2 - Apply attached patch: patch -p1 < ../iproute2-2.6.33-mpls1.963.patch > > 3 - $ make > # make install (*) > > * build dependencies (debian5): libdb-dev, bison, flex > > > Patch for iptables: > > 1 - Get iptables-1.4.7: > http://www.netfilter.org/projects/iptables/files/iptables-1.4.7.tar.bz2 > > 2 - Apply attached patch: patch -p1 < ../iptables-1.4.7-mpls1.963.patch > > 3 - $ ./configure > $ make > # make install > > > Greetings from Brazil, > Renato. > > . > .2010/4/19 Chris Robson <Chr...@nr... > <mailto:Chr...@nr...>> > > > Hi Jim > > I was wondering if you are working to get mpls-linux updated to at > least > kernel 2.6.32-11 (aka the latest Fedora 12 update)? > > I have several Dell 610 Nehalem CPU based system to test > MPLS-Linux 10GE > performance on but all are running FC12. > > Non-MPLS path 10GE performance improvements on Nehalem systems is > remarkable. Typical Quad-Core systems get about 5G or 6G but with the > Nehalem I'm seeing almost line rate at about 9.8G sustained for > non-MPLS > test throughput. Thus I'd like to see how the MPLS-Linux can improve > over past performance test. > > I have been working a new patch but as in the past there are dramatic > changes to the kernel from 2.6.27 (current MPLS git level) to > 2.6.32-11. Notably with skbuff, which so far my changes are failing > miserably. > > ...Chris > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > <mailto:mpl...@li...> > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > > |