[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 19:30:29 UTC 2016


I have the same errors. If I remember correctly I think I read somewhere that those are only warnings and that we can ignore them.

Matej

> On 07 Jun 2016, at 18:47, Richard Skelton <skeltonr at btconnect.com> wrote:
> 
> Hi Matej,
> Thanks this also works for me with a few warning when I turn on/off the drive leds:-
> root at skelly:/root# ./sas3ircu 0 LOCATE 1:3 ON
> LSI Corporation SAS3 IR Configuration Utility.
> Version 05.00.00.00 (2014.02.26)
> Copyright (c) 2009-2014 LSI Corporation. All rights reserved.
> 
> SAS3IRCU: LOCATE command completed successfully.
> SAS3IRCU: Command LOCATE Completed Successfully.
> SAS3IRCU: Utility Completed Successfully.
> root at skelly2:/root# ./sas3ircu 0 LOCATE 1:3 off
> LSI Corporation SAS3 IR Configuration Utility.
> Version 05.00.00.00 (2014.02.26)
> Copyright (c) 2009-2014 LSI Corporation. All rights reserved.
> 
> SAS3IRCU: LOCATE command completed successfully.
> SAS3IRCU: Command LOCATE Completed Successfully.
> SAS3IRCU: Utility Completed Successfully.
> root at brssds112:/root#
> 
> 
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: /pci at 7a,0/pci8086,2f06 at 2,2/pci10b5,8724 at 0/pci10b5,8724 at 0/pci1000,3130 at 0 (mpt_sas4):
> Jun  7 11:22:54 skelly       FW Upload tce invalid!
> root at skelly:/root#
> 
> 
> 
> Matej Žerovnik wrote:
>> 
>> Try this util, it works for me: https://github.com/Nexenta/nza-userland/tree/master/nza-userland/components/sas3ircu/usr/sbin <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> <mailto: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> <mailto: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 <mailto:OmniOS-discuss at lists.omniti.com>
>>>> http://lists.omniti.com/mailman/listinfo/omnios-discuss <http://lists.omniti.com/mailman/listinfo/omnios-discuss>
>>>>       
>>> _______________________________________________
>>> OmniOS-discuss mailing list
>>> OmniOS-discuss at lists.omniti.com <mailto:OmniOS-discuss at lists.omniti.com>
>>> http://lists.omniti.com/mailman/listinfo/omnios-discuss <http://lists.omniti.com/mailman/listinfo/omnios-discuss>
>>>     
>> 
>>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20160607/d42ac1a3/attachment-0001.html>
-------------- 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/d42ac1a3/attachment-0001.bin>


More information about the OmniOS-discuss mailing list