昨天,我发帖此主题,并收到回复,告诉我安装 64 位 Ubuntu。我以为我已经有 64 位副本,所以我转到系统详细信息,发现我确实有 Ubuntu GNOME 的 x64 副本。然后,我发现它说它只有 2.9GiB 内存,这很奇怪,因为我安装了完整的 6GB RAM。我认为我的 RAM 卡(2x 2GB 和 2x 1GB)根本没有完全卡入主板,所以我关闭了机器,拔下电源,拿起防静电腕带,卸下并重新安装了所有卡。我将其插入电源,重新打开电源,它仍然认为它有 2.9GiB。我该怎么办?
PS uname -a 返回:
Linux [computer name censored for privacy] 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
编辑:
free
返回:
total used free shared buffers cached
Mem: 3023024 2330472 692552 31564 65644 1066920
-/+ buffers/cache: 1197908 1825116
Swap: 3086332 30740 3055592
以下是 ~/var/log/syslog.txt 中包含 e820 的所有内容:
e820: BIOS-provided physical RAM map:
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009e7ff] usable
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x000000000009e800-0x000000000009ffff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bc04efff] usable
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000bc04f000-0x00000000bc07efff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000bc07f000-0x00000000bc344fff] usable
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000bc345000-0x00000000bc410fff] ACPI NVS
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000bc411000-0x00000000bd1d3fff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000bd1d4000-0x00000000bd1d4fff] usable
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000bd1d5000-0x00000000bd3dafff] ACPI NVS
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000bd3db000-0x00000000bd850fff] usable
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000bd851000-0x00000000bdfe1fff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000bdfe2000-0x00000000bdffffff] usable
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000feb80000-0x00000000fec01fff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000fed40000-0x00000000fed44fff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed8ffff] reserved
Apr 8 22:27:50 [Computer Name removed for Privacy] kernel: [ 0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
答案1
您的内核是 64 位的。这就是您x86_64 GNU/Linux
在 的输出中看到这一点的原因uname
。
您可以尝试发布 Linux 命令行命令的输出free
。它显示内核认为您有多少内存以及当前有多少可用内存。
我不知道为什么你看到的内存比你想象的要少。如果你在 BIOS SETUP 程序中中断启动顺序,通常你可以看到基本硬件/固件认为你安装了什么。如果那不是你所认为的 6GB,那么也许你的内存条或主板或 CPU 有问题?
另一个可能性是,你的机器可能占用了大量的显存。这不太可能那么多记忆,但也许?