From: Raja Mallik <raja.mallik@moschip.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] ethernet driver ioctl() call not getting initiated!
Date: Tue, 17 May 2005 18:16:00 -0000 [thread overview]
Message-ID: <1116337408.1685.60.camel@mazda> (raw)
Hi all!
I have found that some how that application ethernet driver is not able
to initiate ioctl() call..which is must for setting MAC, the IP, the
Netmask, the broadcast address, etc..
I am getting these errors!
I am just unable to find why this is happening..is that I have have any
trouble of using freeBSD network stacks..
Regards
Raja
Cosole print out
## Starting application at 0x00030000 ...
Init device '/dev/ttydiag'
Init tty channel: 68bcc
Init device '/dev/tty0'
Init tty channel: 68be8
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
Link: 10MB/s Full Duplex
mcs1000 driver initialised eth_drv_init() and started
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x000680dc, next: 0x000afd60
IFP: 0x000afd60, next: 0x00000000
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x0006896c)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x00068474)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
dn
.
.
.
up
.
.
.
init...
-list vectors vector=24, handle=30b24, int=0 ,h0,iaf8a0
-mac irq attached to vector 24
-list vectors vector=4, handle=30b24, int=4 ,h0,iaf8a4
-mac irq attached to vector 4
-list vectors vector=6, handle=30b24, int=8 ,h0,iaf8a8
-mac irq attached to vector 6
-list vectors vector=19, handle=30b24, int=c ,h0,iaf8ac
-mac irq attached to vector 19
-list vectors vector=5, handle=30b24, int=10 ,h0,iaf8b0
-mac irq attached to vector 5
-list vectors vector=7, handle=30b24, int=14 ,h0,iaf8b4
-mac irq attached to vector 7
-list vectors vector=20, handle=30b24, int=18 ,h0,iaf8b8
-mac irq attached to vector 20
Link status for if0
100M
30 30 3a 66 66 3a
IN MAC REG 663A30303A66
Start PING test
Error: SIOCGIFHWADDR 2: Device not configured
Mac addr 03:00:f8:84:03:00
started Socket PF_NET, SOCK_DGRAM
will do memset
finished doing memset
finished doing stringcopy
Cannot obtain MAC adress :Device not configuredCant set IP of 'eth0' to
'192.168.1.143' Error :'Device not configured'
Net Mask Error : Device not configured
BroadCastError:Device not configured
Error: SIOCGIFHWADDR 2: Device not configured
Mac addr 08:40:9c:56:06:00
Cant set IP of 'eth0' to '192.168.1.144' Error :'Device not configured'
Net Mask Error : Device not configured
BroadCastError:Device not configured...
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2005-05-17 13:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-17 18:16 Raja Mallik [this message]
2005-05-18 4:57 ` Gary Thomas
2005-05-18 10:23 ` Raja Mallik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1116337408.1685.60.camel@mazda \
--to=raja.mallik@moschip.com \
--cc=ecos-discuss@ecos.sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).