From owner-freebsd-current@FreeBSD.ORG Thu Jun 14 05:59:02 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 977BB16A400 for ; Thu, 14 Jun 2007 05:59:02 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 5215213C44B for ; Thu, 14 Jun 2007 05:59:02 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l5E5wwOV085912; Wed, 13 Jun 2007 23:58:59 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4670D91B.4050201@samsco.org> Date: Wed, 13 Jun 2007 23:58:51 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070509 SeaMonkey/1.1.2 MIME-Version: 1.0 To: Charles DeBardeleben References: <80a505ba0706132221o9070843i1433ee0f11807969@mail.gmail.com> In-Reply-To: <80a505ba0706132221o9070843i1433ee0f11807969@mail.gmail.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Wed, 13 Jun 2007 23:58:59 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: 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:59:02 -0000 Charles DeBardeleben wrote: > 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. > I believe that a fix was committed on June 11, rev 1.145 of /sys/dev/isp/isp_pci.c. If it's still not working for you, contact Matt Jacob and myself. Scott