Open aarpro opened 1 year ago
arc is reading your memory sticks installed
ok but installed 64gb (4x16) - Why Arc not detected it ?
because your bios didn't output the correct value. the installed memory is readen from the values your bios/board tells them. arpl is reading the free space (regardless of any hardware, so i can tell my bios that i have 256Gb ram and have installed 16Gb. so arc tells you that 16Gb are there and arpl tells you that 256Gb are there, is the same thing with these chinese ssd, 16tb to buy and only 1tb in chips, they fake the values in chipset). so for me it's a simple thing, your bios is corrupted or they missed some variables while coding it. that is the reason why dsm can't read the correct value, they use a mix of both systems and if i calc 32Gb (dedectet) - 63Gb free: i will get a negative value that isn't allowed by system.
@aarpro
try add disable_mtrr_cleanup
to cmdline
and get the log:
dmesg | grep mtrr
dmidecode -t 17
because your bios didn't output the correct value.
ok Apparently i will have to use only 32GB
try add
disable_mtrr_cleanup
to cmdline
and get the log:
root@DS3622:~# dmesg | grep mtrr
[ 0.000000] Command line: withefi disable_mtrr_cleanup earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=1 pid=0x5571 earlycon=uart8250,io,0x3f8,115200n8 mac1=0011XXXXXXXX sn=2150SXXXXXX vid=0x0781 elevator=elevator loglevel=15 HddHotplug=0 skip_vender_mac_interfaces=0,1,2,3,4,5,6,7 syno_hdd_detect=0 panic=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0
[ 0.000000] Kernel command line: withefi disable_mtrr_cleanup earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=1 pid=0x5571 earlycon=uart8250,io,0x3f8,115200n8 mac1=0011XXXXXXXXX sn=2150XXXXXXXXX vid=0x0781 elevator=elevator loglevel=15 HddHotplug=0 skip_vender_mac_interfaces=0,1,2,3,4,5,6,7 syno_hdd_detect=0 panic=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0
root@DS3622:~# dmidecode -t 17
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
Handle 0x0038, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 16384 MB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 06C2B641
Asset Tag: BANK 0 DIMM0 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Handle 0x003A, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 16384 MB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 07C2B641
Asset Tag: BANK 0 DIMM1 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
try add
disable_mtrr_cleanup
to cmdlineand get the log:
root@DS3622:~# dmesg | grep mtrr [ 0.000000] Command line: withefi disable_mtrr_cleanup earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=1 pid=0x5571 earlycon=uart8250,io,0x3f8,115200n8 mac1=0011XXXXXXXX sn=2150SXXXXXX vid=0x0781 elevator=elevator loglevel=15 HddHotplug=0 skip_vender_mac_interfaces=0,1,2,3,4,5,6,7 syno_hdd_detect=0 panic=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0 [ 0.000000] Kernel command line: withefi disable_mtrr_cleanup earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=1 pid=0x5571 earlycon=uart8250,io,0x3f8,115200n8 mac1=0011XXXXXXXXX sn=2150XXXXXXXXX vid=0x0781 elevator=elevator loglevel=15 HddHotplug=0 skip_vender_mac_interfaces=0,1,2,3,4,5,6,7 syno_hdd_detect=0 panic=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0 root@DS3622:~# dmidecode -t 17 # dmidecode 3.2 Getting SMBIOS data from sysfs. SMBIOS 3.0.0 present. Handle 0x0038, DMI type 17, 40 bytes Memory Device Array Handle: 0x0036 Error Information Handle: Not Provided Total Width: 8 bits Data Width: 8 bits Size: 16384 MB Form Factor: DIMM Set: None Locator: DIMM0 Bank Locator: BANK 0 Type: DDR4 Type Detail: Synchronous Unbuffered (Unregistered) Speed: 2666 MT/s Manufacturer: Crucial Serial Number: 06C2B641 Asset Tag: BANK 0 DIMM0 AssetTag Part Number: 36ASF2G72PZ-2G3A3 Rank: 2 Configured Memory Speed: 2133 MT/s Minimum Voltage: 1.2 V Maximum Voltage: 1.2 V Configured Voltage: 1.2 V Handle 0x003A, DMI type 17, 40 bytes Memory Device Array Handle: 0x0036 Error Information Handle: Not Provided Total Width: 8 bits Data Width: 8 bits Size: 16384 MB Form Factor: DIMM Set: None Locator: DIMM1 Bank Locator: BANK 0 Type: DDR4 Type Detail: Synchronous Unbuffered (Unregistered) Speed: 2666 MT/s Manufacturer: Crucial Serial Number: 07C2B641 Asset Tag: BANK 0 DIMM1 AssetTag Part Number: 36ASF2G72PZ-2G3A3 Rank: 2 Configured Memory Speed: 2133 MT/s Minimum Voltage: 1.2 V Maximum Voltage: 1.2 V Configured Voltage: 1.2 V
Is this with 2 memory inserted?
Is this with 2 memory inserted?
no 4x16 in 4 slots
in arpl shell
dmidecode -t memory
in arpl shell
root@DS3622:~# dmidecode -t memory
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
Handle 0x0036, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 128 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0038, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 16384 MB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 06C2B641
Asset Tag: BANK 0 DIMM0 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Handle 0x003A, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 16384 MB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 07C2B641
Asset Tag: BANK 0 DIMM1 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Is this option turned on?
The data in dmesg and /proc/meminfo are all 64g, so theoretically four slots are recognized, but dmidecode only recognizes DIMM0 and DIMM1 slots, This is strange because even if the memory slot is empty, the dmicode should still be displayed.
This is my machine with two slots, when one slot is inserted.
Is this option turned on?
yes
but dmidecode only recognizes DIMM0 and DIMM1 slots,
Win PE AIDA64 detected full (64GB) RAM / 4 slots
take a look at the differences in the details of the 4 slots.
PS: I don’t know much about these, but I also want to know the root cause. Maybe it can’t be solved in the end, so tests depend on your convenience.
take a look at the differences in the details of the 4 slots.
Everything is the same except modules serial numbers
I don’t know what other linux will display, such as ubuntu You can make a U disk for ubuntu and take a look.
Is this option turned on?
it was turned off :( now I turned on above I wrote that I set BIOS default settings. And I forgot to turn on
previously this was always turned on
new dmidecode -t memory :
root@DS3622:~# dmidecode -t memory
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
Handle 0x0036, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 128 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0038, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 16384 MB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 06C2B641
Asset Tag: BANK 0 DIMM0 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Handle 0x003A, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 16384 MB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 07C2B641
Asset Tag: BANK 0 DIMM1 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
You can make a U disk for ubuntu and take a look.
I'll be back when I do it (I think it's tonight)
try this
curl -kLO https://github.com/wjz304/arpl-i18n/files/12867688/dmidecode.gz
gzip -d dmidecode.gz
mv /usr/sbin/dmidecode /usr/sbin/dmidecode.bak
mv dmidecode /usr/sbin/dmidecode
chmod a+rx /usr/sbin/dmidecode
dmidecode.bak --v
dmidecode --v
dmidecode -t 16
reboot
try this
curl -kLO https://github.com/wjz304/arpl-i18n/files/12867688/dmidecode.gz gzip -d dmidecode.gz mv /usr/sbin/dmidecode /usr/sbin/dmidecode.bak mv dmidecode /usr/sbin/dmidecode chmod a+rx /usr/sbin/dmidecode dmidecode.bak --v dmidecode --v dmidecode -t 16 reboot
The suspicion is that the SMBIOS version is too high, resulting in incompatible versions of dmidecode
in arpl shell
dmidecode -t memory
I should have checked it with a loaded DSM or no ? Here is the result only ARPL loaded, it is the same as with loaded DSM:
root@arpl:/opt/arpl# dmidecode -t memory
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
Handle 0x0036, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 128 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0038, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 16 GB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 06C2B641
Asset Tag: BANK 0 DIMM0 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Handle 0x003A, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 16 GB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 07C2B641
Asset Tag: BANK 0 DIMM1 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
try this
With what shell should I do this? in arpl shell :
root@arpl:/opt/arpl# curl -kLO https://github.com/wjz304/arpl-i18n/files/12867688/dmidecode.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 41609 100 41609 0 0 24620 0 0:00:01 0:00:01 --:--:-- 47015
root@arpl:/opt/arpl# gzip -d dmidecode.gz
root@arpl:/opt/arpl# mv /usr/sbin/dmidecode /usr/sbin/dmidecode.bak
root@arpl:/opt/arpl# mv dmidecode /usr/sbin/dmidecode
root@arpl:/opt/arpl# chmod a+rx /usr/sbin/dmidecode
root@arpl:/opt/arpl# dmidecode.bak --v
3.5
root@arpl:/opt/arpl# dmidecode --v
3.5
root@arpl:/opt/arpl# dmidecode -t 16
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
Handle 0x0036, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 128 GB
Error Information Handle: Not Provided
Number Of Devices: 2
root@arpl:/opt/arpl# reboot
after
root@arpl:/opt/arpl# dmidecode -t memory
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
Handle 0x0036, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 128 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0038, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 16 GB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 06C2B641
Asset Tag: BANK 0 DIMM0 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Handle 0x003A, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 16 GB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 07C2B641
Asset Tag: BANK 0 DIMM1 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
You can make a U disk for ubuntu and take a look.
Ubuntu MATE LifeUSB detected 64GB
but dmidecode -t memory detected only 2 slots
Then I think we should be able to eliminate system problems now. I might try upgrading/downgrading the bios version.
In addition, some motherboards have special control items for windows and linux, you can check
I might try upgrading/downgrading the bios version.
Unfortunately for this motherboard no any BIOS at all There are no versions at all :(
In addition, some motherboards have special control items for windows and linux, you can check
I have not found any settings in this BIOS for windows and linux
there is something similar Enable Hibernation but I tried to change this setting - this does not do any effect
In addition, some motherboards have special control items for windows and linux, you can check
Why one linux (Ubuntu) correctly detect memory, another linux (loaders and DSM) detecting incorrectly I don't understand :(
In addition, some motherboards have special control items for windows and linux, you can check
Why one linux (Ubuntu) correctly detect memory, another linux (loaders and DSM) detecting incorrectly I don't understand :(
It's the same in arpl as in ubuntu. They do not read the memory-related data of dmidecode.
The same is true in DSM, except that part of the data in the DSM calculation process is read from dmidecode
It's the same in arpl as in ubuntu.
Why free -h -t displays a full memory ?
root@10.20.121.122:~# free -h -t
total used free shared buff/cache available
Mem: 62.8G 119.3M 62.3G 340.1M 359.3M 61.9G
Swap: 0 0 0
and dmidecode -q
root@10.20.121.122:~# dmidecode -q
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x00FFFFFFFFF
Range Size: 64 GB
Partition Width: 2
Memory Device
Total Width: 8 bits
Data Width: 8 bits
Size: 16 GB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 06C2B641
Asset Tag: BANK 0 DIMM0 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x003FFFFFFFF
Range Size: 16 GB
Partition Row Position: Unknown
Memory Device
Total Width: 8 bits
Data Width: 8 bits
Size: 16 GB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2666 MT/s
Manufacturer: Crucial
Serial Number: 07C2B641
Asset Tag: BANK 0 DIMM1 AssetTag
Part Number: 36ASF2G72PZ-2G3A3
Rank: 2
Configured Memory Speed: 2133 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Memory Device Mapped Address
Starting Address: 0x00400000000
Ending Address: 0x007FFFFFFFF
Range Size: 16 GB
Partition Row Position: Unknown
so, I think you can close this request Apparently, SMBIOS and BIOS adjustment is necessary
I will continue to use with 32GB RAM...
PS directly upgraded Arpl-i18n to RR (Redpill Recovery) is necessary, because for many people is no quick direct access to the physical server...
Thk you for support
so, I think you can close this request Apparently, SMBIOS and BIOS editing and change is necessary
I will continue to use with 32GB RAM...
PS directly upgraded Arpl-i18n to RR (Redpill Recovery) is necessary, because for many people is no quick direct access to the physical server...
Thk you for support
so, I think you can close this request Apparently, SMBIOS and BIOS adjustment is necessary I will continue to use with 32GB RAM... PS directly upgraded Arpl-i18n to RR (Redpill Recovery) is necessary, because for many people is no quick direct access to the physical server... Thk you for support
so, I think you can close this request Apparently, SMBIOS and BIOS editing and change is necessary
I will continue to use with 32GB RAM...
PS directly upgraded Arpl-i18n to RR (Redpill Recovery) is necessary, because for many people is no quick direct access to the physical server...
Thk you for support
https://github.com/wjz304/rr/releases/tag/23.10.5 Added convert instructions
I had run into this issue as well. I just used your latest release to install 7.1-42962. I have 4x4GB DIMM installed. Without disable_mtrr_trim it was detecting less than 4GB. With disable_mtrr_trim=1, it was showing 12GB and demidecode was showing weird results, and removing the value from the command line settings showed the full 16GB. So it's not just that it doesn't need a value, setting a value seems to actually produce wrong results.
Thanks for this loader, in the many years I've been using xpenology, this has been one of the smoothest installs! I'm not sure if maybe I missed something during the install, but I had to manually set the internalportcfg to see the full set of drives I had connected.
Arpl version: 23.9.1 DSM model: DS3622 DSM version: DSM 7.2-64570 Update 3
DSM not showing full RAM size (64GB)
When viewing from the terminal - 64GB
When viewing from DSM - only 32GB
and incomprehensible size of reserved memory
I tried changing in the settings file /etc/synoinfo.conf & /etc.defaults/synoinfo.conf my old values
my new values
The result is negative
I didn't think it might be a loaders problem, but to me gave advice to change loader to ARC. xpenology.com/forum I have no physical access to my server now, and I can't try another loader
I also found advice to add to cmdline menu, parameter disable_mtrr_trim with null value. but I not sure that this will not break loading of the NAS