LIBSAS:Issue with cascading of edge expanders

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have some issues with cascading of edge expanders in linux kernel-2.6.31.

Test Environment:
-------------------
Linux Kernel-2.6.31.
I'm using Adaptec ASC-1045/1405 which uses the Marvell 88SE6440 chip and I am using 2.6.31-mvsas driver.

Problem Description.
--------------------
Cold boot of cascading expanders are working fine but hot plug in and plug out of the same is not working properly.

Root Cause:
-------------
After analyzing the same I have figured out the problem is in sas_expander.c (libsas). It is not working when the phy change is occurred to remove the devices or to rediscover the devices.

...... sas_expander.c....
1805 static int sas_discover_new(struct domain_device *dev, int phy_id)

1832         res = sas_ex_discover_devices(dev, phy_id);
1833         if (!res)
1834                 goto out;
..........

Solution:
------------
The same issue doesn't occur after modifying the code like this.
...sas_expander.c...
1832            res = sas_ex_discover_devices(dev, phy_id);
1833        if (res)
1834               goto out;
............

Is this is the fix for the same? Any inputs are highly appreciated.

Thanks
Srinivas.


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux