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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
06-11-2009, 05:14 AM
|
#1
|
LQ Newbie
Registered: Mar 2009
Distribution: Ubuntu 9.04
Posts: 25
Rep:
|
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.
|
|
|
06-11-2009, 09:51 PM
|
#2
|
Member
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961
Rep:
|
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
|
|
|
06-15-2009, 12:58 AM
|
#4
|
LQ Newbie
Registered: Mar 2009
Distribution: Ubuntu 9.04
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
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
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.
|
|
|
07-03-2009, 12:49 AM
|
#5
|
LQ Newbie
Registered: Jul 2009
Posts: 13
Rep:
|
I have same problem, if u get a result, tell me pleaaaaaaaaaaaaaaaase!
hi i have this problem.helpme please!
Quote:
Originally Posted by shojaru
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.
|
|
|
|
08-28-2010, 11:20 PM
|
#6
|
LQ Newbie
Registered: Aug 2010
Posts: 4
Rep:
|
Quote:
Originally Posted by fahimeh_ak
hi i have this problem.helpme please!
|
hi i have this problem.helpme please!
|
|
|
08-28-2010, 11:20 PM
|
#7
|
LQ Newbie
Registered: Aug 2010
Posts: 4
Rep:
|
hi i have this problem.helpme please!
|
|
|
08-30-2010, 08:48 AM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
@ 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
..
|
|
|
08-30-2010, 11:18 PM
|
#9
|
LQ Newbie
Registered: Aug 2010
Posts: 4
Rep:
|
Quote:
Originally Posted by knudfl
|
Thanks 4 ur response.I am using Fedora10.
|
|
|
09-04-2010, 02:51 PM
|
#10
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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 "".
Last edited by knudfl; 03-13-2012 at 01:57 AM.
|
|
1 members found this post helpful.
|
09-07-2010, 07:11 AM
|
#11
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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.
Last edited by knudfl; 11-24-2010 at 11:02 AM.
|
|
|
09-15-2010, 08:21 PM
|
#12
|
LQ Newbie
Registered: Aug 2010
Posts: 4
Rep:
|
Got it
Quote:
Originally Posted by knudfl
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.
|
|
|
11-23-2010, 09:43 PM
|
#13
|
LQ Newbie
Registered: Nov 2010
Posts: 6
Rep:
|
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.
|
|
|
11-24-2010, 11:30 AM
|
#14
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
@ 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.
|
|
|
11-25-2010, 01:34 AM
|
#15
|
LQ Newbie
Registered: Nov 2010
Posts: 6
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|