[OmniOS-discuss] Need a way to set the drive locater leds for a 9300-16i HBA

Matej Žerovnik matej at zunaj.si
Tue Jun 7 06:26:54 UTC 2016


Try this util, it works for me: https://github.com/Nexenta/nza-userland/tree/master/nza-userland/components/sas3ircu/usr/sbin

Matej

> On 07 Jun 2016, at 03:54, Dale Ghent <daleg at omniti.com> wrote:
> 
> 
> Oracle Solaris and illumos-based distros such as OmniOS have diverged in many places, sometimes subtly. At the end of the day, you're using a tool designed on and for Oracle Solaris, so the lack of expected results elsewhere is not entirely surprising. You may want to try with an older version of the sas3ircu binary.
> 
>> On Jun 6, 2016, at 6:13 PM, Richard Skelton <skeltonr at btconnect.com> wrote:
>> 
>> Hi,
>> I now have a 9300-16i HBA working with OmniOS r151018-ae3141d but need a
>> way to set the drive locater leds.
>> I have downloaded SAS3IRCU_P12.zip but sas3ircu LIST shows no
>> controllers :-(
>> 
>> 
>> 
>> root at skelly:/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel# ./sas3ircu LIST
>> Avago Technologies SAS3 IR Configuration Utility.
>> Version 13.00.00.00 (2016.03.08)
>> Copyright (c) 2009-2016 Avago Technologies. All rights reserved.
>> 
>> SAS3IRCU: No Controllers Found.
>> root at bskelly:/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel# truss ./sas3ircu LIST
>> execve("sas3ircu", 0x08047CE0, 0x08047CEC)  argc = 2
>> sysinfo(SI_MACHINE, "i86pc", 257)               = 6
>> mmap(0x00000000, 32, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFB0000
>> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFA0000
>> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEF90000
>> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEF80000
>> memcntl(0xFEFB5000, 48396, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
>> memcntl(0x08050000, 22240, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
>> resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
>> getcwd("/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel", 1014) = 0
>> resolvepath("/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel/sas3ircu", "/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel/sas3ircu", 1023) = 52
>> stat64("/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel/sas3ircu", 0x08047974) = 0
>> open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
>> sysconfig(_CONFIG_PAGESIZE)                     = 4096
>> stat64("/usr/sfw/lib/libdevinfo.so.1", 0x08047194) Err#2 ENOENT
>> stat64("/lib/libdevinfo.so.1", 0x08047194)      = 0
>> resolvepath("/lib/libdevinfo.so.1", "/lib/libdevinfo.so.1", 1023) = 20
>> open("/lib/libdevinfo.so.1", O_RDONLY)          = 3
>> mmapobj(3, MMOBJ_INTERPRET, 0xFEF80AA8, 0x08047200, 0x00000000) = 0
>> close(3)                                        = 0
>> memcntl(0xFEF50000, 26820, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
>> stat64("/usr/sfw/lib/libc.so.1", 0x08047194)    Err#2 ENOENT
>> stat64("/lib/libc.so.1", 0x08047194)            = 0
>> resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
>> open("/lib/libc.so.1", O_RDONLY)                = 3
>> mmapobj(3, MMOBJ_INTERPRET, 0xFEFFDDD0, 0x08047200, 0x00000000) = 0
>> close(3)                                        = 0
>> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEDE0000
>> memcntl(0xFEDF0000, 254776, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
>> mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEDD0000
>> getcontext(0x080477B4)
>> getrlimit(RLIMIT_STACK, 0x080477AC)             = 0
>> getpid()                                        = 1657 [1656]
>> lwp_private(0, 1, 0xFEDD2A40)                   = 0x000001C3
>> setustack(0xFEDD2AA0)
>> lwp_cond_broadcast(0xFEDE00FC)                  = 0
>> lwp_cond_broadcast(0xFEF80C8C)                  = 0
>> lwp_cond_broadcast(0xFEF805FC)                  = 0
>> sysi86(SI86FPSTART, 0xFEF46E6C, 0x0000133F, 0x00001F80) = 0x00000001
>> ioctl(1, TCGETA, 0x08046D9E)                    = 0
>> fstat64(1, 0x08046CE0)                          = 0
>> Avago Technologies SAS3 IR Configuration Utility.
>> write(1, " A v a g o   T e c h n o".., 50)      = 50
>> Version 13.00.00.00 (2016.03.08)
>> write(1, " V e r s i o n   1 3 . 0".., 34)      = 34
>> Copyright (c) 2009-2016 Avago Technologies. All rights reserved.
>> 
>> write(1, " C o p y r i g h t   ( c".., 67)      = 67
>> brk(0x080912D8)                                 = 0
>> brk(0x080932D8)                                 = 0
>> sysconfig(_CONFIG_PAGESIZE)                     = 4096
>> open("/devices/pseudo/devinfo at 0:devinfo", O_RDONLY) = 3
>> ioctl(3, DINFOIDENT, 0x00000000)                = 57311
>> ioctl(3, 0xDF07, 0x08046D1C)                    = 629484
>> brk(0x080932D8)                                 = 0
>> brk(0x0812D2D8)                                 = 0
>> ioctl(3, DINFOUSRLD, 0x08092000)                = 630784
>> close(3)                                        = 0
>> sysconfig(_CONFIG_PAGESIZE)                     = 4096
>> SAS3IRCU: No Controllers Found.
>> write(1, " S A S 3 I R C U :   N o".., 32)      = 32
>> _exit(1)
>> 
>> 
>> Cheers
>> Richard.
>> 
>> 
>> 
>> _______________________________________________
>> OmniOS-discuss mailing list
>> OmniOS-discuss at lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3468 bytes
Desc: not available
URL: <https://omniosce.org/ml-archive/attachments/20160607/60154c19/attachment-0001.bin>


More information about the OmniOS-discuss mailing list