[openib-general] Mstflint - not working on ppc64 and when driver is not loaded on AMD

Michael S. Tsirkin mst at mellanox.co.il
Sun Sep 17 06:34:49 PDT 2006


Quoting r. Moshe Kazir <moshek at voltaire.com>:
> Subject: Mstflint - not working on ppc64 and when driver is not loaded on AMD
> 
> 
> Michael,
>  
> The attached patch was received from Frank (IBM) .

Wow, that's one big patch, I can't see what it's doing at all.
Can just the relevant fix be isolated?

> Frank change the mmap in the mopen function and now it is working o.k. 
> on my IBM JS21 ppc64 (sles9 sp3 sles10) and IBM  HS21 (EM64T) sles9 sp3
> all the computer uses PCI-Ex HCA cards

> I tested this fix on AMD computer (PCI-X)  and found that it did not fix
> the problem initially reported by Or Gerlitz in the attached message. 

That is, if it is even relevant?

> Also, I suspect that it doesn't work on MAC ppc64 G5 with PCI-X . (I
> have to repeated this test) .
> 
> I'm suspect that this this is a PCI-X to PCI-EX issue .
> 

Hmm.
What I can understand of the patch, it attempts using sysfs resource0
which is only implemented on kernels > 2.6.12 or 2.6.13, so
that's probably your issue.

Can you try passing the following to mstflint (my version):
-d /sys/bus/pci/devices/0000\:08\:00.0/resource0 q
where 0000\:08\:00.0 is the appropriate device?

Does this work with driver not loaded? On which OS-es?

-- 
MST




More information about the general mailing list