Liang,<br><br>Right; you reproduced the exact problem. But as you can see in my previous mail I think I have solved that problem by mannually assiging IP to ib0 (check this line # ifconfig ib0 172.24.198.111 and <b><span style="color: rgb(255, 0, 0);">&quot;Added LNI&quot; lines&nbsp; </span></b>)<br>
<br>we are back to sqare one now I guess ! LNET is up with mannually assigned IPs. normal ping succeds between machines but not lctl ping.<br><br>so my current problem is this :<br>
# lctl ping 172.24.198.112@o2ib<br>
failed to ping 172.24.198.112@o2ib: Input/output error<br>
<br>/var/log/messages:<br><br>
Jan 16 10:24:14 p128 kernel: Lustre: 2750:0:(o2iblnd_cb.c:2687:<div class="Wj3C7c">kiblnd_cm_callback()) 172.24.198.112@o2ib: <span style="color: rgb(255, 0, 0);">ROUTE ERROR -22</span><br>
Jan 16 10:24:14 p128 kernel: Lustre: 2750:0:(o2iblnd_cb.c:2101:kiblnd_peer_connect_failed()) Deleting messages for 172.24.198.112@o2ib: <span style="color: rgb(255, 0, 0);">connection failed</span><br><br>how can I get rid of this connection problem?<br>
</div><br>~subbu<br><br><br><div class="gmail_quote">On Fri, Jan 16, 2009 at 2:11 PM, Liang Zhen <span dir="ltr">&lt;<a href="mailto:Zhen.Liang@sun.com">Zhen.Liang@sun.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Subbu,<br>
<br>
We don&#39;t have any tip for setup IPoIB, looks like linux can&#39;t find the ifaddr of ib0 on MDS(-99 is EADDRNOTAVAIL), so I think it&#39;s because you didn&#39;t assign any address to ib0 (or failed to assign address to ib0) before loading o2iblnd &nbsp;in the first try.<br>

I can reproduce exactly same error by:<br>
1. modprobe ib_ipoib<br>
2. ifconfig ib0 up &nbsp;// without assign any address<br>
3. modprobe ko2iblnd<br>
4. lctl network up<br>
<br>
Regards<br>
Liang<br>
<br>
subbu kl:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Liang,<br>
after executing following echo :<br>
echo +neterror &gt; /proc/sys/lnet/printk<br>
<br>
now lctlt ping shows the following error<br>
<br>
# lctl ping 172.24.198.112@o2ib<br>
failed to ping 172.24.198.112@o2ib: Input/output error<br>
<br>
Jan 16 10:24:14 p128 kernel: Lustre: 2750:0:(o2iblnd_cb.c:2687:kiblnd_cm_callback()) 172.24.198.112@o2ib: ROUTE ERROR -22<br>
Jan 16 10:24:14 p128 kernel: Lustre: 2750:0:(o2iblnd_cb.c:2101:kiblnd_peer_connect_failed()) Deleting messages for 172.24.198.112@o2ib: connection failed<br>
<br>
Looks like some problem with &quot;IB connection manager&quot; !<br>
<br>
1. do we have any help docs to setup IPoIB and Lustre, lustre operation manual has very minimal info about this . I think I am missing some IPoIB setup part here.<br>
2. or is it mannual assignment of &nbsp;IP addresses to &quot;ib0&quot; is creating some problem<br>
<br>
<br>
*Some more supporting info :<br>
*subnet manager of following version is also running : OpenSM 3.1.8<br>
<br>
Initially I got this error for MDS mount<br>
<br>
Jan 16 09:45:20 p128 kernel: LustreError: 4991:0:(linux-tcpip.c:124:libcfs_ipif_query()) Can&#39;t get IP address for interface ib0<br>
Jan 16 09:45:20 p128 kernel: LustreError: 4991:0:(o2iblnd.c:1563:kiblnd_startup()) Can&#39;t query IPoIB interface ib0: -99<br>
Jan 16 09:45:21 p128 kernel: LustreError: 105-4: Error -100 starting up LNI o2ib<br>
Jan 16 09:45:21 p128 kernel: LustreError: 4991:0:(events.c:707:ptlrpc_init_portals()) network initialisation failed<br>
Jan 16 09:45:21 p128 modprobe: WARNING: Error inserting ptlrpc (/lib/modules/2.6.18-53.1.14.el5_lustre.1.6.5.1smp/kernel/fs/lustre/ptlrpc.ko): Input/output error<br>
Jan 16 09:45:21 p128 modprobe: WARNING: Error inserting osc (/lib/modules/2.6.18-53.1.14.el5_lustre.1.6.5.1smp/kernel/fs/lustre/osc.ko): Unknown symbol in module, or unknown parameter (see dmesg)<br>
Jan 16 09:45:21 p128 kernel: osc: Unknown symbol ldlm_prep_enqueue_req<br>
Jan 16 09:45:21 p128 kernel: osc: Unknown symbol ldlm_resource_get<br>
Jan 16 09:45:21 p128 kernel: osc: Unknown symbol ptlrpc_lprocfs_register_obd<br>
.<br>
.<br>
.<br>
<br>
then I mannually set the IP address for ib0 as folows :<br># ifconfig ib0 172.24.198.111<br>
<br>
[root@p186 ~]# ifconfig ib0<br>
ib0 &nbsp; &nbsp; &nbsp; Link encap:InfiniBand &nbsp;HWaddr 80:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;inet addr:172.24.198.112 &nbsp;Bcast:172.24.255.255 &nbsp;Mask:255.255.0.0<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UP BROADCAST MULTICAST &nbsp;MTU:65520 &nbsp;Metric:1<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;collisions:0 txqueuelen:256<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RX bytes:0 (0.0 b) &nbsp;TX bytes:0 (0.0 b)<br>
<br>
then it mounted sucessfully<br>
<br><b><span style="color: rgb(255, 0, 0);">
Jan 16 09:47:09 p128 kernel: Lustre: Added LNI 172.24.198.111@o2ib [8/64]</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">
Jan 16 09:47:09 p128 kernel: Lustre: MGS MGS started</span></b><br>
Jan 16 09:47:09 p128 kernel: Lustre: Setting parameter lustre-MDT0000.mdt.group_upcall in log lustre-MDT0000<br>
Jan 16 09:47:09 p128 kernel: Lustre: Enabling user_xattr<br>
Jan 16 09:47:09 p128 kernel: Lustre: lustre-MDT0000: new disk, initializing<br>
Jan 16 09:47:09 p128 kernel: Lustre: MDT lustre-MDT0000 now serving dev (lustre-MDT0000/64db1fc7-03ba-9803-4d20-ab0d2aa66116) with recovery enabled<br>
Jan 16 09:47:09 p128 kernel: Lustre: 5274:0:(lproc_mds.c:262:lprocfs_wr_group_upcall()) lustre-MDT0000: group upcall set to /usr/sbin/l_getgroups<br>
Jan 16 09:47:09 p128 kernel: Lustre: lustre-MDT0000.mdt: set parameter group_upcall=/usr/sbin/l_getgroups<br>
Jan 16 09:47:09 p128 kernel: Lustre: Server lustre-MDT0000 on device /dev/loop0 has started<br>
.<br>
.<br>
.<br>
<br>
<br>
~subbu<br>
<br>
<br></div></div><div><div></div><div class="Wj3C7c">
On Thu, Jan 15, 2009 at 8:37 PM, Liang Zhen &lt;<a href="mailto:Zhen.Liang@sun.com" target="_blank">Zhen.Liang@sun.com</a> &lt;mailto:<a href="mailto:Zhen.Liang@sun.com" target="_blank">Zhen.Liang@sun.com</a>&gt;&gt; wrote:<br>

<br>
 &nbsp; &nbsp;Subbu,<br>
<br>
 &nbsp; &nbsp;I&#39;d suggest:<br>
 &nbsp; &nbsp;1) make sure ko2iblnd has been brought up (please check if there<br>
 &nbsp; &nbsp;is any error message when startup ko2iblnd)<br>
 &nbsp; &nbsp;2) echo +neterror &gt; /proc/sys/lnet/printk, then try with lctl<br>
 &nbsp; &nbsp;ping, if it still can&#39;t work please post error messages<br>
