5 Replies Latest reply on Nov 17, 2015 4:16 AM by alexey2k2

    ibdump for Windows

    alexey2k2

      Hello community,

       

      I have an issue with running ibdump in Windows environment. CMD is opened with administrator privileges.

      Error looks as described below.

       

      c:\Program Files\Mellanox\MLNX_VPI\IB\Tools>ibdump.exe -d ibv_device1 -o c:\dump\dump_001.cap

      Initiating resources ...

      searching for IB devices in host

      Port active_mtu=4096

      MR was registered with addr=00000090BA800C90, lkey=0x8010200, rkey=0x8010200, flags=0x8

      ------------------------------------------------

      Device                         : "ibv_device1"

      Physical port                  : 1

      Link layer                     : Ethernet

      Dump file                      : d:\distr\dump_001.cap

      Sniffer WQEs (max burst size)  : 4096

      ------------------------------------------------

       

      Input: guid xxxxxxffff902500, port_num 1, direction 1, qpn 0xXX

      open_sniffer: Error in DeviceIoControl: last error 0x32

       

      c:\Program Files\Mellanox\MLNX_VPI\IB\Tools>

       

      My HW is Supermicro X9DRT-HIBQF based system with MCX353A-QCBT card. Card is burned with latest firmware.

      OS Windows 2012 Server is installed, WinOF 4.95 is being used.

       

      Feel free to share ideas about what I'm doing wrong. Thank you.

        • Re: ibdump for Windows
          einave

          Hello Aleksey,

           

          Can you please try to run it as 'ibdump -d mlx4_0 -i <port>  -o <output file>' and let me know if it works?

          Also please run 'vstat' and 'ibstat' and share the output.

           

          Thanks,

          Einav

            • Re: ibdump for Windows
              alexey2k2

              Hello Einav,

               

              Thanks for advise. But I'm afraid it does not work.

              cmd was opened with admin privileges, output was like:

               

                   c:\Program Files\Mellanox\MLNX_VPI\IB\Tools>ibdump.exe -d mlx4_0 -i 1 -o c:\DUMP\ib.pcap

                   Initiating resources ...

                   searching for IB devices in host

                   -E- IB device mlx4_0 wasn't found

                   -E- failed to create resources

               

              Here are ibstat and vstat output

                   c:\Program Files\Mellanox\MLNX_VPI\IB\Tools>ibstat

                   CA 'ibv_device0'

                           CA type:

                           Number of ports: 1

                           Firmware version: 2.34.5000

                           Hardware version: 0x0

                           Node GUID: 0x0002c903001f8e00

                           System image GUID: 0x0002c903001f8e03

                       Port 1:

                           State: Active

                           Physical state: LinkUp

                           Rate: 40

                           Real rate: 32.00 (QDR)

                           Base lid: 24

                           LMC: 2

                           SM lid: 48

                           Capability mask: 0x90580000

                           Port GUID: 0x0002c903001f8e01

                           Link layer: IB

                           Transport: IB

              CA 'ibv_device1'

                           CA type:

                           Number of ports: 1

                           Firmware version: 2.34.5000

                      Hardware version: 0x0

                           Node GUID: 0x002590ffff1754ec

                           System image GUID: 0x002590ffff1754ef

                       Port 1:

                           State: Active

                           Physical state: LinkUp

                           Rate: 40

                           Real rate: 32.00 (QDR)

                           Base lid: 68

                           LMC: 2

                           SM lid: 48

                           Capability mask: 0x90580000

                           Port GUID: 0x002590ffff1754ed

                           Link layer: IB

                           Transport: IB

                  

                  

               

                   c:\Program Files\Mellanox\MLNX_VPI\IB\Tools>vstat

               

               

                           hca_idx=0

                           uplink={BUS=PCI_E Gen3, SPEED=8.0 Gbps, WIDTH=x8, CAPS=8.0*x8}

                           MSI-X={ENABLED=1, SUPPORTED=128, GRANTED=18, ALL_MASKED=N}

                           vendor_id=0x02c9

                           vendor_part_id=4099

                           hw_ver=0x0

                           fw_ver=2.34.5000

                           PSID=MT_1060110018

                           node_guid=0002:c903:001f:8e00

                           num_phys_ports=1

                                   port=1

                                   port_guid=0002:c903:001f:8e01

                                   port_state=PORT_ACTIVE (4)

                                   link_speed=10.00 Gbps

                                   link_width=4x (2)

                                   rate=40.00 Gbps

                                   real_rate=32.00 Gbps (QDR)

                                   port_phys_state=LINK_UP (5)

                                   active_speed=10.00 Gbps

                                   sm_lid=0x0030

                                   port_lid=0x0018

                                   port_lmc=0x2

                                   transport=IB

                                   max_mtu=4096 (5)

                                   active_mtu=4096 (5)

                                   GID[0]=fe80:0000:0000:0000:0002:c903:001f:8e01

                  

                  

               

               

                           hca_idx=1

                           uplink={BUS=PCI_E Gen3, SPEED=8.0 Gbps, WIDTH=x8, CAPS=8.0*x8}

                           MSI-X={ENABLED=1, SUPPORTED=128, GRANTED=18, ALL_MASKED=N}

                           vendor_id=0x02c9

                           vendor_part_id=4099

                           hw_ver=0x0

                           fw_ver=2.34.5000

                           PSID=SM_2181000001000

                           node_guid=0025:90ff:ff17:54ec

                           num_phys_ports=1

                                   port=1

                                   port_guid=0025:90ff:ff17:54ed

                                   port_state=PORT_ACTIVE (4)

                                   link_speed=10.00 Gbps

                                   link_width=4x (2)

                                   rate=40.00 Gbps

                                   real_rate=32.00 Gbps (QDR)

                                   port_phys_state=LINK_UP (5)

                                   active_speed=10.00 Gbps

                                   sm_lid=0x0030

                                   port_lid=0x0044

                                   port_lmc=0x2

                                   transport=IB

                                   max_mtu=4096 (5)

                                   active_mtu=4096 (5)

                                   GID[0]=fe80:0000:0000:0000:0025:90ff:ff17:54ed

                • Re: ibdump for Windows
                  einave

                  Hello Aleksey,

                   

                  Thank you for the info, seems like you are running the ibdump on a VM. I would run in on the host rather then on the VM.

                  Currently it is not supported and not planned to be implemented in the near future.

                  Sorry about that. Please feel free to reach out to us in case you have additional questions.

                   

                  Best Regards,

                  Einav

                    • Re: ibdump for Windows
                      alexey2k2

                      Hello Einav,

                      As I've mentioned in first post

                       

                      My HW is Supermicro X9DRT-HIBQF based system with MCX353A-QCBT card. Card is burned with latest firmware.

                      OS Windows 2012 Server is installed, WinOF 4.95 is being used.

                       

                      OS is installed on real physical server, no virtualization is being used.

                • Re: ibdump for Windows
                  alexey2k2

                  Up.

                   

                  Any new ideas?