Re: [PATCH][SCSI] enclosure & ses: modernize and add target power management (take 2)

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

 



Nah :-( I did not fix any of that. My tests were performed on a compliant enclosure, and a smattering of others (all from the same vendor, so hardly a large group). The aim was to be more compliant with the specification in the ses module, and the fixes were for the 'write' portion, the 'read' portion worked before on the enclosures I tested.

>From the standpoint of the additional of power management, the lack of the unique entry likely means it does not have individual power control either.

Yes it is worth worrying about, ident and slot mapping is a useful feature, but this is an issue for the vendor (End Of Life notwithstanding) to update their enclosure firmware to be compliant. Fixing the ses module for non-compliant enclosures that are EOL and unlikely to be repaired, if possible, should be in the hands of those that have the enclosures to test and a vested interest ... it has been my experience that one only should do so carefully, ever seen the hacks in an x86 BIOS to deal with decades of legacy? :-)

Sincerely -- Mark Salyzyn

On Feb 22, 2012, at 3:12 PM, Douglas Gilbert wrote:

> On 12-02-22 02:09 PM, Mark Salyzyn wrote:
>> Coincident repair of enclosure and ses device support. Fix problems with setting enclosure values careful to preserve other settings. Corrected fault setting as well. Modernize code. Add support for Device Power Management via a new r/w device_power node in sysfs and some internal interfaces to permit them to be called in the future by error recovery escalation. Enclosures that do not support individual power management will always return a status that the device has power.
> 
> Mark,
> One problem I found with the existing kernel SES/enclosure
> support is that it assumes there is a well-formed
> Element Descriptor diagnostic page. By well-formed I mean that
> the page exists and there is a unique, sensible entry for each
> element. By sensible I mean _not_ like this:
>  "TP=9C;SN=PMW82562000C39A;F1=0311;VR=03;VC=6B58AD13;PN=0082562-11;"
> 
> I have a SAS-2 expander with an associated SES device that breaks
> all those tidy assumptions (i.e. I did not make up that string).
> I assume that your patches do not change the reliance on a
> well-formed Element Descriptor diagnostic page. Is the peculiar
> SES device I have (and most SES-1 devices which don't have
> Element Descriptor diagnostic pages) worth worrying about?
> 
> Doug Gilbert
--
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