singleye 发表于 2003-6-13 20:05:15

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

因为一些原因,需要使用2.0的内核,所以我安装了rh5.1的系统,内核为2.0.34,发现系统内存只有16M,而机器实际内存容量为192M,请问是不是这个版本的内核对内存容量有限制啊。
在内核代码中那些代码可以找到这些限制呢,如果我想修改,可不可以给一些提示啊。
谢谢~~~

Dragonfly 发表于 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

singleye 发表于 2003-6-13 21:56:40

谢谢,问题已经解决了
我看了看arch/i386/defconfig这个文件,他屏蔽了CONFIG_MAX_16M这个宏,我打开之后,重新编译内核,我用LILO启动,加了mem=192M这个选项,就ok了
谢谢啦~~~

singleye 发表于 2003-6-13 22:00:54

对了,那在系统启动的时候在建立段描述表和页表是在什么时候啊,在哪些函数中完成的阿

Dragonfly 发表于 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

singleye 发表于 2003-6-14 17:36:05

为什么要屏蔽呢,我看Document里面的相关文档,发现也有说明啊。

Dragonfly 发表于 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.
页: [1]
查看完整版本: 2.0.34内核是不是对系统内存容量有限制???