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

Alain Knaff (Alain.Knaff@imag.fr)
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 127.0.0.1!
>> Sep 28 23:07:38 pumpuli kernel: ICMP: failed checksum from 127.0.0.1!
>> 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
>
>Alan
>

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:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:2000 Metric:1
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 * 255.0.0.0 U 1872 0 1 lo

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

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,

Alain