isp(4) broken in RELENG_9
Joerg Pulz
Joerg.Pulz at frm2.tum.de
Fri Nov 2 09:15:25 UTC 2012
-----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-----
More information about the freebsd-scsi
mailing list