Subject: Re: '... RPC: Unable to send; errno = No buffer space available' in -current
To: Markus W Kilbinger <mk@kilbi.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 01/11/2007 22:29:53
On Thu, Jan 11, 2007 at 03:58:27PM +0100, Markus W Kilbinger wrote:
> >>>>> "Manuel" == Manuel Bouyer <bouyer@antioche.eu.org> writes:
> 
>     Manuel> You may run out of space in the ip or interface queue.
>     Manuel> What does ifconfig says about wm0 when it's in this state
>     Manuel> ?
> 
> it says:
> 
>   # ifconfig wm0
>   wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>           capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
>           enabled=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
>           address: 00:07:e9:0e:67:c7
>           media: Ethernet autoselect (100baseTX full-duplex)
>           status: active
>           inet 10.31.2.13 netmask 0xffffff00 broadcast 10.31.2.255
>           inet6 fe80::207:e9ff:fe0e:67c7%wm0 prefixlen 64 scopeid 0x1
>           inet6 2002:8682:b51:2:207:e9ff:fe0e:67c7 prefixlen 64
> 
> But simply:
> 
>   # ifconfig wm0 down
>   Jan 11 14:32:16 radix routed[293]: interface wm0 to 10.31.2.13 turned off
>   # ifconfig wm0 up
>   Jan 11 14:32:22 radix routed[293]: interface wm0 to 10.31.2.13 restored
> 
> makes it work again.
> 
>   # ping -n 10.31.2.1
>   PING 10.31.2.1 (10.31.2.1): 56 data bytes
>   64 bytes from 10.31.2.1: icmp_seq=0 ttl=255 time=0.331 ms
>   64 bytes from 10.31.2.1: icmp_seq=1 ttl=255 time=0.515 ms
> 
> -> So, how to find out what is 'blocking' the interface' queue?

Could you check with tcpdump on the remote host if the ICMP packet is
properly going out ?

I've never seen this with a wm interface, but most of my systems with
wm hardware use 802.1q vlan an no hardware checksums. Does it still
happens if you disable hardware checksum ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--