* SES firmward download to SAS expander
@ 2009-03-17 1:49 Adrian May
2009-03-17 3:49 ` Douglas Gilbert
0 siblings, 1 reply; 2+ messages in thread
From: Adrian May @ 2009-03-17 1:49 UTC (permalink / raw)
To: linux-scsi
Hi all,
Some folks are asking me to advise about downloading firmware to some
SAS expander. They had this conversation with the box:
#sg_ses -s /dev/sg5
...
Download microcode (SES-2) [0xe]
...
#sg_ses --control --page=0xe --data=- /dev/sg5 < image.bin
PMCSIERA SXP 36x6Gsec RevB
enclosure services device
Setting SES control page 0xe not supported yet
What I'm trying to figure out is WHO doesn't support it: the driver or
the hardware? Is everything done by the generic linux driver or is there
some vendor-specific driver somewhere in the picture? And why would this
diag page be listed if it doesn't work?
Huge thanks in advance for any assistance,
Adrian.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: SES firmward download to SAS expander
2009-03-17 1:49 SES firmward download to SAS expander Adrian May
@ 2009-03-17 3:49 ` Douglas Gilbert
0 siblings, 0 replies; 2+ messages in thread
From: Douglas Gilbert @ 2009-03-17 3:49 UTC (permalink / raw)
To: Adrian May; +Cc: linux-scsi
Adrian May wrote:
> Hi all,
>
> Some folks are asking me to advise about downloading firmware to some
> SAS expander. They had this conversation with the box:
>
> #sg_ses -s /dev/sg5
> ...
> Download microcode (SES-2) [0xe]
> ...
> #sg_ses --control --page=0xe --data=- /dev/sg5 < image.bin
> PMCSIERA SXP 36x6Gsec RevB
Looks like an interesting device: a 36 port 6Gbps SAS
expander that talks SES (as well as SMP I assume)?
> enclosure services device
> Setting SES control page 0xe not supported yet
>
> What I'm trying to figure out is WHO doesn't support it: the driver or
> the hardware?
ME, the guy who wrote sg_ses. That utility is 5 years old
and this is the first time anyone has asked me about
firmware download capability.
Is everything done by the generic linux driver or is there
> some vendor-specific driver somewhere in the picture?
The SCSI generic driver is there for devices that don't
already have a "class" driver. To date there has been
no class driver for SES devices but I think one is
being added. As for a vendor specific driver you might
ask PMC Sierra.
And why would this
> diag page be listed if it doesn't work?
Would it be better if sg_ses said something like
"not implemented, feel free to send code"?
> Huge thanks in advance for any assistance,
What is the size of the firmware file? If it is
approaching 1 MB or more then that may be too big
for a single SCSI command. That would require the
firmware to be broken up into more digestible blobs.
If you look at ses2r20.pdf section 6.1.18 (and 6.1.19)
then you might agree with me that firmware download
is relatively complex.
Doug Gilbert
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-17 3:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-17 1:49 SES firmward download to SAS expander Adrian May
2009-03-17 3:49 ` Douglas Gilbert
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.