isp(4) broken in RELENG_9
Anton Shterenlikht
mexas at bristol.ac.uk
Wed Oct 31 15:57:18 UTC 2012
Date: Wed, 31 Oct 2012 16:25:17 +0100 (CET)
From: Joerg Pulz <Joerg.Pulz at frm2.tum.de>
somewhere on the road between RELENG_9_1 and RELENG_9 changes to isp(4)
make the driver unable to attach to the device.
Here is the boot output of the failing RELENG_9:
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: error 22 loading dma map for control areas
isp0: Cannot setup DMA
device_attach: isp0 attach returned 6
isp0: <Qlogic ISP 2532 PCI FC-AL Adapter> port 0x3400-0x34ff mem 0xf7144000-0xf7147fff,0xf7300000-0xf73fffff irq 17 at
device 0.1 on pci3
isp0: error 22 loading dma map for control areas
isp0: Cannot setup DMA
device_attach: isp0 attach returned 6
Here is the boot output of the still working RELENG_9_1:
isp0: <Qlogic ISP 2532 PCI FC-AL Adapter> port 0x3000-0x30ff mem 0xf7140000-0xf7143fff,0xf7200000-0xf72fffff irq 16 at device 0.0 on pci3
isp1: <Qlogic ISP 2532 PCI FC-AL Adapter> port 0x3400-0x34ff mem 0xf7144000-0xf7147fff,0xf7300000-0xf73fffff irq 17 at device 0.1 on pci3
I've taken a quick look at the changes, but could not find anything
obvious that causes that error.
Thanks for any hints on how to fix this.
As the isp(4) code base for CURRENT and RELENG_9 is the same, it should
fail in current too, but i can't verify as i don't have a spare card for
testing.
I'm on -current r235474 ia64.
isp(4) works for me:
$ dmesg|grep isp0
isp0: <Qlogic ISP 2422 PCI FC-AL Adapter> port 0xc000-0xc0ff mem 0xe0040000-0xe0040fff irq 71 at device 1.0 on pci192
(probe2:isp0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe2:isp0:0:0:0): CAM status: SCSI Status Error
(probe2:isp0:0:0:0): SCSI status: Check Condition
(probe2:isp0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
pass3 at isp0 bus 0 scbus2 target 0 lun 0
da3 at isp0 bus 0 scbus2 target 0 lun 1
da4 at isp0 bus 0 scbus2 target 0 lun 2
da5 at isp0 bus 0 scbus2 target 0 lun 5
$
Anton
More information about the freebsd-scsi
mailing list