nginxs.com
Eric's linux and nginx! » linux 编译内核网卡驱动问题
http://www.nginxs.com/linux/528.html
Eric's linux and nginx! OS version : Centos 5.9 kernel : 2.6.18-402 更新内核版本 2.6.20. 由于 yum 里面的内核头文件和卡发包并没有过多的源码 .c 文件。 所以只能从 www.kernel.org 下载 相近的版本,有人肯定说了下你还不下个最新的 内核版本,答 如内核版本跨度比较大,本人担心会出现各种问题,很多老的编译选项新版内核不支持。 Shell $ yum install kernel-devel kernel-headers. Shell $ mv linux-2.6.20.tar.bz2 /usr/src/. Shell $ cd /usr/src/. Shell $ tar jxvf linux-2.6.20.tar.bz2. Shell $ cd linux-2.6.20. 修改源码 更改自己需要的,我修改了 tun 相关的 源码文件。 Shell $ make mrproper. Shell $ make menuconfig. Shell $ make -j 12. Shell $ make install.
nginxs.com
Eric's linux and nginx! » IBM 3650 M3 原厂RAID卡工具
http://www.nginxs.com/linux/521.html
Eric's linux and nginx! IBM 3650 M3 原厂RAID卡工具. IBM 3650 M3 原厂RAID卡工具. 做个简单记录,前几天一家客户的服务器异常慢,经过检查是开发的维护脚本导致把MYSQL 的临时表空间沾满导致磁盘I/O过高,后来把维护脚本杀掉,问题还是存在,怀疑磁盘有问题,开始以为RAID 卡型号是常规的 M1050 等型号,直接安装了 MegaCli 运行命令结果报错. Root@D201107071806 ]# lspci grep -i sas 01:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1064ET PCI-Express Fusion-MPT SAS (rev 08). Mpt-status -p Checking for SCSI ID:0 Checking for SCSI ID:1 Found SCSI id=1, use ' mpt-status -i 1` to get more information. Http:/ www.nginxs.com.