QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 934|回复: 6

2.0.34内核是不是对系统内存容量有限制???

[复制链接]
发表于 2003-6-13 20:05:15 | 显示全部楼层 |阅读模式
因为一些原因,需要使用2.0的内核,所以我安装了rh5.1的系统,内核为2.0.34,发现系统内存只有16M,而机器实际内存容量为192M,请问是不是这个版本的内核对内存容量有限制啊。
在内核代码中那些代码可以找到这些限制呢,如果我想修改,可不可以给一些提示啊。
谢谢~~~
发表于 2003-6-13 21:32:42 | 显示全部楼层
no, at least 256m mem is no problem. but old kernel have problems on detect some machines' mem. what is u bootloader? lilo or grub? try to add mem=192m as a boot option
回复

使用道具 举报

 楼主| 发表于 2003-6-13 21:56:40 | 显示全部楼层
谢谢,问题已经解决了
我看了看arch/i386/defconfig这个文件,他屏蔽了CONFIG_MAX_16M这个宏,我打开之后,重新编译内核,我用LILO启动,加了mem=192M这个选项,就ok了
谢谢啦~~~
回复

使用道具 举报

 楼主| 发表于 2003-6-13 22:00:54 | 显示全部楼层
对了,那在系统启动的时候在建立段描述表和页表是在什么时候啊,在哪些函数中完成的阿
回复

使用道具 举报

发表于 2003-6-13 22:05:14 | 显示全部楼层
"屏蔽了CONFIG_MAX_16M这个宏" is right. no need to change.


there is an ebook about 2.0.34. u may read it.
http://www.linuxhq.com/guides/TLK/tlk-toc.html
回复

使用道具 举报

 楼主| 发表于 2003-6-14 17:36:05 | 显示全部楼层
为什么要屏蔽呢,我看Document里面的相关文档,发现也有说明啊。
回复

使用道具 举报

发表于 2003-6-14 22:03:18 | 显示全部楼层
linux can not run on some old pc with >16m mem. but for modern pc, this is not an issue any more.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-18 15:35 , Processed in 0.053865 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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