This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
ioctl (SIOCADDRT) never returns
- To: "'eCos discussion'" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] ioctl (SIOCADDRT) never returns
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Wed, 17 Oct 2001 09:23:54 -0600
- Organization: Extreme Engineering
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