ido / libvma-old

Automatically exported from code.google.com/p/libvma
Other
0 stars 1 forks source link

VMA ERROR when running on alias to VLAN interface #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. bring up VLAN interface (e.g. eth0.10) with IP (e.g. 192.168.1.100)
2. bring up alias on previously created VLAN (e.g. eth0.10:2) with IP (e.g. 
192.168.1.200)
3. run application with VMA (e.g. LD_PRELOAD=libvma.so iperf -u -c 192.168.1.1)

> What is the expected output?

 VMA INFO   : ---------------------------------------------------------------------------
 VMA INFO   : VMA_VERSION: 6.7.2-0 Release built on 2014-08-21-15:28:25
 VMA INFO   : Cmd Line: iperf -u -c 192.168.1.1
 VMA INFO   : OFED Version: MLNX_OFED_LINUX-2.3-1.0.1:
 VMA INFO   : Log Level                      3                          [VMA_TRACELEVEL]
 VMA INFO   : ---------------------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.1, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 4.00 MByte (default)

> What do you see instead?

 VMA INFO   : ---------------------------------------------------------------------------
 VMA INFO   : VMA_VERSION: 6.7.2-0 Release built on 2014-08-21-15:28:25
 VMA INFO   : Cmd Line: iperf -u -c 192.168.1.1
 VMA INFO   : OFED Version: MLNX_OFED_LINUX-2.3-1.0.1:
 VMA INFO   : Log Level                      3                          [VMA_TRACELEVEL]
 VMA INFO   : ---------------------------------------------------------------------------
 VMA ERROR  : utils:229:priv_read_file() ERROR while opening file /sys/class/net/eth0.10/device/resource
------------------------------------------------------------
Client connecting to 192.168.1.1, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 4.00 MByte (default)

> What version of the product are you using? On what operating system?
MLNX_OFED_LINUX-2.3-1.0.1-ubuntu12.04-x86_64
Ubuntu 12.04 amd64
Kernel 3.13.0-36-generic

> Please provide any additional information below.
If bind software to aliased address it crashed:

 VMA ERROR  : utils:229:priv_read_file() ERROR while opening file /sys/class/net/eth0.10/device/resource
 VMA PANIC  : ring[0x7f8c68040630]:170:create_resources() ibv_create_comp_channel for tx failed. m_p_tx_comp_event_channel = (nil) (errno=9 Bad file descriptor)

Original issue reported on code.google.com by a...@expcapital.com on 8 Oct 2014 at 6:54