Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 11:23:29 +0900
From:      Yonghyeon PYUN <pyunyh@gmail.com>
To:        David Naylor <dbn@freebsd.org>
Cc:        stable@freebsd.org
Subject:   Re: MPCP Opcode Pause and unresponsive computer
Message-ID:  <20140217022329.GA3675@michelle.cdnetworks.com>
In-Reply-To: <1403963.5sDsKbxfoF@dragon.dg>
References:  <1403963.5sDsKbxfoF@dragon.dg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 13, 2014 at 10:01:56PM +0300, David Naylor wrote:
> Hi,
> 
> I recently installed FreeBSD 10.0-RELEASE on an headless Intense-PC.  I am 
> experiencing two network related issues with the computer.  
> 
> First issue
> -----------
> When compiling lang/ruby19 the network freezes.  The build was done directly 
> from the command line using ssh.  After a while ssh reports "Write failed: 
> Broken pipe".  I attached the monitor and no messages were displayed on the 
> output (and the machine was still running).  
> 
> The Intense-PC does not respond to pings at this point either.  Of note, I was 
> capable of transferring multiple GB of data and successfully compiled other 
> ports but compiling lang/ruby19 messes up everything.  
> 
> Second issue
> ------------
> After a period of uptime (after the freeze from building lang/ruby19) the 
> entire network stops working, nothing is capable of connecting or 
> communicating on the network.  When I do a tcpdump (from a different, affected 
> computer) I find the following:
> 
> 20:57:58.254626 MPCP, Opcode Pause, length 46
> 
> These messages get repeated a few times a second.  The moment I disconnect the 
> Intense-PC from the network functionality is restored (and is clearly 
> illustrated by the tcpdump).  
> 
> Information
> -----------
> # uname -a
> FreeBSD dragonbsd 10.0-RELEASE FreeBSD 10.0-RELEASE #0 d44ce30(releng/10.0): 
> Sun Feb  9 20:11:55 SAST 2014     
> root@dragon.dg:/tmp/home/freebsd/10.0/src/sys/MODULAR  amd64
> 
> # ifconfig
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>         options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
>         inet6 ::1 prefixlen 128 
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
>         inet 127.0.0.1 netmask 0xff000000 
>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
>         ether XX:XX:XX:XX:XX:XX
>         inet 192.168.0.160 netmask 0xffffff00 broadcast 192.168.0.255 
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
>         ether XX:XX:XX:XX:XX:XX
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect (none)
>         status: no carrier
> 
> Any assistance to resolve this issue will be greatly appreciated.  
> 

It's not normal to see pause frames with tcpdump.  If my memory
serves me right, MAC control frames which include pause frames
should not be passed to host.  Which network driver do you see
above pause frames?  Some drivers like fxp(4) allow passing pause
frames to host but I think that's a bug in driver. I didn't change
that behavior of the driver just because it used to enable that
feature in the past.

I'm not sure what's happening there but receiving pause frames will
inhibit sending frames until the pause time expires such that you'll
not get any response from the host.  Probably you have to know
which host is sending these lots of pause frames.  Once you
identify the guilty host, you have to narrow down what condition
makes it send pause frames.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140217022329.GA3675>