From owner-freebsd-net@FreeBSD.ORG Sun Mar 25 06:56:44 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2BFD1065670 for ; Sun, 25 Mar 2012 06:56:44 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 36BC88FC14 for ; Sun, 25 Mar 2012 06:56:43 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so5081599pbc.13 for ; Sat, 24 Mar 2012 23:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=yoStmQWYUSaTQXirE6zH78opgFWC5IQ+AgVxJXpVbMI=; b=HCM9SbtlWzTnfeh6r6ehEkPL030jP4MMHgIPDsoFLUM3lzFL8Dv+XwgYUvqGxtzAXq uGC+xaq3WnRJLVqwwBQ/v8HBM15Y5vmalSwruZosqVcYKpU4qD9quszNK/h5GuLez7s4 ZHdRB799TGZiMdR7CIC0ICqy15UysZ+KK2AWIc7tLC2epxRM17DZ6TclqmqA48NIY+kI 3FRzyx4PprWI8kO4qQw05PlZipUSVgU96SpKSXB0voxKMk8/PwJ5sAdPiszSmKNDn8Ov Aip4tP1sIbTF+LhuwLnc9tvq7iLbvEqJVShUKCqFac4nYobJlJs8G+OnCUppORTMqs5z HR1Q== Received: by 10.68.72.70 with SMTP id b6mr43616856pbv.58.1332658603606; Sat, 24 Mar 2012 23:56:43 -0700 (PDT) Received: from pyunyh@gmail.com ([114.111.62.249]) by mx.google.com with ESMTPS id i8sm9631591pbf.72.2012.03.24.23.56.40 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Mar 2012 23:56:42 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 25 Mar 2012 15:56:40 -0700 From: YongHyeon PYUN Date: Sun, 25 Mar 2012 15:56:40 -0700 To: Joe Holden Message-ID: <20120325225640.GA4493@michelle.cdnetworks.com> References: <4F64AB3B.9030806@rewt.org.uk> <20120319214744.GC7518@michelle.cdnetworks.com> <4F6B061F.9050403@rewt.org.uk> <4F6B7892.6090805@rewt.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F6B7892.6090805@rewt.org.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: msk/Yukon issues since 9.0-REL X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2012 06:56:44 -0000 On Thu, Mar 22, 2012 at 07:08:02PM +0000, Joe Holden wrote: > Joe Holden wrote: > >YongHyeon PYUN wrote: > >>On Sat, Mar 17, 2012 at 03:18:19PM +0000, Joe Holden wrote: > >>>Hi guys, > >>> > >>>I've upgraded to 9.0-REL from RC3 (I think) and the previous > >>>workarounds I've used for msk/Yukon II problems don't seem to work > >>>anymore: > >>> > >>>rc.conf: > >>>ifconfig_msk0="inet 192.168.201.2/30 -lro -tso -vlanhwfilter -vlanhwtag" > >>> > >> > >>msk(4) does not support VLAN hardware filter and LRO. However I > >>don't understand how this affects stability of driver. > >> > >>>pciconf: > >>>mskc0@pci0:7:0:0: class=0x020000 card=0x81e6104d > >>>chip=0x435111ab rev=0x15 hdr=0x00 > >>> vendor = 'Marvell Technology Group Ltd.' > >>> device = '88E8036 PCI-E Fast Ethernet Controller' > >>> class = network > >>> subclass = ethernet > >>> > >>>I seem to get the usual error: > >>>msk0: watchdog timeout > >>>msk0: prefetch unit stuck? > >>>msk0: initialization failed: no memory for Rx buffers > >>> > >> > >>There was a related change after 9.0-RELEASE. The change already > >>merged to stable/9(r229874) So would you try latest stable/9 or > >>apply the change to 9.0-RELEASE? > >>http://svnweb.freebsd.org/base/stable/9/sys/dev/msk/if_msk.c?r1=229524&r2=229874&view=patch > >> > >> > >Well that's cute.... reboot during boot, no panic or errors on the > >console ... > > > >>>MSI(-X) is disabled but it doesn't seem to make any difference.... > >>> > >>>Is there anything I can try to either debug or "fix" it? > >>> > >> > >>If you've upgraded from somewhat old FreeBSD releases, make sure to > >>cold boot your box(i.e. completely remove power cord for several > >>minutes before booting). > >> > >>>Thanks, > >>>J > Ok so after removing sound from GENERIC it boots but the problem still Not sure how audio devices can affect msk(4). > occurs - the flags I used before did work (whether some didn't have any msk(4) had a long standing bug for some Yukon controllers that use 88E1149 PHY. The bug showed various problems depending on PHY configuration. See r222219 for more details. Due to unknown reason GPHY configuration is preserved until it's cold-booted. > effect I don't know, but once I found a combination that prevented the > problem I left it at that) > > Rather a concerning amount of regressions in 9... > > Thanks, > J > >