Sziasztok,
A problémát a tárgy leírja.
HW adottságok:
MB: MSI B450-A PRO MAX (MS-7B86), legfrissebb 73-as BIOS (most updateltem), de nem látok lehetőséget, hogy pl. az APU-nak pre-allocalt memoria méretet tudjam szabályozni.
CPU: AMD Ryzen 3 2200G CPU,
RAM: 1x 4GB DDR4 Crucial (CT4G4DFS824A.M8FB) 2400MHZ ill. 1x 4GB DDR4 Corsair Vengeance (CMK4GX4M1A2400C16) 2400MHz.
BIOS-ban látom mind a 8GB-ot.
- Mindkettő ram modul kompatibilis a lappal: https://pangoly.com/en/review/msi-b450-a-pro-max/compatibility/ram
- OS oldalról: Ha csak azegyik, vagy csak a másik RAM modul van bent, akkor a 4 GB-ból, 3,5GB látszik. Így feltételezem, hogy a kettő együtt 7 GB-ot kellene mutasson, de semmiképp nem 5,9-et.
- Legújabb Ubuntu/Debian live cd-ről bootolva is u. ez a helyzet.
- Korábbi kernellel próbálva is u.e. a helyzet.
- Ha mem=8G paraméterel indítom a kernel-t akkor is ue. a helyzet.
- Intel gépemben (teljesen eltérő config, DDR3 ramokkal 12 GB-ból 11-et tudok használni)
==== SW adottságok:
Linux calm 5.3.0-0.bpo.2-amd64 #1 SMP Debian 5.3.9-2~bpo10+1 (2019-11-13) x86_64 GNU/Linux
==== Amiket még látok:
### lshw -C memory
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: M.73
date: 06/10/2020
size: 64KiB
capacity: 16MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: System Memory
physical id: f
slot: System board or motherboard
size: 8GiB
*-bank:0
description: 2400 MHz (0,4 ns) [empty]
product: Unknown
vendor: Unknown
physical id: 0
serial: Unknown
slot: DIMM 0
clock: 2400MHz (0.4ns)
*-bank:1
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0,4 ns)
product: CMK4GX4M1A2400C16
vendor: Unknown
physical id: 1
serial: 00000000
slot: DIMM 1
size: 4GiB
width: 64 bits
clock: 2400MHz (0.4ns)
*-bank:2
description: 2400 MHz (0,4 ns) [empty]
product: Unknown
vendor: Unknown
physical id: 2
serial: Unknown
slot: DIMM 0
clock: 2400MHz (0.4ns)
*-bank:3
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0,4 ns)
product: CT4G4DFS824A.M8FB
vendor: Unknown
physical id: 3
serial: E0A1B4CC
slot: DIMM 1
size: 4GiB
width: 64 bits
clock: 2400MHz (0.4ns)
*-cache:0
description: L1 cache
physical id: 11
slot: L1 - Cache
size: 384KiB
capacity: 384KiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 12
slot: L2 - Cache
size: 2MiB
capacity: 2MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 13
slot: L3 - Cache
size: 4MiB
capacity: 4MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=3
# dmidecode -t memory
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
Handle 0x000F, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 128 GB
Error Information Handle: 0x000E
Number Of Devices: 4
Handle 0x0016, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x000F
Error Information Handle: 0x0015
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: Unknown
Set: None
Locator: DIMM 0
Bank Locator: P0 CHANNEL A
Type: Unknown
Type Detail: Unknown
Speed: 2400 MT/s
Manufacturer: Unknown
Serial Number: Unknown
Asset Tag: Not Specified
Part Number: Unknown
Rank: Unknown
Configured Memory Speed: 2400 MT/s
Minimum Voltage: Unknown
Maximum Voltage: Unknown
Configured Voltage: Unknown
Handle 0x0018, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x000F
Error Information Handle: 0x0017
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: DIMM
Set: None
Locator: DIMM 1
Bank Locator: P0 CHANNEL A
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2400 MT/s
Manufacturer: Unknown
Serial Number: 00000000
Asset Tag: Not Specified
Part Number: CMK4GX4M1A2400C16
Rank: 1
Configured Memory Speed: 2400 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Handle 0x001B, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x000F
Error Information Handle: 0x001A
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: Unknown
Set: None
Locator: DIMM 0
Bank Locator: P0 CHANNEL B
Type: Unknown
Type Detail: Unknown
Speed: 2400 MT/s
Manufacturer: Unknown
Serial Number: Unknown
Asset Tag: Not Specified
Part Number: Unknown
Rank: Unknown
Configured Memory Speed: 2400 MT/s
Minimum Voltage: Unknown
Maximum Voltage: Unknown
Configured Voltage: Unknown
Handle 0x001D, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x000F
Error Information Handle: 0x001C
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: DIMM
Set: None
Locator: DIMM 1
Bank Locator: P0 CHANNEL B
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2400 MT/s
Manufacturer: Unknown
Serial Number: E0A1B4CC
Asset Tag: Not Specified
Part Number: CT4G4DFS824A.M8FB
Rank: 1
Configured Memory Speed: 2400 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
### lshw -short | grep 'System\ Memory'
/0/f memory 8GiB System Memory
### free -hml
total used free shared buff/cache available
Mem: 5,8Gi 2,1Gi 135Mi 21Mi 3,5Gi 3,4Gi
Low: 5,8Gi 5,7Gi 135Mi
High: 0B 0B 0B
Swap: 2,0Gi 87Mi 1,9Gi
### dmesg | grep -i memory
[ 0.000000] Reserving 0MB of memory at 1504MB for crashkernel (System RAM: 6092MB) ---> Ja igen, van egy crash kernel-em is 128 MB RAM-ot elfoglalva
[ 0.000000] Early memory node ranges
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009d000-0x0009dfff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x09d82000-0x09ffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0a200000-0x0a20afff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0b000000-0x0b01ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x5b5d8000-0x5b6cefff]
[ 0.000000] PM: Registered nosave memory: [mem 0x5b84e000-0x5bc57fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x5bc58000-0x5cb1afff]
[ 0.000000] PM: Registered nosave memory: [mem 0x5f000000-0xdfffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xf7ffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xf8000000-0xfbffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xfcffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfd000000-0xffffffff]
[ 0.000000] Memory: 5974764K/6238652K available (10243K kernel code, 1188K rwdata, 3568K rodata, 1652K init, 2112K bss, 263888K reserved, 0K cma-reserved) ----> Ezt a sort nem értem, itt lenne a kutya elásva?
[ 0.001656] Freeing SMP alternatives memory: 24K
[ 0.124558] x86/mm: Memory block size: 128MB
[ 0.870472] Freeing initrd memory: 55504K
[ 0.946096] Freeing unused kernel image memory: 1652K
[ 0.962331] Freeing unused kernel image memory: 2036K
[ 0.962501] Freeing unused kernel image memory: 528K
[ 1.263102] [TTM] Zone kernel: Available graphics memory: 3050214 KiB
[ 1.263103] [TTM] Zone dma32: Available graphics memory: 2097152 KiB
[ 1.263187] [drm] amdgpu: 2048M of VRAM memory ready ------>>>>> nem hiszem, hogy az amd apunak 2GB VRAM lenne adva, lásd lentebb az lspci kimenetét
[ 1.263189] [drm] amdgpu: 3072M of GTT memory ready.
### lspci -v -s 29:00.0
29:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c8) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
Flags: bus master, fast devsel, latency 0, IRQ 59
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=2M]
I/O ports at f000 [size=256]
Memory at fca00000 (32-bit, non-prefetchable) [size=512K]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/4 Maskable- 64bit+
Capabilities: [c0] MSI-X: Enable- Count=3 Masked-
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [200] #15
Capabilities: [270] #19
Capabilities: [2a0] Access Control Services
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] Page Request Interface (PRI)
Capabilities: [2d0] Process Address Space ID (PASID)
Capabilities: [320] Latency Tolerance Reporting
Kernel driver in use: amdgpu
Kernel modules: amdgpu
### Ugyanez, másképp: # lspci -v | grep VGA -A12
29:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c8) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
Flags: bus master, fast devsel, latency 0, IRQ 59
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=2M]
I/O ports at f000 [size=256]
Memory at fca00000 (32-bit, non-prefetchable) [size=512K]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/4 Maskable- 64bit+
Capabilities: [c0] MSI-X: Enable- Count=3 Masked-
### cat /proc/meminfo |grep -i total
MemTotal: 6100428 kB
SwapTotal: 2047196 kB
VmallocTotal: 34359738367 kB
Van ötletetek, hogyan bírhatom rá a kernel-t, hogy lásson leg. 7GB-ot a 8-ból?
Lehet, hogy fáradt vagyok és benézek valamit...
Köszönettel:
V007