pocopico / tinycore-redpill

GNU General Public License v3.0
2.18k stars 644 forks source link

mpt3sas not detecting sas drives on boot #14

Closed eXcalibre closed 2 years ago

eXcalibre commented 2 years ago

I have a LSI SAS2008 IT installed in a Dell R710 If i run rploader listmods (- listmods: Tries to figure out required extensions) it shows the mpt3sas module is available for build.

this is the output of the SAS on the build, which looks fine to me....


[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt3sas/rpext-index.json... 
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt3sas/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################## 100.0%
[OK]
[#] ========================================== pocopico.mpt3sas ==========================================
[#] Extension name: mpt3sas
[#] Description: Adds LSI MPT Fusion SAS 3.0 Device Driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/mpt3sas
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt3sas/rpext-index.json
[#] Platforms supported: ds3617xs_25556u2 ds918p_41890 ds3617xs_42218 ds3615xs_25556u2 ds3617xs_25556 ds918p_25556 ds3615xs_41222 ds3617xs_42218u2 ds3615xs_25556 ds918p_42218 ds3615xs_42218 
[#] =======================================================================================

Found SAS Controller : pciid 1000d00000072  Required Extension : mpt3sas
Searching for matching extension for mpt3sas
Found matching extension : 
"https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt3sas/rpext-index.json"
[#] Checking runtime for required tools... [OK]

and then the building part.

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt3sas/releases/ds3615xs_42218.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
############################################################################################################################################################################################################# 100.0%
[#] Filling-in newly downloaded recipe for extension pocopico.mpt3sas platform ds3615xs_42218
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt3sas/releases/mpt3sas-3.10.108.tgz to /home/tc/redpill-load/custom/extensions/pocopico.mpt3sas/ds3615xs_42218/mpt3sas-3.10.108.tgz
############################################################################################################################################################################################################# 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.mpt3sas/ds3615xs_42218/mpt3sas-3.10.108.tgz file... [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.mpt3sas/ds3615xs_42218/mpt3sas-3.10.108.tgz to /home/tc/redpill-load/custom/extensions/pocopico.mpt3sas/ds3615xs_42218/... [OK]
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt3sas/src/check-mpt3sas.sh to /home/tc/redpill-load/custom/extensions/pocopico.mpt3sas/ds3615xs_42218/check-mpt3sas.sh
############################################################################################################################################################################################################# 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.mpt3sas/ds3615xs_42218/check-mpt3sas.sh file... [OK]
[#] Successfully processed recipe for extension pocopico.mpt3sas platform ds3615xs_42218

The part i think is causing the problem for me and i am unable to work out what to put/change/add into the user_config.json is the SAS part to make sure its loaded and available for finding my disks.

When i reboot and check the install page of the system (port 5000) i get an error stating "no drives detected"

Can you please advise me on how to make sure the Drives are seen on the SAS controller? where/what i put in the json files?

Again thanks for your help and more so on this awsome little loader.

Steve

sihastru commented 2 years ago

For LSI SAS2008 cards, depending on the actual model, you might need mpt2sas (MPT Fusion SAS 2.0) or a specific megaraid extension. I'm not 100% sure about this, but the mpt3sas extension should work with MPT Fusion SAS 3.0 cards (like a LSI SAS3008 card). I don't know why it defaults to it.

sudo ./rploader.sh ext bromolow-7.0.1-42218 add https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt2sas/rpext-index.json

eXcalibre commented 2 years ago

Thanks sihastru, i will give it a try and report back. appreciate the help and advise.

eXcalibre commented 2 years ago

Worked a charm on the boot up Dan, thanks. Now to hope its keeps most of my previous data. Thanks very much for the mpt2sas. As it was detected as mtp3 i thought that would have worked.

Anyway thank you so much. Steve

eXcalibre commented 2 years ago

All data preserved on drives after upgrade to 7. Again thanks a lot.