Date: Thu, 05 Jul 2012 10:41:51 +0200 From: Willem Jan Withagen <wjw@digiware.nl> To: pyunyh@gmail.com Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: sk0 link bouncing Message-ID: <4FF5534F.7050106@digiware.nl> In-Reply-To: <20120706002930.GA1466@michelle.cdnetworks.com> References: <4FF41610.10402@digiware.nl> <20120706002930.GA1466@michelle.cdnetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FF5534F.7050106>