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

Michael S. Tsirkin mst at mellanox.co.il
Tue Sep 14 14:29:50 PDT 2004


Most likely the case of firmware/board mismatch.

Quoting r. Tom Duffy (Tom.Duffy at Sun.COM) "Re: [openib-general] [ANNOUNCE] tvflash: userspace-only Mellanox HCA flash tool":
> _______________________________________________
> 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
> 

> Subject: 
> Date: Wed, 15 Sep 2004 00:22:09 +0300
> 
> 

> 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





More information about the general mailing list