We are very happy to announce an update of the VERA Runtime libraries and the Vera IXPRouter library. This is mostly a minor update to correct small problems in compiling and using the IXPRouter library. Some relevant changes include: 1) Instructions on using WINE to compile microassembly code. 2) An enhanced user interface for the router 3) Various small bug fixes. The software is available at http://www.cs.princeton.edu/nsg/vera. Please feel free to post any questions. Zuki (for Scott Karlin and Wen Xu) -- Yitzchak Gottlieb zuki@CS.Princeton.EDU
Hi Zuki, I just try out the new released VERA. I met some problem during compiling. 1. I cannot find the file p3tosa.h metioned in Libixprouter/common/src/makefile LIB_HDRS +=p3tosa.h 2. After I comment out the line metioned above, all the Library was compiled succefully; However, when I try to compile IPmm application, it report some error like: ..../Vera/Libixprouter/sa/lib/libIXPRouter.a(control.o)(.text+0x124):fake: relocation truncated to fit: ARM_26 atoi I cannot figure out the reason. Wish you could give me some idea. Thanks, Best Regards, Qiu Qiang
We are very happy to announce an update of the VERA Runtime libraries and the Vera IXPRouter library. This is mostly a minor update to correct small problems in compiling and using the IXPRouter library. Some relevant changes include:
1) Instructions on using WINE to compile microassembly code. 2) An enhanced user interface for the router 3) Various small bug fixes.
The software is available at http://www.cs.princeton.edu/nsg/vera. Please feel free to post any questions.
Zuki (for Scott Karlin and Wen Xu)
-- > Yitzchak Gottlieb zuki@CS.Princeton.EDU
Qiu Qiang, You are quite right, I seemed to have released slightly problematic code. The fix is, as you suggest to comment out that LIB_HDRS line in the Makefile. For the other problem I have attached a patch which should be applied to Vera/Libixprouter/sa/src/control.c it removed references to the atoi function and used a substitute available in Libsck. To apply the patch, simply run # patch control.c controlpatch Remember to keep a copy of the old control.c, and don't hesitate to point out any other bugs that you find. Zuki -- Yitzchak Gottlieb zuki@CS.Princeton.EDU On Sat, 23 Mar 2002, Qiu Qiang wrote:
Hi Zuki,
I just try out the new released VERA. I met some problem during compiling.
1. I cannot find the file p3tosa.h metioned in Libixprouter/common/src/makefile LIB_HDRS +=p3tosa.h
2. After I comment out the line metioned above, all the Library was compiled succefully; However, when I try to compile IPmm application, it report some error like: ..../Vera/Libixprouter/sa/lib/libIXPRouter.a(control.o)(.text+0x124):fake: relocation truncated to fit: ARM_26 atoi
I cannot figure out the reason. Wish you could give me some idea.
Thanks,
Best Regards, Qiu Qiang
Dear Scott and Zuki, It seems somebody raise the same question on how to setup Ping Program on VERA before; however, even I follow the instruction tightly, I still cannot make it work. Here is my system configuration [Host 1] ---> [0]IXP1200[1]<---[Host 2] Host 1: IP Addr. 192.168.133.146, MAC addr. 00:E0:29:00:8A:57" Host 2: IP Addr. 192.168.133.147, MAC addr. 00:E0:29:00:8C:AE" I add the following cache entrys to ipmm.c {"192.168.133.146", "192.168.133.147", "DE:F0:12:34:56:78","00:E0:29:00:8C:AE", 0x01}, {"192.168.133.147", "192.168.133.146", "12:34:56:78:9A:BC","00:E0:29:00:8A:57", 0x00}, Then, compile the Libixprouter.a with VRP. Running IPmm application: sgo ipmm.srec and using all the default setting in the released VERA software. When I try to ping Host 2 from Host 1, from the debug message, It seems that the packets was rcved, but the Microengine cache miss always occurs, and no packet is xmted. I have tried it in both Nov. Released Version and new Released version(With small modification on the atoi function calling in control.c, I guess no overall effect ) Wish you could kindly point out what I am missing. Thanks, Best Regards, Qiu Qiang
Qiu Qiang, The cache entries seem to be right. Are you sending 64 byte packets? (Using ping -s 22). What is the debugging output from the SA at the first cache miss? The first packets into and out of the router will certainly miss in the cache. What is the debugging output on subsequent misses? Zuki -- Yitzchak Gottlieb zuki@CS.Princeton.EDU On Mon, 25 Mar 2002, Qiu Qiang wrote:
Dear Scott and Zuki,
It seems somebody raise the same question on how to setup Ping Program on VERA before; however, even I follow the instruction tightly, I still cannot make it work.
Here is my system configuration
[Host 1] ---> [0]IXP1200[1]<---[Host 2] Host 1: IP Addr. 192.168.133.146, MAC addr. 00:E0:29:00:8A:57" Host 2: IP Addr. 192.168.133.147, MAC addr. 00:E0:29:00:8C:AE"
I add the following cache entrys to ipmm.c {"192.168.133.146", "192.168.133.147", "DE:F0:12:34:56:78","00:E0:29:00:8C:AE", 0x01}, {"192.168.133.147", "192.168.133.146", "12:34:56:78:9A:BC","00:E0:29:00:8A:57", 0x00},
Then, compile the Libixprouter.a with VRP. Running IPmm application: sgo ipmm.srec and using all the default setting in the released VERA software.
When I try to ping Host 2 from Host 1, from the debug message, It seems that the packets was rcved, but the Microengine cache miss always occurs, and no packet is xmted.
I have tried it in both Nov. Released Version and new Released version(With small modification on the atoi function calling in control.c, I guess no overall effect )
Wish you could kindly point out what I am missing.
Thanks,
Best Regards, Qiu Qiang
Dear Zuki, The patch you released works just nice! I have tried ping -s 22, I still cannot make it works. I have attached the debugging message at SA. In your opinion, What could be the problem ? Thanks, Yours Sincerely, Qiu Qiang Starting IP-- Controller. ipmm_manage_cache_misses: Starting... ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0800500D ipmm_packet_address(state = 0x0800500D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00001400. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FFAE00 data[6]=A8C09386 ipmm_packet_address(state = 0x0800500D) ipmm_packet_write: Writing 3 longwords at 0x00000A00. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0800980D ipmm_packet_address(state = 0x0800980D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00002600. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FEAE00 data[6]=A8C09387 ipmm_packet_address(state = 0x0800980D) ipmm_packet_write: Writing 3 longwords at 0x00001300. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0800E00D ipmm_packet_address(state = 0x0800E00D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00003800. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FDAE00 data[6]=A8C09388 ipmm_packet_address(state = 0x0800E00D) ipmm_packet_write: Writing 3 longwords at 0x00001C00. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0801280D ipmm_packet_address(state = 0x0801280D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00004A00. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FCAE00 data[6]=A8C09389 ipmm_packet_address(state = 0x0801280D) ipmm_packet_write: Writing 3 longwords at 0x00002500. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0801700D ipmm_packet_address(state = 0x0801700D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00005C00. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FBAE00 data[6]=A8C0938A ipmm_packet_address(state = 0x0801700D) ipmm_packet_write: Writing 3 longwords at 0x00002E00. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0801B80D ipmm_packet_address(state = 0x0801B80D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00006E00. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FAAE00 data[6]=A8C0938B ipmm_packet_address(state = 0x0801B80D) ipmm_packet_write: Writing 3 longwords at 0x00003700. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0802000D ipmm_packet_address(state = 0x0802000D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00008000. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0F9AE00 data[6]=A8C0938C ipmm_packet_address(state = 0x0802000D) ipmm_packet_write: Writing 3 longwords at 0x00004000. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0802480D ipmm_packet_address(state = 0x0802480D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00009200. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0F8AE00 data[6]=A8C0938D ipmm_packet_address(state = 0x0802480D) ipmm_packet_write: Writing 3 longwords at 0x00004900. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0802900D ipmm_packet_address(state = 0x0802900D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x0000A400. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0F7AE00 data[6]=A8C0938E ipmm_packet_address(state = 0x0802900D) ipmm_packet_write: Writing 3 longwords at 0x00005200. ipmm_poll_sa_queue: Waiting for packets... ....
Qiu Qiang,
The cache entries seem to be right. Are you sending 64 byte packets? (Using ping -s 22). What is the debugging output from the SA at the first cache miss? The first packets into and out of the router will certainly miss in the cache. What is the debugging output on subsequent misses?
Zuki
-- Yitzchak Gottlieb zuki@CS.Princeton.EDU
On Mon, 25 Mar 2002, Qiu Qiang wrote:
Dear Scott and Zuki,
It seems somebody raise the same question on how to setup Ping Program on VERA before; however, even I follow the instruction tightly, I still cannot make it work.
Here is my system configuration
[Host 1] ---> [0]IXP1200[1]<---[Host 2] Host 1: IP Addr. 192.168.133.146, MAC addr. 00:E0:29:00:8A:57" Host 2: IP Addr. 192.168.133.147, MAC addr. 00:E0:29:00:8C:AE"
I add the following cache entrys to ipmm.c {"192.168.133.146", "192.168.133.147", "DE:F0:12:34:56:78","00:E0:29:00:8C:AE", 0x01}, {"192.168.133.147", "192.168.133.146", "12:34:56:78:9A:BC","00:E0:29:00:8A:57", 0x00},
Then, compile the Libixprouter.a with VRP. Running IPmm application: sgo ipmm.srec and using all the default setting in the released VERA software.
When I try to ping Host 2 from Host 1, from the debug message, It seems that the packets was rcved, but the Microengine cache miss always occurs, and no packet is xmted.
I have tried it in both Nov. Released Version and new Released version(With small modification on the atoi function calling in control.c, I guess no overall effect )
Wish you could kindly point out what I am missing.
Thanks,
Best Regards, Qiu Qiang
participants (2)
-
Qiu Qiang
-
Yitzchak M. Gottlieb