007revad / Synology_HDD_db

Add your HDD, SSD and NVMe drives to your Synology's compatible drive database and a lot more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DVA memory warning

gitthangbaby opened this issue · comments

DVA3219 VM spam:
"Detected non-Synology recommended memory module configurations."

No matter what is set:
sed -i "s/support_memory_compatibility="no"/support_memory_compatibility="yes"/" /etc.defaults/synoinfo.conf
sed -i "s/support_memory_compatibility="yes"/support_memory_compatibility="no"/" /etc.defaults/synoinfo.conf
sed -i "s/support_memory_compatibility="no"/support_memory_compatibility="yes"/" /etc/synoinfo.conf
sed -i "s/support_memory_compatibility="yes"/support_memory_compatibility="no"/" /etc/synoinfo.conf

Here people believe opposite settings is good for DVA:
fbelavenuto/arpl#307

Another annoyance is nonstop nvidia warning: "NVRM: No NVIDIA graphics adapter found!" in dmesg

Hope someone knows what's special about DVA.

Your sed commands need to escape the " around the yes and no, otherwise sed fails to edit support_memory_compatibilty.
sed -i "s/support_memory_compatibility="\no\"/support_memory_compatibility="\yes\"/" /etc/synoinfo.conf

But there is an easier way to disable support_memory_compatibility:

synosetkeyvalue /etc/synoinfo.conf support_memory_compatibility no
synosetkeyvalue /etc.defaults/synoinfo.conf support_memory_compatibility no

Or to enable support_memory_compatibility:

synosetkeyvalue /etc/synoinfo.conf support_memory_compatibility yes
synosetkeyvalue /etc.defaults/synoinfo.conf support_memory_compatibility yes

And to check the values:

synogetkeyvalue /etc/synoinfo.conf support_memory_compatibility
synogetkeyvalue /etc.defaults/synoinfo.conf support_memory_compatibility

Sorry, the backslash was removed as I pasted it without code.
Still, in both ways the message stays there. By doing manually, by using -r switch, by using loader settings. No matter how it's set, after the boot the message is there.

post-boot

grep memor /etc/synoinfo.conf
support_memory_compatibility="yes"

-> Detected non-Synology recommended memory module configurations. You may have

grep memor /etc/synoinfo.conf
support_memory_compatibility="no"

-> Detected non-Synology recommended memory module configurations. You may have

Conclusion: -r sets 'no'. Reportedly, DVAs requires 'yes'. In my report, both don't work. Proposal that works:
/usr/lib/systemd/system/SynoMemCheck.service
ExecStart=/bin/true

So you edited /usr/lib/systemd/system/SynoMemCheck.service to replace ExecStart=/usr/syno/bin/syno_mem_check with ExecStart=/bin/true ?

Correct, because i could not disable the service, it would come up like many other things in DSM. Looks like /bin/true is used in 10 other services already, quite popular.