Jump to content
XPEnology Community

Ryzen 2400G / Asrock AB350M Pro4 / Can't make it work


secretliar

Recommended Posts

Hi,

 

Here is my setup :

 

- CPU : AMD 2400G

- Motherboard : AB350M Pro4

- 5 ports SATA expansion card in the M.2 PCIE port

 

I tried TCRP (DS3622xs+ and DS1621+), TCRP with Friend (DS3622xs+ and DS1621+), M-Shell (DS3622xs+) nothing works.

 

M-Shell was the most close to work as Ethernet was working once the system booted and the system was found on find.synology.com, but I never have been able to connect to the IP of the machine and install Synology OS.

Link to comment
Share on other sites

By the way, I looked up a bit for your HW specs as below as a start. Can you find out more details of your "5 ports SATA expansion card in the M.2 PCIE port". Unsure why you would need that as you have already got 4 internal SATA. Are you going with 9 disks etc?

  • Chipset: AMD Promontory B350
  • NIC: Realtek RTL8111GR
  • Internal: 4 x SATA3 6.0 Gb/s Connectors, support RAID (RAID 0, RAID 1 and RAID 10), NCQ, AHCI and Hot Plug
Link to comment
Share on other sites

Wow thanks for your help!

 

----

 

Requested info:

 

- TCRP version tinycore-redpill-uefi.v0.9.4.5.img.gz

- SATA PCIe M.2 cardAmazon link (JMB585 chipset)

- Disks: I have 4 HDD (data) + 5 SSD* (docker/VM, some data, cache)

In the interval I tried TrueNAS that requested boot drives and bought 2 small cheap SSD to put in mirror)

If it helps: 4 SSD plugged in MB (port 0,1,4,5 as per BIOS) + 4 HDD + 1 SSD plugged in SATA card (no info in BIOS)

 

----

 

Previous tries:

 

----

 

New try of the day :

 

index.sh

- First try didn't work with default settings (.pat corrupted)

- I changed version to 7.1.1-42962

- I select auto add extension

- I clicked build

- Screenshots and log below

- Result : loading on the PC but no ethernet activity.

 

Quote

Build output logHide build log

