<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jan 3, 2011, at 10:49 AM, Joćo Rasta wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thank you.<br><br>I'm not using RT tasks, but standard POSIX threads. Anyway, assuming i do initialize both task and POSIX threads tables (because rtems_bsdnet_initialize_network() initializes a RT task), i'll have both POSIX_Init() and Init(). How are they managed? <br></blockquote><div><br></div>POSIX threads map to core tasks.</div><div>You need to define a larger value for CONFIGURE_MAXIMUM_TASKS  before including confdefs.h.</div><div><br></div><div><br><blockquote type="cite">
<br><br>Best,<br>JM<br><br><div class="gmail_quote">On Mon, Jan 3, 2011 at 5:44 PM, Eric Norum <span dir="ltr"><<a href="mailto:wenorum@lbl.gov">wenorum@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">You need to increase the number of tasks in the system.<br>
The error message is reporting the inability to start a network-related task -- and reporting that the failure was the result of trying to start too many tasks.<br>
<br>
On Jan 3, 2011, at 9:16 AM, Joćo Rasta wrote:<br>
<br>
</div><div><div></div><div class="h5">> Hi,<br>
><br>
> I'm using RTEMS with POSIX API and now i'm trying to setup the RTEMS network support in order to perform TCP/IP communications.<br>
><br>
> When i do:<br>
><br>
> rtems_bsdnet_initialize_network ()<br>
><br>
> I get the following error, happening in rtems_bsdnet_newproc() function of rtems_glue.c.<br>
><br>
> ----------------------------------------------------------------------<br>
> Can't create network daemon `ntwk': `too many'<br>
><br>
> fatal error, exiting<br>
> ----------------------------------------------------------------------<br>
><br>
> Is this a failure on rtems_task_create() because i'm using standard POSIX API? If so, is there a way to configure network support for POSIX API?<br>
><br>
><br>
> Best,<br>
> JM<br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> rtems-users mailing list<br>
> <a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
> <a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
<br>
--<br>
Eric Norum<br>
<a href="mailto:wenorum@lbl.gov">wenorum@lbl.gov</a><br>
<br>
<br>
_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
</div></div></blockquote></div><br>
</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>-- <br>Eric Norum<br><a href="mailto:wenorum@lbl.gov">wenorum@lbl.gov</a></div></span>
</div>
<br></body></html>