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: Aaron Brown <>
  • To: Dominic Hamon <>
  • Cc: <>, Richard Sanger <>, "Daniel A. Ramaley" <>
  • Subject: Re: NDT 3.6.5 on a 3.2.x kernel
  • Date: Thu, 11 Apr 2013 11:06:07 -0400
  • Authentication-results: sfpop-ironport03.merit.edu; dkim=neutral (message not signed) header.i=none

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

On Apr 10, 2013, at 8:13 PM, Dominic Hamon <> wrote:

aaand apparently this is in trunk. I'm so sorry.

i'm on my phone right now so i can't pull it out immediately. If anyone else can, please do, and I'll try to sort out my local repo to reland it in the branch.

On Wed, Apr 10, 2013 at 4:08 PM, Dominic Hamon <> wrote:
Never mind .. I landed it now.

So the ndt-web10g (not to be confused with the web10g) branch should now build and run on any combination of web10g/web100 supported platforms.


On Wed, Apr 10, 2013 at 3:43 PM, Dominic Hamon <> wrote:
I have a patch for the ndt-web10g branch that seems ready to go, but I am having some problems committing. It's attached if anyone else can apply it for me.



On Wed, Apr 10, 2013 at 10:43 AM, Aaron Brown <> wrote:
I may have b0rked the patching. Feel free to revert my commit and properly apply the changes.

Cheers,
Aaron

On Apr 10, 2013, at 1:41 PM, Dominic Hamon <> wrote:

I don't think the patch applied cleanly. I see no reference to HAVE_LIBTCPE in src/*. The only reference is in configure.ac.

That or I messed up cloning the repo....

On Wed, Apr 10, 2013 at 10:37 AM, Dominic Hamon <> wrote:
I'm seeing similar errors with a clean checkout of the branch. Working on a patch.


On Tue, Apr 9, 2013 at 7:40 AM, Aaron Brown <> wrote:
I created an ndt-web10g branch and applied the patch. I don't have a web10g host so it doesn't build for me:

