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]

FW: Ethernet init problem


Hi, 

I am having some trouble initiating my ethernet device (mpc823). For
some reason it sais that the device cannot be found. This is very
strange since earlier in the init phase i can see the " init device
'quicc_eth' ", which i hope comes due to that ecos has called the init
function in the driver. 

In my main function i just call "init_all_network_interfaces()". All the
setting that has to be done is set in configtool (broadcast, ip, gateway
etc).

Is there some naming conflict here? I have tried to rename both the
driver in configtool and the driver code itself (devtab) so that they
have the same name but it doesnt seem to be any difference.

I read in an earlier post about the SIOCIFADDR error code that the
driver has to be put in libextras and that is the case for this driver
also.

Any ideas?

Regards, Daniel

Init device '/dev/ser1'
QUICC_SMC SERIAL init - dev: 90.54 Init device '/dev/ttydiag'
Init tty channel: 75440
Init device '/dev/tty0'
Init tty channel: 75460
Init device '/dev/tty1'
Init tty channel: 75480
Init device '/dev/haldiag'
HAL/diag SERIAL init
Network stack using 196608 bytes for misc space
                    196608 bytes for mbufs
                    393216 bytes for mbuf clusters
[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'quicc_eth'
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x00644a9c, next: 0x00000000
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x00075108)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x00074b9c)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
BOOTP[eth0] op: REPLY
       htype: Ethernet
        hlen: 6
        hops: 0
         xid: 0x0
        secs: 0
       flags: 0x0
       hw_addr: ff:ff:ff:ff:ff:ff
     client IP: 146.75.80.21
         my IP: 146.75.80.21
     server IP: 192.168.1.101
    gateway IP: 146.75.80.254
  options:
        subnet mask: 255.255.255.0
       IP broadcast: 146.75.80.255
            gateway: 146.75.80.254
SIOCIFADDR: Device not configured
Network initialization failed for eth0

--
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]