[Xorp-users] XORP : Embedded Platform Software requirements

MAS . mass3mass at gmail.com
Mon Apr 16 04:57:43 PDT 2012


We have designed our own custom board. We are using nand flash for storing
kernel image.

I figured out previous problem, actually error logs are going to
/dev/stderr but was not getting displayed on stdout.

Now I have another problem XORP is giving following error message, here is
the log:
===============================================================================================
[ 1970/01/01 05:22:44  WARNING xorp_rtrmgr:720 LIBXORP +461 timer.cc
expire_one ] Timer Expiry *much* later than scheduled: behind by 25.827435
seconds
[ 1970/01/01 05:22:46  INFO xorp_rtrmgr:720 RTRMGR +101 module_manager.cc
execute ] Executing module: login (system/pica_login)
[ 1970/01/01 05:22:47  INFO xorp_rtrmgr:720 RTRMGR +101 module_manager.cc
execute ] Executing module: cardmgr (cardmgr/pica_cardmgr)
[ 1970/01/01 05:22:50  INFO xorp_rtrmgr:720 RTRMGR +101 module_manager.cc
execute ] Executing module: fea (fea/xorp_fea)
[ 1970/01/01 05:22:54  INFO xorp_rtrmgr:720 RTRMGR +101 module_manager.cc
execute ] Executing module: interfaces (sif/pica_sif)
[ 1970/01/01 05:22:54  ERROR xorp_fea:729 LIBCOMM +101 comm_sock.c
comm_sock_open ] Error opening socket (domain = 10, type = 2, protocol =
0): Address family not supported by protocol
[ 1970/01/01 05:22:54 INFO xorp_fea MFEA ] MFEA enabled
[ 1970/01/01 05:22:54 INFO xorp_fea MFEA ] CLI enabled
[ 1970/01/01 05:22:54 INFO xorp_fea MFEA ] CLI started
[ 1970/01/01 05:22:54 INFO xorp_fea MFEA ] MFEA enabled
[ 1970/01/01 05:22:55 INFO xorp_fea MFEA ] CLI enabled
[ 1970/01/01 05:22:55 INFO xorp_fea MFEA ] CLI started
[ 1970/01/01 05:22:56  WARNING xorp_rtrmgr:720 XrlFinderTarget +437
../xrl/targets/finder_base.cc handle_finder_0_2_resolve_xrl ] Handling
method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed
Xrl target is not enabled.
[ 1970/01/01 05:22:57 INFO pica_cardmgr XifFinderEventNotifier ] Registered
{state,client} = {CARD_REMOVED_STATE,
sif-d1fe8452916e5bc4c817cd317a516074 at 10.107.48.61}
[ 1970/01/01 05:22:57 INFO pica_cardmgr XifFinderEventNotifier ] Registered
{state,client} = {CARD_MISCONFIGURED_STATE,
sif-d1fe8452916e5bc4c817cd317a516074 at 10.107.48.61}
[ 1970/01/01 05:22:57 INFO pica_cardmgr XifFinderEventNotifier ] Registered
{state,client} = {CARD_INITIALIZED_STATE,
sif-d1fe8452916e5bc4c817cd317a516074 at 10.107.48.61}
[ 1970/01/01 05:22:57 INFO pica_cardmgr XifFinderEventNotifier ] Registered
{state,client} = {CARD_PHASE_1_DONE_STATE,
sif-d1fe8452916e5bc4c817cd317a516074 at 10.107.48.61}
[ 1970/01/01 05:22:57 INFO pica_cardmgr XifFinderEventNotifier ] Registered
{state,client} = {CARD_PHASE_2_DONE_STATE,
sif-d1fe8452916e5bc4c817cd317a516074 at 10.107.48.61}
[ 1970/01/01 05:22:57 INFO pica_cardmgr XifFinderEventNotifier ] Registered
{state,client} = {CARD_PHASE_3_DONE_STATE,
sif-d1fe8452916e5bc4c817cd317a516074 at 10.107.48.61}
[ 1970/01/01 05:22:57 INFO pica_cardmgr XifFinderEventNotifier ] Registered
{state,client} = {CARD_RUNNING_STATE,
sif-d1fe8452916e5bc4c817cd317a516074 at 10.107.48.61}
[ 1970/01/01 05:22:57 INFO pica_cardmgr XifFinderEventNotifier ] Registered
{state,client} = {CARD_DEAD_STATE,
sif-d1fe8452916e5bc4c817cd317a516074 at 10.107.48.61}
[ 1970/01/01 05:22:57 INFO pica_cardmgr XifFinderEventNotifier ] Succeeding
in dispatching card state(CARD_REMOVED_STATE) to
sif-d1fe8452916e5bc4c817cd317a516074 at 10.107.48.61
[ 1970/01/01 05:22:58  ERROR xorp_rtrmgr:720 RTRMGR +925
master_conf_tree.cc commit_pass2_done ] Commit failed: 102 Command failed
invalid ifname:ge-1/1/25
[ 1970/01/01 05:22:58  ERROR xorp_rtrmgr:720 RTRMGR +389
master_conf_tree.cc config_done ] Configuration failed: 102 Command failed
invalid ifname:ge-1/1/25
[ 1970/01/01 05:22:58  INFO xorp_rtrmgr:720 RTRMGR +2239 task.cc run_task ]
No more tasks to run
========================================================================================================

