[mpls-linux-devel] Hi, the mpls command doesn't work after patch the kernel and install the iprout
Status: Beta
Brought to you by:
jleu
From: Peng <jia...@gm...> - 2011-08-09 21:06:22
|
Hi, I'm trying to using the mpls on my ubuntu box. I followed the instruction on http://ontwerpen1.khlim.be/~lrutten/cursussen/comm2/mpls-linux-docs/index.html but with the kernel version of 2.6.35 and linux-kernel-v2.6.35.13-mpls1.980.patch, iproute-2.6.27-2.fc10.mpls.1.963.i386.rpm<http://mpls-linux.sourceforge.net/fedora/10/i386/mpls/iproute-2.6.27-2.fc10.mpls.1.963.i386.rpm> ebtables-2.0.8-5.fc10.mpls.1.963.i386.rpm<http://mpls-linux.sourceforge.net/fedora/10/i386/mpls/ebtables-2.0.8-5.fc10.mpls.1.963.i386.rpm> iptables-1.4.1.1-2.fc10.mpls.1.963.i386.rpm<http://mpls-linux.sourceforge.net/fedora/10/i386/mpls/iptables-1.4.1.1-2.fc10.mpls.1.963.i386.rpm> after the patch the kernel, and installed the aliened iproute iptable and ebtable. when I used the .deb aliened from corresponding .rpm packages root@peng-MacBookPro:~# mpls hnhlfe add key 0 instaructions push gen 1000 nexthop eth0 ipv4 10.0.0.3 NHLFE entry key 0x00000002 mtu 0 propagate_ttl (0 bytes, 0 pkts) ip route add 192.168.1.0/24 via 10.0.0.3 mpls 0x2 it crashes my laptop right away, the whole screen froze and I cannot do anything The the kernel and patch method I'm using: Linux peng-MacBookPro 2.6.35.13 #1 SMP Thu Aug 4 23:41:12 EDT 2011 i686 GNU/Linux root@peng-MacBookPro:/usr/src/ linux-2.6.35.13# patch -p1 < /usr/src/linux-2.6.35.13/linux-kernel-v2.6.35.13-mpls1.980.patch and the methods I installed the iproute iptable and ebtable are: root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# dpkg -i iproute_2.6.27-3_i386.deb dpkg: warning: downgrading iproute from 20110728-1 to 2.6.27-3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 136388 files and directories currently installed.) Preparing to replace iproute 20110728-1 (using iproute_2.6.27-3_i386.deb) ... Unpacking replacement iproute ... Setting up iproute (2.6.27-3) ... Processing triggers for man-db ... root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# cd cp /bin/true /sbin/chkconifgfig root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# dpkg -i iptables_1.4.1.1-3_i386.deb dpkg: warning: downgrading iptables from 1.4.11.1-1 to 1.4.1.1-3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 136339 files and directories currently installed.) Preparing to replace iptables 1.4.11.1-1 (using iptables_1.4.1.1-3_i386.deb) ... Unpacking replacement iptables ... dpkg: warning: unable to delete old directory '/usr/local/lib': Directory not empty dpkg: warning: unable to delete old directory '/usr/local/share': Directory not empty dpkg: warning: unable to delete old directory '/usr/local': Directory not empty Setting up iptables (1.4.1.1-3) ... Processing triggers for man-db ... root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# root@peng-MacBookPro:~/Desktop/Linuxbackup/Desktop/debian/MPLSopensource# dpkg -i ebtables_2.0.8-6_i386.deb dpkg: warning: downgrading ebtables from 2.0.9.2-2 to 2.0.8-6. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 136280 files and directories currently installed.) Preparing to replace ebtables 2.0.9.2-2 (using ebtables_2.0.8-6_i386.deb) ... Unpacking replacement ebtables ... Setting up ebtables (2.0.8-6) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place I'm wondering why I cannot use a simple function of this opensource project command, is there some command issue? maybe the command format introduced in the docs are outdated? or I didn't install the iproute/iptables package correctly? Has someone here successfully patched the kernel and installed the package on ubuntu? if ubuntu is not a good choice for this project's packages. What OS you guys usually use? Many thanks! BR Peng |