Re: "ping localhost -s 9019" gives failed checksum...

Alain Knaff (
Sat, 30 Sep 95 09:51:07 +0100

>> After i typed:
>> ping localhost -s 9019
>> I got this:
>> Sep 28 23:07:38 pumpuli linux: ICMP: failed checksum from!
>> Sep 28 23:07:38 pumpuli kernel: ICMP: failed checksum from!
>> Sep 28 23:07:41 pumpuli last message repeated 58 times
>> [ALOT of that stuff removed]
>> And there was messages like these too:
>> Sep 28 23:01:43 pumpuli kernel: try_to_share: bad mid directory 07200734
>> Sep 28 23:02:24 pumpuli kernel: bad page middle entry 07200720
>> Sep 28 23:02:36 pumpuli kernel: statm_pte_range: bad pmd (07200720)
>Thats not good. The checksum errors are because the assembler ip_fold_csum I
>wrote is wrong, and I've not had time to fix it (have a look in checksum.h
>if you are an assembler hacker) and in net/ipv4/icmp.c

For me it is even worse: since 1.3.30, ping localhost doesn't work at all, it
just hangs. Same for all other connections to localhost. The loopback
interface shows up in ifonfig and route:
> ifconfig
lo Link encap:Local Loopback
inet addr: Bcast: Mask:
RX packets:15 errors:0 dropped:0 overruns:0
TX packets:15 errors:0 dropped:0 overruns:0

> route
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
loopback * U 1872 0 1 lo

I use the following in my /etc/rc.d/rc.inet1 :
/sbin/ifconfig lo
/sbin/route add -net

There are no kernel messages printed.

Ppp works all right. I also tried the "dummy" interface for local connections,
but it failed too.

Any ideas?

Thanks in advance,