Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full RAM size is not showing on DSM #214

Open
aarpro opened this issue Sep 12, 2023 · 82 comments
Open

full RAM size is not showing on DSM #214

aarpro opened this issue Sep 12, 2023 · 82 comments

Comments

@aarpro
Copy link

aarpro commented Sep 12, 2023

  • Advantech ASMB-260I-21A1
  • Atom C3558
  • RAM 4x16

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
2023-09-12_012419

When viewing from DSM - only 32GB
2023-09-12_015405

and incomprehensible size of reserved memory
2023-09-12_025437

I tried changing in the settings file /etc/synoinfo.conf & /etc.defaults/synoinfo.conf
my old values

mem_max_mb="49152"
mem_min_mb="16384"

my new values

mem_max_mb="65536"
mem_min_mb="16384"

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

@aarpro
Copy link
Author

aarpro commented Sep 12, 2023

i add in cmdline menu, disable_mtrr_trim with null value.
and direct boot set to true

result is negative - nothing has changed :(

@wjz304
Copy link
Contributor

wjz304 commented Sep 13, 2023

image
image

我没有做任何修改,但似乎不能复现你的问题.

@wjz304
Copy link
Contributor

wjz304 commented Sep 13, 2023

物理机?

@aarpro
Copy link
Author

aarpro commented Sep 13, 2023

物理机?

yes
But I no have physical access yet.
A few days later I can check RAM and check BIOS settings

@aarpro
Copy link
Author

aarpro commented Sep 13, 2023

物理机?

When loading, I see 64GB RAM, I think this is no problem of memory modules, its soft problems

2023-09-14_011941

@wjz304
Copy link
Contributor

wjz304 commented Sep 15, 2023

Have you made any progress?

@aarpro
Copy link
Author

aarpro commented Sep 15, 2023

Have you made any progress?

no - I no have physical access to the server yet
but i see BIOS 64GB RAM, loaders 64GB RAM - DCM detected only 32GB, and reserved -32GB RAM
so i thunk its is soft problems

In what direction I need to look for?

@wjz304
Copy link
Contributor

wjz304 commented Sep 15, 2023

I don't know, just a little skeptical. Is it a swap?

@aarpro
Copy link
Author

aarpro commented Sep 15, 2023

swap

What settings can I change to change swap size or over swap parameters ?

@zak-forsyth
Copy link

What does dmesg say about your memory?

dmesg | grep -i memory

Does it look something similar to this?...

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

If so disable_mtrr_trim will fix it.

@aarpro
Copy link
Author

aarpro commented Sep 22, 2023

dmesg | grep -i memory

root@DS3622:~# dmesg | grep -i memory
[    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 0x000a0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x00100000-0x00100fff]
[    0.000000] PM: Registered nosave memory: [mem 0x00102000-0x00102fff]
[    0.000000] PM: Registered nosave memory: [mem 0x76d35000-0x76d44fff]
[    0.000000] PM: Registered nosave memory: [mem 0x7d63c000-0x7d6dbfff]
[    0.000000] PM: Registered nosave memory: [mem 0x7d7b1000-0x7db06fff]
[    0.000000] PM: Registered nosave memory: [mem 0x7db07000-0x7f442fff]
[    0.000000] PM: Registered nosave memory: [mem 0x7f800000-0x7fffffff]
[    0.000000] PM: Registered nosave memory: [mem 0x80000000-0xdfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xefffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xf0000000-0xfcffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfd000000-0xfe7fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfe800000-0xfeffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xff000000-0xffffffff]
[    0.000000] Memory: 65752288K/67070324K available (5633K kernel code, 882K rwdata, 1776K rodata, 936K init, 1568K bss, 1318036K reserved, 0K cma-reserved)
[    0.008644] Initializing cgroup subsys memory
[    0.020242] Freeing SMP alternatives memory: 24K
[    3.938591] Freeing initrd memory: 59804K
[    5.856347] Freeing unused kernel memory: 936K
[    5.857378] Freeing unused kernel memory: 500K
[    5.858645] Freeing unused kernel memory: 272K
[    7.024694] mpt2sas_cm0: Allocated physical memory: size(7579 kB)

This is what I see

@wjz304
Copy link
Contributor

wjz304 commented Sep 23, 2023

加上试试,

@aarpro
Copy link
Author

aarpro commented Sep 23, 2023

If so disable_mtrr_trim will fix it.

加上试试,

I can't understand how to do it :(

@wjz304
Copy link
Contributor

wjz304 commented Sep 23, 2023

image

@aarpro
Copy link
Author

aarpro commented Sep 23, 2023

加上试试,

2023-09-24_004644

2023-09-24_005011

unchanged - does not work as it should

@wjz304
Copy link
Contributor

wjz304 commented Sep 23, 2023

'value' does not need to be filled in

@zak-forsyth
Copy link

What they said. No value for mtrr trim.

@aarpro
Copy link
Author

aarpro commented Sep 23, 2023

'value' does not need to be filled in

2023-09-24_011925

all the same

2023-09-24_012331

@wjz304
Copy link
Contributor

wjz304 commented Sep 23, 2023

in dsm shell:

free -m
cat /proc/meminfo

@aarpro
Copy link
Author

aarpro commented Sep 23, 2023

in dsm shell:

free -m
cat /proc/meminfo
root@DS3622:~# free -m
              total        used        free      shared  buff/cache   available
Mem:          64335        1838       60532         112        1964       61868
Swap:         40651           0       40651
root@DS3622:~# cat /proc/meminfo
MemTotal:       65879776 kB
MemFree:        61985320 kB
MemAvailable:   63353380 kB
Buffers:           23000 kB
Cached:          1495004 kB
SwapCached:            0 kB
Active:          1877448 kB
Inactive:         887124 kB
Active(anon):    1264320 kB
Inactive(anon):    98948 kB
Active(file):     613128 kB
Inactive(file):   788176 kB
Unevictable:        1676 kB
Mlocked:            1676 kB
SwapTotal:      41627564 kB
SwapFree:       41627564 kB
Dirty:               144 kB
Writeback:             0 kB
AnonPages:       1248292 kB
Mapped:           296724 kB
Shmem:            115044 kB
Slab:             572576 kB
SReclaimable:     493764 kB
SUnreclaim:        78812 kB
KernelStack:       10080 kB
PageTables:        15480 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    74567452 kB
Committed_AS:    3154760 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
DirectMap4k:       17144 kB
DirectMap2M:     3090432 kB
DirectMap1G:    66060288 kB
root@DS3622:~#

@wjz304
Copy link
Contributor

wjz304 commented Sep 23, 2023

There doesn't seem to be anything unusual, it's just 32G displayed

@aarpro
Copy link
Author

aarpro commented Sep 24, 2023

There doesn't seem to be anything unusual, it's just 32G displayed

I understand correctly that displayed
Reserved -32325344KB (minus!)
This is only a display in DSM

I just don't pay attention to it?

@wjz304
Copy link
Contributor

wjz304 commented Sep 24, 2023

try to add a fake mac2 to enable netif_num is 2

@aarpro
Copy link
Author

aarpro commented Sep 24, 2023

try to add a fake mac2 to enable netif_num is 2

I have a valid sn/mac and this is added, I see my server on account.synology.com and QuickConnect is work...
on my mb is one GbE Lan

or I have to add the second MAC in any case ? Does this have any relation with the quantity RAM?

@wjz304
Copy link
Contributor

wjz304 commented Sep 24, 2023

try to add a fake mac2 to enable netif_num is 2

I have a valid sn/mac and this is added, I see my server on account.synology.com and QuickConnect is work... on my mb is one GbE Lan

or I have to add the second MAC in any case ? Does this have any relation with the quantity RAM?

I'm not sure,

It's just that I just found someone on a Chinese forum with a similar situation, and after adding a PCIe network card, this situation disappeared

@aarpro
Copy link
Author

aarpro commented Sep 24, 2023

I'm not sure...

2023-09-25_015413

no, It did not help, all the same

2023-09-25_015813

@wjz304
Copy link
Contributor

wjz304 commented Sep 25, 2023

Okay, if it doesn't affect usage, don't attention to it first

@AuxXxilium
Copy link

try to add "crashkernel" "192M" to cmdline in addition to "disable_mtrr_trim" "0" and report again please

@aarpro
Copy link
Author

aarpro commented Sep 26, 2023

try to add "crashkernel" "192M" to cmdline in addition to "disable_mtrr_trim" "0" and report again please

2023-09-26_045718

unchanged :(

2023-09-26_050231

2023-09-26_050134

root@DS3622:~# free -m
              total        used        free      shared  buff/cache   available
Mem:          64143        1828       60398         112        1916       61686
Swap:         40535           0       40535
root@DS3622:~# cat /proc/meminfo
MemTotal:       65683168 kB
MemFree:        61831956 kB
MemAvailable:   63168568 kB
Buffers:           23184 kB
Cached:          1462380 kB
SwapCached:            0 kB
Active:          1840156 kB
Inactive:         879244 kB
Active(anon):    1251832 kB
Inactive(anon):    98556 kB
Active(file):     588324 kB
Inactive(file):   780688 kB
Unevictable:        1676 kB
Mlocked:            1676 kB
SwapTotal:      41508780 kB
SwapFree:       41508780 kB
Dirty:              1416 kB
Writeback:             0 kB
AnonPages:       1235520 kB
Mapped:           296596 kB
Shmem:            114896 kB
Slab:             573616 kB
SReclaimable:     494608 kB
SUnreclaim:        79008 kB
KernelStack:       10384 kB
PageTables:        15828 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    74350364 kB
Committed_AS:    3236336 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
DirectMap4k:       17144 kB
DirectMap2M:     3090432 kB
DirectMap1G:    66060288 kB
root@DS3622:~#

@AuxXxilium
Copy link

do you have tried to force reinstall dsm?

@wjz304
Copy link
Contributor

wjz304 commented Oct 10, 2023

@aarpro
try add disable_mtrr_cleanup to cmdline

and get the log:

dmesg | grep mtrr
dmidecode -t 17

@aarpro
Copy link
Author

aarpro commented Oct 10, 2023

because your bios didn't output the correct value.

ok
Apparently i will have to use only 32GB

@aarpro
Copy link
Author

aarpro commented Oct 10, 2023

try add disable_mtrr_cleanup to cmdline

2023-10-10_225931

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

@wjz304
Copy link
Contributor

wjz304 commented Oct 11, 2023

try add disable_mtrr_cleanup to cmdline

2023-10-10_225931

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

Is this with 2 memory inserted?

@aarpro
Copy link
Author

aarpro commented Oct 11, 2023

Is this with 2 memory inserted?

no
4x16 in 4 slots

2023-10-11_090647

@wjz304
Copy link
Contributor

wjz304 commented Oct 11, 2023

in arpl shell

dmidecode -t memory

@aarpro
Copy link
Author

aarpro commented Oct 11, 2023

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

@wjz304
Copy link
Contributor

wjz304 commented Oct 11, 2023

image
Is this option turned on?

@wjz304
Copy link
Contributor

wjz304 commented Oct 11, 2023

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.

@wjz304
Copy link
Contributor

wjz304 commented Oct 11, 2023

This is my machine with two slots, when one slot is inserted.
image

@aarpro
Copy link
Author

aarpro commented Oct 11, 2023

Is this option turned on?

yes

@aarpro
Copy link
Author

aarpro commented Oct 11, 2023

but dmidecode only recognizes DIMM0 and DIMM1 slots,

Win PE AIDA64 detected full (64GB) RAM / 4 slots
2023-10-11_113025

@wjz304
Copy link
Contributor

wjz304 commented Oct 11, 2023

take a look at the differences in the details of the 4 slots.
image

@wjz304
Copy link
Contributor

wjz304 commented Oct 11, 2023

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.

@aarpro
Copy link
Author

aarpro commented Oct 11, 2023

take a look at the differences in the details of the 4 slots.

Everything is the same except modules serial numbers

@wjz304
Copy link
Contributor

wjz304 commented Oct 11, 2023

I don’t know what other linux will display, such as ubuntu
You can make a U disk for ubuntu and take a look.

@aarpro
Copy link
Author

aarpro commented Oct 11, 2023

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

@aarpro
Copy link
Author

aarpro commented Oct 11, 2023

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)

@wjz304
Copy link
Contributor

wjz304 commented Oct 11, 2023

dmidecode.gz

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

@wjz304
Copy link
Contributor

wjz304 commented Oct 11, 2023

dmidecode.gz

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
image

@aarpro
Copy link
Author

aarpro commented Oct 14, 2023

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

@aarpro
Copy link
Author

aarpro commented Oct 14, 2023

dmidecode.gz

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

@aarpro
Copy link
Author

aarpro commented Oct 15, 2023

You can make a U disk for ubuntu and take a look.

Ubuntu MATE LifeUSB detected 64GB

MVIMG_20231015_152648

MVIMG_20231015_152631

but dmidecode -t memory detected only 2 slots

MVIMG_20231015_153739

@wjz304
Copy link
Contributor

wjz304 commented Oct 15, 2023

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

@aarpro
Copy link
Author

aarpro commented Oct 16, 2023

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

@aarpro
Copy link
Author

aarpro commented Oct 17, 2023

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 :(

@wjz304
Copy link
Contributor

wjz304 commented Oct 17, 2023

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

@aarpro
Copy link
Author

aarpro commented Oct 17, 2023

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

@aarpro
Copy link
Author

aarpro commented Oct 28, 2023

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

@wjz304
Copy link
Contributor

wjz304 commented Oct 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants