This is the mail archive of the
mailing list for the eCos project.
Re: SIOCIFADDR: Device not configured
- From: "aialinux" <aialinux at 163 dot com>
- To: ecos-discuss at sources dot redhat dot com <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 5 Feb 2004 8:46:58 +0800
- Subject: Re: [ECOS] SIOCIFADDR: Device not configured
Hello sebastien Couret
Thank you for your answer .
When only redboot running,The eth0 works well.It can
ping the host and use tftp to download file for host.I think,
if redboot can works, eth0 drivers and hal did not
have any problems.After plusing FreeBSD stack, eth0 ping_test can
works! But, the fact is not like this.
======= 2004-02-04 10:07:00 =======
>If U have a close look at your traces , you will see that MAC address
>attributed to eth0 is bad : 'hw_addr: ff:ff:ff:ff:ff:ff.'
>This happens often when the ethernet driver return -1 to show an error.
>I can't figure the real cause of this error, but may be you should answer
>these questions :
>Have U already connected something to this plug ? is the link up and running ?
>(Some drivers must be run with the plug connected )
>May be you should try to test your ethernet connectivity just with redboot
>running (without your application) (redboot can be configured by fconfig
>Or you can also try to had debugging information to your application.
>(have a look in I/O sub-system) with config-tool
>For information, SIOCIFADDR is an ioctl call to change/set the IP adress.
>Hope this help.
>On Wednesday 04 February 2004 02:01, you wrote:
>> Hello all,
>> I am porting ecos-2.0 to the EB40LS ethernet card.
>> I compile the pint_test program in
>> I use the arm-elf-gdb to download the image to EB40LS
>> I have the messages:
>> [cyg_net_init] Init: mbinit(0x00000000)
>> [cyg_net_init] Init: cyg_net_init_devs(0x00000000)
>> Init device 'cs8900a_eth0'
>> [cyg_net_init] Init: loopattach(0x00000000)
>> [cyg_net_init] Init: ifinit(0x00000000)
>> IFP: 0x0212b7e0, next: 0x00000000
>> [cyg_net_init] Init: domaininit(0x00000000)
>> [cyg_net_init] Init: cyg_net_add_domain(0x020de42c)
>> New domain internet at 0x00000000
>> [cyg_net_init] Init: cyg_net_add_domain(0x020dde80)
>> New domain route at 0x00000000
>> [cyg_net_init] Init: cyg_route_init(0x00000000)
>> [cyg_net_init] Done
>> Start PING test
>> BOOTP[eth0] op: REPLY
>> htype: Ethernet
>> hlen: 6
>> hops: 0
>> xid: 0x0
>> secs: 0
>> flags: 0x0
>> hw_addr: ff:ff:ff:ff:ff:ff
>> ient IP: 126.96.36.199
>> my IP: 188.8.131.52
>> server IP: 184.108.40.206
>> gateway IP: 220.127.116.11
>> subnet mask: 255.255.255.0
>> IP broadcast: 18.104.22.168
>> gateway: 22.214.171.124
>> SIOCIFADDR: Device not configured
>> Network initialization failed for eth0
>> PASS:<Ping test OK>
>> The cs8900a driver works very well at reboot.
>> I dont't know why "SIOCIFADDR: Device not configured".
>> I need a help.
>> Thank you.
>Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
>and search the list archive: http://sources.redhat.com/ml/ecos-discuss
= = = = = = = = = = = = = = = = = = = =
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss