LinuxSir.cn,穿越时空的Linuxsir!

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

编译内核作配置时那些是最有可能被去掉的?

[复制链接]
发表于 2009-5-11 02:07:21 | 显示全部楼层 |阅读模式
喜~~~~~


玩linux半年,没正经编译过啥东东,却倒腾出了内核,狂喜,赞自己一个,

kantian@kantian:~$ uname -a
Linux kantian 2.6.28.8-default1 #1 SMP Mon May 11 00:02:28 CST 2009 i686 GNU/Linux
kantian@kantian:~$ cat /etc/issue
Debian GNU/Linux squeeze/sid \n \l



悲~~~~~

看着英文就发怵的我看到“How To Compile A Kernel - The Debian (Sarge) Way”里那句:It's a good idea to use the configuration of your current working kernel as a basis for your new kernel. 就就没做其他选项的设置,匆忙上马开始编译,没能实现我本来想做的内核精简(我以为那样就能精简的)。用了大半天,倒腾出了的不是自己要得,感觉相当的悲哀。

我的新内核已经可应用了,连启动都没觉着快起来,所以我还想在编译一次精简内核,可是我一看lsmod就晕,期待那位DX给我点提示,看可以去掉那些(我不敢轻易动,听说有人就是因为乱减模块挂了的)




lspci
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
03:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
发表于 2009-5-11 09:26:29 | 显示全部楼层
给出你的硬件配置,不然谁知道要用哪个MOD呀。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-11 10:19:55 | 显示全部楼层
Post by hades;1985870
给出你的硬件配置,不然谁知道要用哪个MOD呀。



大哥我菜,我以为贴了lsmod就够了,我补充了lspci,麻烦您帮我看看,先谢谢了。我的是较老的机子,intel82845G的集成板子,赛扬2.1G,512内存。除了光驱和摄像头外,顶多偶尔用用U盘。所以我觉得我那内核可以精简到极致了,是吧?嘿嘿。
回复 支持 反对

使用道具 举报

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

本版积分规则

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