Re: sk0 link bouncing

From: Willem Jan Withagen <wjw_at_digiware.nl>
Date: Thu, 05 Jul 2012 10:41:51 +0200
On 2012-07-06 2:29, YongHyeon PYUN wrote:
> On Wed, Jul 04, 2012 at 12:08:16PM +0200, Willem Jan Withagen wrote:
>> Hi,
>>
>> I've got tons of these since I stopped loading the port with traffic....
>> It seems to have a pretty steady 27 min interval.
>>
>> Jul  4 07:00:05 freetest kernel: sk0: link state changed to DOWN
>> Jul  4 07:00:05 freetest kernel: sk0: link state changed to UP
>> Jul  4 07:27:21 freetest kernel: sk0: link state changed to DOWN
>> Jul  4 07:27:21 freetest kernel: sk0: link state changed to UP
>> Jul  4 07:53:48 freetest kernel: sk0: link state changed to DOWN
>> Jul  4 07:53:48 freetest kernel: sk0: link state changed to UP
>> Jul  4 08:21:16 freetest kernel: sk0: link state changed to DOWN
>> Jul  4 08:21:16 freetest kernel: sk0: link state changed to UP
>> Jul  4 08:48:10 freetest kernel: sk0: link state changed to DOWN
>> Jul  4 08:48:11 freetest kernel: sk0: link state changed to UP
>> Jul  4 09:13:38 freetest kernel: sk0: link state changed to DOWN
>> Jul  4 09:13:38 freetest kernel: sk0: link state changed to UP
>> Jul  4 09:39:06 freetest kernel: sk0: link state changed to DOWN
>> Jul  4 09:39:06 freetest kernel: sk0: link state changed to UP
>>
>> Very recent 10-current install with std GENERIC kernel.
>> FreeBSD freetest.digiware.nl 10.0-CURRENT FreeBSD 10.0-CURRENT #1: Sat
>> Jun 30 09:35:43 UTC 2012
>> root_at_freetest.digiware.nl:/usr/obj/usr/src/sys/GENERIC  amd64
>>
>> The port is connected to a basic netgear 10/100/1000 switch with nothing
>> modified in the config of that port.
>> Other connections do not seem to suffer from disconnecting.
>>
>> Used the server to 'zfs send' a 360G backup to, and then it did not do
>> anything like this, the port just stayed up.
>>
>> Suggestions where of what to look for this?
> 
> Probably you have to implement link state change handler for
> Marvell controller(i.e.  sk_marv_miibus_statchg()).  Locking for
> MII access should be revisited too.
> Sorry, don't have spare time to do that.

I think I understand you comments.
But I do not have the knowledge to do this. :(

The board also has an msk0, which I'm now trying.

Thanx,
--WjW
Received on Thu Jul 05 2012 - 06:41:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:28 UTC