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
|