Can anyone help to figure this out?
Your help will be greatly appreciated, thanks.



On 12 April 2012 00:19, Troy Benjegerdes <hozer at hozed.org> wrote:

> Is this the board you have, or did you do a custom board?
>
> http://www.atmel.com/tools/SAM9G20-EK.aspx
>
> If you've got USB-host, (or SDcard) you should be able to put
> a debian-arm chroot on a usb driver/sdcard. This is how I'm
> running debian (and self-hosted compiling xorp) on a Asus
> transformer android tablet.
>
> On Wed, Apr 11, 2012 at 10:28:07PM +0000, MAS . wrote:
> > We have AT91SAM9G20EK ( Maxim ARM9). SMI Driver is working fine. Also I
> > have marvell SDK for switch and its too working fine.
> > I think there is NO way to install debian-arm, I'll look into it.
> >
> > On 11 April 2012 22:18, Troy Benjegerdes <hozer at hozed.org> wrote:
> >
> > > What cpu are you using to talk to the marvell chip? I assume
> > > you have an SMI (serial managment interface) port and driver
> > > on your embedded ARM cpu..
> > >
> > > Would you have a way to install and boot a debian-arm image?
> > >
> > > On Wed, Apr 11, 2012 at 10:11:48PM +0000, MAS . wrote:
> > > > Hi
> > > > Thanks for the reply Troy,
> > > >
> > > > I am student and we have designed ARM board with marvell switch chip
> > > > 88E6065 in our lab. Actually I want to manage L2 functionality of
> switch
> > > > chip using XorPlus, which is another derivative  of XORP with L2
> > > > functionality.
> > > >
> > > > Board has Linux-2.6.30 kernel version running on it and
> Uboot-1.3.4.. we
> > > > also have gcc, gdb nothing more. I cross-compiled Xorplus and put it
> on
> > > the
> > > > board but its literally doing nothing, no logs, no error messages.
> Same
> > > > XorPlus is running fine on x86 machine.
> > > >
> > > > For trial purpose I executed xorp_rtrmgr on x86 and board without any
> > > > configuration. On x86 machine atleast its printing error messages
> but on
> > > > board its doing nothing? I thought may be xorp needed some packages
> other
> > > > than xorp libreary.
> > > >
> > > > thanks and regards,
> > > > MAS.
> > > >
> > > > On 11 April 2012 21:52, Troy Benjegerdes <hozer at hozed.org> wrote:
> > > >
> > > > > This would probably depend on what embedded linux distribution the
> > > > > board is running and what board it is, and how you cross-compiled
> > > > > the package.
> > > > >
> > > > > If you can give us more details, we might be able to help.
> > > > >
> > > > > I'm going to attempt to build it on my debian-arm install,
> > > > > and see what happens.
> > > > >
> > > > > If you have some constraints (or ndas) so you can't provide more
> > > > > details about what board and distro, there are probably several
> > > > > of us (including myself) that would be happy to do a consulting
> > > > > contract to help you out as well.
> > > > >
> > > > > On Wed, Apr 11, 2012 at 09:28:26PM +0000, MAS . wrote:
> > > > > > Hi all,
> > > > > >
> > > > > > I have compiled XORP and installed on x86 machine then its
> working
> > > fine.
> > > > > > But I need to put it on embedded board with ARM processor so I
> > > > > > cross-compiled it and put it on the board.
> > > > > >
> > > > > > Now problem is that its not working fine, even its not printing
> any
> > > error
> > > > > > messages on terminal. I don't know what is wrong. Can anyone help
> > > me. Is
> > > > > > there any software package requirements i.e. do I need to install
> > > > > > any softwares on board in order to XORP to work? Basically my
> board
> > > only
> > > > > > has Linux running on it without any spacial packages.
> > > > > >
> > > > > >
> > > > > > Thanks and regards,
> > > > > > MAS
> > > > >
> > > > >
> > >
> > > --
> > >
> > >
> ----------------------------------------------------------------------------
> > > Troy Benjegerdes                 'da hozer'
> hozer at hozed.org
> > > 7 elements Farm                                         TerraCarbo
> biofuels
> > >
> > > An Engineer is a man who can do for a dime what any fool can do for a
> > > dollar.
> > > -anonymous
> > >
> > > If you're going through hell, keep going. ~ Winston Churchill
> > >
> > > The challenge in changing the world is not in having great ideas, it's
> in
> > > having stupid simple ideas, as those are the ones that cause change.
> > >
> > >
> >
> >
> > --
> > Thanks and Regards,
> > MAS.
>
> > _______________________________________________
> > Xorp-users mailing list
> > Xorp-users at xorp.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>
>
> --
>
> ----------------------------------------------------------------------------
> Troy Benjegerdes                 'da hozer'                hozer at hozed.org
> 7 elements Farm                                         TerraCarbo biofuels
>
> An Engineer is a man who can do for a dime what any fool can do for a
> dollar.
> -anonymous
>
> If you're going through hell, keep going. ~ Winston Churchill
>
> The challenge in changing the world is not in having great ideas, it's in
> having stupid simple ideas, as those are the ones that cause change.
>
>


-- 
Thanks and Regards,
MAS.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20120416/0e3bc0fa/attachment.html 


More information about the Xorp-users mailing list