LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 694|回复: 4

4G mem 问题

[复制链接]
发表于 2009-5-10 17:49:33 | 显示全部楼层 |阅读模式
我在 thinkpad x60 上装了两条 2G 内存,按照网上说法,编译设置
CONFIG_HIGHMEM64G=y
CONFIG_HIGHMEM=y
CONFIG_X86_PAE=y

但是仍然是3G
bitbat@x60 ~ $ dmesg | grep MEM
2166MB HIGHMEM available.
896MB LOWMEM available.

何解?
发表于 2009-5-10 18:01:05 | 显示全部楼层
因为pci也要占用一部分地址,这样算上你内存的4G地址空间,总的寻址空间就要大于4G了
所以你应该编译64G的内存支持
回复 支持 反对

使用道具 举报

发表于 2009-5-10 18:02:53 | 显示全部楼层

不好意思,看错了,你已经启用了64G内存支持

你把你的配置界面贴出来吧,还有你编译了内核以后是否忘记更新grub.conf了?
回复 支持 反对

使用道具 举报

发表于 2009-5-10 21:31:24 | 显示全部楼层
呵呵,虽然我现在还用着1GB的内存,但是已经为4GB扩展作准备了,理想的方法是用64位的系统
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-10 22:43:06 | 显示全部楼层
grub是肯定没问题的。
难道跟bios有关,但是在bios内可以看到检测出内存4G,是不是所谓的mem remap的问题。

# dmidecode

Handle 0x002A, DMI type 17, 27 bytes
Memory Device
        Array Handle: 0x0029
        Error Information Handle: No Error
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: SODIMM
        Set: None
        Locator: DIMM 1
        Bank Locator: Bank 0/1
        Type: DDR2
        Type Detail: Synchronous
        Speed: Unknown
        Manufacturer: Not Specified
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified

Handle 0x002B, DMI type 17, 27 bytes
Memory Device
        Array Handle: 0x0029
        Error Information Handle: No Error
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: SODIMM
        Set: None
        Locator: DIMM 2
        Bank Locator: Bank 2/3
        Type: DDR2
        Type Detail: Synchronous
        Speed: Unknown
        Manufacturer: Not Specified
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表