From owner-freebsd-scsi@FreeBSD.ORG Fri Nov 2 09:15:25 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C39B5C54; Fri, 2 Nov 2012 09:15:25 +0000 (UTC) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12]) by mx1.freebsd.org (Postfix) with ESMTP id 324B88FC14; Fri, 2 Nov 2012 09:15:24 +0000 (UTC) Received: from mailhost.frm2.tum.de (localhost [127.0.0.1]) by mailhost.frm2.tum.de (8.14.4/8.14.4) with ESMTP id qA29FHJm018274; Fri, 2 Nov 2012 10:15:17 +0100 (CET) (envelope-from Joerg.Pulz@frm2.tum.de) X-Virus-Scanned: at mailhost.frm2.tum.de Received: from hades.admin.frm2 (hades.admin.frm2 [172.25.1.10]) (authenticated bits=0) by mailhost.frm2.tum.de (8.14.4/8.14.4) with ESMTP id qA29FCUk018268 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 2 Nov 2012 10:15:12 +0100 (CET) (envelope-from Joerg.Pulz@frm2.tum.de) Date: Fri, 2 Nov 2012 10:15:09 +0100 (CET) From: Joerg Pulz To: Matthew Jacob Subject: Re: isp(4) broken in RELENG_9 In-Reply-To: <5092B752.5020807@freebsd.org> Message-ID: References: <50915CC0.1090207@feral.com> <509281A6.1050302@feral.com> <5092B752.5020807@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (mailhost.frm2.tum.de [129.187.179.12]); Fri, 02 Nov 2012 10:15:12 +0100 (CET) Cc: freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 09:15:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 1 Nov 2012, Matthew Jacob wrote: > On 11/01/12 07:05, Matthew Jacob wrote: >> So, it's working in 9.1 but not in 9? >> >> Since any fix to 9.0 would be in 9.1 are we just concerned with >> understanding what happened, or is there a specific reason we need to know >> what changed so that a specific fix to 9.0 is needed? >> >> I'm sure that there is a bug in isp where it can ask for more than a page's >> worth of queue space mapping but can't deal with things if you get more >> than 1 segment descriptor back. I need to fix that, but I won't be able to >> get to that for a couple of weeks. >> >> It's possible that the FC-TAPE changes triggered this because that threw >> more of a load on the control space. I'll try and calculate a change to >> MAXISPREQUEST to re-fit within a page some time today. >> >> -matt >> > Try the attached patch and see if it works for you. I'm not really satisfied > with it- I need to do a slightly more finessed solution, but it might work > for you for the moment. Hi again, i tried your patch and for now it is working again. I've added some debug stuff right before the call to isp_dma_tag_create(), just FYI, see below. If you have any "better" solution, just let me know and i will test it. Kind regards Joerg #### isp0: port 0x3000-0x30ff mem 0xf7140000-0xf7143fff,0xf7200000-0xf72fffff irq 16 at device 0.0 on pci3 isp0: isp_pci_mbxdma(): slim: 0 isp0: isp_pci_mbxdma(): len: 114688 isp0: isp_pci_mbxdma(): ns: 29 isp1: port 0x3400-0x34ff mem 0xf7144000-0xf7147fff,0xf7300000-0xf73fffff irq 17 at device 0.1 on pci3 isp1: isp_pci_mbxdma(): slim: 0 isp1: isp_pci_mbxdma(): len: 114688 isp1: isp_pci_mbxdma(): ns: 29 #### - -- The beginning is the most important part of the work. -Plato -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iD8DBQFQk48gSPOsGF+KA+MRAid7AKCj7o0isLGobW7/Sk6849EllTa1sQCcCE4X vVFkOJsZawJkL2CvdxkNN/8= =gDvu -----END PGP SIGNATURE-----