[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BSD networking problem
- Date: Fri, 4 Sep 98 09:38:40 -0600
- From: eric at skatter.USask.Ca (Eric Norum)
- Subject: BSD networking problem
"VALETTE Eric" <valette at crf.canon.fr> wrote:
>
> As we have been hit by this message again and had to deduce by the
> code that kmemalloc for mbufs memory may only be called once, may
> be the message coulb more explicit :
>
> RTEMS : IP mbufs allocations after initialization not allowed.
> Increase the initial mbufs allocation amount via
> variable xxx...
>
Excellent.
My apologies for the cryptic error message that was there previously.
How about:
/*
* Can't get memory if we're already running.
*/
if (networkDaemonTid) {
if (waitflag == M_WAITOK)
rtems_panic (
"Network mbuf space can not be enlarged after
rtems_bsdnet_initialize() has\n"
"returned. Enlarge the initial mbuf/cluster size in rtems_bsdnet_config."
);
return 0;
}
---
Eric Norum eric at skatter.usask.ca
Saskatchewan Accelerator Laboratory Phone: (306) 966-6308
University of Saskatchewan FAX: (306) 966-6058
Saskatoon, Canada.