Clearing log file File /home/tc/user_config.json looks OK Building loader for model, DS3622xs+ and software version, 7.1.1-42962 <br>Downloading tools PATFILE for DS3622xs+_7.1.1-42962 is NOT CACHED <br>Downloading PAT file ds3622xsp_42962.pat for MODEL=DS3622xs+, Version=7.1.1-42962, SHA256=b48aadaba7ff561b7d55aa9ed75f1f2f4c49c0c2f73ece4020f3ffd08f6bbfd0 <br>File downloaded and matches expected sha256sum <br>Starting build <br>Buildling loader for DS3622xs+, 7.1.1-42962, with serial number : 2040SQRXGFEEQ and macaddress : 001132BFD1ED <br>extracommans : <br>File ds3622xsp_42962.pat, is encrypted PATFILE for DS3622xs+_7.1.1-42962 is CACHED as file /home/tc/html/ds3622xsp_42962.pat hda1.tgz option -f with value `/home/tc/patch-extractor//home/tc/html/ds3622xsp_42962.pat' <br>Extractor Cached, proceeding... <br>Extracting encrypted PAT file /home/tc/html/ds3622xsp_42962.pat <br>Extracted PAT file, VERSION Found : 7.1.1_42962 <br>zImage sha256sum : 8903dc99f7201c8656de618d767c05f91bfd32edd9a3706a50fd223237842bf2 <br>rd sha256sum : 432f315818adad4e1ca54040557e164caf2937004e2d009aac8865391353e2f6 <br>Copying original zImage to partitions sdj1 and sdj2 <br>zImage sha256sum matches expected sha256sum, patching kernel <br>Patching Kernel <br>Kernel Patched, sha256sum : a56b77306e456d44aaff530e25922ba0cda283574033009b17753e9c9a035ad3 /home/tc/temppat/zImage-dsm <br>Copying original ramdisk to partitions sdj1 and sdj2 <br>ramdisk sha256sum matches expected sha256sum, patching kernel <br>PLATFORM SELECTED : { "id": "ds3622xsp-7.1.1-42962", "platform_version": "ds3622xsp-7.1.1-42962", "user_config_json": "broadwellnk_user_config-test.json", "docker_base_image": "debian:8-slim", "redpill_lkm_make_target": "dev-v7", "compile_with": "toolkit_dev", "downloads": { "kernel": { "url": "https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/broadwellnk-source/linux-4.4.x.txz/download", "sha256": "d3e85eb80f16a83244fcae6016ab6783cd8ac55e3af2b4240455261396e1e1be" }, "toolkit_dev": { "url": "https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.broadwellnk-7.0.dev.txz/download", "sha256": "0d9edca67d9e7e14c2529bbb58341b623936124d5264f71f1e4acbacf3ea202d" } }, "redpill_lkm": { "source_url": "https://github.com/pocopico/redpill-lkm.git", "branch": "master" }, "redpill_load": { "source_url": "https://github.com/pocopico/redpill-load.git", "branch": "develop" }, "add_extensions": [ { "all-modules": "https://github.com/pocopico/tcrp-addons/raw/main/all-modules/rpext-index.json", "eudev": "https://github.com/pocopico/tcrp-addons/raw/main/eudev/rpext-index.json", "disks": "https://github.com/pocopico/tcrp-addons/raw/main/disks/rpext-index.json", "misc": "https://github.com/pocopico/tcrp-addons/raw/main/misc/rpext-index.json" } ] } <br>EXTENSIONS_SOURCE_URL : https://github.com/pocopico/tcrp-addons/raw/main/all-modules/rpext-index.json https://github.com/pocopico/tcrp-addons/raw/main/eudev/rpext-index.json https://github.com/pocopico/tcrp-addons/raw/main/disks/rpext-index.json https://github.com/pocopico/tcrp-addons/raw/main/misc/rpext-index.json <br>Adding extensions for ds3622xsp_42962 <br>Adding required extension https://github.com/pocopico/tcrp-addons/raw/main/all-modules/rpext-index.json for ds3622xsp_42962 <br>extadd https://github.com/pocopico/tcrp-addons/raw/main/all-modules/rpext-index.json ds3622xsp_42962 Extension all-modules has been already added <br>Adding required extension https://github.com/pocopico/tcrp-addons/raw/main/eudev/rpext-index.json for ds3622xsp_42962 <br>extadd https://github.com/pocopico/tcrp-addons/raw/main/eudev/rpext-index.json ds3622xsp_42962 Extension eudev has been already added <br>Adding required extension https://github.com/pocopico/tcrp-addons/raw/main/disks/rpext-index.json for ds3622xsp_42962 <br>extadd https://github.com/pocopico/tcrp-addons/raw/main/disks/rpext-index.json ds3622xsp_42962 Extension disks has been already added <br>Adding required extension https://github.com/pocopico/tcrp-addons/raw/main/misc/rpext-index.json for ds3622xsp_42962 <br>extadd https://github.com/pocopico/tcrp-addons/raw/main/misc/rpext-index.json ds3622xsp_42962 Extension misc has been already added Testing /home/tc/modules.alias.4.json -> File OK ------------------------------------------------------------------------------------------------ It looks that you will need the following modules : Found SATA Controller : pciid 1022d000043b7 Required Extension : No matching extension Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8168 r8169 Searching for matching extension for r8168 Found matching extension : https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json Adding extension Extension pocopico.r8168 has been already added Found SATA Controller : pciid 197bd00000585 Required Extension : No matching extension Found VGA Controller : pciid 1002d000015dd Required Extension : No matching extension ------------------------------------------------------------------------------------------------ <br>Processing extensions Downloading extension all-modules payload for platform ds3622xsp_42962 Downloading : broadwellnk-4.4.180.tgz Downloading : broadwellnk-4.4.302.tgz Downloading : firmware.tgz Downloading : install.sh Downloading : kmod Adding boot script Downloading extension eudev payload for platform ds3622xsp_42962 Downloading : eudev.tgz Downloading : install.sh Adding boot script Adding os load script Downloading extension eudev payload for platform ds3622xsp_42962 Downloading : eudev.tgz Downloading : install.sh Downloading extension disks payload for platform ds3622xsp_42962 Downloading : dtc Downloading : install.sh Downloading : readlink Downloading : sed Adding boot script Adding os load script Downloading extension misc payload for platform ds3622xsp_42962 Downloading : install-all.sh Downloading : ttyd.tar.gz File ttyd.tar.gz , is packed, extracting Downloading : install_rd.sh Downloading : lrzsz.tar.gz File lrzsz.tar.gz , is packed, extracting Adding boot script Adding os load script Downloading extension pocopico.r8168 payload for platform ds3622xsp_42962 Downloading : r8168-4.4.180plus-broadwellnk.tgz File r8168-4.4.180plus-broadwellnk.tgz , is packed, extracting File contains 1 modules, copying to modules folder adding module r8168 Downloading : check-r8168.sh Adding boot script <br>Patching RamDisk <br>Extracting ramdisk to /home/tc/temppat/rd.temp/ <br>Extracted ramdisk VERSION : 7.1.1_42962 <br>Patches to be applied : /home/tc/config/_common/ramdisk-001-disable-root-pwd.patch /home/tc/config/_common/v7.1.1/ramdisk-002-init-script.patch /home/tc/config/_common/v7.1.1/ramdisk-003-post-init-script-noatime.patch /home/tc/config/_common/ramdisk-004-network-hosts.patch /home/tc/config/_common/ramdisk-005-disable-disabled-ports.patch <br>Applying patch /home/tc/config/_common/ramdisk-001-disable-root-pwd.patch in dir /home/tc/temppat/rd.temp patching file etc/passwd <br>Applying patch /home/tc/config/_common/v7.1.1/ramdisk-002-init-script.patch in dir /home/tc/temppat/rd.temp patching file linuxrc.syno.impl Hunk #1 succeeded at 177 (offset 22 lines). <br>Applying patch /home/tc/config/_common/v7.1.1/ramdisk-003-post-init-script-noatime.patch in dir /home/tc/temppat/rd.temp patching file usr/sbin/init.post <br>Applying patch /home/tc/config/_common/ramdisk-004-network-hosts.patch in dir /home/tc/temppat/rd.temp patching file etc/hosts <br>Applying patch /home/tc/config/_common/ramdisk-005-disable-disabled-ports.patch in dir /home/tc/temppat/rd.temp patching file usr/syno/web/webman/get_state.cgi <br>Applying model synoinfo patches Key : maxdisks Value: 24 Key : support_bde_internal_10g Value: no Key : support_disk_compatibility Value: no Key : internalportcfg Value: 0xfffff Key : SasIdxMap Value: 0 Key : esataportcfg Value: 0x00 Key : rss_server Value: http://example.com/null.xml Key : rss_server_ssl Value: https://example.com/null.xml Key : small_info_path Value: https://example.com/null Key : rss_server_v2 Value: https://example.com/autoupdate/v2/getList Key : security_version_server Value: https://example.com/smallupdate Key : updateurl Value: http://example.com/ Key : update_server Value: http://example.com/ Key : update_server_ssl Value: https//example.com/ Key : myds_region_api_base_url Value: https://example.com <br>Applying user synoinfo settings Key : internalportcfg Value: 0xffff Key : maxdisks Value: 16 Key : support_bde_internal_10g Value: no Key : support_disk_compatibility Value: no Key : support_memory_compatibility Value: no <br>Copying extra ramdisk files Source : /home/tc/config/_common/iosched-trampoline.sh Destination : usr/sbin/modprobe FILE : /home/tc/config/_common/iosched-trampoline.sh copied to : usr/sbin/modprobe succesfully Creating custom initrd structure Removing any old redpill.ko modules Looking for redpill for : ds3622xsp_42962 Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpillprod/releases/redpill-4.4.180plus-broadwellnk.tgz Extracting module Copying redpill.ko module to ramdisk Redpill module is in place I'm in /home/tc/customtemp and i'm Creating custom.gz file and placing it in place /home/tc/custom.gz -rw-r--r-- 1 tc staff 18893824 May 17 11:22 /home/tc/custom.gz <br>Reassempling ramdisk <br>Patched ramdisk created -rw-r--r-- 1 tc staff 43884544 May 17 11:22 /home/tc/temppat/initrd-dsm <br>Copying file to sdj3 Updating /home/tc/user_config.json with build form data SataPortMap: 88 DiskIdxMap: 0009 StaticBoot: false <br>File copied succesfully Adding my friend bzImage-friend checksum OK ! initrd-friend checksum OK ! Copying friend to /mnt/sdj3 bzImage-friend Copied succesfully initrrd-friend Copied succesfully Generating GRUB entries for model :ds3622xsp_42962 Generating default grub.cfg for model generate Generated successfully Added USB entry Added SATA entry Added TCRP entry Added TCRP FRIEND entry Caching PAT file Cached pat file : /mnt/sdj3/auxfiles/ds3622xsp_42962.pat Checking loader consistency ... Checking menuentries ...4 entries found Checking boot files are in place... OK ! file /mnt/sdj3/bzImage-friend, IN PLACE OK ! file /mnt/sdj3/initrd-friend, IN PLACE OK ! file /mnt/sdj3/zImage-dsm, IN PLACE OK ! file /mnt/sdj3/initrd-dsm, IN PLACE OK ! file /mnt/sdj3/user_config.json, IN PLACE OK ! file /mnt/sdj3/custom.gz, IN PLACE Checking user_config.json general block ...OK Cleaning build directory Setting next grub entry Setting next grub entry to Friend : Tiny Core Friend Grub entry has been set to : Tiny Core Friend Finished building the loader.

 

1.png

2.png

3.jpg

Edited by secretliar
Link to comment
Share on other sites

11 hours ago, secretliar said:

It looks that you will need the following modules : Found SATA Controller : pciid 1022d000043b7 Required Extension : No matching extension Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8168 r8169 Searching for matching extension for r8168 Found matching extension

I can see the above from the log. So the netcard is okay. The SATA controller will need an extension added.

I can also see the IP address from your last screenshot as 192.168.1.46

Is that within the range of your LAN?

 

This is a more basic guide if you would like to try out

 

  • Like 1
Link to comment
Share on other sites

What did you mean by inaccessible? If you pointed a browser to it, you won't see anything. The next step for you, as you can see in the guide, is to install DSM.

Please be noted your plugged-in, available drives might be re-formatted. All of them.

Link to comment
Share on other sites

I tried with find.synology.com and Synology Assistant.

 

Both can't find it. find.synology.com tried to take me to the webpage.

 

The ethernet port seems to work half a sec (just enough to get a notification from the router), then it's dead.

 

With M-shell, the port was blinking but Synology Assistant still could not find it :(

Link to comment
Share on other sites

Then I am pretty sure you got a kernel panic with the SATA card.

Would you have time to try with bare minimum as below

1. Remove all hard drives and also the SATA card

1.a If you can find hot plug option in your BIOS, turn on for all SATA ports.

2. Add only 1 hard drive or SSD to your onboard SATA

3. Rebuild your loader from scratch

4. Try find.synology.com or with Synology Assistant

 

if good, try to take off 1.a and redo if you don't like it.

 

Good luck mate.

  • Thanks 1
Link to comment
Share on other sites

35 minutes ago, namvan said:

Then I am pretty sure you got a kernel panic with the SATA card.

Would you have time to try with bare minimum as below

1. Remove all hard drives and also the SATA card

1.a If you can find hot plug option in your BIOS, turn on for all SATA ports.

2. Add only 1 hard drive or SSD to your onboard SATA

3. Rebuild your loader from scratch

4. Try find.synology.com or with Synology Assistant

 

if good, try to take off 1.a and redo if you don't like it.

 

Good luck mate.

 

I just tried. Still no luck 😢

 

+ Tried again with Mshell : still not luck. Ethernet is blinking but Synology Assistant cannot find it.

 

Except if you or @pocopico have another idea, I'll probably let it go (let it gooooo, turn away and slam the door...) and try to live with OMV 😕

Edited by secretliar
Link to comment
Share on other sites

10 hours ago, namvan said:

Did you get any errors when building the loader with TCRP v0.9.4.4?

Can you post the commands you executed and the logs if you can collect them?

 

Just to be sure, you want me to try 0.9.4.4 or it's a type and latest 0.9.4.5 is ok?

Link to comment
Share on other sites

On 5/18/2023 at 7:04 PM, namvan said:

I know for sure I got issue with the latest v0.9.4.5 and reported it. Hence I think it would be better to stick with v0.9.4.4.

I'm doing some tests.

 

I might found a way to make it work (without even trying). Seems related to SATA card. SataPortMap=8 DiskIDxMap=00 looks to work to get all drives recognized...

 

----

 

Yep it's working great now :)

 

Thanks ❤️

Edited by secretliar
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...