[Bug 12163] mptsas driver cannot discover some hotplugged SATA/SAS disks

bugme-daemon
2008-12-18T04:31:57Z

crquan@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |crquan@gmail.com

------- Comment #5 from crquan@gmail.com 2008-12-17 20:31 -------
This driver worked well in general situation,

1. use mptsas vendor driver 4.00.43 and this patch to let it work on 2.6.26.2;
2. all disks can be recognized when staticly booting or after hotplugged;

But today we found another severe hotplug problem:

Steps to reproduce:
1. use mdadm to create a soft RAID, e.g. create a md1 with level 5 on
sdm,sdn,sdo;
2. if plug the disks in a soft RAID, the disks(sdm,sdn,sdo) cannot be
recognized after inserted;
3. if these disks inserted into other slots, they can be recognized by mptsas;
4. if other disks inserted into these slots where (sdm,sdn,sdo) occupied, they
cannot be recognized, too.
5. At the same time, other disks not in the soft RAID still support hotplug
well;

To sum in one word, the slot which has been occupied by a disk in soft RAID
cannot support hotplug anymore (before rebooting).

I suspect this is a generic scsi-level problem, sometimes it reports
scsi_target alloc failed with -EEXIST;

Reproducible: always