内核编译
陈尚华
层就职于某大型电子支付类公司,从事私有云和公有云规划建设工作,目前致力于 IAAS运维开发,专注自动化运维,构建高效运营、实时交付、易管理、平滑扩展的弹性云环境。
展开
-
CentOS5.8下编译安装3.X版本内核
1.安装依赖包:[root@CentOS5 ~]# yum -y install wget make gcc perl ncurses-devel2.下载内核版本:[root@CentOS5 ~]# wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.8.7.tar.gz3.移动原创 2016-02-15 17:11:28 · 501 阅读 · 0 评论 -
linux的initrd.img的解压和打包
initrd.img解压:[root@CentOS5 ~]# mkdir /usr/src/initrd[root@CentOS5 ~]# cp /boot/initrd-2.6.18-308.el5.img /usr/src/initrd[root@CentOS5 ~]# cd /usr/src/initrd[root@CentOS5 initrd]# l原创 2016-02-15 17:12:43 · 3833 阅读 · 0 评论 -
Linux内核升级Broadcom网卡问题(bnx2)
故障现象:Bringing up interface eth0:bnx2:Can't load firmware file “bnx2/bnx2-mips-09-6.2.1b.fw”SIOCSIFFLAGS:No such file or directoryFailed to bring up eth0原创 2016-02-15 17:15:06 · 3025 阅读 · 0 评论 -
CentOS下编译安装Busybox
[root@cloud ~]# yum -y install wget make gcc perl glibc-static ncurses-devel libgcrypt-devel[root@cloud ~]# wget http://busybox.net/downloads/busybox-1.21.0.tar.bz2[root@cloud ~]# tar -jxv原创 2016-02-15 17:16:25 · 6413 阅读 · 0 评论 -
Linux 内核编译 modules ehci-hcd, ohci-hcd, uhci-hcd not found
故障现象:make install后显示如下:WARNING: No module ehci-hcd found for kernel 3.x.x.art.x86_64, continuing anywayWARNING: No module ohci-hcd found for kernel 3.x.x.art.x86_64, continuing anywayW原创 2016-02-15 17:18:51 · 14960 阅读 · 0 评论 -
Linux内核编译,模块尺寸变大的解决办法
现象: 最近在研究Linux的裁剪定制,编译内核的时候发现编译后同样的模块比以前内核版本的大好多,比如下面这个例子:[root@CentOS5 ~]# find /lib/modules/ -name ext3.ko/lib/modules/3.8.8-chensh3.0/kernel/fs/ext3/ext3.ko/lib/modules/2.6.1原创 2016-02-15 17:42:07 · 2092 阅读 · 0 评论