Re: [mpls-linux-general] mpls command does not return
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-12-08 04:25:25
|
I have a theory about it having something to do with SMP. Can your try compiling as a UP kernel and see if the problem persists? On Wed, Dec 07, 2005 at 03:10:19PM -0500, Bob Beers wrote: > > Can you post the full set of mpls commands you issued? I cannot > > reproduce this on my machines. >=20 > Certainly, > after reboot, and kde startup, let's just start with uml1: >=20 > bash-3.00# cat /sys/mpls/version > 1.950 > bash-3.00# mpls nhlfe add key 0 > NHLFE entry key 0x00000002 mtu 0 propagate_ttl > (0 bytes, 0 pkts) > bash-3.00# mpls nhlfe change key 0x2 instructions push gen 10000 > nexthop eth0 ipv4 172.16.87.21 > bash-3.00# /usr/sbin/ip route add 172.16.87.21/32 via 172.16.87.21 mpls 0= x2 > bash-3.00# /usr/sbin/ip route show > 172.16.87.21 via 172.16.87.21 dev eth0 mpls 0x2 > 172.16.87.0/24 dev eth0 proto kernel scope link src 172.16.87.11 > 192.168.10.0/24 dev eth1 proto kernel scope link src 192.168.10.11 > 127.0.0.0/8 dev lo scope link > default via 192.168.10.7 dev eth1 > bash-3.00# mpls nhlfe show >=20 > and it never returns, the console is not locked-up, just never returns wi= thout > a ^C. >=20 > here is some other info: >=20 > bash-3.00# dmesg | grep MPLS > MPLS: version 1.950 > MPLS: protocol driver interface - <jl...@mi...> > MPLS DEBUG net/mpls/mpls_sysfs.c:136:mpls_sysfs_init: enter > MPLS DEBUG net/mpls/mpls_sysfs.c:145:mpls_sysfs_init: exit > Registered MPLS tunnel mpls0 > MPLS: IPv4 over MPLS support > MPLS DEBUG net/mpls/mpls_ilm.c:126:mpls_ilm_dst_alloc: enter > MPLS DEBUG net/mpls/mpls_ilm.c:156:mpls_ilm_dst_alloc: exit > MPLS: IPv6 over MPLS support > MPLS DEBUG net/mpls/mpls_ilm.c:126:mpls_ilm_dst_alloc: enter > MPLS DEBUG net/mpls/mpls_ilm.c:109:ilm_dst_gc: enter > MPLS DEBUG net/mpls/mpls_ilm.c:110:ilm_dst_gc: exit > MPLS DEBUG net/mpls/mpls_ilm.c:156:mpls_ilm_dst_alloc: exit > MPLS: Ethernet over MPLS support > MPLS DEBUG net/mpls/mpls_netlink.c:302:genl_mpls_nhlfe_new: enter > MPLS DEBUG net/mpls/mpls_nhlfe.c:394:mpls_add_out_label: enter > MPLS DEBUG net/mpls/mpls_nhlfe.c:130:nhlfe_dst_alloc: enter > MPLS DEBUG net/mpls/mpls_nhlfe.c:151:nhlfe_dst_alloc: exit > MPLS DEBUG net/mpls/mpls_netlink.c:279:mpls_nhlfe_event: enter > MPLS DEBUG net/mpls/mpls_netlink.c:249:mpls_fill_nhlfe: enter > MPLS DEBUG net/mpls/mpls_netlink.c:49:mpls_copy_instr: enter > MPLS DEBUG net/mpls/mpls_netlink.c:63:mpls_copy_instr: exit > MPLS DEBUG net/mpls/mpls_netlink.c:266:mpls_fill_nhlfe: exit > MPLS DEBUG net/mpls/mpls_netlink.c:293:mpls_nhlfe_event: exit > MPLS DEBUG net/mpls/mpls_nhlfe.c:451:mpls_add_out_label: exit > MPLS DEBUG net/mpls/mpls_netlink.c:339:genl_mpls_nhlfe_new: Exit: 0 > MPLS DEBUG net/mpls/mpls_netlink.c:302:genl_mpls_nhlfe_new: enter > MPLS DEBUG net/mpls/mpls_opcode.c:345:mpls_build_opcode_push: enter > MPLS DEBUG net/mpls/mpls_opcode.c:356:mpls_build_opcode_push: exit > MPLS DEBUG net/mpls/mpls_opcode.c:1035:mpls_build_opcode_set: enter > MPLS DEBUG net/mpls/mpls_dst.c:169:mpls_dst_alloc: enter > MPLS DEBUG net/mpls/mpls_dst.c:204:mpls_dst_alloc: exit(e8668e80) > MPLS DEBUG net/mpls/mpls_opcode.c:1100:mpls_build_opcode_set: exit > MPLS DEBUG net/mpls/mpls_netlink.c:339:genl_mpls_nhlfe_new: Exit: 0 > MPLS DEBUG net/mpls/mpls_netlink.c:398:genl_mpls_nhlfe_dump: Enter: entry= 0 > MPLS DEBUG net/mpls/mpls_netlink.c:402:genl_mpls_nhlfe_dump: Dump: entry 0 > MPLS DEBUG net/mpls/mpls_netlink.c:249:mpls_fill_nhlfe: enter > MPLS DEBUG net/mpls/mpls_netlink.c:49:mpls_copy_instr: enter > MPLS DEBUG net/mpls/mpls_opcode.c:364:mpls_unbuild_opcode_push: enter > MPLS DEBUG net/mpls/mpls_opcode.c:369:mpls_unbuild_opcode_push: exit > MPLS DEBUG net/mpls/mpls_opcode.c:1109:mpls_unbuild_opcode_set: enter > MPLS DEBUG net/mpls/mpls_opcode.c:1115:mpls_unbuild_opcode_set: exit > MPLS DEBUG net/mpls/mpls_netlink.c:63:mpls_copy_instr: exit > MPLS DEBUG net/mpls/mpls_netlink.c:266:mpls_fill_nhlfe: exit > MPLS DEBUG net/mpls/mpls_netlink.c:419:genl_mpls_nhlfe_dump: Exit: entry 1 > MPLS DEBUG net/mpls/mpls_netlink.c:398:genl_mpls_nhlfe_dump: Enter: entry= 1 > MPLS DEBUG net/mpls/mpls_netlink.c:402:genl_mpls_nhlfe_dump: Dump: entry 0 > MPLS DEBUG net/mpls/mpls_netlink.c:419:genl_mpls_nhlfe_dump: Exit: entry 1 > bash-3.00# >=20 > bash-3.00# uname -a > Linux alakazam 2.6.15-rc1-mpls #11 SMP PREEMPT Tue Dec 6 15:29:07 EST > 2005 i686 unknown unknown GNU/Linux > bash-3.00# > bash-3.00# cat /proc/cpuinfo > processor : 0 > vendor_id : GenuineIntel > cpu family : 15 > model : 2 > model name : Intel(R) Pentium(R) 4 CPU 2.66GHz > stepping : 9 > cpu MHz : 2667.073 > cache size : 512 KB > fdiv_bug : no > hlt_bug : no > f00f_bug : no > coma_bug : no > fpu : yes > fpu_exception : yes > cpuid level : 2 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge > mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid > xtpr > bogomips : 5342.33 >=20 > bash-3.00# > bash-3.00# free > total used free shared buffers cached > Mem: 903060 418412 484648 0 43336 224788 > -/+ buffers/cache: 150288 752772 > Swap: 0 0 0 > bash-3.00# >=20 >=20 > Do you want to see my .config? I don't really need the SMP or > PREEMPT, I suppose. >=20 > -Bob >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&op?k > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |