LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2009, 05:14 AM   #1
shojaru
LQ Newbie
 
Registered: Mar 2009
Distribution: Ubuntu 9.04
Posts: 25

Rep: Reputation: 15
ns2 - some validation tests failed


Dear all,

After many modifications, I managed to install ns2.28 , but some validation tests failed. I got the following message at the end of validation test:
validate overall report: some tests failed:
./test-all-simple ./test-all-tcp ./test-all-testReno ./test-all-newreno ./test-all-sack ./test-all-tcpOptions ./test-all-sack-full ./test-all-tcpVariants ./test-all-LimTransmit ./test-all-aimd ./test-all-greis ./test-all-rfc2581 ./test-all-sctp ./test-all-tcpHighspeed ./test-all-frto ./test-all-friendly ./test-all-srm ./test-all-realaudio ./test-all-ecn ./test-all-ecn-full ./test-all-quickstart ./test-all-hier-routing ./test-all-lan ./test-all-mcast ./test-all-vc ./test-all-mixmode ./test-all-red ./test-all-adaptive-red ./test-all-red-pd ./test-all-rio ./test-all-vq ./test-all-rem ./test-all-gk ./test-all-pi ./test-all-cbq ./test-all-schedule ./test-all-jobs ./test-all-intserv
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
Notice that some tests in webcache will fail on freebsd when -O is turned on.
This is due to some event reordering, which will disappear when -g is turned on.


I have searched the mailing list for the problem, I found many mails about it, but no reply to the mails. Is it a very silly thing, that people don't bother to reply? I have no idea what to do now. I found something like reporting bug about this. I tried to run the test individually one after another, but that is too time consuming, it prompts for permission after every test and thus runs many test & opens a lot of xgraph window. The tests I run so far individually, agreed with the reference output.

Now I am wondering, should I report a bug about it, or should I hire a kid to run those failed 40 tests( which require hitting the ENTER key 1200 times,maybe ) , or what else should I do.

Thank you for your time and attention.
 
Old 06-11-2009, 09:51 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Hire a kid, I must admit that made me laugh.

With the number of tests it says have failed, it may be an idea to do a clean install again. Of course, try using the fix it suggests for BSD systems, see what happens then
 
Old 06-13-2009, 06:32 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please tell, which Linux, you are using.
Linux, name, version ( like Ubuntu 9.04, Fedora 10 ...)

And you must have a very good reason to use ns-2.28 ?
The current version is 2.33 .

http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
.....
.....
 
Old 06-15-2009, 12:58 AM   #4
shojaru
LQ Newbie
 
Registered: Mar 2009
Distribution: Ubuntu 9.04
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
Please tell, which Linux, you are using.
Linux, name, version ( like Ubuntu 9.04, Fedora 10 ...)
I am sorry. I use Ubuntu 9.04.

Quote:
Originally Posted by knudfl View Post
And you must have a very good reason to use ns-2.28 ?
The current version is 2.33 .
I have installed ns2.33 earlier,which doesn't contain the 802.11e mac.I want to simulate 802.11e network and then modify 802.11e, but the only one I have found so far is the 802.11e patch from TKN , which is applicable to ns2.28 only. I asked before some support person about the compatibility of the patch with ns2.33. But all that I have found is any patch is only applicable to the specific release it was created for. Other releases might not be compatible and no support is available for that purpose.

I am struggling with this thing for months, but no luck. I still could not manage to run 802.11e . I know this forum is not meant for ns2 problems, but I am asking questions after questions everywhere, but only this forum is responsive to the questions. I post questions in the hope that maybe some ns2 expert will see the question and be kind enough to reply.


I really do search a lot in Google and the forums before posting the questions, I only try to post when I cannot find the exact similar solution. I don't mean to violate any forum regulation, since this is the only place where I can get solution, if there is any.
I know I am posting too many threads, I am sorry about that.
 
Old 07-03-2009, 12:49 AM   #5
fahimeh_ak
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Rep: Reputation: 0
I have same problem, if u get a result, tell me pleaaaaaaaaaaaaaaaase!

hi i have this problem.helpme please!
Quote:
Originally Posted by shojaru View Post
I am sorry. I use Ubuntu 9.04.



I have installed ns2.33 earlier,which doesn't contain the 802.11e mac.I want to simulate 802.11e network and then modify 802.11e, but the only one I have found so far is the 802.11e patch from TKN , which is applicable to ns2.28 only. I asked before some support person about the compatibility of the patch with ns2.33. But all that I have found is any patch is only applicable to the specific release it was created for. Other releases might not be compatible and no support is available for that purpose.

I am struggling with this thing for months, but no luck. I still could not manage to run 802.11e . I know this forum is not meant for ns2 problems, but I am asking questions after questions everywhere, but only this forum is responsive to the questions. I post questions in the hope that maybe some ns2 expert will see the question and be kind enough to reply.


I really do search a lot in Google and the forums before posting the questions, I only try to post when I cannot find the exact similar solution. I don't mean to violate any forum regulation, since this is the only place where I can get solution, if there is any.
I know I am posting too many threads, I am sorry about that.
 
Old 08-28-2010, 11:20 PM   #6
sharafi12
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by fahimeh_ak View Post
hi i have this problem.helpme please!
hi i have this problem.helpme please!
 
Old 08-28-2010, 11:20 PM   #7
sharafi12
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
hi i have this problem.helpme please!
 
Old 08-30-2010, 08:48 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ sharafi12, posts # 6-7 : Welcome to LQ. ... ..

Very simple : Just use ns-allinone-2.28 .
No problem having several ns2 installs at the same time.

Required : Please tell, which Linux, you are using.
... Like Ubuntu 10.04 Lucid, Fedora 13, CentOS5 etc. etc.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://www.catb.org/~esr/faqs/smart-questions.html
..
 
Old 08-30-2010, 11:18 PM   #9
sharafi12
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
@ sharafi12, posts # 6-7 : Welcome to LQ. ... ..

Very simple : Just use ns-allinone-2.28 .
No problem having several ns2 installs at the same time.

Required : Please tell, which Linux, you are using.
... Like Ubuntu 10.04 Lucid, Fedora 13, CentOS5 etc. etc.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://www.catb.org/~esr/faqs/smart-questions.html
..
Thanks 4 ur response.I am using Fedora10.
 
Old 09-04-2010, 02:51 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Fedora 10...13 , ns-allinone-2.28

Same well tested Ubuntu method as ns-allinone-2.27, using some "ns-allinone-2.34 files".
http://www.linuxquestions.org/questi...10-a-782356/#3
'ns-allinone-2.34/' is required too.
EDIT : Fedora, CentOS : Please see post # 55.

# yum install compat-gcc-34-c++ libX11-devel libXext-devel libXau-devel \
libXmu-devel xorg-x11-proto-devel gcc-c++ make automake autoconf libtool

**** All these commands can also be run as a script : 'sh script_228.txt' :
cd ns-allinone-2.28/
mv otcl-1.9/ back-otcl-1.9/
mv tclcl-1.16/ back-tclcl-1.16
mv tcl8.4.5/ back-tcl8.4.5
mv tk8.4.5/ back-tk8.4.5
mv nam-1.11/ back-nam-1.11

ln -s ../ns-allinone-2.34/otcl-1.13/
ln -s ../ns-allinone-2.34/tclcl-1.19/
ln -s ../ns-allinone-2.34/tcl8.4.18/
ln -s ../ns-allinone-2.34/tk8.4.18/
ln -s ../ns-allinone-2.34/nam-1.14/

ln -s otcl-1.13/ otcl-1.9
ln -s tclcl-1.19/ tclcl-1.16
ln -s tcl8.4.18/ tcl8.4.5
ln -s tk8.4.18/ tk8.4.5
ln -s nam-1.14/ nam-1.11

mv nam-1.10/ back-nam-1.10
ln -s ../ns-allinone-2.34/nam-1.14/
ln -s nam-1.14/ nam-1.11

mkdir -p include
cd include/
ln -s ../tcl8.4.18/generic/tclInt.h
ln -s ../tcl8.4.18/generic/tclIntDecls.h

cd ../tk8.4.18/
patch -p0 < tk-8.4-lastevent.patch
exit
****

Edit ns-allinone-2.28/ns-2.28/Makefile.in, line 36-37 to
CC = gcc34
CPP = g++34

cd ns-allinone-2.28/ && ./install
.............
.............

And a reasonable "validation".
"" validate overall report: some tests failed:
./test-all-newreno ./test-all-tcpHighspeed ./test-all-red ./test-all-cbq ./test-all-xcp "".
Attached Files
File Type: txt script_228.txt (763 Bytes, 205 views)

Last edited by knudfl; 03-13-2012 at 01:57 AM.
 
1 members found this post helpful.
Old 09-07-2010, 07:11 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Fedora 12 , ns-allinone-2.28

A better result was achieved, using the 'ns228-gcc40.patch'.
cd <folder-with ns-allinone-2.28/>
patch -p0 < ns228-gcc40.patch

Still with the g++34 for ns-allinone-2.28/ns-2.28/.
And same method like post # 10.
Code:
validate overall report: some tests failed:
     ./test-all-newreno ./test-all-red
... Which is more like other ns2 versions.
Attached Files
File Type: txt ns228-gcc40.patch.txt (4.2 KB, 258 views)

Last edited by knudfl; 11-24-2010 at 11:02 AM.
 
Old 09-15-2010, 08:21 PM   #12
sharafi12
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
Thumbs up Got it

Quote:
Originally Posted by knudfl View Post
Same well tested method as ns-allinone-2.27, using some "ns-allinone-2.34 files".
# yum install compat-gcc-34-c++ libX11-devel libXext-devel libXau-devel \
libXmu-devel xorg-x11-proto-devel gcc-c++ make automake autoconf libtool

