Jump to content
XPEnology Community

prozac169

Rookie
  • Posts

    2
  • Joined

  • Last visited

Posts posted by prozac169

  1. 14 hours ago, prozac169 said:

     

    Same issue.

     

    System has 32GB but only see 2.7 GB in Synology.

     

    free -m
                  total        used        free      shared  buff/cache   available
    Mem:           2720         924         247          31        1548        1495
    Swap:          3680         414        3266

     

    TCRP v0.9.4.5

    DS3622xs+

    DSM 7.1.1-42962 Update 1

    Migrated from 6.x

     

     

     

    Found the error

    WARNING: BIOS bug: CPU MTRRs don't cover all of memory, losing 29440MB of RAM.

    dmesg | grep -i memory
    [    0.000000] WARNING: BIOS bug: CPU MTRRs don't cover all of memory, losing 29440MB of RAM.
    [    0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/mtrr/cleanup.c:972 mtrr_trim_uncached_memory+0x458/0x47f()
    [    0.000000]  [<ffffffff8190368c>] mtrr_trim_uncached_memory+0x458/0x47f
    [    0.000000] Base memory trampoline at [ffff880000096000] 96000 size 28672
    [    0.000000] Early memory node ranges
    [    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
    [    0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
    [    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
    [    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
    [    0.000000] Memory: 2756920K/2881076K available (5548K kernel code, 880K rwdata, 1780K rodata, 924K init, 1568K bss, 124156K reserved, 0K cma-reserved)

     

     

    Fixed it by adding disable_mtrr_trim to the kernel options. Now I can utilize all available memory. This is probably a BIOS problem with my old GA-78LMT-USB3 FA Motherboard. There are no bios updates available. 

     

    free -mh
                  total        used        free      shared  buff/cache   available
    Mem:           30Gi       1.0Gi        27Gi       139Mi       2.0Gi        29Gi
    Swap:          20Gi          0B        20Gi

     

    cat /proc/cmdline
    BOOT_IMAGE=/zImage withefi syno_hw_version=DS3622xs+ console=ttyS0,115200n8 disable_mtrr_trim netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 mac1=001132F55B09 sn=20C0SQRMHS98G HddHotplug=0 DiskIdxMap=00 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 root=/dev/md0 SataPortMap=4

     

    • Like 1
  2. On 4/13/2023 at 9:00 AM, zig1375 said:

    My server has 32GB RAM.

     

    In the TinyCore I can see all of them:

    tc@box:~$ free -m
                  total        used        free      shared  buff/cache   available
    Mem:          31612         254       30195         603        1163       30255
    Swap:          7875           0        7875


     

    But when in the synology I can see only 2GB instead of 32GB.

    $ free -m
                  total        used        free      shared  buff/cache   available
    Mem:           2366         704         348          71        1313        1253
    Swap:          3468           0        3468

     

     

    user_config.json:

    {
      "general": {
        "model": "DS3622xs+",
        "version": "7.1.1-42962",
        "smallfixnumber": "0",
        "zimghash": "8903dc99f7201c8656de618d767c05f91bfd32edd9a3706a50fd223237842bf2",
        "rdhash": "432f315818adad4e1ca54040557e164caf2937004e2d009aac8865391353e2f6",
        "usb_line": "withefi earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=1 pid=0x3700 earlycon=uart8250,io,0x3f8,115200n8 syno_port_thaw=1 mac1=0011324A93E1 sn=2150SQRP55HWT vid=0x0dd8 elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=00 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0 SataPortMap=6 ",
        "sata_line": "withefi earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=1 pid=0x3700 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=1 syno_port_thaw=1 mac1=0011324A93E1 sn=2150SQRP55HWT vid=0x0dd8 elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=00 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0 SataPortMap=6 ",
        "redpillmake": "prod",
        "friendautoupd": "true",
        "hidesensitive": "false"
      },
      "ipsettings": {
        "ipset": "",
        "ipaddr": "",
        "ipgw": "",
        "ipdns": "",
        "ipproxy": ""
      },
      "extra_cmdline": {
        "pid": "0x3700",
        "vid": "0x0dd8",
        "sn": "2150SQRP55HWT",
        "mac1": "0011324A93E1",
        "netif_num": "1",
        "SataPortMap": "6",
        "DiskIdxMap": "00"
      },
      "synoinfo": {
        "internalportcfg": "0xffff",
        "maxdisks": "16",
        "support_bde_internal_10g": "no",
        "support_disk_compatibility": "no",
        "support_memory_compatibility": "no"
      },
      "ramdisk_copy": {}
    }

     

     

    Because of this I cannot run a VM. Synology says that it doesn't have enough memory.

    But in settings app of synology, I can see 32GB, but 29GB are marked as reserved.

    What am I doing wrong?

     

     

    Same issue.

     

    System has 32GB but only see 2.7 GB in Synology.

     

    free -m
                  total        used        free      shared  buff/cache   available
    Mem:           2720         924         247          31        1548        1495
    Swap:          3680         414        3266

     

    TCRP v0.9.4.5

    DS3622xs+

    DSM 7.1.1-42962 Update 1

    Migrated from 6.x

     

×
×
  • Create New...