Issue 108 in iperf: Runtime error in OpenBSD 5.4 AMD64

210 views
Skip to first unread message

ip...@googlecode.com

unread,
Nov 13, 2013, 4:45:04 PM11/13/13
to iper...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 108 by thepurpl...@gmail.com: Runtime error in OpenBSD 5.4 AMD64
http://code.google.com/p/iperf/issues/detail?id=108

What steps will reproduce the problem?
1. on an OpenBSD 5.4, AMD64 machine
2. ./configure && make && make install
3. iperf3 -s

What is the expected output? What do you see instead?

$ iperf3 -s
/usr/local/bin/iperf3[2]: syntax error: `(' unexpected
$

What version of the product are you using? On what operating system?
Source from http://stats.es.net/software/iperf-3.0.tar.gz

Please provide any additional information below.
There appears to be a number of references to Linux libraries in the
executable.



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

ip...@googlecode.com

unread,
Nov 13, 2013, 4:53:51 PM11/13/13
to iper...@googlegroups.com

Comment #1 on issue 108 by thepurpl...@gmail.com: Runtime error in OpenBSD
5.4 AMD64
http://code.google.com/p/iperf/issues/detail?id=108

$ make check
Making check in src
make check-TESTS
./t_timer[2]: syntax error: `(' unexpected
FAIL: t_timer
./t_units[1]: syntax error: `(' unexpected
FAIL: t_units
./t_uuid[1]: syntax error: `(' unexpected
FAIL: t_uuid
==================================================
3 of 3 tests failed
Please report to iperf...@lists.sourceforge.net
==================================================
*** Error 1 in src (Makefile:1005 'check-TESTS': @failed=0; all=0; xfail=0;
xpass=0; skip=0; srcdir=.; export srcdir; list='t_timer t_uni...)
*** Error 1 in src (Makefile:1035 'check-am')
*** Error 1 in /home/mleonard/iperf (Makefile:257 'check-recursive')
$ uname -a
OpenBSD it-na-rrf-pro-01-00p 5.4 GENERIC.MP#41 amd64
$

ip...@googlecode.com

unread,
Dec 16, 2013, 1:51:41 PM12/16/13
to iper...@googlegroups.com

Comment #2 on issue 108 by jef.posk...@gmail.com: Runtime error in OpenBSD
5.4 AMD64
http://code.google.com/p/iperf/issues/detail?id=108

We should find an OpenBSD machine to try this on.

Jon Dugan

unread,
Dec 16, 2013, 3:16:49 PM12/16/13
to iper...@googlegroups.com
Do you have a laptop that can run Virtual Box? (https://www.virtualbox.org/)

That seems like it would be the easiest way to get this done.


You received this message because you are subscribed to the Google Groups "iperf-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iperf-dev+unsubscribe@googlegroups.com.
To post to this group, send email to iper...@googlegroups.com.
Visit this group at http://groups.google.com/group/iperf-dev.
For more options, visit https://groups.google.com/groups/opt_out.

ip...@googlecode.com

unread,
Dec 18, 2013, 4:37:53 PM12/18/13
to iper...@googlegroups.com
Updates:
Labels: Milestone-3.1a1

Comment #3 on issue 108 by bltier...@es.net: Runtime error in OpenBSD 5.4
AMD64
http://code.google.com/p/iperf/issues/detail?id=108

We think this is fixed now. Can you test with the latest tar file?

ip...@googlecode.com

unread,
Dec 18, 2013, 5:44:19 PM12/18/13
to iper...@googlegroups.com
Updates:
Owner: bm...@es.net

Comment #4 on issue 108 by bltier...@es.net: Runtime error in OpenBSD 5.4
AMD64
http://code.google.com/p/iperf/issues/detail?id=108

(No comment was entered for this change.)

ip...@googlecode.com

unread,
Dec 19, 2013, 9:31:52 AM12/19/13
to iper...@googlegroups.com

Comment #5 on issue 108 by thepurpl...@gmail.com: Runtime error in OpenBSD
5.4 AMD64
http://code.google.com/p/iperf/issues/detail?id=108

It compiles and runs, but I'm now seeing a different error:

(I ran it once as a regular user with the same result as below)

$ sudo iperf3 -c bernoullinetworks.com
Connecting to host <mytesthost>, port 5201
[ 4] local <localmachineIP> port 46768 connected to <mytesthost> port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.04 sec 2.75 MBytes 22.2 Mbits/sec
[ 4] 1.04-2.02 sec 3.62 MBytes 31.1 Mbits/sec
[ 4] 2.02-3.05 sec 2.00 MBytes 16.3 Mbits/sec
[ 4] 3.05-4.03 sec 3.38 MBytes 28.8 Mbits/sec
[ 4] 4.03-5.01 sec 3.62 MBytes 31.1 Mbits/sec
[ 4] 5.01-6.05 sec 2.25 MBytes 18.1 Mbits/sec
[ 4] 6.05-7.04 sec 2.38 MBytes 20.2 Mbits/sec
[ 4] 7.04-8.01 sec 2.25 MBytes 19.3 Mbits/sec
[ 4] 8.01-9.06 sec 1.38 MBytes 11.0 Mbits/sec
iperf3: error - unable to receive results: Cannot allocate memory
$

ip...@googlecode.com

unread,
Jan 6, 2014, 2:30:36 PM1/6/14
to iper...@googlegroups.com

Comment #6 on issue 108 by bm...@es.net: Runtime error in OpenBSD 5.4 AMD64
http://code.google.com/p/iperf/issues/detail?id=108

I did a quick test on an OpenBSD 5.4 / amd64 system, using iperf3 from the
tip of the default branch.

I was able to make this work, both doing tests to localhost and to a
FreeBSD server, without any particular incident. The main issue I saw is
that (as currently configured) I needed to specify -4 on the OpenBSD iperf3
server, or else I got an "Invalid argument" when trying to create the
listening socket. It's entirely possible that there's something in my
OpenBSD VM that isn't configured correctly, particularly since I'm a
completely newbie on OpenBSD (I'm more of a FreeBSD person). This seemed
to have a decent workaround however.

ip...@googlecode.com

unread,
Jan 21, 2014, 4:19:07 PM1/21/14
to iper...@googlegroups.com

Comment #7 on issue 108 by bm...@es.net: Runtime error in OpenBSD 5.4 AMD64
http://code.google.com/p/iperf/issues/detail?id=108

@thepurplebuffalo: With the iperf3 3.0.1 release out the door, would you
be able to test with that code and see if you still see the problem? In
Comment 6 I had it mostly working with pre-release code (and re-tested just
now with post-3.0.1 code).

ip...@googlecode.com

unread,
Jan 21, 2014, 4:31:30 PM1/21/14
to iper...@googlegroups.com

Comment #8 on issue 108 by thepurpl...@gmail.com: Runtime error in OpenBSD
5.4 AMD64
http://code.google.com/p/iperf/issues/detail?id=108

Compiles, make check looks happy, will not run:

$ pwd
/home/mleonard/iperf-3.0.1
$ make check
Making check in src
make check-TESTS
PASS: t_timer
PASS: t_units
cookie: 'it-na-rrf-pro-01-00p.13903'
PASS: t_uuid
==================
All 3 tests passed
==================
$ iperf3 -v
iperf version 3.0.1 (10 January 2014)
OpenBSD it-na-rrf-pro-01-00p 5.4 GENERIC.MP#41 amd64
$ iperf3 -s
iperf3: error - unable to start listener for connections: Invalid argument

iperf3: error - unable to start listener for connections: Invalid argument

iperf3: error - unable to start listener for connections: Invalid argument

iperf3: error - unable to start listener for connections: Invalid argument

iperf3: error - unable to start listener for connections: Invalid argument

too many errors, exiting
$

ip...@googlecode.com

unread,
Jan 21, 2014, 4:36:43 PM1/21/14
to iper...@googlegroups.com

Comment #9 on issue 108 by thepurpl...@gmail.com: Runtime error in OpenBSD
5.4 AMD64
http://code.google.com/p/iperf/issues/detail?id=108

Disregard my last.

I added the "-4" and it worked fine as a daemon. It's also working fine as
a client.

THANKS!

ip...@googlecode.com

unread,
Jan 21, 2014, 7:14:14 PM1/21/14
to iper...@googlegroups.com
Updates:
Status: Fixed

Comment #10 on issue 108 by bm...@es.net: Runtime error in OpenBSD 5.4 AMD64
http://code.google.com/p/iperf/issues/detail?id=108

OK, thanks for the report. I added a note to the README about needing -4
on OpenBSD. Closing this as fixed for now, since iperf3 is working with
this small workaround.
Reply all
Reply to author
Forward
0 new messages