linux-mips-fnet
[Top] [All Lists]

Re: 2.1.131 strikes back!

To: linux-mips@fnet.fr
Subject: Re: 2.1.131 strikes back!
From: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Date: Sat, 23 Jan 1999 17:56:05 +0100 (MET)
In-reply-to: <Pine.LNX.3.95.990121001620.2301C-100000@whale.dutch.mountain>
Organization: none
Reply-to: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Sender: harry@franz.no.dom
Hi,

On 20-Jan-99 Richard van den Berg wrote:
>> [root@mips /root]# ping 192.168.1.1
>> PING 192.168.1.1 (192.168.1.1): 56 data bytes
>> 64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=10.0 ms
>> ping: recvfrom: Unknown error 512
>> 64 bytes from 192.168.1..1: icmp_seq=1 ttl=64 time=0.0 ms
>> ping: recvfrom: Unknown error 512
>> 64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.0 ms
>> ping: recvfrom: Unknown error 512
> 
> Still some that leaves me puzzled. :-)

>From my 5k/133:

bash# ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2): 56 data bytes
64 bytes from 192.168.0.2: icmp_seq=0 ttl=64 time=0.0 ms
ping: recvfrom: Reserved error 512
64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=40.0 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.0 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=0.0 ms
ping: recvfrom: Reserved error 512
64 bytes from 192.168.0.2: icmp_seq=4 ttl=64 time=0.0 ms
ping: recvfrom: Reserved error 512
64 bytes from 192.168.0.2: icmp_seq=5 ttl=64 time=0.0 ms

>From my 5k/260:

bash# ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2): 56 data bytes
64 bytes from 192.168.0.2: icmp_seq=0 ttl=64 time=3.4 ms
64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.7 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.7 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=0.7 ms
64 bytes from 192.168.0.2: icmp_seq=4 ttl=64 time=0.7 ms
64 bytes from 192.168.0.2: icmp_seq=5 ttl=64 time=0.7 ms

Same source tree with different CONFIG_CPUs, same root fs.

Look at linux/include/linux/errno.h:

#ifndef _LINUX_ERRNO_H
#define _LINUX_ERRNO_H

#include <asm/errno.h>

#ifdef __KERNEL__

/* Should never be seen by user programs */
#define ERESTARTSYS     512
#define ERESTARTNOINTR  513
#define ERESTARTNOHAND  514     /* restart if no handler.. */
#define ENOIOCTLCMD     515     /* No ioctl command */

#endif

#endif

ERESTARTSYS probably comes from the zs driver. Time for bughunting again...
That "Should never be seen by user programs" comment really makes wonder.

Happy hunting.
---
Regards,
Harald

<Prev in Thread] Current Thread [Next in Thread>