networktest-sctp Mailing List for networktest
Brought to you by:
fnst-netdev
You can subscribe to this list here.
| 2009 |
Jan
|
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(22) |
| 2011 |
Jan
|
Feb
(2) |
Mar
(3) |
Apr
(6) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Daniel B. <bor...@io...> - 2013-01-09 14:37:18
|
Hi together, I'm trying to setup two remotely connected machines (different places on the Internet) with the description mentioned in [1]. The installation of the software described there is no problem, since everything seems to work *so far*, but I cannot get the two ttyS0's connected together. Since the two machines do obviously not have a direct serial link, I need to get them connected over TCP/IP, also in order to test different Linux kernels easily/quickly. I tried to get this link set up via socat [2], but didn't succeed. After following [1], I did NUT machine: socat tcp-l:54321,reuseaddr,fork file:/dev/ttyS0,nonblock,raw,echo=0,waitlock=/var/run/tty TN machine: while true; do socat pty,link=/tmp/vmodem0,raw,echo=0,waitslave tcp:<NUT-host>:54321; done And then on TN: cu -l /tmp/vmodem0 resp. I also tried opening it with minicom - no success. I also removed 'waitslave', because I saw via strace that with active 'waitslave', the client doesn't even try to connect to the remote server. I also tried replacing ttyS0 with tty0, removing ',raw,echo=0', etc, nothing helped. Did you have similar experiences and could you solve this via socat? Or, did you do this conformance test locally on your laptop via VMs? Locally, I gave it a try with Qemu/KVM, but couldn't solve it there either: mkfifo /tmp/serialbridge NUT guest: qemu-system-x86_64 -hda debian_squeeze_amd64_standard-NUT.qcow2 -net nic -net user -m 2048 -enable-kvm -cpu host -machine type=pc,accel=kvm -serial pipe:/tmp/serialbridge TN guest: qemu-system-x86_64 -hda debian_squeeze_amd64_standard-TN.qcow2 -net nic -net user -m 2048 -enable-kvm -cpu host -machine type=pc,accel=kvm -serial pipe:/tmp/serialbridge ... where I am not sure if the 'serial' configuration is the right one (probably not). When I try to connect them, one machine does a CPU soft-lockup in the kernel within the serial device's IRQ handler, and thus becomes unusable. (My host machine is a Fedora 17, with i) Qemu tried from the Fedora repository, and ii) build from scratch from the Qemu Git repository.) On all machines I also tried with console=ttyS0 on the kernel command line, no success either. If you have some pointers, I'd be very glad. Daniel [1] http://networktest.sourceforge.net/usage.html [2] http://www.dest-unreach.org/socat/doc/socat-ttyovertcp.txt |
|
From: Wei Y. <yj...@cn...> - 2011-06-15 00:47:53
|
> On 06/14/2011 04:36 PM, Weiping Pan wrote: >> On 06/14/2011 02:32 PM, Wei Yongjun wrote: >>>> Hi, >>>> >>>> I want to test linux sctp conformance. >>>> >>>> First I install freebsd 8.2, and then follow instructions at http://networktest.sourceforge.net/usage.html >>>> >>>> Before I patch v6eval-3.1.0-linux-fnst.patch and v6eval-3.1.0-linux-sctp-fnst.patch, >>>> v6eval-3.1.0 can make successfully, >>>> But after I patch these two patches, it can't compile. There are some errors in Makefile. >>>> >>>> Which release of freebsd should I use ? freebsd 7.4 ? >>>> >>>> Can I use a linux as TN ? If yes, how to make v6eval and sctp ? >>> those two patches make you can install v6eval under linux, such as fedora or rhel, but >>> not under freebsd. >>> >> Ok, I can compile v6eval and sctp on fedora 14. >> >> But when I run /usr/local/v6eval/bin/autorun INDEX, >> error occurs. >> I setup correct ipv4 and ipv6 address, and they can ping each other. >> >> ========== TEST 1 ========== >> ping/ping.seq -pkt ping/packet.def -log 1.html -ti "link local ping test" >> V6evalTool.pm Could not get ready response from >> Died at /usr/local/share/perl5/V6evalTool.pm line 2597. >> BEGIN failed--compilation aborted at /usr/local/share/perl5/V6evalTool.pm line 2794. >> Compilation failed in require at ping/ping.seq line 45. >> BEGIN failed--compilation aborted at ping/ping.seq line 45. >> -> internal error >> >> many thanks >> Weiping Pan > This error is because i didn't install yacc, so my compilation is not complete. > > Oh, I finally make sctp conformance run. > > I think your two patches can work against v6eval-3.3.2, I can compile it successfully, is that right? not sure, maybe you need to patch them manual, it should works. > > many thank > Weiping Pan > |
|
From: Wei Y. <yj...@cn...> - 2011-06-14 06:34:53
|
> Hi, > > I want to test linux sctp conformance. > > First I install freebsd 8.2, and then follow instructions at http://networktest.sourceforge.net/usage.html > > Before I patch v6eval-3.1.0-linux-fnst.patch and v6eval-3.1.0-linux-sctp-fnst.patch, > v6eval-3.1.0 can make successfully, > But after I patch these two patches, it can't compile. There are some errors in Makefile. > > Which release of freebsd should I use ? freebsd 7.4 ? > > Can I use a linux as TN ? If yes, how to make v6eval and sctp ? those two patches make you can install v6eval under linux, such as fedora or rhel, but not under freebsd. > > many thanks > Weiping Pan > |
|
From: Wei Y. <yj...@cn...> - 2011-04-19 00:41:50
|
> On 04/07/2011 11:50 AM, Wei Yongjun wrote: >> >> >>> On 04/07/2011 09:48 AM, Wei Yongjun wrote: >>> >>>> >>>> >>>>> Hi all, >>>>> >>>>> I am doing test with SCTP test suite and I followed the steps on: >>>>> http://networktest.sourceforge.net/usage.html >>>>> >>>>> >>>> Are you using the orig v6eval from tahi.org? >>>> >>>> >>> Yes, I think so. I am using this one: >>> http://www.tahi.org/release/v6eval/v6eval-3.1.0.tar.gz >>> >>> Dose "SCTP test suite" support FreeBSD? >>> I am using a FreeBSD host as TN, and a Linux host as NUT. >>> I want to test SCTP for Linux kernel. >>> >> You can use linux as TN, the orig v6eval does not support SCTP. >> You can need our patch for v6eval to support it. >> > Ok, I have setup the test env with two RHEL6 host. But all test failed during ipv6Ping test, so there is still some configuration issue. > Maybe my linux version differs from yours. Which linux version do you suggest as TN? This may because you IPv6 address is not config correctly. The IP should link this: ________________________________________________ | 3ffe:501:ffff:100:... 3ffe:501:ffff:100:... | ethX | 192.168.0.19 192.168.0.21 | ethX _______|_______ _______|_______ | | | | | TN |--------------ttySx-------------| NUT | |_______________| |_______________| | | ethY | 192.168.1.19 192.168.1.21 | ethY | 3ffe:501:ffff:101:... 3ffe:501:ffff:101:... | |________________________________________________| > > Thanks, > Pengzhen >>> Regards, >>> Pengzhen >>> >>>> >>>> >>>>> But in the last step, when I run "make config" in sctp dir and got the following error: >>>>> ------------------ >>>>> FreeBSD8# pwd >>>>> /usr/local/v6eval/sctp >>>>> FreeBSD8# make config >>>>> Configuring the Testing... >>>>> >>>>> Can't locate SimpleRemote.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .) at ./configure.pl line 39. >>>>> BEGIN failed--compilation aborted at ./configure.pl line 39. >>>>> *** Error code 2 >>>>> >>>>> Stop in /usr/local/v6eval/sctp/config. >>>>> *** Error code 1 >>>>> >>>>> Stop in /usr/local/v6eval/sctp. >>>>> ------------- >>>>> >>>>> It seems that "SimpleRemote.pm" is missing and I search CPAN but still can not find it. >>>>> Can you tell me where to find that file? >>>>> >>>>> Thanks and best resgards, >>>>> Pengzhen Cao >>>>> >>>>> >>>>> >>> >>> > > |
|
From: Pengzhen C. <pc...@re...> - 2011-04-18 11:11:28
|
On 04/07/2011 11:50 AM, Wei Yongjun wrote: > > >> On 04/07/2011 09:48 AM, Wei Yongjun wrote: >> >>> >>> >>>> Hi all, >>>> >>>> I am doing test with SCTP test suite and I followed the steps on: >>>> http://networktest.sourceforge.net/usage.html >>>> >>>> >>> Are you using the orig v6eval from tahi.org? >>> >>> >> Yes, I think so. I am using this one: >> http://www.tahi.org/release/v6eval/v6eval-3.1.0.tar.gz >> >> Dose "SCTP test suite" support FreeBSD? >> I am using a FreeBSD host as TN, and a Linux host as NUT. >> I want to test SCTP for Linux kernel. >> > You can use linux as TN, the orig v6eval does not support SCTP. > You can need our patch for v6eval to support it. > Ok, I have setup the test env with two RHEL6 host. But all test failed during ipv6Ping test, so there is still some configuration issue. Maybe my linux version differs from yours. Which linux version do you suggest as TN? Thanks, Pengzhen >> Regards, >> Pengzhen >> >>> >>> >>>> But in the last step, when I run "make config" in sctp dir and got the following error: >>>> ------------------ >>>> FreeBSD8# pwd >>>> /usr/local/v6eval/sctp >>>> FreeBSD8# make config >>>> Configuring the Testing... >>>> >>>> Can't locate SimpleRemote.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .) at ./configure.pl line 39. >>>> BEGIN failed--compilation aborted at ./configure.pl line 39. >>>> *** Error code 2 >>>> >>>> Stop in /usr/local/v6eval/sctp/config. >>>> *** Error code 1 >>>> >>>> Stop in /usr/local/v6eval/sctp. >>>> ------------- >>>> >>>> It seems that "SimpleRemote.pm" is missing and I search CPAN but still can not find it. >>>> Can you tell me where to find that file? >>>> >>>> Thanks and best resgards, >>>> Pengzhen Cao >>>> >>>> >>>> >> >> |
|
From: Wei Y. <yj...@cn...> - 2011-04-07 03:50:05
|
> On 04/07/2011 09:48 AM, Wei Yongjun wrote: >> >>> Hi all, >>> >>> I am doing test with SCTP test suite and I followed the steps on: >>> http://networktest.sourceforge.net/usage.html >>> >> Are you using the orig v6eval from tahi.org? >> > Yes, I think so. I am using this one: > http://www.tahi.org/release/v6eval/v6eval-3.1.0.tar.gz > > Dose "SCTP test suite" support FreeBSD? > I am using a FreeBSD host as TN, and a Linux host as NUT. > I want to test SCTP for Linux kernel. You can use linux as TN, the orig v6eval does not support SCTP. You can need our patch for v6eval to support it. > > Regards, > Pengzhen >> >>> But in the last step, when I run "make config" in sctp dir and got the following error: >>> ------------------ >>> FreeBSD8# pwd >>> /usr/local/v6eval/sctp >>> FreeBSD8# make config >>> Configuring the Testing... >>> >>> Can't locate SimpleRemote.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .) at ./configure.pl line 39. >>> BEGIN failed--compilation aborted at ./configure.pl line 39. >>> *** Error code 2 >>> >>> Stop in /usr/local/v6eval/sctp/config. >>> *** Error code 1 >>> >>> Stop in /usr/local/v6eval/sctp. >>> ------------- >>> >>> It seems that "SimpleRemote.pm" is missing and I search CPAN but still can not find it. >>> Can you tell me where to find that file? >>> >>> Thanks and best resgards, >>> Pengzhen Cao >>> >>> > > |
|
From: Pengzhen C. <pc...@re...> - 2011-04-07 02:21:25
|
On 04/07/2011 09:48 AM, Wei Yongjun wrote: > >> Hi all, >> >> I am doing test with SCTP test suite and I followed the steps on: >> http://networktest.sourceforge.net/usage.html >> > Are you using the orig v6eval from tahi.org? > Yes, I think so. I am using this one: http://www.tahi.org/release/v6eval/v6eval-3.1.0.tar.gz Dose "SCTP test suite" support FreeBSD? I am using a FreeBSD host as TN, and a Linux host as NUT. I want to test SCTP for Linux kernel. Regards, Pengzhen > >> But in the last step, when I run "make config" in sctp dir and got the following error: >> ------------------ >> FreeBSD8# pwd >> /usr/local/v6eval/sctp >> FreeBSD8# make config >> Configuring the Testing... >> >> Can't locate SimpleRemote.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .) at ./configure.pl line 39. >> BEGIN failed--compilation aborted at ./configure.pl line 39. >> *** Error code 2 >> >> Stop in /usr/local/v6eval/sctp/config. >> *** Error code 1 >> >> Stop in /usr/local/v6eval/sctp. >> ------------- >> >> It seems that "SimpleRemote.pm" is missing and I search CPAN but still can not find it. >> Can you tell me where to find that file? >> >> Thanks and best resgards, >> Pengzhen Cao >> >> |
|
From: Wei Y. <yj...@cn...> - 2011-04-07 01:48:24
|
> Hi all, > > I am doing test with SCTP test suite and I followed the steps on: > http://networktest.sourceforge.net/usage.html Are you using the orig v6eval from tahi.org? > > But in the last step, when I run "make config" in sctp dir and got the following error: > ------------------ > FreeBSD8# pwd > /usr/local/v6eval/sctp > FreeBSD8# make config > Configuring the Testing... > > Can't locate SimpleRemote.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .) at ./configure.pl line 39. > BEGIN failed--compilation aborted at ./configure.pl line 39. > *** Error code 2 > > Stop in /usr/local/v6eval/sctp/config. > *** Error code 1 > > Stop in /usr/local/v6eval/sctp. > ------------- > > It seems that "SimpleRemote.pm" is missing and I search CPAN but still can not find it. > Can you tell me where to find that file? > > Thanks and best resgards, > Pengzhen Cao > |
|
From: Pengzhen C. <pc...@re...> - 2011-04-06 11:15:22
|
Hi all, I am doing test with SCTP test suite and I followed the steps on: http://networktest.sourceforge.net/usage.html But in the last step, when I run "make config" in sctp dir and got the following error: ------------------ FreeBSD8# pwd /usr/local/v6eval/sctp FreeBSD8# make config Configuring the Testing... Can't locate SimpleRemote.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .) at ./configure.pl line 39. BEGIN failed--compilation aborted at ./configure.pl line 39. *** Error code 2 Stop in /usr/local/v6eval/sctp/config. *** Error code 1 Stop in /usr/local/v6eval/sctp. ------------- It seems that "SimpleRemote.pm" is missing and I search CPAN but still can not find it. Can you tell me where to find that file? Thanks and best resgards, Pengzhen Cao |
|
From: Wei Y. <yj...@cn...> - 2011-03-10 04:49:47
|
> Hi > > > I am newer to network test suite project. but i know it is a great project . I want to know whether it is possible to use network test on freebsd to test freebsd's sctp implementation? Look forward to expert's answer. thanks. It is possible, if you backport lksctp-tools be installed on freebsd. There is a little work to do about this. > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > > > _______________________________________________ > Networktest-sctp mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/networktest-sctp |
|
From: 黄登辉 <hua...@gm...> - 2011-03-09 10:43:16
|
Hi I am newer to network test suite project. but i know it is a great project . I want to know whether it is possible to use network test on freebsd to test freebsd's sctp implementation? Look forward to expert's answer. thanks. |
|
From: Wang, C. <Cha...@wi...> - 2011-03-08 06:44:42
|
Hi guys ,
I am a greenhand of TAHI , I studying the steps mentioned in below link:http://networktest.sourceforge.net/usage.html/ and have some question as below:
I still can`t continue test for "V6evalTool.pm Could not get ready response from $arg0" in "forkCmd" subroutine. log file as follows.
===> init
make[1]: 正在进入目录 `/usr/local/v6eval/sctp/init'
../config/chgversion.pl IPv4
/usr/local/v6eval/bin/autorun -title="SCTP Conformance Test For Association Initialization" INDEX
========== TEST 1 ==========
./NormalInitClient.seq -pkt ./NormalInitClient.def -log 1.html -ti "Normal Association of SCTP Client"
V6evalTool.pm Could not get ready response from
Died at /usr/local/share/perl/5.10.0/V6evalTool.pm line 2597.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.0/V6evalTool.pm line 2794.
Compilation failed in require at ./NormalInitClient.seq line 41.
BEGIN failed--compilation aborted at ./NormalInitClient.seq line 41.
-> internal error
make[1]:正在离开目录 `/usr/local/v6eval/sctp/init'
===> term
make[1]: 正在进入目录 `/usr/local/v6eval/sctp/term'
../config/chgversion.pl IPv4
In addition ,I use it to test vxWorks OS ,which is a famous embedded OS , so I can`t install "lksctp_tool" soft on it , I need to wirte script on vxWorks to accomplish same function of "lksctp_tool" in SCTP Conformance Test. could you give me related file and suggestion?
Sorry for disturb you !
BestRegards!
Best Regards,
Wang,Changan
Wind River CDC
14F/D,Tower B, WangJing Plaza, No.9 Zhong-Huan Nanlu, Chaoyang District, Beijing, P.R.C
Business phone: 861064835011
Mobile phone: 86-15010883841
Wind River Networking Test
|
|
From: Mohd. A. <moh...@gm...> - 2011-02-01 15:52:48
|
OK I got it.
"make config" has executed successfully now.
I have changed my shell prompt using the $PS1 variable in .profile
Thank you.
Best Regards,
Arif
On Wed, Dec 29, 2010 at 6:25 AM, Mohd. Arif <moh...@gm...> wrote:
> Hi Wei,
>
> Thanks for the response!
>
> Can you please tell me what does rcommandasync or rcommandsync command
> exactly does?
> Does it use any service which may not be available on NUT or TN?
>
> Please find below the output of the commands:
> a)rcommandasync.rmt ==> /tmp/tstcmd.log doesn't created at NUT
> b)rcommandasync.rmt but without using sleep ==> /tmp/tstcmd.log
> doesn't created at NUT
> c)rcommand.rmt ==> /tmp/tstcmd.log created at NUT
> d)cat rcommandasync.rmt
>
> =====================================================================================================================
> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sleep 5 &&
> sctp_test -H 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c
> -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 &"
> Connected.
>
> Fedora release 10 (Cambridge)
> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>
> L3Switch login: root
> Password:
> Last login: Tue Dec 28 13:03:08 on ttyS0
> [root@L3Switch ~]#
> [root@L3Switch ~]# ~.
> Disconnected.
> ro...@lo...$
> ro...@lo...$
> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
> -o 1 >/tmp/tstcmd.log 2>&1 &"
> Connected.
>
> Fedora release 10 (Cambridge)
> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>
> L3Switch login: root
> Password:
> Last login: Tue Dec 28 13:06:41 on ttyS0
> [root@L3Switch ~]#
> [root@L3Switch ~]# ~.
> Disconnected.
> ro...@lo...$
> ro...@lo...$
> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommand.rmt
> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
> -o 1 >/tmp/tstcmd.log 2>&1 &"
> Connected.
>
> Fedora release 10 (Cambridge)
> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>
> L3Switch login: root
> Password:
> Last login: Tue Dec 28 13:06:56 on ttyS0
> [root@L3Switch ~]#
> -s -c -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 & -h 192.168.0.100 -p 2009 -T
> [1] 12818
> [root@L3Switch ~]# sendMessagesSync: never got sctp_test -H
> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
> -o 1 >/tmp/tstcmd.log 2>&1 &
> echo $?
> 0
> [roo~.
> Disconnected.
> ro...@lo...$
> ro...@lo...$
> =====================================================================================================================
>
> FILE: rcommandasync.rmt
> ~~~~~~~~~~
> use V6evalRemote;
>
> $rOpt_timeout = 5 if ! defined $rOpt_timeout;
>
> rOpen() || goto error;
> rLogin($rOpt_timeout) || goto error;
>
> rCommandAsync("$rOpt_cmd ", 15) || goto error;
>
> rLogout($rOpt_timeout) || goto error;
>
> rClose();
> exit($V6evalRemote::exitPass);
>
> error:
> rClose();
> exit($V6evalRemote::exitFail);
> ~~~~~~~~~~~~~
>
> Kindly give your suggestions.
>
> Thanks,
> Arif
>
|
|
From: Mohd. A. <moh...@gm...> - 2011-02-01 15:07:29
|
Hi Wei,
The test suite worked fine when i used fedora machines for NUT and TN.
But I am again stuck in problem when i used TN (fedora machine) and
NUT (WindRiver machine)
WindRiver is a linux based OS having kernel 2.6.27
1. serial port connection is fine.
2. cu -l ttyS0 has been tested,its fine. It is asking for login
authentication at first time and then it is not asking for login
authentication, as desired.
3. I'm using mingetty at NUT
4. The configurations (tn.def, nut.def, config.in) are also correct.
5. For your information, NUT has username: root, password: root,
hostname: L3Switch
6. In "make config", the problem is that TN is again trying to login
after the login (sending "root" and "root" at the terminal)
7. Is there any problem with the login prompt "root@L3Switch:/root>"
Please give your kind suggestions and help me.
But following problem is occurring in "make config":
=========================================
* Configure Node Under Test (NUT)
- Configure IP Address of eth0
rLogin: Retry error (> 8)
Before: ``Wed Feb 9 09:20:36 on ttyS0
Wind River Linux glibc_std (standard) 3.0
root@L3Switch:/root>
root@L3Switch:/root> root
-bash: root: command not found
root@L3Switch:/root>
root@L3Switch:/root> root
-bash: root: command not found
root@L3Switch:/root>
root@L3Switch:/root>
root@L3Switch:/root>
root@L3Switch:/root>
root@L3Switch:/root> ''
Match: ``login: ''
After: ``Wed Feb 9 09:20:36 on ttyS0
Wind River Linux glibc_std (standard) 3.0
=========================================
I'm attaching the complete log in the mail.
Please help...
Best Regards,
Arif
On Wed, Dec 29, 2010 at 1:09 PM, Mohd. Arif <moh...@gm...> wrote:
> Hi Wei,
> :) Thanks Champ!!! Thanks a lot for your help and sincere efforts!!!!
>
> Everything is fine now.
> The following statement of yours does wonder for me:
> ===========================
> I notice that you need to login to NUT everytime when you using cu,
> so I think this is the key problem. after run command on NUT, NUT
> force(?) you logout, and we know, if we logout, all our process will
> be kill. So you should config your NUT to not logout you cu.
>
> config by cu -l ttyS0, the first cu need to login, and the second does
> not need.
>
> # cu -l ttyS0
> Fedoar12NUT login:
> ...
> # cu -l ttyS0
> Connected.
> ==========================
>
> For some reason, mingetty was not working properly on my NUT machine
> so i used agetty.
> But agetty was forcing to log out the connection. I again tried to use
> mingetty and now its working.
>
> Everything is working fine now. You gave a lot of time to me which is
> highly appreciable.
>
> Thanks,
> Arif
>
> On Wed, Dec 29, 2010 at 6:50 AM, Wei Yongjun <yj...@cn...> wrote:
>> Hi
>>
>>> Hi Wei,
>>>
>>> Thanks for the response!
>>>
>>> Can you please tell me what does rcommandasync or rcommandsync command
>>> exactly does?
>>
>> rcommandsync wait util command return, but rcommandasync do not wait.
>>
>>
>>> Does it use any service which may not be available on NUT or TN?
>>
>> It does not use any service.
>>
>>> Please find below the output of the commands:
>>> a)rcommandasync.rmt ==> /tmp/tstcmd.log doesn't created at NUT
>>> b)rcommandasync.rmt but without using sleep ==> /tmp/tstcmd.log
>>> doesn't created at NUT
>>> c)rcommand.rmt ==> /tmp/tstcmd.log created at NUT
>>> d)cat rcommandasync.rmt
>>
>> It seems the rcommandasync.rmt did not run correctly on
>> your system. Your using default shell bash on NUT?
>>
>> Can your try the following patch for sctp test tool, and check
>> whether ./NormalInitClient.seq works after patch?
>>
>> --- a/common/SCTP.pm 2010-07-21 05:37:21.000000000 -0400
>> +++ b/common/SCTP.pm 2010-12-28 20:06:56.000000000 -0500
>> @@ -1562,7 +1564,8 @@ sub sctpRemoteCommandAsync($) {
>> }
>> }
>>
>> - vRemote("rcommandasync.rmt", "cmd=\"$cmd\"") && return 1;
>> + #vRemote("rcommandasync.rmt", "cmd=\"$cmd\"") && return 1;
>> + vRemote("rcommand.rmt", "cmd=\"$cmd\"") && return 1;
>>
>> return 0;
>> }
>> @@ -1582,7 +1585,8 @@ sub sctpRemoteCommandAsyncDelay($;$) {
>> $cmd .= " > /tmp/tstcmd.log 2>&1";
>> }
>>
>> - vRemote("rcommandasync.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
>> + #vRemote("rcommandasync.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
>> + vRemote("rcommand.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
>>
>> return 0;
>> }
>>
>>> =====================================================================================================================
>>> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
>>> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sleep 5 &&
>>> sctp_test -H 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c
>>> -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 &"
>>> Connected.
>>>
>>> Fedora release 10 (Cambridge)
>>> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>>>
>>> L3Switch login: root
>>> Password:
>>> Last login: Tue Dec 28 13:03:08 on ttyS0
>>> [root@L3Switch ~]#
>>> [root@L3Switch ~]# ~.
>>> Disconnected.
>>> ro...@lo...$
>>> ro...@lo...$
>>> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
>>> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
>>> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
>>> -o 1 >/tmp/tstcmd.log 2>&1 &"
>>> Connected.
>>>
>>> Fedora release 10 (Cambridge)
>>> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>>>
>>> L3Switch login: root
>>> Password:
>>> Last login: Tue Dec 28 13:06:41 on ttyS0
>>> [root@L3Switch ~]#
>>> [root@L3Switch ~]# ~.
>>> Disconnected.
>>> ro...@lo...$
>>> ro...@lo...$
>>> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommand.rmt
>>> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
>>> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
>>> -o 1 >/tmp/tstcmd.log 2>&1 &"
>>> Connected.
>>>
>>> Fedora release 10 (Cambridge)
>>> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>>>
>>> L3Switch login: root
>>> Password:
>>> Last login: Tue Dec 28 13:06:56 on ttyS0
>>> [root@L3Switch ~]#
>>> -s -c -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 & -h 192.168.0.100 -p 2009 -T
>>> [1] 12818
>>> [root@L3Switch ~]# sendMessagesSync: never got sctp_test -H
>>> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
>>> -o 1 >/tmp/tstcmd.log 2>&1 &
>>> echo $?
>>> 0
>>> [roo~.
>>> Disconnected.
>>> ro...@lo...$
>>> ro...@lo...$
>>> =====================================================================================================================
>>>
>>> FILE: rcommandasync.rmt
>>> ~~~~~~~~~~
>>> use V6evalRemote;
>>>
>>> $rOpt_timeout = 5 if ! defined $rOpt_timeout;
>>>
>>> rOpen() || goto error;
>>> rLogin($rOpt_timeout) || goto error;
>>>
>>> rCommandAsync("$rOpt_cmd ", 15) || goto error;
>>>
>>> rLogout($rOpt_timeout) || goto error;
>>>
>>> rClose();
>>> exit($V6evalRemote::exitPass);
>>>
>>> error:
>>> rClose();
>>> exit($V6evalRemote::exitFail);
>>> ~~~~~~~~~~~~~
>>>
>>> Kindly give your suggestions.
>>>
>>> Thanks,
>>> Arif
>>>
>>
>
|
|
From: Mohd. A. <moh...@gm...> - 2010-12-29 07:39:11
|
Hi Wei,
:) Thanks Champ!!! Thanks a lot for your help and sincere efforts!!!!
Everything is fine now.
The following statement of yours does wonder for me:
===========================
I notice that you need to login to NUT everytime when you using cu,
so I think this is the key problem. after run command on NUT, NUT
force(?) you logout, and we know, if we logout, all our process will
be kill. So you should config your NUT to not logout you cu.
config by cu -l ttyS0, the first cu need to login, and the second does
not need.
# cu -l ttyS0
Fedoar12NUT login:
...
# cu -l ttyS0
Connected.
==========================
For some reason, mingetty was not working properly on my NUT machine
so i used agetty.
But agetty was forcing to log out the connection. I again tried to use
mingetty and now its working.
Everything is working fine now. You gave a lot of time to me which is
highly appreciable.
Thanks,
Arif
On Wed, Dec 29, 2010 at 6:50 AM, Wei Yongjun <yj...@cn...> wrote:
> Hi
>
>> Hi Wei,
>>
>> Thanks for the response!
>>
>> Can you please tell me what does rcommandasync or rcommandsync command
>> exactly does?
>
> rcommandsync wait util command return, but rcommandasync do not wait.
>
>
>> Does it use any service which may not be available on NUT or TN?
>
> It does not use any service.
>
>> Please find below the output of the commands:
>> a)rcommandasync.rmt ==> /tmp/tstcmd.log doesn't created at NUT
>> b)rcommandasync.rmt but without using sleep ==> /tmp/tstcmd.log
>> doesn't created at NUT
>> c)rcommand.rmt ==> /tmp/tstcmd.log created at NUT
>> d)cat rcommandasync.rmt
>
> It seems the rcommandasync.rmt did not run correctly on
> your system. Your using default shell bash on NUT?
>
> Can your try the following patch for sctp test tool, and check
> whether ./NormalInitClient.seq works after patch?
>
> --- a/common/SCTP.pm 2010-07-21 05:37:21.000000000 -0400
> +++ b/common/SCTP.pm 2010-12-28 20:06:56.000000000 -0500
> @@ -1562,7 +1564,8 @@ sub sctpRemoteCommandAsync($) {
> }
> }
>
> - vRemote("rcommandasync.rmt", "cmd=\"$cmd\"") && return 1;
> + #vRemote("rcommandasync.rmt", "cmd=\"$cmd\"") && return 1;
> + vRemote("rcommand.rmt", "cmd=\"$cmd\"") && return 1;
>
> return 0;
> }
> @@ -1582,7 +1585,8 @@ sub sctpRemoteCommandAsyncDelay($;$) {
> $cmd .= " > /tmp/tstcmd.log 2>&1";
> }
>
> - vRemote("rcommandasync.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
> + #vRemote("rcommandasync.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
> + vRemote("rcommand.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
>
> return 0;
> }
>
>> =====================================================================================================================
>> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
>> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sleep 5 &&
>> sctp_test -H 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c
>> -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 &"
>> Connected.
>>
>> Fedora release 10 (Cambridge)
>> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>>
>> L3Switch login: root
>> Password:
>> Last login: Tue Dec 28 13:03:08 on ttyS0
>> [root@L3Switch ~]#
>> [root@L3Switch ~]# ~.
>> Disconnected.
>> ro...@lo...$
>> ro...@lo...$
>> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
>> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
>> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
>> -o 1 >/tmp/tstcmd.log 2>&1 &"
>> Connected.
>>
>> Fedora release 10 (Cambridge)
>> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>>
>> L3Switch login: root
>> Password:
>> Last login: Tue Dec 28 13:06:41 on ttyS0
>> [root@L3Switch ~]#
>> [root@L3Switch ~]# ~.
>> Disconnected.
>> ro...@lo...$
>> ro...@lo...$
>> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommand.rmt
>> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
>> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
>> -o 1 >/tmp/tstcmd.log 2>&1 &"
>> Connected.
>>
>> Fedora release 10 (Cambridge)
>> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>>
>> L3Switch login: root
>> Password:
>> Last login: Tue Dec 28 13:06:56 on ttyS0
>> [root@L3Switch ~]#
>> -s -c -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 & -h 192.168.0.100 -p 2009 -T
>> [1] 12818
>> [root@L3Switch ~]# sendMessagesSync: never got sctp_test -H
>> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
>> -o 1 >/tmp/tstcmd.log 2>&1 &
>> echo $?
>> 0
>> [roo~.
>> Disconnected.
>> ro...@lo...$
>> ro...@lo...$
>> =====================================================================================================================
>>
>> FILE: rcommandasync.rmt
>> ~~~~~~~~~~
>> use V6evalRemote;
>>
>> $rOpt_timeout = 5 if ! defined $rOpt_timeout;
>>
>> rOpen() || goto error;
>> rLogin($rOpt_timeout) || goto error;
>>
>> rCommandAsync("$rOpt_cmd ", 15) || goto error;
>>
>> rLogout($rOpt_timeout) || goto error;
>>
>> rClose();
>> exit($V6evalRemote::exitPass);
>>
>> error:
>> rClose();
>> exit($V6evalRemote::exitFail);
>> ~~~~~~~~~~~~~
>>
>> Kindly give your suggestions.
>>
>> Thanks,
>> Arif
>>
>
|
|
From: Mohd. A. <moh...@gm...> - 2010-12-29 01:38:52
|
Hi Wei,
Thanks for the response!
I tried the same yesterday.
TN:
File: SCTP.pm
Function: sub sctpRemoteCommandAsync and sub sctpRemoteCommandAsyncDelay
Statement: vRemote("rcommand.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
NUT:
The command $cmd get executed. The NUT sends a INIT to TN, the TN
replies with INIT ACK, but then NUT replies with an ABORT instead of
COOKIE ECHO.
Reason: $cmd at NUT dies immediately just after sending INIT to TN.
I'll reply to other queries of yours once i reach to the LAB.
Can there be any other alternative?
Please suggest.
Thanks,
Arif
On Wed, Dec 29, 2010 at 6:50 AM, Wei Yongjun <yj...@cn...> wrote:
> Hi
>
>> Hi Wei,
>>
>> Thanks for the response!
>>
>> Can you please tell me what does rcommandasync or rcommandsync command
>> exactly does?
>
> rcommandsync wait util command return, but rcommandasync do not wait.
>
>
>> Does it use any service which may not be available on NUT or TN?
>
> It does not use any service.
>
>> Please find below the output of the commands:
>> a)rcommandasync.rmt ==> /tmp/tstcmd.log doesn't created at NUT
>> b)rcommandasync.rmt but without using sleep ==> /tmp/tstcmd.log
>> doesn't created at NUT
>> c)rcommand.rmt ==> /tmp/tstcmd.log created at NUT
>> d)cat rcommandasync.rmt
>
> It seems the rcommandasync.rmt did not run correctly on
> your system. Your using default shell bash on NUT?
>
> Can your try the following patch for sctp test tool, and check
> whether ./NormalInitClient.seq works after patch?
>
> --- a/common/SCTP.pm 2010-07-21 05:37:21.000000000 -0400
> +++ b/common/SCTP.pm 2010-12-28 20:06:56.000000000 -0500
> @@ -1562,7 +1564,8 @@ sub sctpRemoteCommandAsync($) {
> }
> }
>
> - vRemote("rcommandasync.rmt", "cmd=\"$cmd\"") && return 1;
> + #vRemote("rcommandasync.rmt", "cmd=\"$cmd\"") && return 1;
> + vRemote("rcommand.rmt", "cmd=\"$cmd\"") && return 1;
>
> return 0;
> }
> @@ -1582,7 +1585,8 @@ sub sctpRemoteCommandAsyncDelay($;$) {
> $cmd .= " > /tmp/tstcmd.log 2>&1";
> }
>
> - vRemote("rcommandasync.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
> + #vRemote("rcommandasync.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
> + vRemote("rcommand.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
>
> return 0;
> }
>
>> =====================================================================================================================
>> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
>> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sleep 5 &&
>> sctp_test -H 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c
>> -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 &"
>> Connected.
>>
>> Fedora release 10 (Cambridge)
>> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>>
>> L3Switch login: root
>> Password:
>> Last login: Tue Dec 28 13:03:08 on ttyS0
>> [root@L3Switch ~]#
>> [root@L3Switch ~]# ~.
>> Disconnected.
>> ro...@lo...$
>> ro...@lo...$
>> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
>> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
>> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
>> -o 1 >/tmp/tstcmd.log 2>&1 &"
>> Connected.
>>
>> Fedora release 10 (Cambridge)
>> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>>
>> L3Switch login: root
>> Password:
>> Last login: Tue Dec 28 13:06:41 on ttyS0
>> [root@L3Switch ~]#
>> [root@L3Switch ~]# ~.
>> Disconnected.
>> ro...@lo...$
>> ro...@lo...$
>> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommand.rmt
>> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
>> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
>> -o 1 >/tmp/tstcmd.log 2>&1 &"
>> Connected.
>>
>> Fedora release 10 (Cambridge)
>> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>>
>> L3Switch login: root
>> Password:
>> Last login: Tue Dec 28 13:06:56 on ttyS0
>> [root@L3Switch ~]#
>> -s -c -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 & -h 192.168.0.100 -p 2009 -T
>> [1] 12818
>> [root@L3Switch ~]# sendMessagesSync: never got sctp_test -H
>> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
>> -o 1 >/tmp/tstcmd.log 2>&1 &
>> echo $?
>> 0
>> [roo~.
>> Disconnected.
>> ro...@lo...$
>> ro...@lo...$
>> =====================================================================================================================
>>
>> FILE: rcommandasync.rmt
>> ~~~~~~~~~~
>> use V6evalRemote;
>>
>> $rOpt_timeout = 5 if ! defined $rOpt_timeout;
>>
>> rOpen() || goto error;
>> rLogin($rOpt_timeout) || goto error;
>>
>> rCommandAsync("$rOpt_cmd ", 15) || goto error;
>>
>> rLogout($rOpt_timeout) || goto error;
>>
>> rClose();
>> exit($V6evalRemote::exitPass);
>>
>> error:
>> rClose();
>> exit($V6evalRemote::exitFail);
>> ~~~~~~~~~~~~~
>>
>> Kindly give your suggestions.
>>
>> Thanks,
>> Arif
>>
>
|
|
From: Wei Y. <yj...@cn...> - 2010-12-29 01:20:32
|
Hi
> Hi Wei,
>
> Thanks for the response!
>
> Can you please tell me what does rcommandasync or rcommandsync command
> exactly does?
rcommandsync wait util command return, but rcommandasync do not wait.
> Does it use any service which may not be available on NUT or TN?
It does not use any service.
> Please find below the output of the commands:
> a)rcommandasync.rmt ==> /tmp/tstcmd.log doesn't created at NUT
> b)rcommandasync.rmt but without using sleep ==> /tmp/tstcmd.log
> doesn't created at NUT
> c)rcommand.rmt ==> /tmp/tstcmd.log created at NUT
> d)cat rcommandasync.rmt
It seems the rcommandasync.rmt did not run correctly on
your system. Your using default shell bash on NUT?
Can your try the following patch for sctp test tool, and check
whether ./NormalInitClient.seq works after patch?
--- a/common/SCTP.pm 2010-07-21 05:37:21.000000000 -0400
+++ b/common/SCTP.pm 2010-12-28 20:06:56.000000000 -0500
@@ -1562,7 +1564,8 @@ sub sctpRemoteCommandAsync($) {
}
}
- vRemote("rcommandasync.rmt", "cmd=\"$cmd\"") && return 1;
+ #vRemote("rcommandasync.rmt", "cmd=\"$cmd\"") && return 1;
+ vRemote("rcommand.rmt", "cmd=\"$cmd\"") && return 1;
return 0;
}
@@ -1582,7 +1585,8 @@ sub sctpRemoteCommandAsyncDelay($;$) {
$cmd .= " > /tmp/tstcmd.log 2>&1";
}
- vRemote("rcommandasync.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
+ #vRemote("rcommandasync.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
+ vRemote("rcommand.rmt", "cmd=\"sleep $dalay && $cmd\"") && return 1;
return 0;
}
> =====================================================================================================================
> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sleep 5 &&
> sctp_test -H 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c
> -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 &"
> Connected.
>
> Fedora release 10 (Cambridge)
> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>
> L3Switch login: root
> Password:
> Last login: Tue Dec 28 13:03:08 on ttyS0
> [root@L3Switch ~]#
> [root@L3Switch ~]# ~.
> Disconnected.
> ro...@lo...$
> ro...@lo...$
> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
> -o 1 >/tmp/tstcmd.log 2>&1 &"
> Connected.
>
> Fedora release 10 (Cambridge)
> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>
> L3Switch login: root
> Password:
> Last login: Tue Dec 28 13:06:41 on ttyS0
> [root@L3Switch ~]#
> [root@L3Switch ~]# ~.
> Disconnected.
> ro...@lo...$
> ro...@lo...$
> ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommand.rmt
> -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
> -o 1 >/tmp/tstcmd.log 2>&1 &"
> Connected.
>
> Fedora release 10 (Cambridge)
> Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
>
> L3Switch login: root
> Password:
> Last login: Tue Dec 28 13:06:56 on ttyS0
> [root@L3Switch ~]#
> -s -c -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 & -h 192.168.0.100 -p 2009 -T
> [1] 12818
> [root@L3Switch ~]# sendMessagesSync: never got sctp_test -H
> 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
> -o 1 >/tmp/tstcmd.log 2>&1 &
> echo $?
> 0
> [roo~.
> Disconnected.
> ro...@lo...$
> ro...@lo...$
> =====================================================================================================================
>
> FILE: rcommandasync.rmt
> ~~~~~~~~~~
> use V6evalRemote;
>
> $rOpt_timeout = 5 if ! defined $rOpt_timeout;
>
> rOpen() || goto error;
> rLogin($rOpt_timeout) || goto error;
>
> rCommandAsync("$rOpt_cmd ", 15) || goto error;
>
> rLogout($rOpt_timeout) || goto error;
>
> rClose();
> exit($V6evalRemote::exitPass);
>
> error:
> rClose();
> exit($V6evalRemote::exitFail);
> ~~~~~~~~~~~~~
>
> Kindly give your suggestions.
>
> Thanks,
> Arif
>
|
|
From: Mohd. A. <moh...@gm...> - 2010-12-29 00:55:58
|
Hi Wei,
Thanks for the response!
Can you please tell me what does rcommandasync or rcommandsync command
exactly does?
Does it use any service which may not be available on NUT or TN?
Please find below the output of the commands:
a)rcommandasync.rmt ==> /tmp/tstcmd.log doesn't created at NUT
b)rcommandasync.rmt but without using sleep ==> /tmp/tstcmd.log
doesn't created at NUT
c)rcommand.rmt ==> /tmp/tstcmd.log created at NUT
d)cat rcommandasync.rmt
=====================================================================================================================
ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
-t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sleep 5 &&
sctp_test -H 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c
-1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 &"
Connected.
Fedora release 10 (Cambridge)
Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
L3Switch login: root
Password:
Last login: Tue Dec 28 13:03:08 on ttyS0
[root@L3Switch ~]#
[root@L3Switch ~]# ~.
Disconnected.
ro...@lo...$
ro...@lo...$
ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt
-t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
-o 1 >/tmp/tstcmd.log 2>&1 &"
Connected.
Fedora release 10 (Cambridge)
Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
L3Switch login: root
Password:
Last login: Tue Dec 28 13:06:41 on ttyS0
[root@L3Switch ~]#
[root@L3Switch ~]# ~.
Disconnected.
ro...@lo...$
ro...@lo...$
ro...@lo...$/usr/local/v6eval//bin/linux-v6//rcommand.rmt
-t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H
192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
-o 1 >/tmp/tstcmd.log 2>&1 &"
Connected.
Fedora release 10 (Cambridge)
Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0)
L3Switch login: root
Password:
Last login: Tue Dec 28 13:06:56 on ttyS0
[root@L3Switch ~]#
-s -c -1352 -X 1 -x 1 -o 1 >/tmp/tstcmd.log 2>&1 & -h 192.168.0.100 -p 2009 -T
[1] 12818
[root@L3Switch ~]# sendMessagesSync: never got sctp_test -H
192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1
-o 1 >/tmp/tstcmd.log 2>&1 &
echo $?
0
[roo~.
Disconnected.
ro...@lo...$
ro...@lo...$
=====================================================================================================================
FILE: rcommandasync.rmt
~~~~~~~~~~
use V6evalRemote;
$rOpt_timeout = 5 if ! defined $rOpt_timeout;
rOpen() || goto error;
rLogin($rOpt_timeout) || goto error;
rCommandAsync("$rOpt_cmd ", 15) || goto error;
rLogout($rOpt_timeout) || goto error;
rClose();
exit($V6evalRemote::exitPass);
error:
rClose();
exit($V6evalRemote::exitFail);
~~~~~~~~~~~~~
Kindly give your suggestions.
Thanks,
Arif
|
|
From: Wei Y. <yj...@cn...> - 2010-12-28 07:00:14
|
Hi > Hi Wei, > Please find attached the log.tar.gz that contains html file and the standard output: > > Following command is executed at TN: > ro...@lo...$./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html > It seems everything is OK, but... can you try the following on TN: #/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sleep 5 && sctp_test -H 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1 -o 1 > /tmp/tstcmd.log 2>&1 &" #/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt -t linux-v6 -u root -p password -d ttyS0 -o 1 cmd="sctp_test -H 192.168.0.21 -P 3009 -h 192.168.0.100 -p 2009 -T -s -c -1352 -X 1 -x 1 -o 1 > /tmp/tstcmd.log 2>&1 &" #cat /usr/local/v6eval//bin/linux-v6//rcommandasync.rmt maybe the rcommandasync.rmt file is not correct. > > On checking at NUT: > /tmp/tstcmd.log is not created when the above command is executed at TN. > > Please help. > > Thanks, > Arif > > > -----Original Message----- > From: Mohd Arif > Sent: Tue 12/28/2010 9:14 AM > To: Mohd Arif; Mohd Arif; Wei Yongjun > Cc: net...@li... > Subject: RE: [Networktest-sctp] [SCTP] Problem in execution of SCTP firsttest case, please help. > > Hey Wei, > Previously i was not using /usr/local/v6eval/sctp/init directory. > I was using a local directory so the configuration files (tn.def and nut.def) are not updated in this location. > Please wait. I am sending you the logs once again. > > Thanks, > Arif > > > -----Original Message----- > From: Mohd Arif > Sent: Tue 12/28/2010 9:06 AM > To: Mohd Arif; Wei Yongjun > Cc: net...@li... > Subject: RE: [Networktest-sctp] [SCTP] Problem in execution of SCTP firsttest case, please help. > > Hi Wei, > > Please find attached the 1.html > It shows some error. > > I executed the following command: > ============================================================================================== > ro...@lo...$./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html > ##### Log will be outputed to 1.html > ##### Looking up /usr/local/v6eval//etc//tn.def > ##### TN : RemoteDevice ttyS0 > ##### TN : RemoteDebug 0 > ##### TN : RemoteIntDebug 0 > ##### TN : RemoteLog 1 > ##### TN : RemoteSpeed 0 > ##### TN : RemoteLogout 0 > ##### TN : RemoteMethod serial > ##### Looking up /usr/local/v6eval//etc//nut.def > ##### NUT: System manual > ##### NUT: TargetName FreeBSD 4.9-RELEASE + kame-20040726-freebsd49-snap > ##### NUT: HostName L3Switch > ##### NUT: Type host > ##### NUT: User root > ##### NUT: Password password > V6evalTool.pm No interface to use commonly > TN : > NUT: > Died at /usr/local/lib/perl5/site_perl/5.10.0/V6evalTool.pm line 2597. > BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.10.0/V6evalTool.pm line 2794. > Compilation failed in require at ./NormalInitClient.seq line 41. > BEGIN failed--compilation aborted at ./NormalInitClient.seq line 41. > ===================================================================================== > > Is there any problem with v6eval tool configuration. Kindly suggest!!! > > Thanks, > Arif > > > -----Original Message----- > From: Mohd Arif [mailto:moh...@ne...] > Sent: Tue 12/28/2010 7:14 AM > To: Wei Yongjun > Cc: net...@li... > Subject: Re: [Networktest-sctp] [SCTP] Problem in execution of SCTP firsttest case, please help. > > Hi Wei, > > Thanks a lot for the reply!!! > > #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 > /tmp/tstcmd.log 2>&1 & > ======> The command is available on my NUT system. I checked it yesterday using CLI in NUT. > For your information, In TN, if i use sctpRemoteCommand($cmd) instead of sctpRemoteCommandAsyncDelay($cmd), "sctp_test" gets executed on my NUT machine. > > As per my observation: > sctpRemoteCommand($cmd) WORKING > sctpRemoteCommandAsync($cmd) NOT WORKING > sctpRemoteCommandAsyncDelay($cmd) NOT WORKING > > TN: > #cd /usr/local/v6eval/sctp/init > #./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html > ======> I will send you the output as soon as i reach to the LAB. > > > The problem maybe is that you using VM as NUT, and the > timer in NUT is not correct, such as sleep 5 will cause more > then 10s's sleep. Any output is helpful. > ======> I am using a physical machine as TN and NUT. > > I urgently needed the suggestions so thanks for your prompt responses :) > > Its early morning just now. I'll reach to my LAB in 1 hour or so and will immediately send you the required logs. > > Thanks, > Arif > > > -----Original Message----- > From: Wei Yongjun [mailto:yj...@cn...] > Sent: Tue 12/28/2010 6:28 AM > To: Mohd Arif > Cc: net...@li... > Subject: Re: [Networktest-sctp] [SCTP] Problem in execution of SCTP first test case, please help. > > Hi, > > > I am probably at the last hurdle in execution of SCTP test > > suite, kindly help, I need your suggestions. > > > > Test Case: ./NormalInitClient.seq -pkt ./NormalInitClient.def > > Can you run the following comands and send me the output? > > TN: > #cd /usr/local/v6eval/sctp/init > #./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html > > > And then, on NUT, your can run: > #cat /tmp/tstcmd.log > #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 > > The problem maybe is that you using VM as NUT, and the > timer in NUT is not correct, such as sleep 5 will cause more > then 10s's sleep. Any output is helpful. > > OR the following command is not avail on your NUT system? > > #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 > /tmp/tstcmd.log 2>&1 & > > > Problem: NUT is not sending any INIT packet to TN. > > My Observation: > > I found that in NUT, "sctp_test -H 192.168.0.21 -P 3185 -h > > 192.168.0.100 -p 2185 -T -s -c -1352 -X 1 -x 1 -o 1 &" was not running > > during the test execution. > > > > On investigation I observed that: > > File: SCTP.pm, > > Subroutine: sctpStartClient > > Statement: sctpRemoteCommandAsyncDelay($cmd) is NOT WORKING. > > > > For test purpose, when I replaced this statement with > > sctpRemoteCommand($cmd); then "sctp_test" command starts running in NUT. > > INIT is sent by NUT but it doesn't send COOKIE_ECHO packet. Instead NUT > > sends ABORT. > > > > Probably because at NUT, "sctp_test" immediately stops after > > sending INIT packet. > > > > Please help!!! > > Why is sctpRemoteCommandAsyncDelay NOT WORKING in my TN machine > > (i386, Fedora 10)??? > > > > Thanks, > > Arif > > > > > > > > DISCLAIMER: > > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > > intended > > for the named recipient(s) only. > > It shall not attach any liability on the originator or NECHCL or its > > affiliates. Any views or opinions presented in > > this email are solely those of the author and may not necessarily reflect the > > opinions of NECHCL or its affiliates. > > Any form of reproduction, dissemination, copying, disclosure, modification, > > distribution and / or publication of > > this message without the prior written consent of the author of this e-mail is > > strictly prohibited. If you have > > received this email in error please delete it and notify the sender > > immediately. . > > ----------------------------------------------------------------------------------------------------------------------- > > > > ------------------------------------------------------------------------------ > > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > > to consolidate database storage, standardize their database environment, and, > > should the need arise, upgrade to a full multi-node Oracle RAC database > > without downtime or disruption > > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > > Networktest-sctp mailing list > > Net...@li... > > https://lists.sourceforge.net/lists/listinfo/networktest-sctp > > > > > > > DISCLAIMER: > ----------------------------------------------------------------------------------------------------------------------- > The contents of this e-mail and any attachment(s) are confidential and > intended > for the named recipient(s) only. > It shall not attach any liability on the originator or NECHCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the > opinions of NECHCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail is > strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. . > ----------------------------------------------------------------------------------------------------------------------- > > > > > > > DISCLAIMER: > ----------------------------------------------------------------------------------------------------------------------- > The contents of this e-mail and any attachment(s) are confidential and > intended > for the named recipient(s) only. > It shall not attach any liability on the originator or NECHCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the > opinions of NECHCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail is > strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. . > ----------------------------------------------------------------------------------------------------------------------- |
|
From: Mohd A. <moh...@ne...> - 2010-12-28 03:42:29
|
Hey Wei, Previously i was not using /usr/local/v6eval/sctp/init directory. I was using a local directory so the configuration files (tn.def and nut.def) are not updated in this location. Please wait. I am sending you the logs once again. Thanks, Arif -----Original Message----- From: Mohd Arif Sent: Tue 12/28/2010 9:06 AM To: Mohd Arif; Wei Yongjun Cc: net...@li... Subject: RE: [Networktest-sctp] [SCTP] Problem in execution of SCTP firsttest case, please help. Hi Wei, Please find attached the 1.html It shows some error. I executed the following command: ============================================================================================== ro...@lo...$./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html ##### Log will be outputed to 1.html ##### Looking up /usr/local/v6eval//etc//tn.def ##### TN : RemoteDevice ttyS0 ##### TN : RemoteDebug 0 ##### TN : RemoteIntDebug 0 ##### TN : RemoteLog 1 ##### TN : RemoteSpeed 0 ##### TN : RemoteLogout 0 ##### TN : RemoteMethod serial ##### Looking up /usr/local/v6eval//etc//nut.def ##### NUT: System manual ##### NUT: TargetName FreeBSD 4.9-RELEASE + kame-20040726-freebsd49-snap ##### NUT: HostName L3Switch ##### NUT: Type host ##### NUT: User root ##### NUT: Password password V6evalTool.pm No interface to use commonly TN : NUT: Died at /usr/local/lib/perl5/site_perl/5.10.0/V6evalTool.pm line 2597. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.10.0/V6evalTool.pm line 2794. Compilation failed in require at ./NormalInitClient.seq line 41. BEGIN failed--compilation aborted at ./NormalInitClient.seq line 41. ===================================================================================== Is there any problem with v6eval tool configuration. Kindly suggest!!! Thanks, Arif -----Original Message----- From: Mohd Arif [mailto:moh...@ne...] Sent: Tue 12/28/2010 7:14 AM To: Wei Yongjun Cc: net...@li... Subject: Re: [Networktest-sctp] [SCTP] Problem in execution of SCTP firsttest case, please help. Hi Wei, Thanks a lot for the reply!!! #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 > /tmp/tstcmd.log 2>&1 & ======> The command is available on my NUT system. I checked it yesterday using CLI in NUT. For your information, In TN, if i use sctpRemoteCommand($cmd) instead of sctpRemoteCommandAsyncDelay($cmd), "sctp_test" gets executed on my NUT machine. As per my observation: sctpRemoteCommand($cmd) WORKING sctpRemoteCommandAsync($cmd) NOT WORKING sctpRemoteCommandAsyncDelay($cmd) NOT WORKING TN: #cd /usr/local/v6eval/sctp/init #./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html ======> I will send you the output as soon as i reach to the LAB. The problem maybe is that you using VM as NUT, and the timer in NUT is not correct, such as sleep 5 will cause more then 10s's sleep. Any output is helpful. ======> I am using a physical machine as TN and NUT. I urgently needed the suggestions so thanks for your prompt responses :) Its early morning just now. I'll reach to my LAB in 1 hour or so and will immediately send you the required logs. Thanks, Arif -----Original Message----- From: Wei Yongjun [mailto:yj...@cn...] Sent: Tue 12/28/2010 6:28 AM To: Mohd Arif Cc: net...@li... Subject: Re: [Networktest-sctp] [SCTP] Problem in execution of SCTP first test case, please help. Hi, > I am probably at the last hurdle in execution of SCTP test > suite, kindly help, I need your suggestions. > > Test Case: ./NormalInitClient.seq -pkt ./NormalInitClient.def Can you run the following comands and send me the output? TN: #cd /usr/local/v6eval/sctp/init #./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html And then, on NUT, your can run: #cat /tmp/tstcmd.log #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 The problem maybe is that you using VM as NUT, and the timer in NUT is not correct, such as sleep 5 will cause more then 10s's sleep. Any output is helpful. OR the following command is not avail on your NUT system? #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 > /tmp/tstcmd.log 2>&1 & > Problem: NUT is not sending any INIT packet to TN. > My Observation: > I found that in NUT, "sctp_test -H 192.168.0.21 -P 3185 -h > 192.168.0.100 -p 2185 -T -s -c -1352 -X 1 -x 1 -o 1 &" was not running > during the test execution. > > On investigation I observed that: > File: SCTP.pm, > Subroutine: sctpStartClient > Statement: sctpRemoteCommandAsyncDelay($cmd) is NOT WORKING. > > For test purpose, when I replaced this statement with > sctpRemoteCommand($cmd); then "sctp_test" command starts running in NUT. > INIT is sent by NUT but it doesn't send COOKIE_ECHO packet. Instead NUT > sends ABORT. > > Probably because at NUT, "sctp_test" immediately stops after > sending INIT packet. > > Please help!!! > Why is sctpRemoteCommandAsyncDelay NOT WORKING in my TN machine > (i386, Fedora 10)??? > > Thanks, > Arif > > > > DISCLAIMER: > ----------------------------------------------------------------------------------------------------------------------- > The contents of this e-mail and any attachment(s) are confidential and > intended > for the named recipient(s) only. > It shall not attach any liability on the originator or NECHCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the > opinions of NECHCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail is > strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. . > ----------------------------------------------------------------------------------------------------------------------- > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Networktest-sctp mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/networktest-sctp > DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or NECHCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of NECHCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. . ----------------------------------------------------------------------------------------------------------------------- DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or NECHCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of NECHCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. . ----------------------------------------------------------------------------------------------------------------------- |
|
From: Mohd A. <moh...@ne...> - 2010-12-28 03:31:46
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN""http://www.w3c.org/TR/REC-html40/strict.dtd"> <HTML> <HEAD> <TITLE>IPv6 Conformance Test Report</TITLE> <META NAME="GENERATOR" CONTENT="TAHI IPv6 Conformance Test Kit"> </HEAD> <BODY BGCOLOR="#F0F0F0"> <H1>Test Information</H1> <TABLE BORDER=1> <TR><TD>Title</TD><TD>NormalInitClient</TD></TR> <TR><TD>CommandLine</TD><TD>./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html</TD></TR> <TR><TD>TestVersion</TD><TD>REL_1_0_0</TD></TR> <TR><TD>ToolVersion</TD><TD>REL_3_1_0</TD></TR> <TR><TD>Start</TD><TD>2010/12/28 08:57:11</TD></TR> <TR><TD>Tn</TD><TD>/usr/local/v6eval//etc//tn.def</TD></TR> <TR><TD>Nu</TD><TD>/usr/local/v6eval//etc//nut.def</TD></TR> <TR><TD>Pkt</TD><TD>./NormalInitClient.def</TD></TR> <TR><TD>System</TD><TD>manual</TD></TR> <TR><TD>TargetName</TD><TD>FreeBSD 4.9-RELEASE + kame-20040726-freebsd49-snap</TD></TR> <TR><TD>HostName</TD><TD>L3Switch</TD></TR> <TR><TD>Type</TD><TD>host</TD></TR> </TABLE> <FONT COLOR="#FF0000">!!! V6evalTool.pm No interface to use commonly TN : NUT: </FONT><BR><TR><TD>08:57:11</TD><TD>End</TD></TR> </TABLE> <HR><H1>Packet Reverse Log</H1> <UL> </UL> </BODY> </HTML> <!-- cf398dbf7d4c55ceea8c490b8a06c113 --> <!-- e84341fde9a6aec2f83b2c087adf5462 --> <!-- e0acff6a5c5332b2df56361b3c4420c0 --> |
|
From: Mohd A. <moh...@ne...> - 2010-12-28 01:39:53
|
Hi Wei, Thanks a lot for the reply!!! #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 > /tmp/tstcmd.log 2>&1 & ======> The command is available on my NUT system. I checked it yesterday using CLI in NUT. For your information, In TN, if i use sctpRemoteCommand($cmd) instead of sctpRemoteCommandAsyncDelay($cmd), "sctp_test" gets executed on my NUT machine. As per my observation: sctpRemoteCommand($cmd) WORKING sctpRemoteCommandAsync($cmd) NOT WORKING sctpRemoteCommandAsyncDelay($cmd) NOT WORKING TN: #cd /usr/local/v6eval/sctp/init #./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html ======> I will send you the output as soon as i reach to the LAB. The problem maybe is that you using VM as NUT, and the timer in NUT is not correct, such as sleep 5 will cause more then 10s's sleep. Any output is helpful. ======> I am using a physical machine as TN and NUT. I urgently needed the suggestions so thanks for your prompt responses :) Its early morning just now. I'll reach to my LAB in 1 hour or so and will immediately send you the required logs. Thanks, Arif -----Original Message----- From: Wei Yongjun [mailto:yj...@cn...] Sent: Tue 12/28/2010 6:28 AM To: Mohd Arif Cc: net...@li... Subject: Re: [Networktest-sctp] [SCTP] Problem in execution of SCTP first test case, please help. Hi, > I am probably at the last hurdle in execution of SCTP test > suite, kindly help, I need your suggestions. > > Test Case: ./NormalInitClient.seq -pkt ./NormalInitClient.def Can you run the following comands and send me the output? TN: #cd /usr/local/v6eval/sctp/init #./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html And then, on NUT, your can run: #cat /tmp/tstcmd.log #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 The problem maybe is that you using VM as NUT, and the timer in NUT is not correct, such as sleep 5 will cause more then 10s's sleep. Any output is helpful. OR the following command is not avail on your NUT system? #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 > /tmp/tstcmd.log 2>&1 & > Problem: NUT is not sending any INIT packet to TN. > My Observation: > I found that in NUT, "sctp_test -H 192.168.0.21 -P 3185 -h > 192.168.0.100 -p 2185 -T -s -c -1352 -X 1 -x 1 -o 1 &" was not running > during the test execution. > > On investigation I observed that: > File: SCTP.pm, > Subroutine: sctpStartClient > Statement: sctpRemoteCommandAsyncDelay($cmd) is NOT WORKING. > > For test purpose, when I replaced this statement with > sctpRemoteCommand($cmd); then "sctp_test" command starts running in NUT. > INIT is sent by NUT but it doesn't send COOKIE_ECHO packet. Instead NUT > sends ABORT. > > Probably because at NUT, "sctp_test" immediately stops after > sending INIT packet. > > Please help!!! > Why is sctpRemoteCommandAsyncDelay NOT WORKING in my TN machine > (i386, Fedora 10)??? > > Thanks, > Arif > > > > DISCLAIMER: > ----------------------------------------------------------------------------------------------------------------------- > The contents of this e-mail and any attachment(s) are confidential and > intended > for the named recipient(s) only. > It shall not attach any liability on the originator or NECHCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the > opinions of NECHCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail is > strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. . > ----------------------------------------------------------------------------------------------------------------------- > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Networktest-sctp mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/networktest-sctp > DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or NECHCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of NECHCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. . ----------------------------------------------------------------------------------------------------------------------- |
|
From: Wei Y. <yj...@cn...> - 2010-12-28 00:58:10
|
Hi, > I am probably at the last hurdle in execution of SCTP test > suite, kindly help, I need your suggestions. > > Test Case: ./NormalInitClient.seq -pkt ./NormalInitClient.def Can you run the following comands and send me the output? TN: #cd /usr/local/v6eval/sctp/init #./NormalInitClient.seq -pkt ./NormalInitClient.def -trace -log 1.html And then, on NUT, your can run: #cat /tmp/tstcmd.log #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 The problem maybe is that you using VM as NUT, and the timer in NUT is not correct, such as sleep 5 will cause more then 10s's sleep. Any output is helpful. OR the following command is not avail on your NUT system? #sleep 5 && sctp_test -H 192.168.0.21 -P 4278 -h 192.168.0.100 -p 3278 -T -s -c -1352 -X 1 -x 1 -o 1 > /tmp/tstcmd.log 2>&1 & > Problem: NUT is not sending any INIT packet to TN. > My Observation: > I found that in NUT, "sctp_test -H 192.168.0.21 -P 3185 -h > 192.168.0.100 -p 2185 -T -s -c -1352 -X 1 -x 1 -o 1 &" was not running > during the test execution. > > On investigation I observed that: > File: SCTP.pm, > Subroutine: sctpStartClient > Statement: sctpRemoteCommandAsyncDelay($cmd) is NOT WORKING. > > For test purpose, when I replaced this statement with > sctpRemoteCommand($cmd); then "sctp_test" command starts running in NUT. > INIT is sent by NUT but it doesn't send COOKIE_ECHO packet. Instead NUT > sends ABORT. > > Probably because at NUT, "sctp_test" immediately stops after > sending INIT packet. > > Please help!!! > Why is sctpRemoteCommandAsyncDelay NOT WORKING in my TN machine > (i386, Fedora 10)??? > > Thanks, > Arif > > > > DISCLAIMER: > ----------------------------------------------------------------------------------------------------------------------- > The contents of this e-mail and any attachment(s) are confidential and > intended > for the named recipient(s) only. > It shall not attach any liability on the originator or NECHCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the > opinions of NECHCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail is > strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. . > ----------------------------------------------------------------------------------------------------------------------- > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Networktest-sctp mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/networktest-sctp > |
|
From: Mohd A. <moh...@ne...> - 2010-12-27 15:39:08
|
Hi All, I am probably at the last hurdle in execution of SCTP test suite, kindly help, I need your suggestions. Test Case: ./NormalInitClient.seq -pkt ./NormalInitClient.def Problem: NUT is not sending any INIT packet to TN. My Observation: I found that in NUT, "sctp_test -H 192.168.0.21 -P 3185 -h 192.168.0.100 -p 2185 -T -s -c -1352 -X 1 -x 1 -o 1 &" was not running during the test execution. On investigation I observed that: File: SCTP.pm, Subroutine: sctpStartClient Statement: sctpRemoteCommandAsyncDelay($cmd) is NOT WORKING. For test purpose, when I replaced this statement with sctpRemoteCommand($cmd); then "sctp_test" command starts running in NUT. INIT is sent by NUT but it doesn't send COOKIE_ECHO packet. Instead NUT sends ABORT. Probably because at NUT, "sctp_test" immediately stops after sending INIT packet. Please help!!! Why is sctpRemoteCommandAsyncDelay NOT WORKING in my TN machine (i386, Fedora 10)??? Thanks, Arif DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or NECHCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of NECHCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. . ----------------------------------------------------------------------------------------------------------------------- |
|
From: Mohd A. <moh...@ne...> - 2010-12-27 08:06:52
|
Hi Wei, Thanks a lot for your suggestions!!! But I am again stuck and need your help. The command "cu" is now asking for username and password :) Actually "mingetty" was not functioning properly, so I have used "agetty" But another problem has occurred. Can you please clarify the following two points: 1. The TN machine should have kernel support of SCTP or not? 2. Major Problem: NUT is not sending INIT chunk to TN in TEST 1. Using CLI of NUT, sctp_test command is working fine on NUT. Please find below the log of TN when "make clean v4test" is executed: ========== TEST 1 ========== ./NormalInitClient.seq -pkt ./NormalInitClient.def -log 1.html -ti "Normal Association of SCTP Client" Start Capturing Packets (Link0) =============== sctpCheckEnv =============== Connected. Fedora release 10 (Cambridge) Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0) L3Switch login: root Password: Last login: Mon Dec 27 13:27:46 on ttyS0 [root@L3Switch ~]# [root@L3Switch ~]# killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp _status; checksctp sctp_test: no process killed sctp_darn: no process killed sctp_status: no process killed SCTP supported [root@L3Switch ~]# sendMessagesSync: never got killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_status; checksctp echo $? 0 [roo~. Disconnected. ============== sctpPingToHost ============== Send Echo Request on Link0 Recv ARP Request on Link0 Send ARP Reply on Link0 Recv Echo Reply on Link0 ================ Main Test ================= ============== sctpStartClient ============= Connected. Fedora release 10 (Cambridge) Kernel 2.6.27.5-117.fc10.i686 on an i686 (ttyS0) L3Switch login: root Password: Last login: Mon Dec 27 13:28:13 on ttyS0 [root@L3Switch ~]# [root@L3Switch ~]# ~. Disconnected. ================= vListen ================== Cannot receive SCTP CHUNK_INIT NG -> FAIL Best Regards, Mohd. Arif ________________________________________ From: Wei Yongjun [mailto:yj...@cn...] Sent: Thursday, December 23, 2010 9:23 AM To: Mohd Arif Cc: net...@li... Subject: Re: [Networktest-sctp] Please Help: Problem in "make config" of SCTP Conformance Test Suite Hi Wei, Yes, i have made following entries in NUT. Just for you information, i am using TN as root.(Though i know it doesn't matter) I don't remember i restarted the system after that or not. Let me try it in the LAB and then i will revert back to you. Can you please tell me that is it OK to use fedora 10 instead of Free BSD? Actually "INSTALL.v6eval" file in v6eval-3.1.0 ask for several settings, but i realized that they are FreeBSD specific. orig v6eval can only use Free BSD, with the patch, you can use fedora 10. http://networktest.sourceforge.net/files/v6eval-3.1.0-linux-fnst.patch Thanks, Arif -----Original Message----- From: Wei Yongjun [mailto:yj...@cn...] Sent: Thu 12/23/2010 7:36 AM To: Mohd Arif Cc: net...@li... Subject: Re: [Networktest-sctp] Please Help: Problem in "make config" of SCTP Conformance Test Suite > Hi Wei, > > OK! Thanks for your responses. > > The cu doesn't ask for any username or password in my case. > When i first used "make config", It gave me an error that "cu" command is not available in my machine. > Then i installed "uucp" package, so that "cu" command start working. > > Is something more needs to be done for "cu" command? I've never used it before. > Do you have the following in yout NUT, not TN. 1). Add following line to /etc/inittab: S0:2345:respawn:/sbin/mingetty ttyS0 2). Add following line to /etc/securetty: ttyS0 After those config and reboot NUT, cu can get login output. > > > Thanks, > Arif > > -----Original Message----- > From: Wei Yongjun [mailto:yj...@cn...] > Sent: Thu 12/23/2010 7:22 AM > To: Mohd Arif > Cc: net...@li... > Subject: Re: [Networktest-sctp] Please Help: Problem in "make config" of SCTP Conformance Test Suite > > > > Hi Wei, > > > > Thanks for the response!!! > > > > I will send the complete "make config" input and output as soon as i reach to my test set up. > > In the meantime,i would like to inform you following points: > > > > 1. Though it is mentioned to use BSD version for v6-eval tool, I'm using Fedora 10 machine as TN. > > I think i should use BSD version only. Kindly suggest. > > > > 2. For verification of serial connection, I did following two things: > > > > a) I have verified the serial communication using minicom. > > b) When i execute cu -l /dev/ttyS0 command, following 2 lines appear on the screen: > > ====== > > cu -l /dev/ttyS0 > > Connected > > > > after 'Connected' > 'login:' will be output to your, and you can login to the NUT > after input user/password if serial connection has no problem. > > > ====== > > Then when i input any character, the characters appear on the NUT machine. > > > > 3. I've followed only the steps mentioned in "usage.html". > > Apart from that, i've corrected the "config.in" for "make config". > > But i have not configured other packages involved in the test suite like v6eval,v6eval-remotes etc. > > > > Kindly give your valuable suggestions. > > > > Thanks, > > Arif > > > > > > -----Original Message----- > > From: Wei Yongjun [mailto:yj...@cn...] > > Sent: Thu 12/23/2010 6:18 AM > > To: Mohd Arif > > Cc: net...@li... > > Subject: Re: [Networktest-sctp] Please Help: Problem in "make config" of SCTP Conformance Test Suite > > > > > > > Hi All, > > > > > > I followed all the steps mentioned in below link: > > > http://networktest.sourceforge.net/usage.html/ > > > > > > When I tried "make config" on TN machine (Directory: sctp-1.0.0/config) > > > I am getting following error: > > > > > > ==== Start auto configue for test, please wait ==== > > > * Configure Tester Node (TN) > > > - Configure IP Address of eth1 > > > - Restart Inteface eth1 > > > - Configure IP Address of eth2 > > > - Restart Inteface eth2 > > > - Write Configure Information about the Tester Node (TN) > > > > > > * Configure Node Under Test (NUT) > > > - Configure IP Address of eth1 > > > > > > rLogin: Retry error (> 8) > > > Before: ``ed. > > > '' > > > Match: ``onnect'' > > > After: ``ed. > > > '' > > > Cannot open No such file or directory > > > make[1]: *** [config] Error 2 > > > > > > Please help!!!! Time is running out for me. :( > > > Just for your information- rlogin is working on my PC, serial connection is also working properly. > > > > can you send the input and output before "==== Start auto configue for test, please wait ====" > > > > From the error information, I am sure the serial config is not correct. > > > > > > > Thanks, > > > Arif > > > > > > > > > > > > DISCLAIMER: > > > ----------------------------------------------------------------------------------------------------------------------- > > > The contents of this e-mail and any attachment(s) are confidential and > > > intended > > > for the named recipient(s) only. > > > It shall not attach any liability on the originator or NECHCL or its > > > affiliates. Any views or opinions presented in > > > this email are solely those of the author and may not necessarily reflect the > > > opinions of NECHCL or its affiliates. > > > Any form of reproduction, dissemination, copying, disclosure, modification, > > > distribution and / or publication of > > > this message without the prior written consent of the author of this e-mail is > > > strictly prohibited. If you have > > > received this email in error please delete it and notify the sender > > > immediately. . > > > ----------------------------------------------------------------------------------------------------------------------- > > > > > > ------------------------------------------------------------------------------ > > > Forrester recently released a report on the Return on Investment (ROI) of > > > Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even > > > within 7 months. Over 3 million businesses have gone Google with Google Apps: > > > an online email calendar, and document program that's accessible from your > > > browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew > > > _______________________________________________ > > > Networktest-sctp mailing list > > > Net...@li... > > > https://lists.sourceforge.net/lists/listinfo/networktest-sctp > > > > > > > DISCLAIMER: > > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > > intended > > for the named recipient(s) only. > > It shall not attach any liability on the originator or NECHCL or its > > affiliates. Any views or opinions presented in > > this email are solely those of the author and may not necessarily reflect the > > opinions of NECHCL or its affiliates. > > Any form of reproduction, dissemination, copying, disclosure, modification, > > distribution and / or publication of > > this message without the prior written consent of the author of this e-mail is > > strictly prohibited. If you have > > received this email in error please delete it and notify the sender > > immediately. . > > ----------------------------------------------------------------------------------------------------------------------- > > DISCLAIMER: > ----------------------------------------------------------------------------------------------------------------------- > The contents of this e-mail and any attachment(s) are confidential and > intended > for the named recipient(s) only. > It shall not attach any liability on the originator or NECHCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the > opinions of NECHCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail is > strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. . > ----------------------------------------------------------------------------------------------------------------------- DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or NECHCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of NECHCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. . ----------------------------------------------------------------------------------------------------------------------- DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or NECHCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of NECHCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. . ----------------------------------------------------------------------------------------------------------------------- |