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]

goahead webserver do nothing


Hi there,

I try to run the goahead webserver 2.1 on the edb7212 board.
i have installed 'ecos-1.3.1-1.i386.rpm' with the TCP/IP stack
'net-1.0b1.epk'

to do this i did the following steps.

1. mkdir ecos-work
2. cd ecos-work
3. ecosconfig new edb7xxx
4. tclsh ecosadmin.tcl net-1.0b1.epk
5. ecosconfig add CYGPKG_NET
6. ecosconfig add CYGPKG_NET_ETH_DRIVERS
7. ecosconfig add CYGPKG_NET_EDB7XXX_ETH_DRIVERS
8. i have edited the ecos.ecc file to change some 'user_value'.

=============== cut here ===============
# Build networking tests (demo programs)
# This option enables the building of the network tests
# which at this time are just demos.
#
cdl_component CYGPKG_NET_BUILD_TESTS {
    # Flavor: bool
    # No user value, uncomment the following line to provide one.
    user_value 1
    # value_source default
    # Default value: 0

    # The following properties are affected by this value
    # option CYGPKG_NET_TESTS
    #     Calculated:  CYGPKG_NET_BUILD_TESTS ?  "tests/mbuf_test
tests/socket_test  tests/ftp_test  tests/server_test
tests/nc_test_master  tests/nc_test_slave  tests/tcp_echo
tests/ping_test" : ""
};
=============== cut here ===============

=============== cut here ===============
# Use BOOTP/DHCP to initialize 'eth0'?
#
cdl_component CYGHWR_NET_DRIVER_ETH0_BOOTP {
    # Flavor: bool
    # No user value, uncomment the following line to provide one.
    user_value 0
    # value_source default
    # Default value: 1
};
=============== cut here ===============

=============== cut here ===============
# <
# Address setups for 'eth0'
#
cdl_component CYGHWR_NET_DRIVER_ETH0_ADDRS {
    # Flavor: bool
    # No user value, uncomment the following line to provide one.
    user_value 1
    # value_source default
    # Default value: 0
};
=============== cut here ===============

=============== cut here ===============
# >
# IP address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_IP {
    # This option is not active
    # The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled

    # Flavor: data
    # No user value, uncomment the following line to provide one.
    user_value 10.80.1.202
    # value_source default
    # Default value: 192.168.1.2
};

# Network mask address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_NETMASK {
    # This option is not active
    # The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled

    # Flavor: data
    # No user value, uncomment the following line to provide one.
    # user_value 255.255.255.0
    # value_source default
    # Default value: 255.255.255.0
};

# Broadcast address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_BROADCAST {
    # This option is not active
    # The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled

    # Flavor: data
    # No user value, uncomment the following line to provide one.
    user_value 10.80.1.255
    # value_source default
    # Default value: 192.168.1.255
};

# Gateway/router IP address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_GATEWAY {
    # This option is not active
    # The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled

    # Flavor: data
    # No user value, uncomment the following line to provide one.
    user_value 10.80.1.250
    # value_source default
    # Default value: 192.168.1.101
};

# Server IP address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_SERVER {
    # This option is not active
    # The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled

    # Flavor: data
    # No user value, uncomment the following line to provide one.
    user_value 10.80.1.51
    # value_source default
    # Default value: 192.168.1.101
};
=============== cut here ===============

9.ecosconfig tree
10. make
11. make tests

here i ran ping_test, ftp_test, server_test, mbuf_test.c, socket_test.c,

tcp_echo and they work fine.

12. mkdir webserver21
13. cd webserver21
14. gzip -d Webs21.tar.gz
15. tar xvf Webs21.tar
16. cd ECOS
17. i have edited the 'Makefile' file :)

=============== cut here ===============
PKG_INSTALL_DIR := /ecos-work/install
=============== cut here ===============

18. make
19. arm-elf-gdb -nw webs :
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=arm-elf"...
(gdb) set height 0
(gdb) set debug remote 0
(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0xe0001750 in ?? ()
(gdb) load
Loading section .rom_vectors, size 0x60 lma 0x8000
Loading section .text, size 0x34bbc lma 0x8060
Loading section .rodata, size 0x4085 lma 0x3cc1c
Loading section .data, size 0x101ca4 lma 0x40ca4
Start address 0x8060 , load size 1288517
Transfer rate: 27126 bits/sec, 305 bytes/write.
(gdb) cont
Continuing.
Network stack using 65536 bytes for misc space
                    65536 bytes for mbufs
                    131072 bytes for mbuf clusters
Init device 'edb7xxx'
cs8900 init
CS8900 - type: 630E, rev: 800
CS8900 - status: D6 (no EEPROM present)
BOOTP[eth0] op: REPLY
       hw_type: Ethernet
       hw_addr: FF:FF:FF:FF:FF:FF
     client IP: 10.80.1.202
         my IP: 10.80.1.202
     server IP: 10.80.1.51
    gateway IP: 10.80.1.250
  options:
        subnet mask: 255.255.255.0
       IP broadcast: 10.80.1.255

and nothing more..., I have wait more than 10 minutes but nothing
change.

At this point, I have tried to connect the webserver with netscape
i did http://10.80.1.202

and the result was :

ERROR
The requested URL could not be retrieved
------------------------------------------------------------
While trying to retrieve the URL: http://10.80.1.202/
The following error was encountered:
       Connection Failed
The system returned:
    (111) Connexion refusée.
This means that:
    The remote site or server may be busy or down.  Please try again
later.
------------------------------------------------------------
Generated by squid/1.1.22@proxy-meylan.teamlog.fr

I have wait other 10 minutes but still nothing new.
and netscape gave me the same error.

what's wrong ?
my ecos'configuration ?
my webserver build ?
...

best regards,

Guillermo.


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