我的系统安装了 4G RAM (2x2G)。当我正常启动时,我得到
# cat /proc/meminfo
MemTotal: 3780512 kB
大约是3.6G。
我要配置拉莫普斯我必须定义mem=
内核参数,但无论我在其中设置什么,可用 RAM 始终上限为 2,31G。所以如果我设置mem=4096M
or mem=3600M
or mem=3072M
,它总是这样 2,31G
。当我设置后mem=2048M
,我认为它开始工作,因为/proc/meminfo
显示MemTotal
略小于 2G。
所以问题是为什么它显示2,31G
,以及如何设置它以便显示 ~3,6G ?
# dmidecode -s baseboard-product-name
1439
# dmidecode -s baseboard-manufacturer
Hewlett-Packard
实际上它是一台笔记本电脑 HP G62。它在 P6100 CPU 中集成了 GPU。根据lspci -v
,它需要 256M RAM,对吗?:
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Core Processor Integrated Graphics Controller
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at b0000000 (64-bit, non-prefetchable) [size=4M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 3050 [size=8]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915