Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lightmagic
帖子: 8
注册时间: 2018-05-08 21:31
系统: Ubuntu 18.03

Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#1

帖子 lightmagic » 2018-05-09 2:46

处理器:AMD® A8-3850 apu with radeon(tm) hd graphics × 4
主板:ASUS F1A75-I Deluxe
内存:双通道 海盗船 DDR3 1600
硬盘:OCZ 240G
系统:Ubuntu 18.04 64位

虽然是老机器了,但是没道理装Win10是8G,换到Ubuntu就变成3.3G呀。

终端 输入 free -h
总计 已用 空闲 共享 缓冲/缓存 可用
内存: 3.3G 1.5G 106M 60M 1.7G 1.5G
交换: 2.0G 0B 2.0G

启动时 Bios 明明显示是 8G 内存,搞不懂了。有高手支招吗?
附件
截图
截图
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#2

帖子 poloshiao » 2018-05-09 10:50

檢查 看看 能否發現問題根源
1. uname -a
2. sudo cat /proc/cpuinfo
3. sudo dmidecode -t n # n=0 ~ 32
3-1. 例如
sudo dmidecode -t 4
檢查 Memory Module
3-2. 上面指令的 n
----------------------------------------
0 BIOS
1 System
2 Base Board
3 Chassis
4 Processor
5 Memory Controller
6 Memory Module
7 Cache
8 Port Connector
9 System Slots
10 On Board Devices
11 OEM Strings
12 System Configuration Options
13 BIOS Language
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-bit Memory Error
19 Memory Array Mapped Address
20 Memory Device Mapped Address
21 Built-in Pointing Device
22 Portable Battery
23 System Reset
24 Hardware Security
25 System Power Controls
26 Voltage Probe
27 Cooling Device
28 Temperature Probe
29 Electrical Current Probe
30 Out-of-band Remote Access
31 Boot Integrity Services
32 System Boot
33 64-bit Memory Error
34 Management Device
35 Management Device Component
36 Management Device Threshold Data
37 Memory Channel
38 IPMI Device
39 Power Supply
lightmagic
帖子: 8
注册时间: 2018-05-08 21:31
系统: Ubuntu 18.03

Re: Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#3

帖子 lightmagic » 2018-05-09 17:49

检测到硬件是安装有8G内存。。。

$ sudo dmidecode -t 17
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.6 present.

Handle 0x0027, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0025
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: DIMM
Set: None
Locator: DIMM_A1
Bank Locator: A1_BANK0
Type: DDR3
Type Detail: Synchronous
Speed: 1333 MT/s
Manufacturer: Corsair
Serial Number: 00000000
Asset Tag: A1_AssetTagNum1
Part Number: CMZ8GX3M2A1600C9
Rank: 2

Handle 0x0029, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0025
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: DIMM
Set: None
Locator: DIMM_B1
Bank Locator: B1_BANK0
Type: DDR3
Type Detail: Synchronous
Speed: 1333 MT/s
Manufacturer: Corsair
Serial Number: 00000000
Asset Tag: A1_AssetTagNum2
Part Number: CMZ8GX3M2A1600C9
Rank: 2

$ sudo dmidecode -t 19
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.6 present.

Handle 0x0026, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x001FFFFFFFF
Range Size: 8 GB
Physical Array Handle: 0x0025
Partition Width: 255


但系统还是认不到,这个信息有帮助吗?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#4

帖子 poloshiao » 2018-05-09 19:10

1. uname -a
2. sudo cat /proc/cpuinfo
lightmagic
帖子: 8
注册时间: 2018-05-08 21:31
系统: Ubuntu 18.03

Re: Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#5

帖子 lightmagic » 2018-05-09 19:48

$ sudo uname -a

Linux NAS 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux



$ sudo cat /proc/cpuinfo

