From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27555 invoked by alias); 17 May 2005 07:14:36 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 27396 invoked from network); 17 May 2005 07:14:25 -0000 Received: from unknown (HELO communicator) (203.197.252.75) by sourceware.org with SMTP; 17 May 2005 07:14:25 -0000 Received: from [192.168.1.141] ([192.168.200.3]) by communicator (SAVSMTP 3.0.0.44) with SMTP id M2005051712542608074 for ; Tue, 17 May 2005 12:54:27 +0530 From: Raja Mallik To: ecos-discuss@sources.redhat.com In-Reply-To: <33102.10.129.11.162.1116306130.squirrel@www.it.iitb.ac.in> References: 6667 <20050516194201.78544.qmail@web14207.mail.yahoo.com> <33102.10.129.11.162.1116306130.squirrel@www.it.iitb.ac.in> Content-Type: text/plain Message-Id: <1116314110.1685.32.camel@mazda> Mime-Version: 1.0 Date: Tue, 17 May 2005 13:46:00 -0000 Content-Transfer-Encoding: 7bit Subject: [ECOS] eCos-arm-network problem X-SW-Source: 2005-05/txt/msg00221.txt.bz2 Hello there, I trying to to ping test for the ethernet driver on my arm board..When I run the application code .. I get these following.. ## Starting application at 0x00030000 ... Init device '/dev/ttydiag' Init tty channel: 6816c Init device '/dev/tty0' Init tty channel: 68188 Init device '/dev/haldiag' HAL/diag SERIAL init [cyg_net_init] Init: mbinit(0x00000000) [cyg_net_init] Init: cyg_net_init_devs(0x00000000) Init device 'SCP_eth' Starting to initialise mcs1000 driver Name of interface is SCP_eth Device Instance name is eth0_scp Using port: EthA RX Buf shift state: 0x01 mcs1000 driver initialised eth_drv_init() and started [cyg_net_init] Init: loopattach(0x00000000) [cyg_net_init] Init: ifinit(0x00000000) IFP: 0x0006767c, next: 0x000af200 IFP: 0x000af200, next: 0x00000000 [cyg_net_init] Init: domaininit(0x00000000) [cyg_net_init] Init: cyg_net_add_domain(0x00067f0c) New domain internet at 0x00000000 [cyg_net_init] Init: cyg_net_add_domain(0x00067a14) New domain route at 0x00000000 [cyg_net_init] Init: cyg_route_init(0x00000000) [cyg_net_init] Done Start PING test Error: SIOCGIFHWADDR 2: Device not configured Mac addr 03:00:8c:7c:03:00 Cant set IP of 'eth0' to '192.168.1.143' Error :'Device not configured' Setting of eth0 Failed............ Error: SIOCGIFHWADDR 2: Device not configured Mac addr 03:00:13:00:00:00 Cant set IP of 'eth1' to '192.168.1.144' Error :'Device not configured' Setting of eth1 Failed............ RxLength in eth_rx is 36 What do I do to make ioctl() call sucessfull? Pl, forward your help and if you want me to check my driver code i can mail that.. Regards Raja Mallik -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss