Bug 215007 - aacraid hotswapping not working with ASR-81605Z v2 RAID Controller
Summary: aacraid hotswapping not working with ASR-81605Z v2 RAID Controller
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2016-12-02 15:04 UTC by projet.info
Modified: 2016-12-21 21:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description projet.info 2016-12-02 15:04:59 UTC
I have an ASR-81605Z v2 RAID Controller that I am using in HBA mode.

The controller is detected as:

aacraid0: <Adaptec RAID Controller> port 0xe000-0xe0ff mem 0xdc100000-0xdc1fffff,0xdc280000-0xdc2803ff irq 16 at device 0.0 on pci1
aacraid0: Enable Raw I/O
aacraid0: Enable 64-bit array
aacraid0: using MSI-X interrupts (32 vectors)
aacraid0: New comm. interface type2 enabled
aacraid0: ASR81605Z, aacraid driver 3.2.5-1
aacraidp0 on aacraid0
aacraidp1 on aacraid0
aacraidp2 on aacraid0
aacraidp3 on aacraid0

If I insert one disk:

da0 at aacraidp1 bus 0 scbus1 target 0 lun 0
da0: <ATA ST1000NM0033-9ZM SN04> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number Z1W49QF1
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 953869MB (1953525168 512 byte sectors)

If I insert a second disk:

da0 at aacraidp1 bus 0 scbus1 target 0 lun 0
da0: <ATA ST1000NM0033-9ZM SN04> s/n Z1W49QF1 detached
(da0:aacraidp1:0:0:0): Periph destroyed
da0 at aacraidp1 bus 0 scbus1 target 0 lun 0
da0: <ATA ST1000NM0033-9ZM SN04> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number Z1W49QF1
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 953869MB (1953525168 512 byte sectors)
da1 at aacraidp1 bus 0 scbus1 target 1 lun 0
da1: <ATA ST4000NM0033-9ZM SN04> Fixed Direct Access SPC-4 SCSI device
da1: Serial Number Z1Z9P2E2
da1: 300.000MB/s transfers
da1: Command Queueing enabled
da1: 3815447MB (7814037168 512 byte sectors)

The disk da0 is destroyed an recreated which makes hotswapping impossible.

Under FreeBSD 10.3 hotswapping is working as I should.

Thanks in advance for looking into this.
Comment 1 Prasad B M 2016-12-21 20:29:30 UTC
(In reply to projet.info from comment #0)
Can you please attach the dmesg logs from both Free BSD 10.3 and Free BSD 11 when you do the hot insertion of drive operation.
Thanks,
Prasad
Comment 2 Prasad B M 2016-12-21 21:22:28 UTC
There is no aacraid driver changes between Free BSD 10.3 & Free BSD 11.