processor : 0
vendor_id : AuthenticAMD
cpu family : 18
model : 1
model name : AMD A8-3850 APU with Radeon(tm) HD Graphics
stepping : 0
microcode : 0x3000027
cpu MHz : 2900.000
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall arat npt lbrv svm_lock nrip_save pausefilter
bugs : fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips : 5800.37
TLB size : 1536 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 1
vendor_id : AuthenticAMD
cpu family : 18
model : 1
model name : AMD A8-3850 APU with Radeon(tm) HD Graphics
stepping : 0
microcode : 0x3000027
cpu MHz : 1100.000
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall arat npt lbrv svm_lock nrip_save pausefilter
bugs : fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips : 5800.37
TLB size : 1536 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 2
vendor_id : AuthenticAMD
cpu family : 18
model : 1
model name : AMD A8-3850 APU with Radeon(tm) HD Graphics
stepping : 0
microcode : 0x3000027
cpu MHz : 1100.000
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall arat npt lbrv svm_lock nrip_save pausefilter
bugs : fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips : 5800.37
TLB size : 1536 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 3
vendor_id : AuthenticAMD
cpu family : 18
model : 1
model name : AMD A8-3850 APU with Radeon(tm) HD Graphics
stepping : 0
microcode : 0x3000027
cpu MHz : 1100.000
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall arat npt lbrv svm_lock nrip_save pausefilter
bugs : fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips : 5800.37
TLB size : 1536 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

有办法吗?新手看蒙圈,虽然每个单词差不多都认识,但是完全找不到目标。。。
头像
astolia
论坛版主
帖子: 6436
注册时间: 2008-09-18 13:11

Re: Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#6

帖子 astolia » 2018-05-09 20:30

把下面命令的结果发上来看看

代码: 全选

dmesg | grep -i mem
lightmagic
帖子: 8
注册时间: 2018-05-08 21:31
系统: Ubuntu 18.03

Re: Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#7

帖子 lightmagic » 2018-05-09 20:34

哎呀,莫名其妙解决了。

实在想不出办法,刚才一怒之下清了Bios,打算再不行就换个Xubuntu试试看,还恶狠狠连清了3次!

结果现在显示有 7.3G 内存了。。。

什么情况???

看来是Bios或EFI出错了?
lightmagic
帖子: 8
注册时间: 2018-05-08 21:31
系统: Ubuntu 18.03

Re: Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#8

帖子 lightmagic » 2018-05-09 20:41

