From: Douglas Gilbert <dougg@torque.net>
To: "Haefliger, Juerg" <Juerg.Haefliger@hp.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Sg_ses question
Date: Tue, 22 May 2007 16:29:15 -0400 [thread overview]
Message-ID: <4653529B.9080100@torque.net> (raw)
In-Reply-To: <861B5CF71BC70C478DFEB9EAFE98F6990233CAA7@G3W0068.americas.hpqcorp.net>
Haefliger, Juerg wrote:
> Hi,
>
> Not sure if this is the right list for my question but I couldn't find a
> more suitable place to ask it.
>
> I'm trying to set the locator light of a disk in a SAS enclosure using
> sg_ses but I'm not getting anywhere. I'm dumping the enclosure status
> diagnostic page using 'sg_ses --page=2 --raw /dev/sgXX > page' and then
> set the SELECT and RQST IDENT bits of the array device element in
> question and write it back doing 'sg_ses --control --page=2 --data=-
> /dev/sgXX < tmp'. The command completes without error but unfortunately,
> nothing happens. When I read the page back, the IDENT bit is still
> cleared and the light on the enclosure remains turned off.
>
> Am I doing something wrong or am I missing something? Can't I use sg_ses
> to achieve this?
The procedure looks correct. I haven't had any (other)
reports of sg_ses not working lately. The only suggestion
I can make is to ask if you have selected the element
control rather than the overall control.
Doug Gilbert
next prev parent reply other threads:[~2007-05-22 20:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 16:39 Sg_ses question Haefliger, Juerg
2007-05-22 20:29 ` Douglas Gilbert [this message]
2007-05-23 20:29 ` Haefliger, Juerg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4653529B.9080100@torque.net \
--to=dougg@torque.net \
--cc=Juerg.Haefliger@hp.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.