From owner-freebsd-current@FreeBSD.ORG Thu Jun 14 05:50:34 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08CF716A400 for ; Thu, 14 Jun 2007 05:50:34 +0000 (UTC) (envelope-from charles.debardeleben@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id BD71A13C45E for ; Thu, 14 Jun 2007 05:50:33 +0000 (UTC) (envelope-from charles.debardeleben@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so356700wra for ; Wed, 13 Jun 2007 22:50:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=i/JGgG4w2Nx5orJ2dNiKKEa2YiCpBDr5pUkRuPw0Gh/TSnYp7LVr6PxbR5sWmG9nRJnGyOcAt1wZ1kZncl8+35ls6EU1FjTrPGcsXnCK+oEeHcEQSBNJymhh5SwaLL05SELN27xr8NL3CxOigJajuhuMiiIEJlkWJaYvCXdbMhU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Vp30z3sDHolycqhdON01/OKrTNHtg9h5QBpG2zf4S9xV2gPiUfomhMStoqjHRYJ/PVfwZtslqI7OxvRaFwkvU00pmBz8rWBu3uOaA0+hNcsTeXi3Wr/u/SxekKm6Ljzbnob1JFTi78OfuMAQvkwB5KYuHy4fEGCNrSaP1mLGoRQ= Received: by 10.78.83.15 with SMTP id g15mr532269hub.1181798507703; Wed, 13 Jun 2007 22:21:47 -0700 (PDT) Received: by 10.78.174.2 with HTTP; Wed, 13 Jun 2007 22:21:47 -0700 (PDT) Message-ID: <80a505ba0706132221o9070843i1433ee0f11807969@mail.gmail.com> Date: Wed, 13 Jun 2007 22:21:47 -0700 From: "Charles DeBardeleben" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: i386/i386/busdma_machdep.c 1.88 breaks isp X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 05:50:34 -0000 I have a qlogic 12160 based controller and the driver hangs at attach. I have traced the problem to _bus_dmamap_load_buffer() looping in the for (seg = *segp; buflen > 0 ; ) {...} loop forever. Backing back down to i386/i386/busdma_machdep.c 1.87 fixes the problem. I have not tracked it down to whether the fix to _bus_dmamap_load_buffer() is bad or if isp has a bug that is exposed by this fix. At least I can run now. -Charles