O2 -DEXPERIMENTAL_ENABLED -DDATABASE_ENABLED -MT web100srv-test_meta_srv.o -MD -MP -MF ".deps/web100srv-test_meta_srv.Tpo" -c -o web100srv-test_meta_srv.o `test -f 'test_meta_srv.c' || echo './'`test_meta_srv.c; \
then mv -f ".deps/web100srv-test_meta_srv.Tpo" ".deps/web100srv-test_meta_srv.Po"; else rm -f ".deps/web100srv-test_meta_srv.Tpo"; exit 1; fi
test_meta_srv.c:41: error: expected declaration specifiers or ‘...’ before ‘tcp_stat_agent’
test_meta_srv.c:42: error: conflicting types for ‘test_meta_srv’
testoptions.h:65: error: previous declaration of ‘test_meta_srv’ was here
make[2]: *** [web100srv-test_meta_srv.o] Error 1
make[2]: Leaving directory `/home/aaron/ndt_full/branches/ndt-web10g/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aaron/ndt_full/branches/ndt-web10g'
make: *** [all] Error 2
[aaron@lab234 ndt-web10g]$

Dunno if the patch is wrong, or if it just no longer builds with web100. If the latter, that's a bit … problematic.

Cheers,
Aaron

On Mar 27, 2013, at 6:04 PM, Dominic Hamon <> wrote:

This builds against trunk for me.

I haven't completely tested it, as I don't have a Web10g kernel to hand, but it might get you a step further.



On Wed, Mar 27, 2013 at 8:31 AM, Aaron Brown <> wrote:
Excellent, thanks Dominic

Cheers,
Aaron

On Mar 27, 2013, at 11:02 AM, Dominic Hamon <> wrote:

If I get some time, I'll take a look.


On Wed, Mar 27, 2013 at 6:24 AM, Aaron Brown <> wrote:
Hey Dominic,

I'd love to roll the patches in. Unfortunately, they don't apply to trunk, and it'd be a fair amount of work to get them into shape to apply to trunk (it's mainly whitespace differences best I can tell). If someone was able to port it, though, I'd be more than happy to see them applied.

Cheers,
Aaron

On Mar 27, 2013, at 9:20 AM, Dominic Hamon <> wrote:

Hi Aaron

Is there any chance that these can be rolled in to trunk?

Thanks
- dominic

On Mar 27, 2013 4:57 AM, "Aaron Brown" <> wrote:
Hi Daniel,

As Alan noted, NDT currently only works with web100, and not web10g. However, Richard Sanger has produced a set of patches for using NDT with web10g. I've cc'd Richard who may know the current state of the patches (I've attached the most recent copies I know of), and which version of NDT they apply to.

Cheers,
Aaron


On Mar 26, 2013, at 4:47 PM, Daniel A. Ramaley <> wrote:

> Hello. I'm trying to get NDT working on Debian Wheezy. When i run the
> tests, they seem to start but then nothing else is displayed:
>
>
>
> TCP/Web100 Network Diagnostic tool v3.6.5
> Click START to start the test
>
> ** Starting test 1 of 1 **
> Connection to 'ndt01.drake.edu' [ndt01.drake.edu/10.11.1.5] to run test
> Connected to: ndt01.drake.edu-- Using IPv4 address
>
>
>
> If i run ndtd with "-dddd", this is the output i get from it:
>
>
>
> ANL/Internet2 NDT ver 3.6.5
>       Variables file = /usr/local/ndt/web100_variables
>       log file = /var/log/web100srv.log
>       Admin file = /usr/local/ndt/admin.html
>       Debug level set to 4
> server ready on port 3001
> web100_init() read 69 variables from file
> Signal 17 received by process 3822
> successfully locked '/tmp/view.string' for updating
> sending '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,' to tmp file
> Generated iflist with device=eth0 and if_speed=3
> nothing in queue
> Timer not running, waiting for new connection
> New connection received, waiting for accept() to complete
> New connection received from 0x925280 [10.11.1.18] sockfd=5.
> Child thinks pipe() returned fd0=6, fd1=7 for pid=0
> web100_attach: could not parse /proc/web100/header
> Signal 17 received by process 3822
> Client connect received from :IP 10.11.1.18 to some server on socket 5
> initialize_tests returned old/new client = 1, test_suite = 1 8 2 4 32
> Line just before ChldRdy: label, did't get here via the goto statement!
> ___-------______  client process is ready for testing!
> Telling client 3826 testing will begin now
> Signal 13 received by process 3822
> Dispatch multi-client failed because 'Broken pipe'
> Queue pointer=3826, testing=1, waiting=1, mclients=0, zombie_check=0
> Processing SIGCHLD signal for active web100srv process [0], sig17=1
> wait3() returned status=256 for PID=3826
> wexitstatus = '1'
> Main test process 3826 terminated, remove from queue
> Attempting to clean up child 3826, head pid = 3826
> Removing Child from head, decremented waiting/mclients 0/0
> Timer not running, waiting for new connection
>
>
>
> As for how i set this up, Debian uses a 3.2.x kernel, so i got the
> kernel patch from web10g.org instead of from www.web100.org. After
> installing the patched kernel i installed both the newer Web10g and
> older Web100 userlands. Then i installed NDT. I can provide detailed
> steps on exactly what commands i ran, but i suspect the problem is with
> the kernel patch since the NDT debug output mentions it could not parse
> /proc/web100/header. How can i get the /proc/web100 directory to show up
> with the newer Web10g patches? The Web100 patches don't seem to be
> available for newer kernels, and the Web100 download page even
> specifically says to download the Web10g patch instead. What do i need
> to do differently to make this work?
>
> Thanks in advance for any enlightenment.
> __
> 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:
>






<ndt.web10g.patch>











Archive powered by MHonArc 2.6.16.

Top of Page