From owner-freebsd-stable@FreeBSD.ORG Wed Apr 22 04:40:55 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5F8DC6CC for ; Wed, 22 Apr 2015 04:40:55 +0000 (UTC) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pix.net", Issuer "Pix.Com Technologies, LLC CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F0FF1B24 for ; Wed, 22 Apr 2015 04:40:55 +0000 (UTC) Received: from mail.distal.com (mail.distal.com [IPv6:2001:470:e24c:200:0:0:0:ae25]) (authenticated bits=0) by hydra.pix.net (8.15.1/8.15.1) with ESMTPSA id t3M4ehxC045145 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Apr 2015 00:40:53 -0400 (EDT) (envelope-from cross+freebsd@distal.com) Received: from magrathea.distal.com (magrathea.distal.com [206.138.151.12]) (authenticated bits=0) by mail.distal.com (8.14.9/8.14.9) with ESMTP id t3M4dFFH027301 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 22 Apr 2015 00:39:18 -0400 (EDT) (envelope-from cross+freebsd@distal.com) Subject: Re: 10.1-STABLE bce: Watchdog timeout occurred Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_2F528D35-FD24-4CA4-BE82-EAAEAAB2C19B"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Chris Ross In-Reply-To: <55365A57.60509@glyndwr.ac.uk> Date: Wed, 22 Apr 2015 00:39:16 -0400 Cc: Alnis Morics , freebsd-stable@freebsd.org Message-Id: <186A4B92-CA84-45DD-8710-307204BD8B7F@distal.com> References: <55361DF6.2080606@gmail.com> <55365A57.60509@glyndwr.ac.uk> To: Gareth Wyn Roberts X-Mailer: Apple Mail (2.1878.6) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.distal.com [206.138.151.250]); Wed, 22 Apr 2015 00:39:23 -0400 (EDT) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2015 04:40:55 -0000 --Apple-Mail=_2F528D35-FD24-4CA4-BE82-EAAEAAB2C19B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Apr 21, 2015, at 10:10 , Gareth Wyn Roberts = wrote: > This may be caused by DMA alignment problems. > See = https://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D145859+0+archive/2015/free= bsd-stable/20150419.freebsd-stable for a recent thread about the msk = driver. The msk maintainer Yonghyeon Pyun has opted for super safe = options of 32K alignment! >=20 > It's a long shot, but you could try increasing BCE_DMA_ALIGN and/or = BCE_RX_BUF_ALIGN in the include file if_bcereg.h, say up to 4096, to see = whether it makes any difference. Well, after making that change, I was able to confirm that the problem = doesn't seem to occur. However, in trying to verify the problem on an = unmodified kernel, I've rebooted a GENERIC from r281672 without that = change, and am also not seeing the problem. :-/ I'm not sure whether = the gremlins have "fixed" something, or if I was just too critical in my = initial analysis. For now I'll take that change out of my tree and run without it. If I = see the flapping again, I'll confirm that it's repeatable, then change = the alignments as suggested and see if I see a change. Thanks all... - Chris --Apple-Mail=_2F528D35-FD24-4CA4-BE82-EAAEAAB2C19B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVNyX0AAoJEPFBDnXvoNg0DZ8P/jeSiDmmHHVdKI31bBrgdONh PF31RNwUoTZ6O+FGhYbIkje3MvhXRzkg1hFLC0A07XhWLYRnI7kY7rpKlx66kLea yK7OHr65ROFifus87+vH5fWGHYnrTnIYDKcZ8c2hZhqy6POdxzj/yfmCNMMkuSGN NIwWqxFfpJIZ5eLoqN3651VfIf2PBG1qc6yGiaRXbDLKYi7uiH5I31BkQ50Tvw+Y rTOuuQPjRUqWLKV0cNc4i6RREQ3AtxnJwIPyzd+3qwrbzKrJBWa+byfT0t7Ykaa2 9W3iUhtMNYBg4hJ17A40i/X3d2CZskY+rs+BsfjGR9lZl7BQmcQISamGimAdbk7n 6azz5qorvlu8290p+RylqG8n15E6xI5sJbUC+lcZAAeT7OCUqOFewFCOTz6plqeh LDCVOvmH3d4QOqNHZJdBZqb6r0WCI7PInrTcMhOZzdrkxSTS8pnpfcjtYpZDbmYl zYWXTQJFDAOMnfL4OXcvG/AeP1WU5Q3U1OC9RYa9UZexSSfVcwGpn539YuRvktgk 5Q8zZopbe+lLP3E1RISBE9yFfBFIvd5pGMhQwt4iQ6Xm/XJG5s/P9wTZjMN4uDz0 yNGZa96WV0VrrYi7R+yMo6Q4ICSsnxzeuVNT1Ma62M86SIbn4VtmPvK4rvqXLTqL /TBkGpj437Dx4/Uy7NSh =Ls1T -----END PGP SIGNATURE----- --Apple-Mail=_2F528D35-FD24-4CA4-BE82-EAAEAAB2C19B--