[ofa-general] RE: [Bug 465] IPoIB CM HA fails after several hoursof failures
Michael S. Tsirkin
mst at dev.mellanox.co.il
Thu Mar 29 00:15:15 PDT 2007
> Quoting Philippe.GREGOIRE at CEA.FR <Philippe.GREGOIRE at CEA.FR>:
> Subject: RE : [ofa-general] RE: [Bug 465] IPoIB CM HA fails after several hoursof failures
>
> Michael
> tracing route between HCA port and the subnet manager will give the lid of the
> switch connected to this HCA port :
Cool, thanks!
> [root at cors127 ~]# ibtracert 26 14 2>&1 | awk '(NR==2) {print $7}'
> 0x2-0x2
>
> HCA port lid and its subnet manager lid are available in /sys/infiniband, so
> it 's better to do :
>
> [root at cors127 ~]# ibtracert $(</sys/class/infiniband/mthca0/ports/1/lid) $(</
> sys/class/infiniband/mthca0/ports/1/sm_lid) 2>&1 | awk '(NR==2) {sub(/-.*/, "",
> $7); print $7}'
> 0x2
>
> PS: redirection of stderr to stdout is required as ibtracert gives all info on
> stderr.
Why is that? Hal?
I guess I'll file a bug for ibtracert on this.
--
MST
More information about the general
mailing list