This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
REDBOOT QUERY
- From: "Kaustubh Purandare" <kaustubh_purandare at rediffmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Cc: michael at magrittesystems dot com, jlarmour at redhat dot com, andrew dot lunn at ascom dot ch
- Date: 3 Apr 2002 10:56:03 -0000
- Subject: [ECOS] REDBOOT QUERY
- Reply-to: "Kaustubh Purandare" <kaustubh_purandare at rediffmail dot com>
Hi,
I am using a i82558 network card in my PC. I am able to boot the
PC through redboot, also I am able to detect the NIC a get an IP
address thru DHCP.
If I run the kernel tests they pass on the target but if I run the
net tests the target hangs.
I tried debugging the udp_lo_test.c and found out the
function where the code hangs. The udp_lo_test.c
calls init_all_network_interfaces() which calls do_dhcp()which in
turns calls bring_half_up().
The bring_half_up() functions hangs during the function call
indicated below
if (ioctl(s, SIOCSIFADDR, ifrp)) /* set ifnet address */
Where is the problem in the code or the NIC? As per my knowledge
82558 is similar to 82559.
Note: I am using the latest code from the CVS
Regards,
Kaustubh
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss