On Thu, 2007-03-29 at 02:15, Michael S. Tsirkin wrote:
> > Quoting [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > 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!
> 
> > [EMAIL PROTECTED] ~]# 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 :
> > 
> > [EMAIL PROTECTED] ~]# 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.

Already filed and resolved (bug #478).

-- Hal


_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to