-
Posts
2,765 -
Joined
-
Last visited
-
Days Won
152
Everything posted by Peter Suh
-
The situation where postupdate is needed should not normally occur in mshell. Your situation is a bit special because it is a recovery loop, so you may need to look into it carefully. In a recovery loop, you need postupdate, but I have not verified that postupdate works for 7.2.1 -> 7.2.2 update errors. Are you still experiencing recovery loops?
-
Switch to my tcrp-mshell , there is a link to the latest version on my profile. It is a loader that supports 7.2.2 without any problems and is a successor to pocopico's TCRP.
-
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
What are your hardware specs? They should probably be listed on the top of the FRIEND console that you captured with your first question. MSI MOBOs are known to have the worst compatibility. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
Do not 100% trust the IP address shown on this FRIEND kernel screen. After 30 seconds, the IP address may change again for various reasons. This screen may not track and display the changed IP address. If you see two LEDs on the rear port of the NIC, it is recommended to double-check the reassigned address on the router. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
I removed the duplicates and rebooted 2 times. I confirmed that only 1 is maintained as expected. Thank you. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
For now, I've supplemented the script to check for existence as follows without discarding it. grep -q '^drive_db_test_url=' /tmpRoot/etc.defaults/synoinfo.conf || echo 'drive_db_test_url="127.0.0.1"' >> /tmpRoot/etc.defaults/synoinfo.conf -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
If your story is correct, it could be that there is a record from before v2.2.45. I'll clean up my drive_db_test_url in my synoinfo.conf that is still in v3.5.101 and see how it goes. I think the junior using /tmpRoot is out of the question as it doesn't seem to have any effect at the moment and I'll have to stop the script. Also, there is still no way to trigger synosetkeyvalue in junior. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
The above script is an issue that occurred in the version that still maintains the previous state (v3.5.101) before the following script was used. echo 'drive_db_test_url="127.0.0.1"' >> /tmpRoot/etc.defaults/synoinfo.conf -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
And this is another story. As you can see in the capture below, there are too many drive_db_test_urls defined in /etc/synoinfo.conf. Maybe they are being added every time I boot. My SYNO boots once a day. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
Thanks for the quick fix. However, it seems like the results are not going the way we want. First of all, since ash is used instead of bash in junior state, there is a problem with the check routine being broken. So I changed it to modify synoinfo.conf directly as follows. if [ "${1}" = "late" ]; then echo "Installing addon hdddb - ${1}" cp -vf hdddb.sh /tmpRoot/usr/sbin/hdddb.sh chmod +x /tmpRoot/usr/sbin/hdddb.sh echo "Add drive_db_test_url to synoinfo.conf" echo 'drive_db_test_url="127.0.0.1"' >> /tmpRoot/etc.defaults/synoinfo.conf echo 'drive_db_test_url="127.0.0.1"' >> /tmpRoot/etc/synoinfo.conf #echo "Excute hdddb.sh with option n." #/tmpRoot/usr/sbin/hdddb.sh -n mkdir -p "/tmpRoot/etc/systemd/system" DEST="/tmpRoot/etc/systemd/system/hdddb.service" echo "[Unit]" >${DEST} echo "Description=HDDs/SSDs drives databases" >>${DEST} echo "After=multi-user.target" >>${DEST} echo >>${DEST} echo "[Service]" >>${DEST} echo "Type=oneshot" >>${DEST} echo "RemainAfterExit=yes" >>${DEST} echo "ExecStart=/usr/sbin/hdddb.sh -nfreS" >>${DEST} echo >>${DEST} echo "[Install]" >>${DEST} echo "WantedBy=multi-user.target" >>${DEST} mkdir -vp /tmpRoot/etc/systemd/system/multi-user.target.wants ln -vsf /etc/systemd/system/hdddb.service /tmpRoot/etc/systemd/system/multi-user.target.wants/hdddb.service fi The synoinfo.conf value below was immediately confirmed at the first boot of DSM, but it was not successfully blocked as shown in the capture. It was confirmed that this script was used at some point in mshell and was omitted when the addon was replaced with hdddb. I think this script was valid at that time, but I don't know why it is not blocked now. https://github.com/PeterSuh-Q3/tcrp-addons/blob/main/syno-hdd-db/src/install.sh#L139 -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
Perhaps, for XPE, if we add this additional processing, it will be applicable immediately after installing DSM. https://github.com/PeterSuh-Q3/tcrp-addons/blob/main/hdddb/src/hdddb.sh#L559C1-L559C39 synoinfo="/etc.defaults/synoinfo.conf" -> synoinfo="/tmpRoot/etc.defaults/synoinfo.conf" https://github.com/PeterSuh-Q3/tcrp-addons/blob/main/hdddb/src/hdddb.sh#L2097C9-L2097C69 /usr/syno/bin/synosetkeyvalue "$synoinfo" "$dtu" "127.0.0.1" -> /tmpRoot/usr/syno/bin/synosetkeyvalue "$synoinfo" "$dtu" "127.0.0.1" -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
@Cornelius_drebbel, @007revad Sorry. In the case of mshell and rr, which are added as services due to the nature of Synology, the service is activated after going through the reboot process at least once after the initial installation of DSM, and hdddb.sh is executed with the -n option during this process. I did not recheck this. There is no problem with the hdddb script. (before reboot) (after reboot) In the case of rr, the addon repo is hidden, so you cannot see it, but a script almost identical to mshell is being used. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
For mshell and rr, I already checked that they are using the -n option. Could the combined options added here have the wrong effect? (mshell) (rr) -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
The original @007revad version has been at 3.5.101 for months and there doesn't seem to be a patch for 7.2.2. https://github.com/007revad/Synology_HDD_db/releases mshell and rr are using the original 007revad version as is and are maintaining the same final version 3.5.101. https://github.com/PeterSuh-Q3/tcrp-addons/blob/main/hdddb/src/hdddb.sh https://github.com/RROrg/rr-addons/blob/main/hdddb/all/usr/bin/hdddb.sh For now, we can only assume that this phenomenon is continuing, and if you perform a manual update, this phenomenon will disappear. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
If you are curious about the structure of /dev/md0, there is also a way to mount it directly and see it. In the case of TCRP, you can access the TTYD console via a web browser during the DSM installation phase. TTYD uses port 7681 and the account is root with no password. You can also mount it briefly and check the contents with the following script. mkdir -p /mnt/md0 mount /dev/md0 /mnt/md0/ cd /mnt/md0/ Perhaps, when changing to DSM 7, the trigger to expand the system partition from 2.4G to 8G was automatically executed from the script that runs first when Synology boots in Junior mode. If you want to analyze this as well, you can check the "linuxrc.syno.impl" file in the root path and TTYD access in Junior mode. Originally, QC might be related to package operation in genuine, but XPE seems to have implemented an attempt to bypass this in lkm by RP developers. Recently, when installing Apollo Lake on DSM 7.2.2, there was a problem in the part where the BIOS bypass process was set to not perform genuine check (probably through QC). @wjz304 and I analyzed /var/log/messages on Junior and found the cause of the above phenomenon that causes error code 21, and updated and compiled lkm once more for this. https://github.com/RROrg/rr/issues/2607#issuecomment-2315487946 I don't know much about ABB packages because I don't have experience with them, but /dev/loop0 seems to be confirmed on Junior. I don't know if /dev/loop0 is used because the ABB package is pre-installed, but the default log shows that it is not being used. It would be difficult to prove that this loop device, which is used for temporary virtualization and mounting, played a major role in destroying the system partition. -
Please double check if you accidentally missed the disks addon in ARC. If you don't miss it and the problem persists, try changing the loader to my mshell. https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v1.0.4.7
-
By any chance, what kind of loader did you use? I tested my DS3622xs+ 7.2.2-72806 with my mshell-TCRP The two M.2 NVMe are showing up fine.
-
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
You ended up resetting all the packages and making them usable again. It would have been nice if you could restore without damaging the packages in the middle of the process. I saw that RR's misc addon has some feature that reduces the possibility of system partition space shortage during the migration process. However, according to wjz304, this feature is only used during the recovery process and is not involved in normal migration. It seems that /dev/md0 plays a very important role in the migration process, but Redpill has not done any in-depth analysis or research on this yet. P.S : However, I think I misunderstood something in my last analysis. It seems like there is a solution that can solve the problem of insufficient disk space during migration. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
Based on this data from 2017, it seems that DSM6 was used around that time, and the system partition structure of DSM 6 appears to be 2.4G + 2G. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
I think the system partition size was not fixed at 2G when migrating from DSM 6 to DSM 7. Since it is difficult to reproduce by reinstalling DSM 6 now, I am looking for evidence from that time. In DSM 7.2.1 -69057, it has a system partition structure of 8G+2G as below. This has not changed in DSM 7.2.2. Can you tell me which apps were specifically affected when migrating between DSM versions? -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
I don't know if you understand the script of this sanmanager-repair Addon, but if you look closely, you can see that it loads the relevant modules only when an error occurs. It is prepared, but if there is no error, it doesn't run at all, so don't worry. https://github.com/PeterSuh-Q3/tcrp-addons/blob/main/sanmanager-repair/src/sanrepair.sh -
I will tell you how to install Docker super-simple to activate Intel iGPU opencl transcoding. You only need to have Docker (Container Manager) ready on Synology. I tested DSM version 7.2.2. 1. First, connect via ssh and install ffmpeg dedicated to jellyfin by executing the command below. This is an essential program for Intel iGPU H/W transcoding. sudo -i bash -c "$(curl https://raw.githubusercontent.com/PeterSuh-Q3/tinycore-redpill/main/jelly.sh)" I will write the contents of this script here for reference only. #!bin/sh mkdir -p /docker/jellyfin/config mkdir -p /docker/jellyfin/cache curl -kLO# https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v6.0.1-8/jellyfin-ffmpeg6_6.0.1-8-bookworm_amd64.deb dpkg-deb -x jellyfin-ffmpeg*.deb temp_dir mkdir -p /usr/lib/jellyfin-ffmpeg mv -v temp_dir/usr/lib/jellyfin-ffmpeg/ /usr/lib/ cd /usr/lib/jellyfin-ffmpeg ./ffmpeg ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers built with gcc 14.1.0 (crosstool-NG 1.26.0.93_a87bf7f) 2. Create a project in the container manager. For detailed instructions on creating a project in the container manager, please refer to this KB. https://kb.synology.com/en-id/DSM/help/ContainerManager/docker_project?version=7 You can download the yaml file required for creating a docker project from this link and use it, or you can copy and paste this content. https://github.com/PeterSuh-Q3/tinycore-redpill/blob/main/jellyfin-igpu.yaml The option to activate Intel opencl for transcoding is The value below is automatically added to one of the environment variables. - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel version: '3.x' services: jellyfin: image: jellyfin/jellyfin:latest container_name: jellyfin-igpu environment: - UID=1026 - GID=100 - TZ=Asia/Seoul - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel network_mode: 'host' ports: - 8096:8096 volumes: - ./config:/config - ./cache:/cache - /volume1/_DRAMA:/volume1/_DRAMA - /usr/lib/jellyfin-ffmpeg:/ffmpeg devices: - "/dev/dri/card0:/dev/dri/card0" - "/dev/dri/renderD128:/dev/dri/renderD128" privileged: true restart: always When setting the volume, please modify "/volume1/_DRAMA:/volume1/_DRAMA" appropriately to suit your movie shared folder situation. 3. Activate jellyfin dashboard transcoding From the home screen, go to the 3-line settings menu->Dashboard->Playback->Transcoding, and activate all items in VAAPI as shown below. Please do not touch the low power mode as shown in this capture. It will immediately fall into an error and playback will stop from the beginning. 4. For the transcoding test, play a video and in the wheel-shaped settings, When using 1080p resolution as the standard, lower the quality to 720p or 480p, and If transcoding is done well, select the [Playback Data] option in the wheel-shaped settings, and the details will be displayed in the upper left corner of the movie. If you see the word transcoding, check the CPU load of Synology. If you maintain an appropriately low load, it will be successful.
-
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
I patched this issue about 2 hours ago. Thanks to @wjz304's help, the patch was done as below, and now the phenomenon of immediate shutdown when connecting to DSM 5000 port is gone. https://github.com/PeterSuh-Q3/tcrp-addons/commit/44a9cd3f96b5228368f765b739946c5d283c2f55 Please try rebuilding the loader again. Sorry for the inconvenience. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
A stable loader cannot be provided consistently all the time. If so, you will have to stay on the old version of DSM. When a new version of DSM is released, the loader will move accordingly and find stability again. The process is still ongoing. This is inevitable. -
TinyCore RedPill Loader Build Support Tool ( M-Shell )
Peter Suh replied to Peter Suh's topic in Software Modding
If so, I'd recommend taking a simpler approach. Change the machine type to i440FX instead of q35. You can modify it like this in the hardware section.