Jump to content
XPEnology Community

alirz1

Member
  • Posts

    195
  • Joined

  • Last visited

Posts posted by alirz1

  1. Could you please consider adding some grub features like having the capability to tell grub to load a particular boot menu entry for next boot only 

    Normal Grub implementation supports this as: grub-set-default 1

    However grub doesnt seem to be available in tcrp loader mode.

    link: https://www.gnu.org/software/grub/manual/legacy/Booting-once_002donly.html

     

  2. 1 minute ago, gericb said:

    🤯 this is exactly what caught my attention in your original posting.  I THOUGHT the only way the networking would actually function at all, was the TCRP encoded MAC address HAD to match the ACTUAL hardware MAC address of what your motherboard or add-in ethernet port had.  So from I am learning from you, this is not an actual requirement.  This would mean I too, can use my decommissioned DS920+ real SN/MAC as well.  I'm also hoping to use WOL, Transcoding, Advanced Media Codecs and though I know there are various rough draft tutorials on using said feature WITHOUT a REAL SN/MAC combo, this is even better news.

     

    I'm very intrigued by your previous positing, as I am planning on going from DS3615xs to DS920+, wondering if I will be able to replicate your shocked surprised success/discovery in having it all auto enable and configure ---> "so apparently when i converted my ds3266 box to ds918+ using tcrp 0.8.5. It enabled/added the necessary extension to support hardware decoding. After the migration to ds918 /dev/dri was already there and i have successful HW decoding working with PLEX. I also used real Ds918 mac and serial so i also have the advanced media codec working successfully for HECV support in synology photos etc."

     

     

    I also debated going to ds920. But I wasn’t sure about the different sata mapping method tcrp uses for that so I decided to go with the 918.

    to tell you the truth I performed a high risk task for this migration. I did this all remote from across the country lol.

    I tested in a vm environment first, repeated all the conversions steps etc multiple times to make sure I wouldnt lose access to the remote setup at any point. It was dumb of me to do this, but at the end it did work successfully. 
    I have some very rough notes that I documented for all of this. I can pm you those if you want. 

  3. 2 minutes ago, gericb said:

    Yes, I am aware of the TCRP generation of SN/MAC and most people using this, even I have used in previous testing.  The key point, that I am trying to clarify is that the MAC address you have encoded in your TCRP loader is from a REAL from a D918+.....however THAT MAC address does not actually match the MAC address of your built-in or add-in ethernet card, correct?  Example: Synology MAC - 001132...   Built-in/add-in NIC - F8B156...

    I don’t know the details as to how and at what network level this MAC mapping is done, but I see your point. from what I see, ifconfing on the xpenology and also on my home router, both show the Mac I had specified in tarp.

    in the past I’ve used the real mad for my Nic because I wanted to use WOL. Though I don’t need that anymore. But someone here mentioned that wol works with fake Mac also! I haven’t tried.

  4. 43 minutes ago, gericb said:

    Don't flame me...just trying to understand  something, to clarify...thought it worked one way, but your feedback seems to imply otherwise.  So let me get this straight..

     

    1) You have a mini pc with lntel N5095A, likely with a single built-in ethernet port, and it's factory programmed MAC address.

    2) In your build of the TCRP loader, you have created it using a REAL SN from a DS918+ unit unit to the configuration file.

    3) In your build of the TCRP loader, you have also added your REAL MAC address from your DS918+ unit to the configuration file.

    4) So your TCRP loader configuration file REAL MAC address doesn't match the mini pc with lntel N5095A factory programmed built-in ethernet port MAC address and yet you have fully functional ethernet connectivity?

     

    I thought the TCRP configuration of the MAC address had to match the REAL MAC address of the motherboard, otherwise no connectivity.

     

    Thanks

    ok so i was referring to my baremetal system here which is based on intel i3-8100. But that is only relevant for the HW video transcoding portion.

     

    As for TCRP build, most people use the "serialgen" command of tcrp, which generates serial/MAC combo. These are not REAL serials/MAC and has no impact on network connectivity.

    However in my case, i was looking to install and actviate synoloyg's advance media codec pack. Which ony works if i use REAL synology serial and MAC combo. So for that i used that info in my tcrp build, no other reason.

  5. so apparently when i converted my ds3266 box to ds918+ using tcrp 0.8.5. It enabled/added the necessary extension to support hardware decoding. After the migration to ds918 /dev/dri was already there and i have successful HW decoding working with PLEX. I also used real Ds918 mac and serial so i also have the advanced media codec working successfully for HECV support in synology photos etc.

    • Thanks 1
  6. 9 minutes ago, blackmanga said:

    If I am not wrong it will require gen 11 support in drivers. And that is going to take a bit more work to backport.

     

    User @RedwinX and @jimmmmm were working on something. Maybe they can add some insights

    Thank you for the reply. Hopefully a last question.

     

    What about for intel i3-8100, coffee lake cpu? Do your drivers cover that? If so, do i need to copy additional firmware files other than the 3 bin files files you mentioned. Thanks again. 

  7. @blackmangaHi I had been banging my head for weeks to try to get HW transcoding to work in plex on my ds918 xpenelogy , DSM 7.1.0 42661 with TCRP loader, setup. i think your thread here is prbably the closes im getting to making it work.

    I have a mini pc with lntel N5095A processor. I have copied over the .ko fies from your first post here. What i dont understand, do i need to copy over some firmware bin files also? So far i did run your scripts, but dont think they worked on my setup because the /dev/dri is still missing. Therefore i wondering if need to copy over some bin files before running your scrut.

    Would really appreciate your help here. THanks

  8. On 12/3/2022 at 6:29 AM, alirz1 said:

    Ds3622, dsm 7.1

    Well I was able to sort my own issue. By using sataport map of 22 and disk Id of 00.

     

    ps. Would some have any pointers for me to get hw transcoding to work under ds918,dsm 7.1 setup. Using real Mac and serial. Even have synologys advanced media codec pack installed and activated.

    I seem to be missing the /dev/dri directory.

  9. Any way of asking grub to boot into tcrp loader mode for "next boot only". Assuming my starting state is a fully/normal booted up xpenology baremetal.

    I want to attempt something remotely and dont want to manually and permanently set the default boot menu to be tcrp incase something goest wrong.

    I do have the capability of remotely power cycle the box. 

    i know in standard grubg we can use "grub-reboot" followed by the entry we want to use for next boot but i cant find where the grub boot binary is located in tcrp.

  10. 15 hours ago, Coffee said:

    Is it possible to install DSM on the following hardware and which platform would be suitable?
    Huananzhi x79-16D + two CPUs E5-2697 v2 + 128 gb RAM

    DS3622xs seems to be the most common platform, unless you want hardware video transcoding then ds918 seems to be the way to go.

  11. Bought a NUC style small PC to play with. Testing trcp 0.8.5 on it. But running into several issue during build. 

     

    First:

    tc@box:~$ ./rploader.sh satamap now
    
    Found "00:17.0 Intel Corporation Device 4dd3 (rev 01)"
    Detected 2 ports/1 drives. Bad ports: 1. Override # of ports or ENTER to accept <2>
    
    Computed settings:
    SataPortMap=2
    DiskIdxMap=00

    i figured ill set the port map to 1, which i did afterwrds in the user_config file, to try to overcome this issue? the mini pc only has a single ssd drive in it?

     

     

    Second thing i notice during the build process was:

    It looks that you will need the following modules :
    
    
    Found VGA Controller : pciid 8086d00004e55  Required Extension :
    No matching extension
    Found SATA Controller : pciid 8086d00004dd3  Required Extension :
    No matching extension

     

    Third i ran into this:

     

    Entering synoesp
    extract rd.gz
    finish
    cpio: dev/console: Cannot mknod: Operation not permitted
    cpio: dev/net/tun: Cannot mknod: Operation not permitted
    42506 blocks
    extract rd
    mkdir: cannot create directory '/mnt/sdb3/auxfiles': File exists
    Copying required files to local cache folder for future use

     

    At that point the process was still continuing but i decided to kill it. Should i be concerned with those errors or are they warning? The first file about the sata port seems to suggest that dsm install will fail. Would appreciate some input from knowledgeable folks who might know about this, Thanks.

     

     

    EDIT: I updated the build process and reboot. It takes me to the DSM install web interface but says no drives were detected.

  12. is it possible to update an existing usb flash drive with tcrp 0.8.5 to the latest 0.9.x tcrp loader without have to write the image on the usb drive? 

    ./rloader fullupgrade now doesnt do anything as is.

    Is there a a repo update or something needed to pull the new version? Thanks

     

    Essentialyl i'm looking to go from DSM 7.1.x to 7.1.1 and as i understand i cannot do that with tcrp 0.8.x?

  13. 2 minutes ago, Peter Suh said:

     

     

    If you've gone as far as building the loader, the issue for the above question seems to have been resolved.
    Is there any particular reason to stay with DSM 7.1.0-42661?


    My M SHELL can proceed without problems up to the latest version of DSM, 7.1.1-42962 Update 2.
    Install additional M SHELL with the command below and try building the DS918+ loader again.

     

    curl -L "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz" -O;tar -zxvf my.sh.gz;

     

    After executing ./menu.sh, build the loader according to the instructions below.

    https://github.com/PeterSuh-Q3/tinycore-redpill#readme

     

    Regardless of the DSM build version of the loader
    After that, it's your choice whether to stay with DSM 7.1.0-42661 or use 7.1.1-42962 Update 2.
    A loader for a higher revision covers lower revisions as well.

    Thanks. My issue seemed to have been disk space on the loader lartition as I was testing with a VM and the vmdk for tcep was 1gb.

    I haven't tried anything with the ARPL if that's what your referring to for the menu.sh?

     

  14. Im running into the follow error when trying to convert my existing ds3622 to ds918. Ive tried running ./rploader.sh clean. But the build process keeps running into this still

     

    Starting loader creation
    Found tinycore cache folder, linking to home/tc/custom-module
    Checking user_config.json : Done
    Entering redpill-load directory
    Removing bundled exts directories
    Cache directory OK
    Found build request for revision greater than 42218
    Found extractor locally cached
    Copying required libraries to local lib directory
    Linking lib to lib64
    Copying executable
    Removing temp folder /tmp/synoesp
    Checking if tool is accessible
    /bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
    Executed succesfully
    Checking for cached pat file
    Found tinycore cache folder, linking to home/tc/custom-module
    Found locally cached pat file /home/tc/custom-module/ds918p_42661.pat
    File /home/tc/custom-module/ds918p_42661.pat, is  encrypted
    File /home/tc/redpill-load/cache/ds918p_42661.pat, is a compressed tar
    Unecrypted file is already cached in :  /home/tc/redpill-load/cache/ds918p_42661.pat
    tar: ./VERSION: Not found in archive
    tar: Exiting with failure status due to previous errors
    Pat file  sha256sum is : 8a01371ad3c06c7159f6aeef498283c6b835d9182361d31936afe4078bdfe72d
    Checking config file existence -> No config file found, please use the proper repo, clean and download again
    tc@box:~$ ./rploader.sh build apollolake-7.1.0-42661
     

  15. On 11/29/2022 at 12:37 AM, Peter Suh said:

     

     

    Migration from DS3622xs+ to DS920+ is expected in the following order:

     

    The following process is safe when IP can be predicted by fixing the three MAC addresses before the change, after the change, and the real mac in the router.
    If you connect from outside, it is assumed that all three IPs are port-forwarded.
    Both port 22 for SSH connection and port 5000 for DSM connection must be open.

     

    1. SSH access to DS3622xs+ in DSM booting state, mount synoboot1 in /p1 folder, and modify grub.cfg file ( Default Boot to Tinycore [Boot entry index starts from 0.] )

    2. Tinycore Boot

    3. SSH access to Tinycore (Real MAC address and mapped IP are used)

    4. DS920+ loader building after changing SN, MAC of user_config.json
       (After building the loader, the default boot is fixed to the loader)

    5. After the change, connect to port 5000 with MAC and mapped IP and proceed with migration

    6. After the migration process, connect to the DSM manager through the same IP port 5000

     

    A scenario like this shouldn't even be the slightest mistake.
    Am I missing something in this scenario?

    @Peter SuhIm testing editing the grub in a VM. I can mount the synoboot1 partition and edit the grub default to be 3(tiny core loader). However at reboot its still on boot menu 2 and goes into DSM boot instead of tinycore loader.

  16. By the way a correction to my statement. Im looking to convert my ds3622 to ds918+ NOT ds920+.

     Im curious If convert my baremetal ds3622xs+ with 5 HDDs to a DS 918+. Would i only be able to use 4 disk drives as the real ds918 only has 4 drives or the umber of drives doesnt matter to the model? Thank you

×
×
  • Create New...