problem of netdemo 4.5.0 example

Nick.SIMON at syntegra.bt.co.uk Nick.SIMON at syntegra.bt.co.uk
Tue Feb 20 12:40:03 UTC 2001



If it's not set, that's your problem - the default is very small!  Here is
a block of definitions I use:


(begin)

#include <bsp.h>

#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE

#define CONFIGURE_EXECUTIVE_RAM_SIZE	(512*1024)
#define CONFIGURE_MAXIMUM_SEMAPHORES	20
#define CONFIGURE_MAXIMUM_TASKS		25
#define CONFIGURE_MAXIMUM_POSIX_THREADS 3
#define CONFIGURE_MAXIMUM_TIMERS	5     /* NGS 28APR99 */

#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10

/* #define CONFIGURE_MICROSECONDS_PER_TICK	10486 removed by NGS
31MAR99 */

#define CONFIGURE_INIT_TASK_STACK_SIZE	(10*1024)
#define CONFIGURE_INIT_TASK_PRIORITY	120
#define CONFIGURE_INIT_TASK_INITIAL_MODES
(RTEMS_PREEMPT|RTEMS_NO_TIMESLICE|RTEMS_NO_ASR|RTEMS_INTERRUPT_LEVEL(0))

#define CONFIGURE_INIT
rtems_task Init (rtems_task_argument argument);

#include <confdefs.h>

(end)


Good luck,


-- Nick Simon 

> -----Original Message-----
> From: kanmo at cisl.snu.ac.kr [mailto:kanmo at cisl.snu.ac.kr]
> Sent: 20 February 2001 12:38
> To: Nick.SIMON
> Cc: rtems-users
> Subject: RE: problem of netdemo 4.5.0 example
> 
> 
> In my example.. there's no 
> CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS definition in init.c 
> of netdemo example.
> and. i could just find it in http example. 
> but. i know that http example and netdemo example are independent.
> 
> plz, check it once more.
> 
> -----Original Message-----
> From: Nick.SIMON at syntegra.bt.co.uk 
> [mailto:Nick.SIMON at syntegra.bt.co.uk]
> Sent: Tuesday, February 20, 2001 8:31 PM
> To: kanmo at cisl.snu.ac.kr; rtems-users at oarcorp.com
> Subject: RE: Error on netdemo 4.5.0 example
> 
> 
> It could be you haven't got enough file handles.  Look in init.c for
> definition of CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS.
> 
> 
> -- Nick Simon 
> 
> > -----Original Message-----
> > From: kanmo at cisl.snu.ac.kr [mailto:kanmo at cisl.snu.ac.kr]
> > Sent: 20 February 2001 10:58
> > To: rtems-users
> > Subject: Error on netdemo 4.5.0 example
> > 
> > 
> > we build rtems system on the system of i386 processor and pc386 bsp.
> > And we use ISA 3c509 network card.
> > 
> > However, we met a problem on the execution of netdemo program.
> > we think that the configuration is right.
> > 
> > the execution screen is as follows. it shows error message.
> > 
> > --------------------------------------------------------------
> > --------------------
> > 3C509: attach() called
> > 3C509: isa_probe() looking for a card
> > 1 3C5x9 board(s) on ISA found at 0x300
> > 3C509: I/O=0x300, IRQ=10, CONNECTOR=UTP, ADDRESS=0xa0 2407 1015
> > 3c509: attach() is complete
> > 
> > Can't create initial socket: Too many open files in system
> > No routes!
> > Create Socket
> > 
> > RTEMS: Can't create socket: Too many open files in system
> > RTEMS: fatal error, exiting
> > 
> > EXECUTIVE SHUTDOWN! Any key to reboot...
> > --------------------------------------------------------------
> > -------------------------
> > 
> > plx, help~~ 
> > 
> > good luck for all of you.
> > 
> 
> 
> **********************************************************************
> 
> Check us out at http://www.syntegra.com
> 
> **********************************************************************
> 


**********************************************************************

Check us out at http://www.syntegra.com

**********************************************************************



More information about the users mailing list