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]

webserver don't run on ecos.


Hi all

i ran all tests succesfully on eCos with arm-elf-gdb
and when i try to run webs.exe with arm-elf-gdb i
have the following output :

$ arm-elf-gdb.exe -nw webs.exe
GNU gdb 20000314
Copyright 1998 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-cygwin --target=arm-elf"...
(gdb) set height 0
(gdb) set remotedebug 0
(gdb) set remotebaud 38400
(gdb) target remote com1
Remote debugging using com1
Couldn't establish connection to remote target
Quit
(gdb) target remote com1
Remote debugging using com1
0xe0001750 in ?? ()
(gdb) load
Loading section .rom_vectors, size 0x60 lma 0x8000
Loading section .text, size 0x38518 lma 0x8060
Loading section .rodata, size 0x41dd lma 0x40578
Loading section .data, size 0x103b78 lma 0x44758
Start address 0x8060 , load size 1311437
Transfer rate: 27180 bits/sec, 305 bytes/write.
(gdb) cont
Continuing.
Init device '/dev/ttydiag'
Init tty channel: 148228
Init device '/dev/haldiag'
HAL/diag SERIAL init
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)
laBOOTP[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
[New thread 2]

Program received signal SIGBUS, Bus error.
[Switching to thread 2]
0xe280 in hashIndex (tp=0x1ff00c12, name=0x151859 "") at ../sym.c:430
430             return sum % tp->hash_size;
(gdb)

does the signal "SIGBUS, Bus error" come from eCos or
from webserver21 ? i don't know what to do to run
webs.exe.
i suppose tp->hash_size = 0 but i don't know how to change it.

thanks for help.

Guillermo.


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