<br>
 &nbsp; &nbsp;Regards<br>
 &nbsp; &nbsp;Liang<br>
<br>
 &nbsp; &nbsp;subbu kl:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Problem is similer to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://lists.lustre.org/pipermail/lustre-discuss/2008-May/007498.html" target="_blank">http://lists.lustre.org/pipermail/lustre-discuss/2008-May/007498.html</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;But by looking at the thread could not really get the solution<br>
 &nbsp; &nbsp; &nbsp; &nbsp;for the problem.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;I have two RHEL5 Linux servers installed with following packages -<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;kernel-lustre-smp-2.6.18-53.1.14.el5_lustre.1.6.5.1<br>
 &nbsp; &nbsp; &nbsp; &nbsp;kernel-ib-1.3-2.6.18_53.1.14.el5_lustre.1.6.5.1smp<br>
 &nbsp; &nbsp; &nbsp; &nbsp;lustre-ldiskfs-3.0.4-2.6.18_53.1.14.el5_lustre.1.6.5.1smp<br>
 &nbsp; &nbsp; &nbsp; &nbsp;lustre-1.6.5.1-2.6.18_53.1.14.el5_lustre.1.6.5.1smp<br>
 &nbsp; &nbsp; &nbsp; &nbsp;lustre-modules-1.6.5.1-2.6.18_53.1.14.el5_lustre.1.6.5.1smp<br>
 &nbsp; &nbsp; &nbsp; &nbsp;e2fsprogs-1.40.7.sun3-0redhat<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;machine 1: with ib0 IP address : 172.24.198.111<br>
 &nbsp; &nbsp; &nbsp; &nbsp;machine 2: with ib0 IP address : 172.24.198.112<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;/etc/modprobe.conf contains<br>
 &nbsp; &nbsp; &nbsp; &nbsp;options lnet networks=o2ib<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;TCP networking worked fine and now I am trying with Infiniband<br>
 &nbsp; &nbsp; &nbsp; &nbsp;network finding it difficult in communicating with IB nodes<br>
 &nbsp; &nbsp; &nbsp; &nbsp;mounting effort throghs me the following error<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;[root@p186 ~]# mount -t lustre -o loop /tmp/lustre-ost1 /mnt/ost1<br>
 &nbsp; &nbsp; &nbsp; &nbsp;mount.lustre: mount /dev/loop0 at /mnt/ost1 failed:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Input/output error<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Is the MGS running?<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;/var/log/messages :<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:25 p186 kernel: kjournald starting. &nbsp;Commit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;interval 5 seconds<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:25 p186 kernel: LDISKFS FS on loop0, internal journal<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:25 p186 kernel: LDISKFS-fs: mounted filesystem<br>
 &nbsp; &nbsp; &nbsp; &nbsp;with ordered data mode.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:25 p186 kernel: kjournald starting. &nbsp;Commit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;interval 5 seconds<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:25 p186 kernel: LDISKFS FS on loop0, internal journal<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:25 p186 kernel: LDISKFS-fs: mounted filesystem<br>
 &nbsp; &nbsp; &nbsp; &nbsp;with ordered data mode.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:25 p186 kernel: LDISKFS-fs: file extents enabled<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:25 p186 kernel: LDISKFS-fs: mballoc enabled<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: Lustre: Request x7 sent from<br>
 &nbsp; &nbsp; &nbsp; &nbsp;MGC172.24.198.111@o2ib to NID 172.24.198.111@o2ib 5s ago has<br>
 &nbsp; &nbsp; &nbsp; &nbsp;timed out (limit 5s).<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: LustreError:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;7193:0:(obd_mount.c:1062:server_start_targets()) Required<br>
 &nbsp; &nbsp; &nbsp; &nbsp;registration failed for lustre-OSTffff: -5<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: LustreError: 15f-b: Communication<br>
 &nbsp; &nbsp; &nbsp; &nbsp;error with the MGS. &nbsp;Is the MGS running?<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: LustreError:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;7193:0:(obd_mount.c:1597:server_fill_super()) Unable to start<br>
 &nbsp; &nbsp; &nbsp; &nbsp;targets: -5<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: LustreError:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;7193:0:(obd_mount.c:1382:server_put_super()) no obd lustre-OSTffff<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: LustreError:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;7193:0:(obd_mount.c:119:server_deregister_mount())<br>
 &nbsp; &nbsp; &nbsp; &nbsp;lustre-OSTffff not registered<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: LDISKFS-fs: mballoc: 0 blocks 0<br>
 &nbsp; &nbsp; &nbsp; &nbsp;reqs (0 success)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: LDISKFS-fs: mballoc: 0 extents<br>
 &nbsp; &nbsp; &nbsp; &nbsp;scanned, 0 goal hits, 0 2^N hits, 0 breaks, 0 lost<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: LDISKFS-fs: mballoc: 0 generated<br>
 &nbsp; &nbsp; &nbsp; &nbsp;and it took 0<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: LDISKFS-fs: mballoc: 0<br>
 &nbsp; &nbsp; &nbsp; &nbsp;preallocated, 0 discarded<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: Lustre: server umount<br>
 &nbsp; &nbsp; &nbsp; &nbsp;lustre-OSTffff complete<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Jan 15 16:55:30 p186 kernel: LustreError:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;7193:0:(obd_mount.c:1951:lustre_fill_super()) Unable to mount<br>
 &nbsp; &nbsp; &nbsp; &nbsp; (-5)<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;All pinging efforts also failed to the IB NIDS local/remote<br>
 &nbsp; &nbsp; &nbsp; &nbsp;can ping the ip address :<br>
 &nbsp; &nbsp; &nbsp; &nbsp;[root@p186 ~]# ping 172.24.198.112<br>
 &nbsp; &nbsp; &nbsp; &nbsp;PING 172.24.198.112 (172.24.198.112) 56(84) bytes of data.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;64 bytes from 172.24.198.112 &lt;<a href="http://172.24.198.112" target="_blank">http://172.24.198.112</a>&gt;:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;icmp_seq=1 ttl=64 time=0.052 ms<br>
 &nbsp; &nbsp; &nbsp; &nbsp;64 bytes from 172.24.198.112 &lt;<a href="http://172.24.198.112" target="_blank">http://172.24.198.112</a>&gt;:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;icmp_seq=2 ttl=64 time=0.024 ms<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;--- 172.24.198.112 ping statistics ---<br>
 &nbsp; &nbsp; &nbsp; &nbsp;2 packets transmitted, 2 received, 0% packet loss, time 1000ms<br>
 &nbsp; &nbsp; &nbsp; &nbsp;rtt min/avg/max/mdev = 0.024/0.038/0.052/0.014 ms<br>
 &nbsp; &nbsp; &nbsp; &nbsp;[root@p186 ~]# ping 172.24.198.111<br>
 &nbsp; &nbsp; &nbsp; &nbsp;PING 172.24.198.111 (172.24.198.111) 56(84) bytes of data.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;64 bytes from 172.24.198.111 &lt;<a href="http://172.24.198.111" target="_blank">http://172.24.198.111</a>&gt;:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;icmp_seq=1 ttl=64 time=2.16 ms<br>
 &nbsp; &nbsp; &nbsp; &nbsp;64 bytes from 172.24.198.111 &lt;<a href="http://172.24.198.111" target="_blank">http://172.24.198.111</a>&gt;:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;icmp_seq=2 ttl=64 time=0.296 ms<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;--- 172.24.198.111 ping statistics ---<br>
 &nbsp; &nbsp; &nbsp; &nbsp;2 packets transmitted, 2 received, 0% packet loss, time 1000ms<br>
 &nbsp; &nbsp; &nbsp; &nbsp;rtt min/avg/max/mdev = 0.296/1.231/2.166/0.935 ms<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;but cant ping the NIDS :<br>
 &nbsp; &nbsp; &nbsp; &nbsp;[root@p186 ~]# lctl ping 172.24.198.112@o2ib<br>
 &nbsp; &nbsp; &nbsp; &nbsp;failed to ping 172.24.198.112@o2ib: Input/output error<br>
 &nbsp; &nbsp; &nbsp; &nbsp;[root@p186 ~]# lctl ping 172.24.198.111@o2ib<br>
 &nbsp; &nbsp; &nbsp; &nbsp;failed to ping 172.24.198.111@o2ib: Input/output error<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Any idea why lnet cant ping NIDS ?<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;some more configurations:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;[root@p186 ~]# ibstat<br>
 &nbsp; &nbsp; &nbsp; &nbsp;CA &#39;mthca0&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CA type: MT23108<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Number of ports: 2<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Firmware version: 3.5.0<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Hardware version: a1<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Node GUID: 0x0002c9020021550c<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Machines are connected via IB switch.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Looking forward for help.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;~subbu<br>
 &nbsp; &nbsp; &nbsp; &nbsp;------------------------------------------------------------------------<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;_______________________________________________<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Lustre-discuss mailing list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br></div></div>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;mailto:<a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a>&gt;<div class="Ih2E3d"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp; <br>
<br>
<br>
<br>
<br>
-- <br>
. . . s u b b u<br>
&quot;You&#39;ve got to be original, because if you&#39;re like someone else, what do they need you for?&quot;<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
 &nbsp;<br>
</div></blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>. . . s u b b u<br>&quot;You&#39;ve got to be original, because if you&#39;re like someone else, what do they need you for?&quot;<br>