RTEMS networking (RTL 8139)

Joe Samuel sjoe2 at yahoo.com
Tue Nov 26 05:54:56 UTC 2002


Thank you for your response. Setting the file
descriptors did fix the problem, but partially. Right
now I'm trying to fiqure out why I can't ping the
target system. I thought this is prebuilt to the
network demo program.

 I know I can't change the hardware address. I just
wanted to know that whether the address displayed by
the  netdemo program is my hw address. If so, it's
something diffrerent than that shown by ifconfig. What
does that mean? Is RTEMS identifying my NIC correctly?
with regards
Joe
 --- Ian Caddy <ianc at microsol.iinet.net.au> wrote: >
Hi Joe,
> 
> When you build your application you must tell RTEMS
> how many resources 
> you require.
> 
> In the example that you showed, you are running out
> of file handles. 
> This can be increased by:
> 
> 
> #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS  20
> 
> 20 is just a number that I put in there, but you
> have to decide how big 
> you want it.  There are a bunch of other ones that
> you will require as well.
> 
> The C_UserGuide has information on these defines
> which need to be placed 
> in your application before the confdefs.h include
> file.  This is 
> normally contained in your init task file.
> 
> As to your mac address, the card may have a
> hardcoded mac address and 
> won't let you change it if that is what you were
> trying to do.  In this 
> case, when you read it back it will be the card's
> mac address and not 
> one you tried to put in.
> 
> I hope this helps,
> 
> Ian Caddy
> 
> 
> Joe Samuel wrote:
> > Hi Sachin,
> >      thank you for your response. But I could know
> > that RTL 8139 is NE2000 compatible. When I changed
> the
> > bsp.h(#define RTEMS_BSP_NETWORK_DRIVER_NAME
> > BSP_NE2000_NETWORK_DRIVER_NAME), the
> initialization
> > didn't hang, but I got the following messages:
> > 
> > Network device 'ne1' <00:D0:09:57:86:23>
> initialized
> > on port 0xC000, irq 5
> > Can't bring ne1 up: Too many open files on system
> > Can't set default roots: No such process
> > No routes!
> > Create socket
> > RTEMS: Can't create socket
> >         
> >     These messages give me some hope that there is
> a
> > workaround using the RTL network card itself. 
> > I'm posting this to the RTEMS group also. Can
> anyone
> > suggest a solution?
> > 
> > BTw, is the address in the first messge supposed
> to be
> > my mac address?, but ifconfig return a different
> > address- 00:E0:18:37:3E:86 .
> > 
> > regards,
> > Joe
> > 
> > 
> > 
> >  --- Sachin K <sachin at dexceldesigns.com> wrote: >
> > ----- Original Message -----
> > 
> >>From: "Joe Samuel" <sjoe2 at yahoo.com>
> >>To: "Sachin K" <sachin at dexceldesigns.com>
> >>Sent: Monday, November 25, 2002 5:29 PM
> >>Subject: Re: RTEMS networking (RTL 8139)
> >>
> >>
> >>
> >>>Hi Sachin,
> >>>  thank you for your quick response. I'm using
> RTL
> >>>8139 NIC.
> >>
> >>( same card which i was using. ;) )
> >>
> >>
> >>>I think I should look for another NIC right?
> >>
> >>yes.
> >>try for winbond NIC.
> >>
> >>>
> >>>Joe
> >>> --- Sachin K <sachin at dexceldesigns.com> wrote: >
> >>>----- Original Message -----
> >>>
> >>>>From: "Joe Samuel" <sjoe2 at yahoo.com>
> >>>>To: "Sachin K" <sachin at dexceldesigns.com>
> >>>>Sent: Monday, November 25, 2002 12:00 PM
> >>>>Subject: RTEMS networking (RTL 8139)
> >>>>
> >>>>
> >>>>
> >>>>>Hi Sachin,
> >>>>
> >>>>Hi Samuel,
> >>>>
> >>>>
> >>>>>    I'm an undergradute experimenting with
> >>>>
> >>RTEMS
> >>
> >>>>as
> >>>>
> >>>>>part of my research project. I also faced the
> >>>>
> >>same
> >>
> >>>>>problem described by you here:
> >>>>>
> >>>>
> >
>
http://www.oarcorp.com/rtems/maillistArchives/rtems-users/2002/july/msg00053
> > 
> >>>>.html
> >>>>
> >>>>>  Could you please let me know if you've found
> >>>>
> >>any
> >>
> >>>>>work arounds?
> >>>>
> >>>>first check which type of ethernet card you
> >>>
> >>have,
> >>
> >>>>because RTEMS currently
> >>>>supports only NE2000, dec compatible ethernet
> >>>>devices.
> >>>>
> >>>>if you have the network card which is compatible
> >>>>with the above mentioned
> >>>>chipset, modify the attached network config file
> >>>>according to your network
> >>>>setings and use it in your application.
> >>>>
> >>>>
> >>>>>thank you in advance.
> >>>>>Joe
> >>>>>
> >>>>
> >>>>Sachin.K
> >>>>
> >>>
> >>>>ATTACHMENT part 2 application/octet-stream
> >>>
> >>>name=networkconfig.h
> >>>
> >>>>
> >
>
--------------------------------------------------------------
> > 
> >>>>Dexcel Electronics Designs (P) Ltd., Bangalore,
> >>>>India
> >>>>
> >>>
>
>>>__________________________________________________
> >>>Do You Yahoo!?
> >>>Everything you'll ever need on one web page
> >>>from News and Sport to Email and Music Charts
> >>>http://uk.my.yahoo.com
> >>
> >>
> >>
> >
>
--------------------------------------------------------------
> > 
> >>Dexcel Electronics Designs (P) Ltd., Bangalore,
> >>India
> >>
> >> 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> > 
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



More information about the users mailing list