$ dmesg | grep -i mem
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bf798fff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000bf799000-0x00000000bf8edfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000bf8ee000-0x00000000bf8fafff] type 20
[ 0.000000] BIOS-e820: [mem 0x00000000bf8fb000-0x00000000bf8fdfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000bf8fe000-0x00000000bfb00fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000bfb01000-0x00000000bfd11fff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000bfd12000-0x00000000bfd5efff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000bfd5f000-0x00000000bfd68fff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000bfd69000-0x00000000bfd6bfff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000bfd6c000-0x00000000bfd6cfff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000bfd6d000-0x00000000bfe83fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000bfe84000-0x00000000bfe86fff] type 20
[ 0.000000] BIOS-e820: [mem 0x00000000bfe87000-0x00000000bfea8fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000bfea9000-0x00000000bfeb9fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000bfeba000-0x00000000bfec6fff] type 20
[ 0.000000] BIOS-e820: [mem 0x00000000bfec7000-0x00000000bfec7fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000bfec8000-0x00000000bfec8fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000bfec9000-0x00000000bfed8fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000bfed9000-0x00000000bfed9fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000bfeda000-0x00000000bfedafff] type 20
[ 0.000000] BIOS-e820: [mem 0x00000000bfedb000-0x00000000bfee0fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000bfee1000-0x00000000bfee1fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000bfee2000-0x00000000bfef3fff] type 20
[ 0.000000] BIOS-e820: [mem 0x00000000bfef4000-0x00000000bfefffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed40000-0x00000000fed44fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed61000-0x00000000fed70fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed8ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100001000-0x000000021effffff] usable
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: update [mem 0xbff00000-0xffffffff] usable ==> reserved
[ 0.000000] found SMP MP-table at [mem 0x000fce80-0x000fce8f] mapped at [ (ptrval)]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] Base memory trampoline at [ (ptrval)] 95000 size 24576
[ 0.000000] RAMDISK: [mem 0x3196d000-0x34cadfff]
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000021effffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x21efd3000-0x21effdfff]
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000021effffff]
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009ffff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x00000000bf798fff]
[ 0.000000] node 0: [mem 0x00000000bfb01000-0x00000000bfd11fff]
[ 0.000000] node 0: [mem 0x00000000bfd6c000-0x00000000bfd6cfff]
[ 0.000000] node 0: [mem 0x00000000bfef4000-0x00000000bfefffff]
[ 0.000000] node 0: [mem 0x0000000100001000-0x000000021effffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000021effffff]
[ 0.000000] DMA zone: 64 pages used for memmap
[ 0.000000] DMA32 zone: 12199 pages used for memmap
[ 0.000000] Normal zone: 18368 pages used for memmap
[ 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 0xbf799000-0xbf8edfff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbf8ee000-0xbf8fafff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbf8fb000-0xbf8fdfff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbf8fe000-0xbfb00fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfd12000-0xbfd5efff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfd5f000-0xbfd68fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfd69000-0xbfd6bfff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfd6d000-0xbfe83fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfe84000-0xbfe86fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfe87000-0xbfea8fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfea9000-0xbfeb9fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfeba000-0xbfec6fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfec7000-0xbfec7fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfec8000-0xbfec8fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfec9000-0xbfed8fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfed9000-0xbfed9fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfeda000-0xbfedafff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfedb000-0xbfee0fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfee1000-0xbfee1fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbfee2000-0xbfef3fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbff00000-0xdfffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xefffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xf0000000-0xfebfffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfec0ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec10000-0xfec10fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec11000-0xfecfffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed00000-0xfed00fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed01000-0xfed3ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed40000-0xfed44fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed45000-0xfed60fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed61000-0xfed70fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed71000-0xfed7ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed80000-0xfed8ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed90000-0xfeffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xff000000-0xffffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x100000000-0x100000fff]
[ 0.000000] e820: [mem 0xbff00000-0xdfffffff] available for PCI devices
[ 0.000000] Memory: 7547096K/7841108K available (12300K kernel code, 2470K rwdata, 4240K rodata, 2404K init, 2416K bss, 294012K reserved, 0K cma-reserved)
[ 0.034347] Freeing SMP alternatives memory: 36K
[ 0.044468] x86/mm: Memory block size: 128MB
[ 0.044752] PM: Registering ACPI NVS region [mem 0xbf8fe000-0xbfb00fff] (2109440 bytes)
[ 0.044752] PM: Registering ACPI NVS region [mem 0xbfd12000-0xbfd5efff] (315392 bytes)
[ 0.044752] PM: Registering ACPI NVS region [mem 0xbfd69000-0xbfd6bfff] (12288 bytes)
[ 0.044752] PM: Registering ACPI NVS region [mem 0xbfea9000-0xbfeb9fff] (69632 bytes)
[ 0.044752] PM: Registering ACPI NVS region [mem 0xbfec8000-0xbfec8fff] (4096 bytes)
[ 0.044752] PM: Registering ACPI NVS region [mem 0xbfed9000-0xbfed9fff] (4096 bytes)
[ 0.044752] PM: Registering ACPI NVS region [mem 0xbfedb000-0xbfee0fff] (24576 bytes)
[ 0.044752] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[ 0.044752] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[ 0.067521] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 0.067522] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff window]
[ 0.067524] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xffffffff window]
[ 0.067659] pci 0000:00:01.0: reg 0x10: [mem 0xc0000000-0xcfffffff pref]
[ 0.067670] pci 0000:00:01.0: reg 0x18: [mem 0xfeb00000-0xfeb3ffff]
[ 0.067811] pci 0000:00:01.1: reg 0x10: [mem 0xfeb44000-0xfeb47fff]
[ 0.068158] pci 0000:00:10.0: reg 0x10: [mem 0xfeb4a000-0xfeb4bfff 64bit]
[ 0.068399] pci 0000:00:10.1: reg 0x10: [mem 0xfeb48000-0xfeb49fff 64bit]
[ 0.068671] pci 0000:00:11.0: reg 0x24: [mem 0xfeb51000-0xfeb517ff]
[ 0.068809] pci 0000:00:12.0: reg 0x10: [mem 0xfeb50000-0xfeb50fff]
[ 0.068969] pci 0000:00:12.2: reg 0x10: [mem 0xfeb4f000-0xfeb4f0ff]
[ 0.069156] pci 0000:00:13.0: reg 0x10: [mem 0xfeb4e000-0xfeb4efff]
[ 0.069317] pci 0000:00:13.2: reg 0x10: [mem 0xfeb4d000-0xfeb4d0ff]
[ 0.069797] pci 0000:00:14.2: reg 0x10: [mem 0xfeb40000-0xfeb43fff 64bit]
[ 0.070237] pci 0000:00:14.5: reg 0x10: [mem 0xfeb4c000-0xfeb4cfff]
[ 0.071786] pci 0000:01:00.0: reg 0x14: [mem 0xfe940000-0xfe94ffff 64bit]
[ 0.071797] pci 0000:01:00.0: reg 0x1c: [mem 0xfe900000-0xfe93ffff 64bit]
[ 0.071810] pci 0000:01:00.0: reg 0x30: [mem 0xfe800000-0xfe8fffff pref]
[ 0.084083] pci 0000:00:02.0: bridge window [mem 0xfe800000-0xfe9fffff]
[ 0.084261] pci 0000:00:14.4: bridge window [mem 0x000a0000-0x000bffff window] (subtractive decode)
[ 0.084263] pci 0000:00:14.4: bridge window [mem 0x000c0000-0x000dffff window] (subtractive decode)
[ 0.084264] pci 0000:00:14.4: bridge window [mem 0xc0000000-0xffffffff window] (subtractive decode)
[ 0.084470] pci 0000:04:00.0: reg 0x18: [mem 0xd0004000-0xd0004fff 64bit pref]
[ 0.084488] pci 0000:04:00.0: reg 0x20: [mem 0xd0000000-0xd0003fff 64bit pref]
[ 0.096105] pci 0000:00:15.1: bridge window [mem 0xd0000000-0xd00fffff 64bit pref]
[ 0.096339] pci 0000:05:00.0: reg 0x24: [mem 0xfea10000-0xfea101ff]
[ 0.096350] pci 0000:05:00.0: reg 0x30: [mem 0xfea00000-0xfea0ffff pref]
[ 0.096489] pci 0000:00:15.2: bridge window [mem 0xfea00000-0xfeafffff]
[ 0.100089] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.152541] e820: reserve RAM buffer [mem 0xbf799000-0xbfffffff]
[ 0.152544] e820: reserve RAM buffer [mem 0xbfd12000-0xbfffffff]
[ 0.152545] e820: reserve RAM buffer [mem 0xbfd6d000-0xbfffffff]
[ 0.152547] e820: reserve RAM buffer [mem 0xbff00000-0xbfffffff]
[ 0.152548] e820: reserve RAM buffer [mem 0x21f000000-0x21fffffff]
[ 0.169393] system 00:00: [mem 0xe0000000-0xefffffff] has been reserved
[ 0.169796] system 00:01: [mem 0xfec00000-0xfec00fff] could not be reserved
[ 0.169797] system 00:01: [mem 0xfee00000-0xfee00fff] has been reserved
[ 0.169799] system 00:01: [mem 0xfed80000-0xfed8ffff] has been reserved
[ 0.169800] system 00:01: [mem 0xfed61000-0xfed70fff] has been reserved
[ 0.169802] system 00:01: [mem 0xfec10000-0xfec10fff] has been reserved
[ 0.169804] system 00:01: [mem 0xfed00000-0xfed00fff] could not be reserved
[ 0.169805] system 00:01: [mem 0xff000000-0xffffffff] has been reserved
[ 0.177849] pci 0000:00:02.0: bridge window [mem 0xfe800000-0xfe9fffff]
[ 0.177883] pci 0000:00:15.1: bridge window [mem 0xd0000000-0xd00fffff 64bit pref]
[ 0.177894] pci 0000:00:15.2: bridge window [mem 0xfea00000-0xfeafffff]
[ 0.177909] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000bffff window]
[ 0.177910] pci_bus 0000:00: resource 9 [mem 0x000c0000-0x000dffff window]
[ 0.177911] pci_bus 0000:00: resource 10 [mem 0xc0000000-0xffffffff window]
[ 0.177914] pci_bus 0000:01: resource 1 [mem 0xfe800000-0xfe9fffff]
[ 0.177920] pci_bus 0000:02: resource 8 [mem 0x000a0000-0x000bffff window]
[ 0.177921] pci_bus 0000:02: resource 9 [mem 0x000c0000-0x000dffff window]
[ 0.177923] pci_bus 0000:02: resource 10 [mem 0xc0000000-0xffffffff window]
[ 0.177925] pci_bus 0000:04: resource 2 [mem 0xd0000000-0xd00fffff 64bit pref]
[ 0.177927] pci_bus 0000:05: resource 1 [mem 0xfea00000-0xfeafffff]
[ 0.178905] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 1.712743] Freeing initrd memory: 52484K
[ 1.712750] software IO TLB [mem 0xbb799000-0xbf799000] (64MB) mapped at [00000000493b3cb8-00000000129c0342]
[ 1.713225] Scanning for low memory corruption every 60 seconds
[ 1.725187] ehci-pci 0000:00:12.2: irq 17, io mem 0xfeb4f000
[ 1.741242] ehci-pci 0000:00:13.2: irq 17, io mem 0xfeb4d000
[ 1.757290] ohci-pci 0000:00:12.0: irq 18, io mem 0xfeb50000
[ 1.821119] ohci-pci 0000:00:13.0: irq 18, io mem 0xfeb4e000
[ 1.885118] ohci-pci 0000:00:14.5: irq 18, io mem 0xfeb4c000
[ 2.058945] Freeing unused kernel memory: 2404K
[ 2.059780] Freeing unused kernel memory: 2008K
[ 2.064478] Freeing unused kernel memory: 1904K
[ 2.192197] mpt2sas_cm0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (7629592 kB)
[ 2.216237] [TTM] Zone kernel: Available graphics memory: 3814796 kiB
[ 2.216238] [TTM] Zone dma32: Available graphics memory: 2097152 kiB
[ 2.216275] [drm] radeon: 512M of VRAM memory ready
[ 2.216276] [drm] radeon: 1024M of GTT memory ready.

[ 2.247454] mpt2sas_cm0: iomem(0x00000000fe940000), mapped(0x0000000082fc8078), size(65536)
[ 3.647087] mpt2sas_cm0: Allocated physical memory: size(5754 kB)

现在好像对了,因为是核心显卡,直接占去 512M 的内存,再加上一些零碎的,认出7.3G差不多了。
lightmagic
帖子: 8
注册时间: 2018-05-08 21:31
系统: Ubuntu 18.03

Re: Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#9

帖子 lightmagic » 2018-05-09 20:44

万分感谢各位大佬帮忙。

万分感激,让我感到不是一个人在穷折腾,感谢论坛。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#10

帖子 poloshiao » 2018-05-09 20:50

看看 這一篇 能否幫你
https://unix.stackexchange.com/question ... ilable-ram
Does my system use all available RAM?
bigrong
帖子: 23
注册时间: 2008-10-16 12:44

Re: Ubuntu 18.04 64位,8G只能认到3.3G内存,何解???

#11

帖子 bigrong » 2018-05-11 20:36

重新安x64版本的就行了
回复