Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2006 15:52:23 +0200
From:      Andre Oppermann <andre@freebsd.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Ian FREISLICH <if@hetzner.co.za>, current@freebsd.org
Subject:   Re: if_em goes mum
Message-ID:  <45114797.3030305@freebsd.org>
In-Reply-To: <32633.1158753183@critter.freebsd.dk>
References:  <32633.1158753183@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> 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

Please give the 'pciconf -lv' output for the em devices.  I have a machine
with a particular chipset that has some trouble as well.  Jack Vogel tries
to debug it.

-- 
Andre



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