[ofa-general] [PATCH] ibutils: ibdiagnet -r "Dead end" errors

akepner at sgi.com akepner at sgi.com
Tue Jul 7 16:22:43 PDT 2009


On a cluster running sles11 and OFED 1.4, we recently started seeing errors 
like this:

# ibdiagnet -r
.....
-I-
-I- Verifying all CA to CA paths ...
-E- Unassigned LFT for lid:1 Dead end at:S0800690000004057/U1
-E- Fail to find a path from:r1i0n9/U1/1 to:r1lead/U1/1
...


But the forwarding tables (obtained with dump_lfts.sh, and smpdump) 
are correct. The problem turned out to be that the string "-lft" was 
being interpreted as a port number, resulting in an off-by-one error. 

The following fixed it for us.

Signed-off-by: Arthur Kepner <akepner at sgi.com>
---

 ibdebug.tcl |    1 +
 1 files changed, 1 insertion(+)

diff -rup a/ibutils-1.2/ibdiag/src/ibdebug.tcl b/ibutils-1.2/ibdiag/src/ibdebug.tcl
--- a/ibutils-1.2/ibdiag/src/ibdebug.tcl	2009-07-07 14:25:57.604185193 -0700
+++ b/ibutils-1.2/ibdiag/src/ibdebug.tcl	2009-07-07 14:26:35.694551424 -0700
@@ -5130,6 +5130,7 @@ proc writeFdbsFile { args } {
 			   [SmMadGetByDr LftBlock dump "$DirectPath" $I] }] {
 		set FDBs [concat $FDBs [Bar "0xff " 64]]
 	    } else {
+		set NewFDBs [RemoveElementFromList $NewFDBs "-lft"]
 		set FDBs [concat $FDBs $NewFDBs]
 	    }
 	}



More information about the general mailing list