[openib-general] [ANNOUNCE] tvflash: userspace-only Mellanox HCA flash tool

Tom Duffy Tom.Duffy at Sun.COM
Tue Sep 14 14:23:09 PDT 2004


On Tue, 2004-09-14 at 13:47 -0700, Roland Dreier wrote:
> Up to you :)
> 
> Worst case you'll have to pull the card, add a jumper to disable the
> flash, and reburn it with another tool.

No worst case, flashing works on sparc64!

# uname -a
Linux tat 2.6.9-rc2 #1 SMP Tue Sep 14 13:27:46 PDT 2004 sparc64 GNU/Linux

# ./tvflash -c /tmp/fw-23108-a1-3.2.0.cougar.bin
New Node  GUID = 0002c90109765fd0
New Port1 GUID = 0002c90109765fd1
New Port2 GUID = 0002c90109765fd2
Programming Tavor Microcode... Flash Image Size = 342968
Failsafe   [==================================================================]
Erasing    [==================================================================]
Writing    [==================================================================]
Verifying  [==================================================================]
Flash verify passed!

# reboot

# dmesg | tail
ib_mthca: Mellanox InfiniBand HCA driver v0.05-pre (June 13, 2004)
ib_mthca: Initializing  (0000:81:00.0)
ib_mthca 0000:81:00.0: Warning: couldn't set 64-bit PCI DMA mask.
ib_mthca 0000:81:00.0: Warning: couldn't set 64-bit consistent PCI DMA mask.

# cat /sys/class/infiniband/mthca0/fw_ver
3.2.0

----

However, I am getting a bunch of these coming in my logs...

Sep 14 14:15:36 localhost kernel: [KERNEL_IB][ib_mad_handle_wc][/build1/tduffy/openib-work/linux-2.6.9-rc2-openib/drivers/infiniband/core/mad_ib.c:179]completion status 4 for mthca0 index 0 port 1 qpn 0 send 0 bytes 2

For index 0 - 127.

And my port 1 never goes into ACTIVE, stays in INIT.

-tduffy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20040914/873e7b3d/attachment.sig>


More information about the general mailing list