sg3_utils error with SES2 storage system

  • Thread starter Thread starter pk
  • Start date Start date
Hi,

Got a small problem and been trying to figure this out now for a couple of days but seem to run into a dead end most times. May someone else has come across the same thing.

Software
sg3_utils
freebsd FreeBSD 9.1

Hardware
LSI 9207-8i JBOD HBA
Supermicro chassis with SES2 compatible backplane

When I do simply sg_ses device listing it shows all devices that are currently plugged in and the information from what I can see is accurate but when I try to send commands to the backplane like turning on an indicator light it seems to throw a memory error (below). Has anyone else come across a similar issue?

Command issued: (my device in /dev is ses0)
Code:
sg_ses --index=0 --set=ident ses0
or
sg_ses --index=0 --set=ident /dev/ses0

Error received: (same every time)
Code:
cam_periph_mapmem: attempt to map 69599 bytes, which is greater than 65536
received diagnostic results: pass through os error: input/output error
problem detected, try again with --verbose option for more information

When using verbose I get
Code:
Attempt to fetch enclosure status (ses) diagnostic page failed
even though when I use sg_ses --page=0xa ses0 it then returns all the installed and empty drive slots.

Any storage geniuses out there, please help? :)

P
 
Different SCSI controllers have different limitations on transfer size. To be safe, code that maps memory for the request in such cases limits transfer to usually supported 64K. Obviously sg3_utils requested transfer bigger then it is allowed.
 
How do I limit the transfer size as you mention about it?

Or is this something of a hardware or software limitation I just have to live with? Sorry but my sg3_utils knowledge is rather lacking at the moment.

P
 
Hi @pk,

Did you find a solution to your problem? I have the same one but just can't find the way to fix or go around the issue.

Thanks
Gwech
 
Last edited by a moderator:
Back
Top