From owner-freebsd-current@FreeBSD.ORG Wed Nov 11 22:25:54 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567EE1065676; Wed, 11 Nov 2009 22:25:54 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f192.google.com (mail-qy0-f192.google.com [209.85.221.192]) by mx1.freebsd.org (Postfix) with ESMTP id D2A478FC19; Wed, 11 Nov 2009 22:25:53 +0000 (UTC) Received: by qyk30 with SMTP id 30so716092qyk.7 for ; Wed, 11 Nov 2009 14:25:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=NlwmVWDlxhop+xyshtWFn+F6CBu5gs5LaKs8w4PYuEE=; b=dgRSUoFT3Rr6MQtr8lmImeEgMO+j/jpcdJs22/xjYB/qjEQHROTHLzHoT0zAI8D0WB ekp+UTJZrnqMCM8zhryygm/hd9oqQWQ4oCEIoMb6tmKmRgrC2oqiDBg76FAHv7kDMp6r vxLGbdOyIPmCiV9YF7Ci5t7a0+41Kq0oBphEc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=fLpCvRGM6zi0Il1UW0es41trdb5g72PubEjal7iBNT/c/BUTpfHlQbmFvtF56cBWfq P6wQCs29//+oVi6/+oP1elCm0QxsyArEbFI8L8EZYjqKLwhPa3vNmsvY+YWg6898YGLd EhezT6Pyr7l6r+plMcfvkx26equuaoxdsaeQM= Received: by 10.224.114.149 with SMTP id e21mr1138619qaq.215.1257978353127; Wed, 11 Nov 2009 14:25:53 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 23sm111392qyk.7.2009.11.11.14.25.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 11 Nov 2009 14:25:52 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 11 Nov 2009 14:25:20 -0800 From: Pyun YongHyeon Date: Wed, 11 Nov 2009 14:25:20 -0800 To: Jack Vogel Message-ID: <20091111222520.GD15449@michelle.cdnetworks.com> References: <200911092215.nA9MFeDP013898@lava.sentex.ca> <2a41acea0911091459w2b4fec5djd64d0324557b7da2@mail.gmail.com> <200911100021.nAA0LvMG014534@lava.sentex.ca> <2a41acea0911091633u2899b47ewb514b6276ba2cf62@mail.gmail.com> <200911100227.nAA2RtDY015177@lava.sentex.ca> <2a41acea0911101057q4f913e30m9319e52bbd254cfe@mail.gmail.com> <2a41acea0911101120o39fd695cpa325736d00b11587@mail.gmail.com> <200911102018.nAAKI3s7021614@lava.sentex.ca> <20091111203101.GC15449@michelle.cdnetworks.com> <2a41acea0911111419v5ae5682cy12613e1bd9a9c325@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a41acea0911111419v5ae5682cy12613e1bd9a9c325@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: jfv@freebsd.org, Mykola Dzham , re , current@freebsd.org, Mike Tancsa Subject: Re: page fault in igb driver on 8.0-RC2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2009 22:25:54 -0000 On Wed, Nov 11, 2009 at 02:19:21PM -0800, Jack Vogel wrote: > On Wed, Nov 11, 2009 at 12:31 PM, Pyun YongHyeon wrote: > > > On Tue, Nov 10, 2009 at 03:18:09PM -0500, Mike Tancsa wrote: > > > At 02:20 PM 11/10/2009, Jack Vogel wrote: > > > >This is a fix for this problem, please apply and test this. > > > > > > Hi, > > > Thanks! Yes, I am able to use both ports of the NIC now and > > > no panics yet. Prior to this patch, bringing up both ports resulted > > > in a non functioning NIC and panic! Generating some UDP and tcp > > > traffic through the box, all seems to be OK on first blush. > > > > > > > I think this is a separate issue. Jack's patch surely reduce the > > number of chance of bus_dmamap_load_mbuf_sg(9) failure because it > > removed unnecessary DMA alignment restriction but once it happen > > you would get the same result. Note, original poster's machine is > > amd64. > > > > Ya, so maybe a more robust solution to that failure would be a good > thing, but this is not the time for more elaborate code, having this small > fix put in is low risk and the better failure response can come later. > Agreed. :-) > In fact, I have a number of places in the ixgbe driver where I'm pondering > over what to do in failure mode anyway. > That's great! > Jack >