This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: FreeBSD-Stack not responding (Update)
Hi again,
On Wed, Jul 31, 2002 at 12:32:45PM +0200, Andrew Lunn wrote:
> Put some break points into places like ether_input, ip_input,
> tcp_input etc and see where the packet gets dropped.
there is a problem with the function in_cksum( ) in
bsd_tcpip/current/src/sys/netinet/in_cksum.c
it says a packet has a wrong
checksum if (len % 4 != 2). ethereal
shows the checksum is correct.
If the function returns always 0 (hardcoded)
this gives me a "working" IP stack :-/
DHCP isnt working anyway, /var/syslog says
DHCPDISCOVER from 00:01:bb:00:0b:78
DHCPDISCOVER from 00:01:bb:00:0b:78
already acking lease 10.16.2.240
DHCPDISCOVER from 00:01:bb:00:0b:78
already acking lease 10.16.2.240
DHCPDISCOVER from 00:01:bb:00:0b:78
already acking lease 10.16.2.240
DHCPDISCOVER from 00:01:bb:00:0b:78
already acking lease 10.16.2.240
DHCPDISCOVER from 00:01:bb:00:0b:78
already acking lease 10.16.2.240
DHCPOFFER on 10.16.2.240 to 00:01:bb:00:0b:78 via eth0
7 bad udp checksums in 13 packets
5 bad udp checksums in 5 packets
5 bad udp checksums in 5 packets
looks like checksum calculating ( in both direction )
is not working for me.
any hints, regards, christoph
--
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss