[ECOS] ioctl (SIOCADDRT) never returns

Trenton D. Adams tadams@extremeeng.com
Wed Oct 17 08:24:00 GMT 2001


I finally got my WaveLAN card sort of working.  I'm receiving interrupts
and stuff like that from it.  I ended up creating a new eCos build that
was not running at 18MHz like the PCMCIA controller requires.  

Anyhow...

The following call in bring_half_up () of
"net/tcpip/current/src/lib/dhcp_prot.c" is called, but never returns.
What is SIOCADDRT exactly?  It doesn't lock my program because I still
receive ticker and RX interrupts from my card.  I don't know why there
are RX interrupts yet, but I'm going to try and find out.  I need to get
a windows packet sniffer in order to be able to find out if the RX
interrupts are occuring because of a DHCP packet or something.  I don't
think that's possible at this stage in the startup sequence though!?

    if (ioctl(s, SIOCADDRT, &route)) { /* add route */


Any help would be much appreciated, thanks! :)

Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1

Phone: 403 640 9494 ext-208
Fax: 403 640 9599

http://www.extremeeng.com



More information about the Ecos-discuss mailing list