[1146] in linux-net channel archive

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Alain Knaff)
Sat Sep 30 11:32:18 1995

From: Alain.Knaff@imag.fr (Alain Knaff)
To: iialan@iifeak.swan.ac.uk (Alan Cox)
cc: linux-kernel@vger.rutgers.edu, linux-net@vger.rutgers.edu,
        jappe@hauki.clinet.fi
Reply-To: Alain.Knaff@imag.fr
In-reply-to: Your message of Fri, 29 Sep 95 15:20:49 +0100.
             <m0sygJ0-00014DC@iiit.swan.ac.uk> 
Date: 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


home help back first fref pref prev next nref lref last post