当前登录: 游客
编译内核
作者:water 地方: 北京 发布时间:2009-03-26 01:16:35 已经有198人阅读过
终于想到搞一搞 FreeBSD 的内核了


做到了

1、支持 over 4GB 的内存
2、去掉没用的设备驱动

[before]

real memory = 2680160256 (2556 MB)
avail memory = 2613354496 (2492 MB)

[after]

real memory = 5905580032 (5632 MB)
avail memory = 4164911104 (3971 MB)

没做到

1、在 i386 上搞起来 amd64
2、RAID 卡的 ad4 / ad6 => ar0

具体技术细节如下

[before]

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009
root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

[after]

FreeBSD 7.1-RELEASE #1: Thu Mar 26 00:41:37 UTC 2009
root@sunjar.ixiqi.com:/usr/src/sys/i386/compile/KERNEL_WATER

Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz (2004.99-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x1067a Stepping = 10

我最近发表的
社交网络
漂亮的妹妹
夏天 2011
PHP 日期计算方式
2011年6月
评论
No Comment at Moment
发表评论
用户名: 密码 昵称 匿名留言 我要记录