From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hughes Subject: Re: ses enclosure stuff not working with Promise Vtrak J610S JBOD Date: Thu, 05 Nov 2009 16:30:44 +0100 Message-ID: <4AF2EFA4.4080004@Calva.COM> References: <4AF17AD3.6060909@Calva.COM> <1257348128.2697.29.camel@mulgrave.site> <4AF1A38E.3000009@Calva.COM> <1257350834.2697.52.camel@mulgrave.site> <4AF1A7E7.7070307@Calva.COM> <1257351654.2697.55.camel@mulgrave.site> <4AF1C172.6080509@Calva.COM> <4AF29DC2.2070803@Calva.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from oceanic.CalvaEDI.COM ([81.252.197.184]:54087 "EHLO oceanic.CalvaEDI.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752260AbZKEPan (ORCPT ); Thu, 5 Nov 2009 10:30:43 -0500 In-Reply-To: <4AF29DC2.2070803@Calva.COM> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: John Hughes Cc: James Bottomley , linux-scsi@vger.kernel.org John Hughes wrote: > One problem with the patch is that, since I don't have a page 7 (bay > names) it's using the "enclosure component index" as the name, and > that (at least for me) seems to be an index starting from zero, where > my bays are numbered from one. > > sg_ses shows a "bay number", I think I'll try to make the patch look > for the bay number and make the name something like "bay-nn" if there > is a bay number. Doesn't work because bays without a device don't show a bay number and hot-plugging a device doesn't make things change dynamically. Buggeration.