[openib-general] FW: Mstflint - not working on ppc64 andwhendriver is not loaded on AMD

Moshe Kazir moshek at voltaire.com
Thu Sep 28 02:00:10 PDT 2006


I prefer the "mstflint -d 0c:00.0 q " format 

As in enables the writing of script that extract lscpi info  and getting
results  ->

# mstflint -d `lspci | grep Mellanox |grep -v Bridge | cut -f1 -d" "` q
Image type:      Failsafe
I.S. Version:    1
Chip Revision:   A0
GUID Des:        Node             Port1            Port2            Sys
image
GUIDs:           0008f1040398047c 0008f1040398047d 0008f1040398047e
0008f1040398047f
Board ID:         (0TLV00700003)
VSD:
PSID:            0TLV00700003
#

The format "mstflint -d mtch0 " is good but no sufficient .  

When the HCA is old/wrong/damaged insmod may fail. In this case we'll
need mstflint to fix problems. 
Me must have a way to operate mstflint when driver is not loaded.


> When mthca is loaded, what does
> mstflint -d /sys/class/infiniband/mthca0/device/resource0 q
> do on PPC?


On PPC64 sles10 with Franks last fix 
 # ./mstflint -d /sys/class/infiniband/mthca0/device/resource0  q
*** ERROR *** Can not open
/sys/class/infiniband/mthca0/device/resource0: Invalid argument
*** ERROR *** Can not get flash type using device
/sys/class/infiniband/mthca0/device/resource0
 #

On PPC64 with OFED-1.1 rc6 original sources 

 # ./mstflint -d /sys/class/infiniband/mthca0/device/resource0  q
*** ERROR *** Can not open
/sys/class/infiniband/mthca0/device/resource0: Invalid argument
*** ERROR *** Can not get flash type using device
/sys/class/infiniband/mthca0/device/resource0
 #



Moshe

____________________________________________________________
Moshe Katzir   |  +972-9971-8639 (o)   |   +972-52-860-6042  (m)
 
Voltaire - The Grid Backbone
 
 www.voltaire.com

  


-----Original Message-----
From: Michael S. Tsirkin [mailto:mst at mellanox.co.il] 
Sent: Thursday, September 28, 2006 9:35 AM
To: Moshe Kazir
Cc: Tseng-Hui (Frank) Lin; openfabrics-ewg at openib.org;
openib-general at openib.org
Subject: Re: FW: Mstflint - not working on ppc64 andwhendriver is not
loaded on AMD


Quoting r. Moshe Kazir <moshek at voltaire.com>:
> The mstflint operated in the "classic way"  in OFED-1.1 is not working

> on PPC64 sles10  !!!

I consider the classic way to be
-d /sys/class/infiniband/mthca0/device/resource0

It does seem a bit verbse now that you mention this - would
a shortcut to allow just -d mthca0 help a lot?

-- 
MST




More information about the general mailing list