[openib-general] Creating .bin files from .mlx

Tom Duffy Tom.Duffy at Sun.COM
Tue Jan 4 15:19:35 PST 2005


On Tue, 2005-01-04 at 13:21 -0800, Josh England wrote:
> You can use infiniburn to read in the .mlx and then write them back out
> in raw format, then burn with your tool of choice.

Alright, I found infiniburn under:

https://openib.org/svn/trunk/contrib/infinicon/latest/ALL_HOST/tavor_hca/MST/X86_64/infiniburn

But, the 64-bit version doesn't work for me:

[tduffy at duffman svn]$ ./trunk/contrib/BoB/ALL_HOST/tavor_hca/MST/X86_64/infiniburn
Segmentation fault (core dumped)
[tduffy at duffman svn]$ file ./trunk/contrib/BoB/ALL_HOST/tavor_hca/MST/X86_64/infiniburn
./trunk/contrib/BoB/ALL_HOST/tavor_hca/MST/X86_64/infiniburn: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, stripped

It is stripped, so I cannot debug it any further.

However, it seems the ia32 version works on x86_64.  I was able to
produce a raw file...

However, I am trying to query an Arbel with mstflint, I get:

[root at flopteron2 ~]# lspci
06:00.0 InfiniBand: Mellanox Technology MT25208 InfiniHost III Ex (Tavor compatibility mode) (rev a0)

[root at flopteron2 ~]# ./mstflint -d 06:00.0 query
proc: unexpected size values
*** ERROR *** No such file or directory

Hrm.  I guess I'll try tvflash...

[root at flopteron2 ~]# ./tvflash -i
HCA #0: Found MT25208 (MT23108 mode), Lion Cub, revision A0
  Primary image is valid, unknown source
  Secondary image is valid, unknown source

Error. String Tag not present (found tag 4c instead)
  Vital Product Data


What is that error?  Oh well, here goes nothing:

[root at flopteron2 ~]# ./tvflash -d 4-6-2.bin
New Node  GUID = 0002c9010a99e030
New Port1 GUID = 0002c9010a99e031
New Port2 GUID = 0002c9010a99e032
Programming HCA Microcode... Flash Image Size = 343952
Failsafe   [==================================================================]
Erasing    [==================================================================]
Writing    [==================================================================]
Verifying  [==================================================================]
Flash verify passed!

<reboot>

[root at flopteron2 ~]# cat /sys/class/infiniband/mthca0/fw_ver
4.6.2

ok, looking good.

[root at flopteron2 bin]# ./ibstatus
Infiniband device 'mthca0' port 1 status:
        default gid:     fe80:0000:0000:0000:0002:c901:0a99:e031
        base lid:        0x1
        sm lid:          0x1
        state:           4: ACTIVE
        rate:            10 Gb/sec (4X)

Cool.

-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/20050104/2a862e93/attachment.sig>


More information about the general mailing list