This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

REDBOOT QUERY


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]