>>>     hca_id: mlx4_0
>>>              transport:                      InfiniBand (0)

>>>              fw_ver:                         2.6.628
>>>              node_guid:                      0003:ba00:0100:b1d8
>>>              sys_image_guid:                 0003:ba00:0100:b1db
>>>              vendor_id:                      0x03ba
>>>              vendor_part_id:                 25418
>>>              hw_ver:                         0xA0
>>>              board_id:                       SUN0070000001
>>>              phys_port_cnt:                  2
>>>                      port:   1
>>>                              state:                  PORT_ACTIVE (4)
>>>                              max_mtu:                2048 (4)
>>>                              active_mtu:             2048 (4)
>>>                              sm_lid:                 1
>>>                              port_lid:               6
>>>                              port_lmc:               0x00
>>>                              link_layer:             IB[...]
>>>   
>>> 
>>  You can burn FW binary image using mstflint.
>
> I need a "/dev/mst/mt25418_pci_cr0" when I use mstflint.
> Therefore I've extracted the "/etc/init.d/mst" script from the 
> "mft-2.7.1-7.x86.rpm"
> which creates a "/dev/mst/mt25418_pci_cr0".


Hello again, Vladimir!

To set up "/dev/mst/mt25418_pci_cr0" manually I've followed up what 
"/etc/init.d/mst start" does.
I've seen that it uses the "minit" tool which is part of the arch dependent 
mft-package.

Is there maybe a possibility to get "minit" for sparc64?
Otherwise I can't init "/dev/mst/mt25418_pci_cr0"... :-(

Many thanks for your time!

Best regards,
Lukas


PS: These are my steps:
# mkdir /dev/mst
# modprobe mst_pci
# modprobe mst_pciconf

I've looked up the pcimajor and piconfmajor :
# cat /proc/devices | grep mst_
251 mst_pciconf
252 mst_pci

Then the script finds the follwing PCI-card from its 'dev_id_database' :
# lspci -m -n -d 15b3:634a
12:00.0 "0c06" "15b3" "634a" -ra0 "15b3" "634a"
which is the ConnectX controller:
# lspci -s 12:00.0
12:00.0 InfiniBand: Mellanox Technologies MT25418 [ConnectX VPI PCIe 2.0 
2.5GT/s - IB DDR / 10GigE] (rev a0)

With all these information it creates the device file:
# mknod -m 666 /dev/mst/mt25418_pci_cr0 c 252 0

And now I need the "minit" command from the mft package.
# /usr/bin/minit /dev/mst/mt25418_pci_cr0 12:00.0 0
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to