HBA > Expander Card

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
Hi Guys.

Looking for some assistance.

I am building a new system from scratch and i am having a few issues getting Freenas to see my drives.

I have a HP H220 HBA card in IT mode. I also have an Intel RES2SV240 expander card. + ICY Box 5 Bay enclosure. I have connected it thus:

Port 0 on HBA to first port on the Expander
Port 1 on HBA to second port on the expander

Port 3 on he Expander. I have connected my mini SAS to SATA breakout cable to the first four drives on the ICY Box enclosure.

Now from what i am reading this should give me the maximum bandwidth available and then my drives should show up and work. Is there something i need to do to the HBA or the Expander card to get this work? Is there a way from the CLI i can check that freenas can see a) my HBA and b) my expander card?

Thanks in advance for any assistance.
 

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
***HBA

root@freenas[~]# dmesg | grep mps
mps0: <Avago Technologies (LSI) SAS2308> port 0xa000-0xa0ff mem 0xfd9b0000-0xfd9bffff,0xfd9c0000-0xfd9fffff irq 24 at device 0.0 on pci1
mps0: Firmware: 15.10.10.00, Driver: 21.02.00.00-fbsd
mps0: IOCCapabilities: 1a85c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,MSIXIndex,HostDisc>
ses0 at mps0 bus 0 scbus0 target 21 lun 0

***Device List

root@freenas[~]# camcontrol devlist
<Intel RES2SV240 0d00> at scbus0 target 21 lun 0 (pass0,ses0)
<SAMSUNG MZ7LN128HCHP-000 0> at scbus8 target 0 lun 0 (pass1,da0)
<SAMSUNG MZ7LN128HCHP-000 0> at scbus9 target 0 lun 0 (pass2,da1)
 

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
anyone able to help at all? Thanks in advance
 

myoung

Explorer
Joined
Mar 14, 2018
Messages
70
Try sas2flash -list

Looks like you are using an old firmware version. 20.00.07.00 is the newest version. You might need to update.
 

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
Thanks mate. Here is my output.

root@freenas[~]#
root@freenas[~]# sas2flash -list
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

Adapter Selected is a LSI SAS: SAS2308_2(D1)

Controller Number : 0
Controller : SAS2308_2(D1)
PCI Address : 00:01:00:00
SAS Address : 500605b-0-06a1-4bc0
NVDATA Version (Default) : 0f.00.00.15
NVDATA Version (Persistent) : 0f.00.00.15
Firmware Product ID : 0x2214 (IT)
Firmware Version : 15.10.10.00
NVDATA Vendor : LSI
NVDATA Product ID : Undefined
BIOS Version : 07.39.00.00
UEFI BSD Version : N/A
FCODE Version : N/A
Board Name : H220
Board Assembly : H3-25278-05D
Board Tracer Number : SV32006649

Finished Processing Commands Successfully.
Exiting SAS2Flash.
root@freenas[~]#


Where can i obtain the latest version. I didnt see anything on the HP site
 

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
Fantastic. Thanks mate. I best get this up to the correct level before troubleshooting further. Appreciate your time responding.
 

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
Ok. So i have run in to an issue. Any ideas?


root@freenas[/Firmware]# sas2flash -f 2308T207.ROM
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

Adapter Selected is a LSI SAS: SAS2308_2(D1)

Executing Operation: Flash Firmware Image

Firmware Image has a Valid Checksum.
Firmware Version 20.00.07.00
Firmware Image compatible with Controller.

Valid NVDATA Image found.
NVDATA Version 14.01.00.00
Checking for a compatible NVData image...

NVDATA Device ID and Chip Revision match verified.
ERROR: NVDATA Image does not match Controller SubSystem ID!
NVDATA Subsystem ID: 0x86
Controller Subsystem ID: 0x41

ERROR: No compatible NVDATA Image(s) found!

Firmware Image Validation Failed!

Due to error remaining commands will not be executed.
Unable to Process Commands.
Exiting SAS2Flash.
root@freenas[/Firmware]#
 

Mlovelace

Guru
Joined
Aug 19, 2014
Messages
1,111
Create a DOS bootable USB drive (you may need to make a EFI one depending on your system) that contains the utility and firmware/bios and run:
Code:
[erase with] sas2flash -o -e 6
[flash with] sas2flash -o -f 9207-8.bin -b mptsas2.rom
 

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
Thanks for the reply. All of p20 firmware i have seen is .rom and not .bin is this right?
 

Mlovelace

Guru
Joined
Aug 19, 2014
Messages
1,111
Thanks for the reply. All of p20 firmware i have seen is .rom and not .bin is this right?
I believe OEMs supply an AIO .rom file for flashing, but the links I provided are the vanilla firmware (.bin) and BIOS (.rom) from LSI (Broadcom now). ;)
 

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
Thanks. What I downloaded from myoung post only contained the .rom files.

Is there a link that contains the correct files I need at all? Will look on Broadcom site when home anyway
 

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
Ok. Does this look right now?

Copyright (c) 2008-2013 LSI Corporation. All rights reserved

Adapter Selected is a LSI SAS: SAS2308_1(D1)

Controller Number : 0
Controller : SAS2308_1(D1)
PCI Address : 00:01:00:00
SAS Address : 500605b-0-06a1-4bc0
NVDATA Version (Default) : 14.01.30.16
NVDATA Version (Persistent) : 14.01.30.16
Firmware Product ID : 0x2214 (IT)
Firmware Version : 20.00.07.00
NVDATA Vendor : LSI
NVDATA Product ID : LSI2308-IT
BIOS Version : N/A
UEFI BSD Version : N/A
FCODE Version : N/A
Board Name : LSI2308-IT
Board Assembly : N/A
Board Tracer Number : N/A

Finished Processing Commands Successfully.
Exiting SAS2Flash.
 

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
Actually I seem to be missing the bios.

The files i have are 2308t207.rom and mptsas2.rom and x64sas2.rom. I only used 2308t207.rom. do I need to run the others? I see others have a .bin file but cant see that for this card
 
Last edited:

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
Got it sorted now. Once I've sorted the child out and put to bed I will post up what I did.
 

McTechSolutions

Dabbler
Joined
Jun 7, 2019
Messages
29
Ok. So the fix was. In the firmware that you download. There is a batch file that you can run from the dos prompt. Trying to run them individually seemed to bomb out and not apply. The batch file after each one seemed to reboot the card and then apply the next one.

@echo off
sas2flsh -o -e 7
cls
sas2flsh -f 2308T207.ROM
sas2flsh -b mptsas2.rom
sas2flsh -b x64sas2.rom
cls
sas2flsh -o -sasaddhi 5003048

My card is now working and i can see the drives hooked up via the Intel Port ex pander as well

root@freenas[~]# sas2flash -list
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

Adapter Selected is a LSI SAS: SAS2308_1(D1)

Controller Number : 0
Controller : SAS2308_1(D1)
PCI Address : 00:01:00:00
SAS Address : 5003048-0-06a1-4bc0
NVDATA Version (Default) : 14.01.30.16
NVDATA Version (Persistent) : 14.01.30.16
Firmware Product ID : 0x2214 (IT)
Firmware Version : 20.00.07.00
NVDATA Vendor : LSI
NVDATA Product ID : LSI2308-IT
BIOS Version : 07.39.02.00
UEFI BSD Version : 07.27.01.00
FCODE Version : N/A
Board Name : LSI2308-IT
Board Assembly : N/A
Board Tracer Number : N/A

Finished Processing Commands Successfully.
Exiting SAS2Flash.


Thanks to everyone who took the time to reply and help me out.
 
Top