**** All these commands can also be run as a script : 'sh <script>' :
cd ns-allinone-2.28/
mv otcl-1.9/ back-otcl-1.9/
mv tclcl-1.16/ back-tclcl-1.16
mv tcl8.4.5/ back-tcl8.4.5
mv tk8.4.5/ back-tk8.4.5
mv nam-1.11/ back-nam-1.11

ln -s ../ns-allinone-2.34/otcl-1.13/
ln -s ../ns-allinone-2.34/tclcl-1.19/
ln -s ../ns-allinone-2.34/tcl8.4.18/
ln -s ../ns-allinone-2.34/tk8.4.18/
ln -s ../ns-allinone-2.34/nam-1.14/

ln -s otcl-1.13/ otcl-1.9
ln -s tclcl-1.19/ tclcl-1.16
ln -s tcl8.4.18/ tcl8.4.5
ln -s tk8.4.18/ tk8.4.5
ln -s nam-1.14/ nam-1.11

cd tk8.4.18/
patch -p0 < tk-8.4-lastevent.patch
exit
****

Edit ns-allinone-2.28/ns-2.28/Makefile.in, line 36-37 to
CC = gcc34
CPP = g++34

cd ns-allinone-2.28/ && ./install
.............
.............

And a reasonable "validation".
"" validate overall report: some tests failed:
./test-all-newreno ./test-all-tcpHighspeed ./test-all-red ./test-all-cbq ./test-all-xcp "".
Many Thanks. It was very useful. I have installed ns-allinone-2.28 on Fedora 10 successfully. Next I'll try to setup IEEE802.11e for the ns-2.
 
Old 11-23-2010, 09:43 PM   #13
NewStar
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Rep: Reputation: 0
ns2.28 installation

Hi all,

I need to install ns2.28 on fedora (either 6 or 10). for those run ns2.28 successfully, could you please share with me your experience in installing and validating ns2.28 so i do it the right way. I have tried to install it on RedHat 5 previously but i got errors.

Thank you in advance.

Last edited by NewStar; 11-23-2010 at 09:45 PM.
 
Old 11-24-2010, 11:30 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ NewStar, post # 13 : Welcome to LQ.

Using the procedure in posts #10, #11 : No errors RH EL5, CentOS5, SL55.

EL 5 is based on Fedora 6 : Use the same procedure for Fedora 6.

Fedora 10 is included, when you read posts #10, #11.
..

The perfect 'validate report' : see post #11. ( Fedora 12.)
..


Fedora 10 validate , no patching with 'ns228-gcc40.patch' :
validate overall report: some tests failed:
./test-all-newreno ./test-all-tcpHighspeed ./test-all-red ./test-all-cbq ./test-all-xcp

Fedora 10, the patch is included : 'patch -p0 < ns228-gcc40.patch
No improvement like in Fedora 12. Same result as above.
..

Last edited by knudfl; 11-28-2010 at 03:40 PM.
 
Old 11-25-2010, 01:34 AM   #15
NewStar
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Rep: Reputation: 0
on redhat 5

Hi knudfl... Thank you for the welcoming and answering.

Below is the errors i got when i did step 1. I am trying it on RedHat 5.


******************************************************************************
[root@localhost ns-allinone-2.34]# yum install compat-gcc-34-c++ libX11-devel libXext-devel libXau-devel\libXmu-devel xorg-x11-proto-devel gcc-c++ make automake autoconf libtool
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package compat-gcc-34-c++ available.
No package libX11-devel available.
No package libXext-devel available.
No package libXau-devellibXmu-devel available.
No package xorg-x11-proto-devel available.
No package gcc-c++ available.
Package 1:make-3.81-3.el5.i386 installed and not available
No package automake available.
No package autoconf available.
No package libtool available.
Nothing to do
[root@localhost ns-allinone-2.34]# cd
[root@localhost ~]# cd Desktop/ns-allinone-2.28
[root@localhost ns-allinone-2.28]# mv otcl-1.9/back-otcl-1.9/
mv: missing destination file operand after `otcl-1.9/back-otcl-1.9/'
Try `mv --help' for more information.
[root@localhost ns-allinone-2.28]#

*************************************************************************************
I appreciate your help.
Thank you.
 
  


Reply

Tags
fail, g++41-compat-1110, ns2, ns228, tk-8.4-lastevent.patch, validation


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OS Validation on C++ Bassy Programming 2 04-17-2009 12:31 AM
tk8.4.11 make failed---a problem about ns2 install !!! blueskyhff Linux - Software 1 07-03-2007 02:26 AM
xml validation kshkid Programming 1 05-02-2007 01:46 AM
Need Your Validation scbops Linux - Newbie 1 12-27-2006 05:09 AM
Validation Makaveli.2003 Programming 1 05-06-2002 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration