Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2006 11:53:03 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Ian FREISLICH <if@hetzner.co.za>
Cc:        current@freebsd.org
Subject:   Re: if_em goes mum 
Message-ID:  <32633.1158753183@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 20 Sep 2006 13:36:14 %2B0200." <E1GQ0NC-000C5i-FM@hetzner.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <E1GQ0NC-000C5i-FM@hetzner.co.za>, Ian FREISLICH writes:
>Poul-Henning Kamp wrote:
>> 
>> Every few minutes my if_em goes mum, it receives packets but
>> does not transmit anything.
>> 
>> ifconfig em0 down ; sleep .1 ; ifconfig em0 up
>> 
>> makes it work again.
>
>Is the OACTIVE flag set? And is TSO enabled on the interface with
>100M media?

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=38b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM,TSO4,TSO6>
        inet 10.221.74.159 netmask 0xffff0000 broadcast 10.221.255.255
        ether 00:0d:60:cf:26:7a
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active


I've disabled tso and I still see the hang:

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM>
        inet 10.221.74.159 netmask 0xffff0000 broadcast 10.221.255.255
        ether 00:0d:60:cf:26:7a
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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