Problems starting the sample count ace
Hi, I'll try sending this again. I'm totally stuck here, could anyone tell me what the causes this error when running the sample count application (tutorial1)? The same occurs when running the l3forward! (From the serial console) rmdrvr: Setting up 64 bit bidirectional mode ingressAce: memory violation at pc=0x02027ce8, lr=0x400a6af8 (bad address=0x000) (When running ixstart) ixconfig: Starting microace ifaceInput ifaceInput: IX-ACE Initialization Failed Wed Dec 31 20:01:32 1969 ingress_ace.cpp, line 161: init : Couldn't open device /dev/if0.
I am guessing that you have a board with 4 100 Mb interfaces, but you are using a kernel compiled for a board with 2 gig interfaces. (see previous mail, that could explain why you get invalid port number when you try to start port 2). Now for the error below in which you try only 1 port.... It seems like, when the octmac driver is started, it gets the board config from the kernel and thinks that there are no octmac devices configured on the IXbus. Now if /dev/if0 is pointing to the octmac driver entry, then when your ingress ace tries to open the device, the octmac driver returns an error since it believes that there are no octmac devices on the board. That could explain the error below. If you are using the ENP-2505 board (4 100 Mb interfaces), your src/linux/.config file should have # CONFIG_IXP_EVAL_BOARD is not set # CONFIG_SPECTACLE_ISLAND is not set CONFIG_BRIDALVEIL=y Try checking what is the board type set in your kernel. -- abhijeet On 11 Jul 2003, Øyvind Hvamstad wrote:
Hi, I'll try sending this again. I'm totally stuck here, could anyone tell me what the causes this error when running the sample count application (tutorial1)? The same occurs when running the l3forward!
(From the serial console) rmdrvr: Setting up 64 bit bidirectional mode ingressAce: memory violation at pc=0x02027ce8, lr=0x400a6af8 (bad address=0x000)
(When running ixstart) ixconfig: Starting microace ifaceInput ifaceInput: IX-ACE Initialization Failed Wed Dec 31 20:01:32 1969 ingress_ace.cpp, line 161: init : Couldn't open device /dev/if0.
Thanks a lot for the reply.
I'm using an ENP-2505 with 4 100Mb interfaces, yes. -And what you are
saying makes sense. However, the .config after making menuconfig appears
to be all good. It reads:
# CONFIG_IXP_EVAL_BOARD is not set
# CONFIG_SPECTACLE_ISLAND is not set
CONFIG_RADISYS_ENP2505=y
I would never think that this was faulty!
I was amazed though, because altering the config to comply to your
description, made everything work splendidly! This does not point in
Radisys's favour. Their config is BROKEN! The manual says to choose the
appropriate enp type, and the BRIDALVEIL is not even an option.
Wierd though, I searched the list and could not find anything on this.
Everyone that use the ENP-2505 and follow the manual from Radisys,
should also have experienced this problem.
Anyways, thanks Abhijeet, I'm in debt to you.
In time I'm sure that I will be liable to several others on this list
aswell. :)
--
Øyvind Hvamstad
I had a similar problem not long time ago, I think this is a good time to repost it :-) I am trying to recompile the linux kernel for the IXP12EB board, however after tftp-ing the new kernel using cygmon, it just hangs. In the menuconfig I choose EVAL_BOARD as well as not in host mode and in general I played a bit with the parameters but without any luck. Does anyone have any ideas ? I used the cygwin based armtool provided with the SDK 2.01a. (linux kernel sources under /linux in cygwin) Compiled it for bigendian strongarm. yannis
Thanks a lot for the reply.
I'm using an ENP-2505 with 4 100Mb interfaces, yes. -And what you are saying makes sense. However, the .config after making menuconfig appears to be all good. It reads:
# CONFIG_IXP_EVAL_BOARD is not set # CONFIG_SPECTACLE_ISLAND is not set CONFIG_RADISYS_ENP2505=y
I would never think that this was faulty!
I was amazed though, because altering the config to comply to your description, made everything work splendidly! This does not point in Radisys's favour. Their config is BROKEN! The manual says to choose the appropriate enp type, and the BRIDALVEIL is not even an option.
Wierd though, I searched the list and could not find anything on this. Everyone that use the ENP-2505 and follow the manual from Radisys, should also have experienced this problem.
Anyways, thanks Abhijeet, I'm in debt to you.
In time I'm sure that I will be liable to several others on this list aswell. :)
-- �yvind Hvamstad
Hello all. I recently tried to substitute CONFIG_RADISYS_ENP2505=y and CONFIG_BRIDALVEIL=y into this config file, but it made no difference. I had a look at my src/linuxIXAedu/include/asm-arm/arch-ixp1200/board.h which makes use of these configurations and found that only CONFIG_SPECTACLE_ISLAND and CONFIG_IXP_EVAL_BOARD seemed to do anything. Are there later versions of this file that I don't have that make use of CONFIG_RADISYS_ENP2505? Thanks, Daniel Peek (dpeek@eecs.umich.edu) On Friday, July 11, 2003, at 9:06PM, Abhijeet Joglekar wrote:
I am guessing that you have a board with 4 100 Mb interfaces, but you are using a kernel compiled for a board with 2 gig interfaces. (see previous mail, that could explain why you get invalid port number when you try to start port 2).
Now for the error below in which you try only 1 port....
It seems like, when the octmac driver is started, it gets the board config from the kernel and thinks that there are no octmac devices configured on the IXbus.
Now if /dev/if0 is pointing to the octmac driver entry, then when your ingress ace tries to open the device, the octmac driver returns an error since it believes that there are no octmac devices on the board. That could explain the error below.
If you are using the ENP-2505 board (4 100 Mb interfaces), your src/linux/.config file should have
# CONFIG_IXP_EVAL_BOARD is not set # CONFIG_SPECTACLE_ISLAND is not set CONFIG_BRIDALVEIL=y
Try checking what is the board type set in your kernel.
-- abhijeet
On 11 Jul 2003, Øyvind Hvamstad wrote:
Hi, I'll try sending this again. I'm totally stuck here, could anyone tell me what the causes this error when running the sample count application (tutorial1)? The same occurs when running the l3forward!
(From the serial console) rmdrvr: Setting up 64 bit bidirectional mode ingressAce: memory violation at pc=0x02027ce8, lr=0x400a6af8 (bad address=0x000)
(When running ixstart) ixconfig: Starting microace ifaceInput ifaceInput: IX-ACE Initialization Failed Wed Dec 31 20:01:32 1969 ingress_ace.cpp, line 161: init : Couldn't open device /dev/if0.
You are right, you would need an updated board.h file which contains board config for the ENP 2505 board. On Wed, 23 Jul 2003, Daniel Peek wrote:
Hello all. I recently tried to substitute CONFIG_RADISYS_ENP2505=y and CONFIG_BRIDALVEIL=y into this config file, but it made no difference. I had a look at my src/linuxIXAedu/include/asm-arm/arch-ixp1200/board.h which makes use of these configurations and found that only CONFIG_SPECTACLE_ISLAND and CONFIG_IXP_EVAL_BOARD seemed to do anything. Are there later versions of this file that I don't have that make use of CONFIG_RADISYS_ENP2505? Thanks, Daniel Peek (dpeek@eecs.umich.edu)
participants (4)
-
Abhijeet Joglekar
-
Daniel Peek
-
Yannis Haritakis
-
Øyvind Hvamstad