[openib-general] getting LOC_QP_OP_ERR with IPoIB - mstflint question

Moshe Kazir moshek at voltaire.com
Wed Sep 6 02:26:47 PDT 2006


I have tested the mstflint problem with two different ppc64 machines :

- On sles 10 PPC64 PowerMac G5  ->  mstflint -d 0001:07:00.0 q    works
o.k. with and without the ib_mthca loaded

- On s;es10 PPC64 IBM JS21   ->  mstflint -d 0001:07:00.0 q    DOESN'T
work with and without the ib_mthca loaded and I have to use
/proc/bus/pci/.....

Is it time to create a  work arround that opens /proc/bus/pci/ .... And
always work ?

Moshe

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

  


-----Original Message-----
From: openib-general-bounces at openib.org
[mailto:openib-general-bounces at openib.org] On Behalf Of Michael S.
Tsirkin
Sent: Tuesday, September 05, 2006 4:37 PM
To: Or Gerlitz
Cc: Roland Dreier; openib-general at openib.org
Subject: Re: [openib-general] getting LOC_QP_OP_ERR with IPoIB -
mstflint question


Quoting r. Or Gerlitz <ogerlitz at voltaire.com>:
> Subject: Re: getting LOC_QP_OP_ERR with IPoIB - mstflint question
> 
> Michael S. Tsirkin wrote:
> > Donnu, it looks really weird. Could you try firmware 3.5.0 please?
> 
> I just noted that you can not work with mstflint if the mthca driver 
> is
> not loaded, i think it was not the case in the gen1 tools, am i
correct.

Yes, recent kernels disable device access once driver is unloaded:

mstflint -d 08:00.0 q
*** ERROR *** Read a corrupted device id (0xffff). Probably HW/PCI
access problem
*** ERROR *** Device type 65535 not supported.
*** ERROR *** Can not get flash type using device 08:00.0

mstflint should work without driver using /proc:
mstflint -d /proc/bus/pci/08/00.0 q
Image type:      Failsafe
I.S. Version:    1
Chip Revision:   A0


In gen1 flint had a separate driver which you had to load.
I am not sure whether this would work on 2.6.18

> Is this connected to this print
> 
> 	ACPI: PCI interrupt for device 0000:02:00.0 disabled
> 
> i see once the mthca driver is unloaded?
> 
> Or.

Probably not.

-- 
MST

_______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general

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





More information about the general mailing list