Skip to Content.
Sympa Menu

ndt-users - Re: NDT 3.6.5 on a 3.2.x kernel

Subject: ndt-users list created

List archive

Re: NDT 3.6.5 on a 3.2.x kernel


Chronological Thread 
  • From: Richard Sanger <>
  • To: "Daniel A. Ramaley" <>
  • Cc:
  • Subject: Re: NDT 3.6.5 on a 3.2.x kernel
  • Date: Sat, 13 Apr 2013 03:34:26 +1200
  • Authentication-results: sfpop-ironport04.merit.edu; dkim=pass (signature verified)

Hi Daniel,

I've tried ndt-web10g on a 3.2 kernel and sadly it appears the web10g-userland-2.0.4 doesn't actually work with the patched 3.2 kernel.
Instead you should be using the estats_userland-2.0.1, which wont work with ndt-web10g because they changed the name of the library name from estats to tcpe along with the function names (from estats_* to tcpe_*).

So for now the best way forward would be to use a newer kernel, 3.5 will work (3.4 also might??).
My 3.5 kernel is here I've been using this with Debian squeeze myself without issues.

I've attached a patch intended to be applied on top of the new Web10G branch (revision 812).
I don't have commit access on the subversion myself so I'll pass this on and hopefully it'll be in there soon.
This will fix the "test_min() failed to get web10g connection data, rc=0" issue that I found for the 3.5 kernel.

As for troubleshooting Web10G this is what I see using a 3.5 kernel.
The following line shows in dmesg once I modprobe tcp_estats_nl
[   391.503075] tcp_estats netlink module initialized.
Don't expect anything in /proc/web100 this is the old way of doing things which Web100 used and early versions of Web10G.
The new patches are all netlink now (hence the nl at the end of tcp_estats_nl).

You should also try running listconns which is found in web10g-userland-2.0.4/util/C.
Make a TCP connection 'wget google.com' and then run listconns or sudo listconns straight after/during because connections only stick around for a couple of seconds. You should the connection.

Cheers,
Richard


On Fri, Apr 12, 2013 at 3:32 AM, Daniel A. Ramaley <> wrote:
Thanks everyone for all the work on this. I checked out the ndt-web10g
branch again and it configured and compiled cleanly!

It still doesn't work on my system though; i still get the same error:
    test_min() failed to get web10g connection data, rc=0
    Middlebox test FAILED!, rc=-3

Is there a way to check whether the Web10g patch to the kernel is
working correctly?

On 2013-04-11 at 10:06:07, Aaron Brown wrote:
>Reverted and applied to the branch. The ndt-web10g branch now builds
>for me, so I think we're good (at least according to the Linus
>Torvalds maxim: "If it compiles, it is good; if it boots up, it is
>perfect."
>
>Cheers,
>Aaron
__
Daniel A. Ramaley
Network Engineer 2

Dial Center 112, Drake University
2407 Carpenter Ave / Des Moines IA 50311 USA
Tel: +1 515 271-4540
Fax: +1 515 271-1938
E-mail:

Attachment: Fixndt-web10g-branch.patch
Description: Binary data




Archive powered by MHonArc 2.6.16.

Top of Page