Vodka2014 Posted September 13, 2023 Share #676 Posted September 13, 2023 (edited) 27 minutes ago, Peter Suh said: The following error was confirmed in dmesg. The module has been stopped due to an error while loading. [ 6.292765] mpt3sas version 41.00.00.00 loaded [ 6.292933] mpt3sas 0000:07:00.0: can't disable ASPM; OS doesn't have ASPM control [ 6.293178] mpt2sas_cm0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (6096876 kB) [ 6.293360] mpt2sas_cm0: doorbell is in use (line=4858) [ 6.293475] mpt2sas_cm0: _base_get_ioc_facts: handshake failed (r=-14) [ 6.293616] mpt2sas_cm0: _base_unmap_resources [ 6.293734] mpt2sas_cm0: failure at /tmp/input/drivers/scsi/mpt3sas/mpt3sas_scsih.c:16235/_scsih_probe()! The same phenomenon was confirmed on H310 using the same mpt3sas module. I am checking this with @wjz304 of ARPL-i18n. This issue is partially written in Chinese, but please use a translator. https://github.com/wjz304/arpl-i18n/issues/209 Thanks a lot so now this needs to get fixed and once done rebuild the loader again. I take it this is WIP now to get fixed. Thanks again for all your help & support with all of this. I hope there is a fix soon. I take it this is just a messed-up DSM Partition that needs to get re-installed. Edited September 13, 2023 by Vodka2014 Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted September 13, 2023 Author Share #677 Posted September 13, 2023 11 hours ago, Vodka2014 said: Thanks a lot so now this needs to get fixed and once done rebuild the loader again. I take it this is WIP now to get fixed. Thanks again for all your help & support with all of this. I hope there is a fix soon. I take it this is just a messed-up DSM Partition that needs to get re-installed. This is a review of what I experienced in the past on Dell Perc H310 with DSM 6.2.3. At that time, there was a problem in which some disks were not recognized by the HBA, and there was a difficult time because the RAID in DSM kept failing. According to the advice of RAID controller experts, most of the IT Mode firmware used in SAS controllers are legacy firmware. It is recommended to change the Storage Boot Option to Legacy instead of EFI during BIOS setup in MOBO. Of course, EFI firmware also exists separately. By doing this, the SAS controller's BIOS boot screen will additionally appear as shown below during BIOS booting, and sufficient timing to accurately detect disks can be obtained during this process. As advised by experts, I always use the Storage Boot Option when using an HBA. Fast Boot is also not used. After maintaining these settings, the phenomenon of losing disks from DSM has decreased significantly. I think this theory can be applied to DSM 7 as well. Does a setting like this exist in HP GEN8? Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 13, 2023 Share #678 Posted September 13, 2023 (edited) 1 hour ago, Peter Suh said: This is a review of what I experienced in the past on Dell Perc H310 with DSM 6.2.3. At that time, there was a problem in which some disks were not recognized by the HBA, and there was a difficult time because the RAID in DSM kept failing. According to the advice of RAID controller experts, most of the IT Mode firmware used in SAS controllers are legacy firmware. It is recommended to change the Storage Boot Option to Legacy instead of EFI during BIOS setup in MOBO. Of course, EFI firmware also exists separately. By doing this, the SAS controller's BIOS boot screen will additionally appear as shown below during BIOS booting, and sufficient timing to accurately detect disks can be obtained during this process. As advised by experts, I always use the Storage Boot Option when using an HBA. Fast Boot is also not used. After maintaining these settings, the phenomenon of losing disks from DSM has decreased significantly. I think this theory can be applied to DSM 7 as well. Does a setting like this exist in HP GEN8? Thanks for this. It is already on Legacy (will triple check) and the disks do show on the controller all 4 of them. The interesting thing is it worked the first time when i updated then it went dead in DSM. Edited September 13, 2023 by Vodka2014 Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 13, 2023 Share #679 Posted September 13, 2023 (edited) Question for this now is if i remove the SAS Disk and add the SATA disks back to the onboard Controller so 3 SATA in Degard state and then do what you stated J and re-load DSM is this a bad idea ? Edited September 13, 2023 by Vodka2014 Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 13, 2023 Share #680 Posted September 13, 2023 HI @Peter Suh Sorry for another post i cannot edit the other one. What is your recommendations here please ? Thanks Quote Link to comment Share on other sites More sharing options...
shibby Posted September 14, 2023 Share #681 Posted September 14, 2023 (edited) On 8/5/2023 at 3:32 PM, Peter Suh said: [HBA - H200, H310 recommended setting] DDSML, DS3622xs+, not EUDEV "DiskIdxMap": "1000", "SataPortMap": "12", "SasIdxMap: "0", "MaxDisks: "24" I built another baremetal with H310 IT-mode (latest DS3622xs+ with Friend). When i set as you mention then i see all 8 drives connected to H310 but i also have 2 drives connected to motherboard (sata1 and 2) and those 2 drives has not been detected. In default configuration (DiskIdxMap=0, SasIdxMap=0 SataPortMap) 2 drives connected directly to motherboard are detected as bay 1 and 2 but not all drives connected to H310 are detected - it shows only 5 drives in bay 8,9,10,11,12 - it looks like channels are duplicated (channel A - 8,9,10,11 and channel B - 9,10,11,12). I tried a lot of "DiskIdxMap & SataPortMap" combinations and always some of drives has not been detected. I don`t understand "logic" of those two variables but FINALLY with: DiskIdxMap=0011 SataPortMap=24 SasIdxMap=0 MaxDisks=24 all drives has been detected - maybe not perfectly but it works!! 1-2 bay - motherboards sata 1 and 2 3 bay is empty? 4-11 bay - 8 drives connected to H310 BUT for test i connected another drive... to sata6 port on motherboard, then all H310`s drives disapper only sata1&2 has been showed. WTF... if I understand correctly SataPortMap=xyz means: - x - numer of sata port on 1st controller - y - numer of sata port on 2nd controller - z - numer of sata port on 3rd controller ... So in my example should be 68 (6 ports on internal controller and 8 ports on H310). But how to understand DiskIdxMap?? How should i set it? Edited September 14, 2023 by shibby Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 14, 2023 Share #682 Posted September 14, 2023 23 minutes ago, shibby said: I built another baremetal with H310 IT-mode (latest DS3622xs+ with Friend). When i set as you mention then i see all 8 drives connected to H310 but i also have 2 drives connected to motherboard (sata1 and 2) and those 2 drives has not been detected. In default configuration (DiskIdxMap=0, SasIdxMap=0 SataPortMap) 2 drives connected directly to motherboard are detected as bay 1 and 2 but not all drives connected to H310 are detected - it shows only 5 drives in bay 8,9,10,11,12 - it looks like channels are duplicated (channel A - 8,9,10,11 and channel B - 9,10,11,12). I tried a lot of "DiskIdxMap & SataPortMap" combinations and always some of drives has not been detected. I don`t understand "logic" of those two variables but FINALLY with: DiskIdxMap=0011 SataPortMap=24 SasIdxMap=0 MaxDisks=24 all drives has been detected - maybe not perfectly but it works!! 1-2 bay - motherboards sata 1 and 2 3 bay is empty? 4-11 bay - 8 drives connected to H310 BUT for test i connected another drive... to sata6 port on motherboard, then all H310`s drives disapper only sata1&2 has been showed. WTF... if I understand correctly SataPortMap=xyz means: - x - numer of sata port on 1st controller - y - numer of sata port on 2nd controller - z - numer of sata port on 3rd controller ... So in my example should be 68 (6 ports on internal controller and 8 ports on H310). But how to understand DiskIdxMap?? How should i set it? Hi @shibby This is interesting. So since i have 4 Disks on the LSI 9211-4i what should I try and use ? I am using the below: "DiskIdxMap": "1000", "SataPortMap": "12", "SasIdxMap: "0", "MaxDisks: "16" Quote Link to comment Share on other sites More sharing options...
wjz304 Posted September 14, 2023 Share #683 Posted September 14, 2023 Internalportcfg,esataportcfg,usbportcfg计算.xlsx 3 Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 14, 2023 Share #684 Posted September 14, 2023 32 minutes ago, wjz304 said: Internalportcfg,esataportcfg,usbportcfg计算.xlsx 19.55 kB · 4 downloads Thanks @wjz304 Is there an online copy of this at all that i can load please Quote Link to comment Share on other sites More sharing options...
shibby Posted September 14, 2023 Share #685 Posted September 14, 2023 (edited) @wjz304 and that is solution for my issue. It looks like DS3622xs+ has limit to 12 drives. I changed internal/esata/usbportcfg to 24 drives and now i see all my disks 1-6 - internal sata ports on motherboard 7 - empty? i dont know what is it and why is it here? 8-15 - 8 drives from H310 SataPortMap=68 DiskIdxMap=0000 Edited September 14, 2023 by shibby Quote Link to comment Share on other sites More sharing options...
wjz304 Posted September 14, 2023 Share #686 Posted September 14, 2023 22 minutes ago, Vodka2014 said: Thanks @wjz304 Is there an online copy of this at all that i can load please online copy? web page? Sorry, English is not my native language and I don't quite understand it. Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 14, 2023 Share #687 Posted September 14, 2023 34 minutes ago, shibby said: @wjz304 and that is solution for my issue. It looks like DS3622xs+ has limit to 12 drives. I changed internal/esata/usbportcfg to 24 drives and now i see all my disks 1-6 - internal sata ports on motherboard 7 - empty? i dont know what is it and why is it here? 8-15 - 8 drives from H310 SataPortMap=68 DiskIdxMap=0000 Hi @shibby Did you have to leave the SasIdxMap in still or only update those 2 values ? Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 14, 2023 Share #688 Posted September 14, 2023 23 minutes ago, wjz304 said: online copy? web page? Sorry, English is not my native language and I don't quite understand it. Hi @wjz304 Google Translate. I hope it is correct. 带 4 个磁盘的 4 端口 HBA LSI 9211-4I 的设置是什么 谢谢 What will the settings be for an 4 Port HBA LSI 9211-4I with 4 disks Thanks Quote Link to comment Share on other sites More sharing options...
shibby Posted September 14, 2023 Share #689 Posted September 14, 2023 @Vodka2014 your settings looks correct if you are using only LSI card for drives. If all drives are detected you dont have to change anything. i didnt touch SasIdxMap so it is set to 0. Quote Link to comment Share on other sites More sharing options...
wjz304 Posted September 14, 2023 Share #690 Posted September 14, 2023 The calculation of SataPortMap and DiskIdxMap should be combined with the specific information of the controller, rather than WYSIWYG. The table above calculates internalportcfg, esatportcfg, usbportcfg, and maxdisks. recommended not to set SataPortMap and DiskIdxMap Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 14, 2023 Share #691 Posted September 14, 2023 2 minutes ago, shibby said: @Vodka2014 your settings looks correct if you are using only LSI card for drives. If all drives are detected you dont have to change anything. i didnt touch SasIdxMap so it is set to 0. Interesting that you got the H310 to work when https://github.com/wjz304/arpl-i18n/issues/209 is the same issue i am having on DS3622xs+. The driver is crashing it seems. Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 14, 2023 Share #692 Posted September 14, 2023 1 minute ago, wjz304 said: The calculation of SataPortMap and DiskIdxMap should be combined with the specific information of the controller, rather than WYSIWYG. The table above calculates internalportcfg, esatportcfg, usbportcfg, and maxdisks. recommended not to set SataPortMap and DiskIdxMap 因此,将“”保留为无值或将其设置为 0 So leave it is "" with no value or set it to 0 Quote Link to comment Share on other sites More sharing options...
shibby Posted September 14, 2023 Share #693 Posted September 14, 2023 PERC H310 works on DS3622xs+ very well (i have 4x baremetal on H310) but IMO H310 doesn`t work on DS918+/DS920+... but i can be wrong. Quote Link to comment Share on other sites More sharing options...
shibby Posted September 14, 2023 Share #694 Posted September 14, 2023 4 minutes ago, wjz304 said: recommended not to set SataPortMap and DiskIdxMap without it i cannot use internal ports on motherboards... for me SataPortMap=68 works correct (6x ports on motherboards, 8x ports from H310) 1 Quote Link to comment Share on other sites More sharing options...
wjz304 Posted September 14, 2023 Share #695 Posted September 14, 2023 Just now, Vodka2014 said: 因此,将“”保留为无值或将其设置为 0 So leave it is "" with no value or set it to 0 Yes, my suggestion is to abandon SataPortMap and DiskIdxMap, If there are any issues, they can be improved by modifying internalportcfg, esatportcfg, usbportcfg, and maxdisks 1 Quote Link to comment Share on other sites More sharing options...
wjz304 Posted September 14, 2023 Share #696 Posted September 14, 2023 this's just a suggestion, as many factors make it unsuitable for all environments 1 Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 14, 2023 Share #697 Posted September 14, 2023 4 minutes ago, wjz304 said: this's just a suggestion, as many factors make it unsuitable for all environments Anything right now to see if i can get my system backup and running. Thanks Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted September 14, 2023 Author Share #698 Posted September 14, 2023 10 minutes ago, shibby said: PERC H310 works on DS3622xs+ very well (i have 4x baremetal on H310) but IMO H310 doesn`t work on DS918+/DS920+... but i can be wrong. Recently, DS918+ (ApolloLake) has had the following HBA improvements. Quote Link to comment Share on other sites More sharing options...
Vodka2014 Posted September 14, 2023 Share #699 Posted September 14, 2023 Hi @Peter Suh Is there anything else i can try ? Quote Link to comment Share on other sites More sharing options...
shibby Posted September 14, 2023 Share #700 Posted September 14, 2023 (edited) @Peter Suh i have another problem on DS3622xs+, this time is my 10GbE netcard - tn40xx driver. Fresh instalation using M-Shell and card is not detected - dmesg shows only: Quote [ 132.060523] tn40xx low_mem_msg proc entry initialized [ 132.060757] tn40xx low_mem_counter proc entry initialized [ 132.060991] tn40xx debug_msg proc entry initialized [ 132.061202] tn40xx: Tehuti Network Driver, 0.3.6.12.3 but if i unload this module (modprobe -r tn40xx) and download this module https://github.com/PeterSuh-Q3/arpl-modules/blob/main/broadwellnk-4.4.302/tn40xx.ko and load (insmod <file> then card is shows up Quote [ 1392.085373] tn40xx: Tehuti Network Driver, 0.3.6.14 [ 1392.085560] tn40xx: Supported phys : MV88X3120 MV88X3310 MV88E2010 QT2025 TLK10232 AQR105 [ 1392.085967] tn40xx 0000:05:00.0: enabling device (0000 -> 0002) [ 1392.086292] tn40xx: srom 0x0 HWver 16 build 0 lane# 4 max_pl 0x0 mrrs 0x2 [ 1392.299150] tn40xx: PHY detected on port 0 ID=2B09AB - MV88X3310 (A1) 10Gbps 10GBase-T [ 1392.299446] tn40xx: PHY type by svid 0 found 4 [ 1395.367040] tn40xx: MV88X3310 firmware code is running [ 1395.367317] tn40xx: MV88X3310 FW version is 0.2.4.0 [ 1395.555744] tn40xx: fw 0xe [ 1395.555860] tn40xx: eth1, Port A [ 1395.556001] tn40xx: 1 1fc9:4027:1432:8104 [ 1395.556161] tn40xx: detected 1 cards, 1 loaded How can i include correct driver to TCRP? Edited September 14, 2023 by shibby Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.