Jump to content
XPEnology Community

WiteWulf

Contributor
  • Posts

    423
  • Joined

  • Last visited

  • Days Won

    25

Posts posted by WiteWulf

  1. 48 minutes ago, Brunox said:

    Hi Guys , i got a error when i used command  make -C /opt/ build_all  to build image.
     

    /opt/redpill-load /opt
    [#] Checking runtime for required tools... [OK]
    include/json.sh: line 16: 2: unbound variable
    Makefile:29: recipe for target 'build_redpill_load' failed
    make: *** [build_redpill_load] Error 1
    make: Leaving directory '/opt'
    root@redpill-tool-chain:/opt/redpill-load#

     

    what's wrong with that?

    Check the syntax of your JSON config files, there's an error somewhere.

  2. 1 hour ago, cferra said:

    Would there be any any to accurately identify port map information prior to loader creation?  Maybe a utility or process for this would assist in easing support questions. 

    These sata portmap/disk index questions aren’t unique to redpill and have been asked and answered many types in other areas of the forum. Try using the site search tool (or using “site:xpenology.com” in Google). 

  3. 12 hours ago, angel038 said:

    I'm not friendly with Linux, is there a way to build a bootable key under Windows?

    Not yet, its a long term goal of the project to have a more user friendly gui interface, but as this is still considered pre-beta a solid knowledge of Linux is required to build and potentially debug the loader.

     

    If you’re not able to follow the instructions as they stand it’s not the right time for you to move to redpill.
     

    Be patient 🙏🏻

  4. I've gone through the spreadsheet and highlighted differences in configuration that I think may be relevant (I've ignored cosmetic stuff like power on boot logos and fn key prompts).

     

    What stands out to me is that @Kouill is running slower RAM, but that matches their CPU and is configured appropriately in the "Maximum Memory Bus Frequency" section of the BIOS.

     

    Also, I've got "Intel Virtualization Technology" disabled, as I'm not running a hypervisor and read that's best to have it turned off in that situation. But can this affect docker? It shouldn't, as docker is basically a glorified chroot 🤔

     

    We've all got slightly different IRQ assignments, too.

  5. They're passed to the kernel at boot time, so technically they're grub.cfg parameters, but practically on redpill they should go in the "extra_cmdline" stanza of <platform>_user>config.json, eg.

     

    {
      "extra_cmdline": {
        "pid": "0xc75c",
        "vid": "0x05dc",
        "sn": "1230LWNXXXXXX",
        "mac1": "001132XXXXX",
        "mac2": "001132XXXXXX",
        "nmi_watchdog": "0"
      },
      "synoinfo": {},
      "ramdisk_copy": {}
    }

     

    They can also be set manually on a running system, eg:

    echo 0 > /proc/sys/kernel/nmi_watchdog

     

    But this won't persist a reboot, obviously.

    • Thanks 1
  6. 4 hours ago, zhbitmaye said:

    bug I can’t modify config after install DSM use vi /etc.defaults/synoinfo.conf

     

    when reboot DSM,These will be restored without saving the changes too

     

    This isn't a bug, it's how DSM works. synoinfo.conf is recreated at every boot.

     

    Read the documentation: https://github.com/RedPill-TTG/redpill-load

     

    Modifications to synoinfo.conf need to be added to the "synoinfo" stanza in your <platform>_user_config.json files. This way they'll persist through reboots.

  7. Question: at what point during the boot process are extension scripts for “enhancements” run, and is there any control over it from user perspective?

     

    While trying to diagnose the kernel panic problems I’ve been having with bromolow on baremetal I’ve found that booting with nmi watchdog disabled, but manually enabling it after boot, seems to fix it.

     

    I figured I would keep nmi_watchdog=0 in grub.cfg, then use an extension/enhancement script to turn it back on again. Does that sound like an appropriate use of this functionality?

    • Like 1
  8. I've drawn up a quick spreadsheet with as much information as I could get relating to hardware, firmware, BIOS settings and general configuration. These are spread across four different tabs within the spreadsheet.

     

    https://docs.google.com/spreadsheets/d/1aBrWkJHzwBl6HcYqpBZhRyeX-5CxT5yTmXZ9p3d8zAY/edit?usp=sharing

     

    Feel free to comment on any of the settings you think are right or wrong.

     

    @Kouill could you compare this to your setup and either fill the sheet in with your details or just reply back here with anything you think is relevant, please?

    • Like 2
  9. 1 hour ago, Kouill said:

     

    Sorry for the kernel panic issues, we had the same hardware possible to have a difference of bios settings and cpu can explain the crashes ?

    No need to apologise, thank you for helping out! We've got a slightly different CPU, but when I collated a list of people's CPUs earlier it included a broad range of models.

     

    I'll go through my BIOS and make a note of all settings, page by page, so that we can compare.

  10. Regarding soft lockups on hypervisor guests, I just found this:

    https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_monitoring_and_updating_the_kernel/keeping-kernel-panic-parameters-disabled-in-virtualized-environments_managing-monitoring-and-updating-the-kernel

     

    Redhat explicitly state that in a vm guest you should have:

    nmi_watchdog=0

    and 

    softlockup_panic=0

    ...to avoid spurious soft lockups. I think everyone running on a hypervisor should be setting these parameters in their setups 🤔

  11. @Kouill was kind enough to give me a copy of their boot img so I could attempt to replicate their influx-test without crashes.

     

    Unfortunately the influx-test kernel panic'd my system within a few seconds.

     

    NB. there were the following differences:

    - kouill boots their system from the internal microSD slot, whereas mine was on a USB stick on the internal port

    - in the grub.cfg I changed the serial number to match mine

    - in the grub.cfg I changed mac1 to match mine

    - in the grub.cfg I changed I added mac2 with my mac address

  12. 39 minutes ago, psychoboi32 said:

    Do you need orphee extensions ? if not then ```docker run``` command and ext-manager remove that extension

     

    Yeah, just trying to figure that out. You added them to the bundled_exts.json file, though, so I don't believe they can be removed with ext-manager

     

    *edit*

     

    Never mind. Kouill gave me a copy of their boot loader image and it still kernel panics my system when running the influx-test

  13. 3 hours ago, Kouill said:

     

    I'm using the haydibe's docker for building images :)

    I've just modify the repo for the loader and use of tg3 driver

    I've tried doing it exactly the same as you, but it fails whenever I try to create the image as Orphee removed some extensions from their repo that weren't working properly (they were never intended for public use, but psychoboi32 used them in their forked repo. I'm guessing that as you have the extensions cached locally it carries on building okay for you.

  14. @Orphée @nemesis122 @pocopico @erkify @dodo-dk

     

    Hi folks, I asked you previously what CPU you had in your Gen8 machines when experiencing the kernel panic and soft lock issues, and thank you for your responses. In the main thread @Kouill has demonstrated a Gen 8 running the influx-test docker stress test and it not crashing their machine since they moved to using the onboard tg3 NIC rather than PCIe NIC.

     

    I've had less successful results on my system trying the same thing (it's more stable, but still kernel panics under load), but I'm curious to know what NIC you were using on your systems?

     

    If there's a commonality of a particular PCIe NIC with the kernel panics that could be significant.

×
×
  • Create New...