MajkelP Posted June 9, 2022 Share #3851 Posted June 9, 2022 On 6/3/2022 at 12:06 PM, pocopico said: No need to recreate the loader. It will be a two stage update process. First update to update2 from DSM GUI Second boot into TCRP and run ./rploader.sh update now ./rploader.sh fullupgrade now ./rploader.sh backup ./rploader.sh postupdate <yourplatform> Thanks, I followed your instruction and successfully updated my DSM. I have a question about update, two times I pressed "Y" and I had a one command "permission denied" The new smallupdate version will be : 7.1-42661-2 Do you want to use this for the loader ? [yY/nN] : y Recreating ramdisk cpio: ./etc/shadow: Cannot open: Permission denied 52183 blocks Adding fake sign 1+0 records in 1+0 records out 68 bytes copied, 3.2531e-05 s, 2.1 MB/s Putting ramdisk back to the loader partition sdc1 Removing temp ramdisk space Done Saving user session for future use. Saving current extensions -> OK ! Saving current user_config.json -> OK ! tc@box:~$ sudo reboot tc@box:~$ Do I need to worry about this? And second question during the boot I still have GRUB screen with: RedPill DS3622xs v7.1.0-42661 Beta (USB Verbose) Is it possible to remove the name "beta"? Thank you for your support. Quote Link to comment Share on other sites More sharing options...
Unregistrado Posted June 9, 2022 Share #3852 Posted June 9, 2022 1 hour ago, MajkelP said: Thanks, I followed your instruction and successfully updated my DSM. I have a question about update, two times I pressed "Y" and I had a one command "permission denied" The new smallupdate version will be : 7.1-42661-2 Do you want to use this for the loader ? [yY/nN] : y Recreating ramdisk cpio: ./etc/shadow: Cannot open: Permission denied 52183 blocks Adding fake sign 1+0 records in 1+0 records out 68 bytes copied, 3.2531e-05 s, 2.1 MB/s Putting ramdisk back to the loader partition sdc1 Removing temp ramdisk space Done Saving user session for future use. Saving current extensions -> OK ! Saving current user_config.json -> OK ! tc@box:~$ sudo reboot tc@box:~$ Do I need to worry about this? And second question during the boot I still have GRUB screen with: RedPill DS3622xs v7.1.0-42661 Beta (USB Verbose) Is it possible to remove the name "beta"? Thank you for your support. When you are in that screen you can press "e" and change the grub file. 1 Quote Link to comment Share on other sites More sharing options...
loveburn Posted June 9, 2022 Share #3853 Posted June 9, 2022 2 часа назад, MajkelP сказал: Is it possible to remove the name "beta"? just edit the grub.cfg 1 Quote Link to comment Share on other sites More sharing options...
Balrog Posted June 9, 2022 Share #3854 Posted June 9, 2022 10 hours ago, flyride said: You can force a DSM reinstall but retain Storage Pools and Volumes with synodsdefault --reinstall This can be executed from junior mode shell (serial console). https://xpenology.com/forum/topic/9392-general-faq/?do=findComment&comment=89619 This will lose all system settings but not data. If you have a dss backup most of it can be restored. I don't know how to make it just do a patch. So for today I went the "easy route": - I made a backup from the TCRP before testing to build a new loader without the typo in the loader-script. - I attached the backup as SATA0:0 on my VM. - DSM boots fine for now into 7.1 U2 (of course with the error on the 2.nd NIC and some error messages at boot, but this wont hurt for now). - So I am able to make a full backup now. I will work on this issue again at the weekend if I got more time for this issue. I remember some old information about boot and mounting e.g. an Linux Live ISO, mounting the 2.4 GByte-RAID1 where DSM is installed and change some files to be able to "simulate" an upgrade situation again. But I do not know what files to change exactly anymore... In the worst case I can wipe the 2.4 Gbyte-RAID1 and make a full "new installation". But I will test this scenario first on another test-installation. Quote Link to comment Share on other sites More sharing options...
Balrog Posted June 10, 2022 Share #3855 Posted June 10, 2022 (edited) I am back in business!! In the end the solution was easy! With the typo in the script rploader.sh the DiskIdxMap is not correct. So the first time (with the typo) i got: Computed settings: SataPortMap=126 DiskIdxMap=000103 As I only have 1 VMDK (as a single virtual SSD) as data disk and 4 HDDs on the physical internal SATA-Controller of the Microserver Gen8 this even works and I was able to do the upgrade from DSM 6.2U3 to DSM 7.1. The step where things went a little bit wrong were as I updated to DSM 7.1U2. I have to boot after the update into TCRP again and fire up: sudo ./rploader.sh update sudo ./rploader.sh postupdate broadwellnk-7.1.0-42661 exitcheck.sh reboot Then I read about the type in rploader.sh and recognize my fault about the missing second NIC in the user_config.json. I added the second NIC, repaired the rploader.sh and got this (new & correct) satamap in the end: Computed settings: SataPortMap=126 DiskIdxMap=100002 Then I compiled the loader again: sudo ./rploader.sh clean sudo ./rploader.sh fullupgrade sudo ./rploader.sh listmods broadwellnk-7.1.0-42661 sudo ./rploader.sh build broadwellnk-7.1.0-42661 sudo ./rploader.sh backup exitcheck.sh reboot After the next reboot I got the page "Welcome back: Click here to migrate your diskstation". And here is the trick: - DO NOT JUST REBOOT into DSM after click on "Migrate"! - Reboot again in TCRP and run (once again): sudo ./rploader.sh postupdate broadwellnk-7.1.0-42661 exitcheck.sh reboot The "postupdate"-command will throw a lot of messages about a lot of existing files and folders. But in the end there will be the message: ... The new smallupdate version will be : 7.1-42661-2 Do you want to use this for the loader ? [yY/nN] : y Recreating ramdisk 52185 blocks Adding fake sign ... The next boot will be successfully and the NAS will be normal, stable and functional. So i learned: If a minor patch is installed on top of a major DSM-Release, one have to boot into TCRP again and run the "postupdate"-function again even after a "Migration" when changing e.g. the NIC-Settings and recreating the whole boot-loader. I still have some error messages but I got these also on my other installations: root@diskstation:~# systemctl list-units --state failed UNIT LOAD ACTIVE SUB DESCRIPTION ● syno-oob-check-status.service loaded failed failed Out of Band Management Status Check ● synoindex-checkpackage.service loaded failed failed synoindex check if there are any synoindex-related packages ● SynoInitEth.service loaded failed failed Adjust NIC sequence LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 3 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. Do someone knows if these failing services are important or irrelevant? The NICs are running fine and I miss nothing and can't see anything which is not running correctly. Edited June 10, 2022 by Balrog added informations 1 Quote Link to comment Share on other sites More sharing options...
Shogi Posted June 10, 2022 Share #3856 Posted June 10, 2022 Hi@all I have successfully updated an HP N54L with DSM7.1.0-42661-2. Unfortunately the power button doesn't work yet. Could someone give me a tip? Quote Link to comment Share on other sites More sharing options...
billat29 Posted June 10, 2022 Share #3857 Posted June 10, 2022 I have a question about the reboot. My box is running headless and since I closed my home lab, it's a bit of pain to move it to a monitor and give it a network connection. Creating the loader and installing DSM is fine headless, but getting back to TCRP later needs a console to change the boot option. Can anyone think of a straightforward way (I can only think of complicated) to change the next boot to TCRP without a console? Quote Link to comment Share on other sites More sharing options...
billat29 Posted June 10, 2022 Share #3858 Posted June 10, 2022 1 minute ago, Shogi said: Hi@all I have successfully updated an HP N54L with DSM7.1.0-42661-2. Unfortunately the power button doesn't work yet. Could someone give me a tip? You need the acpi extension. Look through flyride's tutorial for how to do it. However, I didn't find it for DS3615xs and so I migrated to DS3622xs+ Quote Link to comment Share on other sites More sharing options...
Shogi Posted June 10, 2022 Share #3859 Posted June 10, 2022 1 minute ago, billat29 said: Sie benötigen die acpi-Erweiterung. Sehen Sie sich das Tutorial von flyride an, um zu erfahren, wie es geht. Ich habe es jedoch nicht für DS3615xs gefunden und bin daher zu DS3622xs+ migriert I also took the DS3622xs+. unfortunately I can't get any further Quote Link to comment Share on other sites More sharing options...
billat29 Posted June 10, 2022 Share #3860 Posted June 10, 2022 54 minutes ago, Shogi said: I also took the DS3622xs+. unfortunately I can't get any further I did this. ./rploader.sh ext broadwellnk-7.1.0-42661 add https://github.com/jimmyGALLAND/redpill-ext/raw/master/acpid/rpext-index.json ./rploader.sh build broadwellnk-7.1.0-42661 Quote Link to comment Share on other sites More sharing options...
Shogi Posted June 10, 2022 Share #3861 Posted June 10, 2022 3 minutes ago, billat29 said: I did this. ./rploader.sh ext broadwellnk-7.1.0-42661 add https://github.com/jimmyGALLAND/redpill-ext/raw/master/acpid/rpext-index.json ./rploader.sh build broadwellnk-7.1.0-42661 I'll try it right away Quote Link to comment Share on other sites More sharing options...
Shogi Posted June 10, 2022 Share #3862 Posted June 10, 2022 2 hours ago, Shogi said: I'll try it right away Are the commands correct? [DS3622xs+] ./rploader.sh update now ./rploader.sh fullupgrade now ./rploader.sh serialgen DS3622xs+ ./rploader.sh identifyusb now ./rploader.sh satamap now ./rploader.sh build broadwellnk-7.0.1-42218 ./rploader.sh clean now ./rploader.sh ext broadwellnk-7.1.0-42661 add https://github.com/jimmyGALLAND/redpill-ext/raw/master/acpid/rpext-index.json ./rploader.sh build broadwellnk-7.1.0-42661 ./rploader.sh clean now; rm -rf /mnt/sdb3/auxfiles; rm -rf /home/tc/custom-module; ./rploader.sh backup now; after Update 7.1.0-42661-1 i followed the below steps as suggested: downloaded from synology the 7.1.0-42661 update 2 then do manual update inside DSM boot into TCRP and run ./rploader.sh update now ./rploader.sh fullupgrade now ./rploader.sh backup ./rploader.sh postupdate broadwellnk-7.1.0-42661 or am I doing something wrong? 1 Quote Link to comment Share on other sites More sharing options...
billat29 Posted June 10, 2022 Share #3863 Posted June 10, 2022 (edited) 2 hours ago, Shogi said: or am I doing something wrong? I can't say for sure. I can make the following observations: 1. The parameter now is no longer required. 2. I used the realmac option for serialgen this enabled WOL for me. 3. I didn't do the intermediate 7.0.1 step or clean 4. I didn't do any step after the 7.1 build. 5. I didn't apply any update. and.. can you post any follow up in the installation section? This doesn't really belong here. Edited June 10, 2022 by billat29 Quote Link to comment Share on other sites More sharing options...
Balrog Posted June 11, 2022 Share #3864 Posted June 11, 2022 On 6/10/2022 at 7:12 AM, Balrog said: ... I still have some error messages but I got these also on my other installations: root@diskstation:~# systemctl list-units --state failed UNIT LOAD ACTIVE SUB DESCRIPTION ● syno-oob-check-status.service loaded failed failed Out of Band Management Status Check ● synoindex-checkpackage.service loaded failed failed synoindex check if there are any synoindex-related packages ● SynoInitEth.service loaded failed failed Adjust NIC sequence LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 3 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. Do someone knows if these failing services are important or irrelevant? The NICs are running fine and I miss nothing and can't see anything which is not running correctly. I have some news about the failing services and how to disable them (mostly): 1 Quote Link to comment Share on other sites More sharing options...
mpuff Posted June 11, 2022 Share #3865 Posted June 11, 2022 (edited) Since DSM 7.1, the system does not shutdown automatically after the time I setup under Hardware&Energy WoL does work, but I think, the HDDs not going into sleeping mode. Does someone has the same? I am now on the latest 7.1 U2, it was working with 7.0.1 I use a second HP Server only for backup, and it always startet bevor the backup job and after that, it was shutting down. Edited June 11, 2022 by mpuff Quote Link to comment Share on other sites More sharing options...
wahabe Posted June 12, 2022 Share #3866 Posted June 12, 2022 Hello pocopico please need to update atlantic Quote Link to comment Share on other sites More sharing options...
plizio Posted June 13, 2022 Share #3867 Posted June 13, 2022 Hi, wrote some time ago for r8125 problem... I aded r8125 to broadwellnk-7.0.1-42661 ./rploader.sh ext broadwellnk-7.0.1-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/r8125/rpext-index.json and rebuilt the image: It looks that you will need the following modules : Found VGA Controller : pciid 8086d00000162 Required Extension : i915 Searching for matching extension for i915 Found SATA Controller : pciid 8086d00001c02 Required Extension : ahci Searching for matching extension for ahci Found Ethernet Interface : pciid 10ecd00008125 Required Extension : No matching extension [#] Checking runtime for required tools... [OK] [#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json ######################################################################## 100.0% [OK] [#] ========================================== pocopico.r8169 ========================================== [#] Extension name: r8169 [#] Description: Adds RealTek RTL-8169 Gigabit Ethernet driver Support [#] To get help visit: <todo> [#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8169 [#] Software author: https://github.com/pocopico [#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json [#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621 [#] ======================================================================================= Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8169 Searching for matching extension for r8169 Found matching extension : "https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json" ------------------------------------------------------------------------------------------------ Starting loader creation As tou can see in logs I have "No matching extension" for pciid 10ec00008125 (r8125 I suppose). I also have a r8168 recognized as r8169 and it works. Can someone help me with r8125, please? Thanks! Quote Link to comment Share on other sites More sharing options...
pocopico Posted June 13, 2022 Author Share #3868 Posted June 13, 2022 59 minutes ago, plizio said: As tou can see in logs I have "No matching extension" for pciid 10ec00008125 (r8125 I suppose). I also have a r8168 recognized as r8169 and it works. Can someone help me with r8125, please? Thanks! You can manually add the extension Quote Link to comment Share on other sites More sharing options...
scfrancis Posted June 14, 2022 Share #3869 Posted June 14, 2022 Hi there, I currently have a DVA3221 which works perfectly, except for the shutdown button, which refuses to shut down the NAS. I wanted to integrate "redpill-acpid" but the DVA3221 model is not included. Citation ./rploader.sh ext denverton-7.1.0-42661 add https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/rpext-index.json Could you help me please ? Thanks a lot 1 Quote Link to comment Share on other sites More sharing options...
jsendra Posted June 15, 2022 Share #3870 Posted June 15, 2022 Hello good morning, I get this error when I go to put the command: "./rploader.sh build apollolake-7.1.0-42661" after I have done the commands: "./rploader.sh update now" , "./rploader.sh serialgen DS3622xs+ realmac" , "./rploader.sh satamap now" , "./rploader.sh identifyusb now" . I attach screenshots, if you can help me, I've been struggling with this for days. Quote Link to comment Share on other sites More sharing options...
scfrancis Posted June 15, 2022 Share #3871 Posted June 15, 2022 @jsendrahello, time problem. Check in the bios Quote Link to comment Share on other sites More sharing options...
Bose321 Posted June 15, 2022 Share #3872 Posted June 15, 2022 Can anyone help me getting the shutdown and reboot commands to work on Unraid? (qemu I believe). I've tried the acpi addon but that didn't help. I'm still on 0.4.6 so I'm not sure what has changed and if it's worth upgrading? I'm running the DS3617xs since that's the only one that wanted to boot at the time. Quote Link to comment Share on other sites More sharing options...
jsendra Posted June 15, 2022 Share #3873 Posted June 15, 2022 2 hours ago, scfrancis said: @jsendrahello, time problem. Check in the bios But what do I have to look for in the bios? if anyone knows what parameter I have to touch? Quote Link to comment Share on other sites More sharing options...
scfrancis Posted June 15, 2022 Share #3874 Posted June 15, 2022 il y a 12 minutes, jsendra a dit : But what do I have to look for in the bios? if anyone knows what parameter I have to touch? You need to update the bios time. Quote Link to comment Share on other sites More sharing options...
scfrancis Posted June 16, 2022 Share #3875 Posted June 16, 2022 Le 14/06/2022 à 14:35, scfrancis a dit : Hi there, I currently have a DVA3221 which works perfectly, except for the shutdown button, which refuses to shut down the NAS. I wanted to integrate "redpill-acpid" but the DVA3221 model is not included. Could you help me please ? Thanks a lot Hello everyone, anyone to help me? @pocopico ?? 😊 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.