Jump to content
XPEnology Community

Recommended Posts

Posted (edited)

https://github.com/RROrg/rr/issues/8615

 

RR (of @wjz304 ) used the latest version 25.4.2.
When building the loader with a different model for migration from DS925+(v1000nk) to another platform and booting RR's DSM,

Migration cannot be done because the mount of the /dev/md0 partition failed.

 

root: Failed to mount /dev/md0 on /recovery_root_mount
umount: can't unmount /recovery_root_mount: Invalid argument
Mounting /dev/md0 /tmpRoot
mount: mounting /dev/md0 on /tmpRoot failed: Invalid argument
Trying to mount /dev/md0 with btrfs super-recover
/linuxrc.syno.impl: line 585: /sbin/btrfs: not found
mount: mounting /dev/md0 on /tmpRoot failed: Invalid argument
Trying to mount /dev/md0 without free space cache
mount: mounting /dev/md0 on /tmpRoot failed: Invalid argument
Trying to mount /dev/md0 without log tree
mount: mounting /dev/md0 on /tmpRoot failed: Invalid argument
Trying to mount /dev/md0 with backup roots
mount: mounting /dev/md0 on /tmpRoot failed: Invalid argument
mount /dev/md0 fail, returns 1
Exit on error [3] no init exists...

 

The only migration is possible with DS1621+(v1000).
I am only guessing that it is possible because they are similar platforms.

 

2025-05-048_23_40.thumb.png.0e1bf69ac980ae10683caa578272de51.png

 

 

The junior log of RR captured through the telnet port is as follows.

 

rr_925p_to_6400_mig.log

rr_925p_to_923p_mig.log

rr_925p_to_918p_mig.log

 

rr_925p_to_1621p_mig.log

 

 

I thought that the cause of this problem was the absence of the /sbin/btrfs binary,
so I added the case of tcrp-mshell separately and added btrfs-progs v4.0 as an Addon in advance, but there was no change in the issue.

 

https://github.com/PeterSuh-Q3/tcrp-addons/tree/main/abusyboxupgrade/auxfiles/usr

 

 

Edited by Peter Suh
  • Peter Suh changed the title to Develop and refine the DS925+(v1000nk) loader
Posted

I just found a solution.

 

If you look at the normal log of DS1621+, you can see that the btrfs related modules are being loaded.

 

Insert synorbd kernel module
Insert synofsbd kernel module
Insert sha256 kernel module
:: Loading module xxhash ... [  OK  ]
:: Loading module ecryptfs ... [  OK  ]
:: Loading module zstd_decompress ... [  OK  ]
:: Loading module zstd_compress ... [  OK  ]
:: Loading module xor ... [  OK  ]
:: Loading module raid6_pq ... [  OK  ]
:: Loading module btrfs ... [  OK  ]
All disk ready or timeout execeed

 

However, if the module is missing, the module loading log will not appear.

 

Insert synorbd kernel module
Insert synofsbd kernel module
Insert libsha256 kernel module
Insert sha256 kernel module
All disk ready or timeout execeed

 

TCRP-MSHELL has added the related BTRFS module pack as a separate Addon.

 

https://github.com/PeterSuh-Q3/tcrp-addons/tree/main/abusyboxupgrade/auxfiles/lib/modules

 

By applying the BTRFS module pack, migration from DS925+ to SA6400 can proceed normally as shown below.

 

Insert synorbd kernel module
Insert synofsbd kernel module
Insert libsha256 kernel module
Insert sha256 kernel module
:: Loading module xor ... [  OK  ]
:: Loading module raid6_pq ... [  OK  ]
:: Loading module zstd_compress ... [  OK  ]
:: Loading module btrfs ... [  OK  ]
All disk ready or timeout execeed
Assemble args: -u 18754293:863b20f6:05d949f7:b0bbaec7 /dev/sata1p1 /dev/sata3p1 /dev/sata4p1
mdadm: /dev/sata3p1 has wrong uuid.
mdadm: /dev/sata4p1 has wrong uuid.
mdadm: /dev/md0 has been started with 1 drive (out of 16).
Partition Version=9
Checking btrfs rootfs on /dev/md0
return value: 
All components of md0 have partition layout above v9.
ForceNewestLayout: Skipped
Mounting /dev/md0 /tmpRoot
------------upgrade
Begin upgrade procedure
Failed to found any patch
No upgrade file found
End upgrade procedure
============upgrade
------------bootup-smallupdate
Failed to AssertFileKeyValueEqual
  value1: /etc.defaults/synoinfo.conf:unique -> synology_epyc7002_sa6400
  value2: /tmpRoot/etc.defaults/synoinfo.conf:unique => synology_v1000nk_ds925+
Skip bootup smallupdate, because root is not matched to junior
============bootup-smallupdate
Failed to AssertFileKeyValueEqual
  value1: /etc.defaults/synoinfo.conf:unique -> synology_epyc7002_sa6400
  value2: /tmpRoot/etc.defaults/synoinfo.conf:unique => synology_v1000nk_ds925+
Exit on error [7] root not matched with junior...

 

  • Like 1
Posted

Hello @Peter Suh I'm using a Dell Precision 3630 (Intel) with just a simple RAID1, a DS920+ build with Real SN/MAC, AME 3.0, Transcoding, Intel Ethernet Server Adapter I350T2V2.  I'm curious if you think the TCRP Friend / M-Shell is ready for deployment of DS925+ in general or should wait for a while still yet?  Are there any potential issues/problems you think I might have in upgrading my build, given the platform hardware differences?  I also have real DS925+ SN/Mac. Thank YOU

Posted (edited)
2 hours ago, gericb said:

Hello @Peter Suh I'm using a Dell Precision 3630 (Intel) with just a simple RAID1, a DS920+ build with Real SN/MAC, AME 3.0, Transcoding, Intel Ethernet Server Adapter I350T2V2.  I'm curious if you think the TCRP Friend / M-Shell is ready for deployment of DS925+ in general or should wait for a while still yet?  Are there any potential issues/problems you think I might have in upgrading my build, given the platform hardware differences?  I also have real DS925+ SN/Mac. Thank YOU

 

Synology Toolchain and Toolkit for v1000nk have not been officially released yet.

 

https://archive.synology.com/download/ToolChain/toolchain/7.2-72746


i915 and HBA are not supported yet.
You can think of it as an experimental version for now.

Edited by Peter Suh
  • Like 1

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...