Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2012 10:15:09 +0100 (CET)
From:      Joerg Pulz <Joerg.Pulz@frm2.tum.de>
To:        Matthew Jacob <mjacob@freebsd.org>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: isp(4) broken in RELENG_9
Message-ID:  <alpine.BSF.2.00.1211021011260.1938@unqrf.nqzva.sez2>
In-Reply-To: <5092B752.5020807@freebsd.org>
References:  <alpine.BSF.2.00.1210311616350.1938@unqrf.nqzva.sez2> <50915CC0.1090207@feral.com> <alpine.BSF.2.00.1211011055250.41308@unqrf.nqzva.sez2> <509281A6.1050302@feral.com> <5092B752.5020807@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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: <Qlogic ISP 2532 PCI FC-AL Adapter> 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: <Qlogic ISP 2532 PCI FC-AL Adapter> 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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1211021011260.1938>