Bug #6571
opensas3flash cannot find HBAs
0%
Description
No problem seeing HBAs, expanders or disks at 12Gb/s. Just not able to use LSI/Avago's Solaris utilities to upgrade firmware.
# ./sas3flash -list Avago Technologies SAS3 Flash Utility Version 11.00.00.00 (2015.08.04) Copyright 2008-2015 Avago Technologies. All rights reserved. No Avago SAS adapters found! Limited Command Set Available! ERROR: Command Not allowed without an adapter! ERROR: Couldn't Create Command -list Exiting Program.
From /var/adm/message
Jan 12 12:14:22 hcp-zfs03 genunix: [ID 365881 kern.info] /pci@77,0/pci8086,2f04@2/pci10b5,8724@0/pci10b5,8724@9/pci1000,30d0@0 (mpt_sas8): Jan 12 12:14:22 hcp-zfs03 MPT Firmware version v5.0.0.0 (SAS3008) Jan 12 12:14:22 hcp-zfs03 genunix: [ID 365881 kern.info] /pci@77,0/pci8086,2f04@2/pci10b5,8724@0/pci10b5,8724@9/pci1000,30d0@0 (mpt_sas8): Jan 12 12:14:22 hcp-zfs03 mpt_sas8 SAS 3 Supported
This system has fully updated OmniOS r151014 with 2 SAS 9300-16e HBAs.
I'm guessing the updated mpt_sas driver is missing something the firmware utilities are looking for.
Updated by Udo Grabowski almost 6 years ago
I see the same problem on Openindiana 151a9 x86, neither -listall or -list in combination with -cpci address works.
Tested on Sun X4540 and DataOn CIB 9470v12 .
A trace shows that it seems to not getting the right information from %devinfo:
12767: issetugid() = 0
12767: sysi86(SI86FPSTART, 0xFEF1AC2C, 0x0000133F, 0x00001F80) = 0x00000001
12767: ioctl(1, TCGETA, 0x08046620) = 0
12767: fstat64(1, 0x08046580) = 0
Avago Technologies SAS3 Flash Utility
12767: write(1, " A v a g o T e c h n o".., 38) = 38
Version 14.00.00.00 (2016.07.21)
12767: write(1, " V e r s i o n 1 4 . 0".., 34) = 34
Copyright 2008-2016 Avago Technologies. All rights reserved.
12767: write(1, " C o p y r i g h t 2 0".., 62) = 62
12767: brk(0x08092668) = 0
12767: brk(0x08094668) = 0
12767: sysconfig(_CONFIG_PAGESIZE) = 4096
12767: open("/devices/pseudo/devinfo@0:devinfo", O_RDONLY) = 3
12767: ioctl(3, DINFOIDENT, 0x00000000) = 57311
12767: ioctl(3, 0xDF07, 0x08046620) = 1256349
12767: brk(0x08094668) = 0
12767: brk(0x081C8668) = 0
12767: ioctl(3, DINFOUSRLD, 0x08094000) = 1257472
12767: close(3) = 0
12767: sysconfig(_CONFIG_PAGESIZE) = 4096
No Avago SAS adapters found! Limited Command Set Available!
12767: write(1, "\t N o A v a g o S A".., 61) = 61
ERROR: Command Not allowed without an adapter!
12767: write(1, "\t E R R O R : C o m m".., 48) = 48
ERROR: Couldn't Create Command -debug
12767: write(1, "\t E R R O R : C o u l".., 39) = 39
Exiting Program.
12767: write(1, "\t E x i t i n g P r o".., 18) = 18
12767: _exit(1)