- 浏览: 321338 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
chen3888015:
更方便、更实用的IDC机房服务器监控软件UNNOC -
PV_love:
沙发一个,看的人多,没人顶
Oracle查询优化 -
sanpic:
好文章,好东西
关键点的第5条,logfile,少打了个字母f ...
oracle create database -
kimmking:
lz不厚道,从dell网站复制过来的。
DELL R900 服务器 RAID 配置详解 -
wxq594808632:
记性不好...
DELL R900 服务器 RAID 配置详解
Device Drivers ---> Generic Driver Options ---> (/sbin/hotplug) path to uevent helper [*] Prevent firmware from being built -*- Userspace firmware loading support [*] Include in-kernel firmware blobs in kernel binary () External firmware blobs to build into the kernel binary [ ] Driver Core verbose debug messages [ ] Managed device resources verbose debug messages <=== 管理设备资源的冗长调试信息,我不需要 <*> Connector - unified userspace <-> kernelspace linker --->// 内核空间与用户空间的信道 [*] Report process events to userspace // 报告处理时间给用户空间 < > Memory Technology Device (MTD) support ---> < > Parallel port support ---> -*- Plug and Play support ---> [ ] PNP debugging messages <=== 调试信息,老规矩 [ ] Block devices ---> <=== 我没有想要支持的块设备,比如ramdisk, 磁盘阵列,CD/DVD刻录等,详见内部选项 [ ] Misc devices ---> <=== 没有需要支持的杂项设备 < > ATA/ATAPI/MFM/RLL support ---> SCSI device support ---> < > RAID Transport Class -*- SCSI device support [] legacy /proc/scsi/ support <=== 我没有SCSI设备 *** SCSI support type (disk, tape, CD-ROM) *** <*> SCSI disk support // 就算你用SATA,此选项也必选 < > SCSI tape support < > SCSI OnStream SC-x0 tape support <> SCSI CDROM support <=== 我没有SCSI设备 <> SCSI generic support <=== 我没有SCSI设备 < > SCSI media changer support [ ] Probe all LUNs on each SCSI device [] Verbose SCSI error reporting (kernel size +=12K) <=== 我没有SCSI设备 [ ] SCSI logging facility [ ] Asynchronous SCSI scanning SCSI Transports ---> <> Parallel SCSI (SPI) Transport Attributes <=== 我没有SCSI设备 < > FiberChannel Transport Attributes < > iSCSI Transport Attributes < > SAS Domain Transport Attributes < > SRP Transport Attributes [ ] SCSI low-level drivers ---> < > SCSI Device Handlers ---> < > OSD-Initiator library Serial ATA (prod) and Parallel ATA (experimental) drivers ---> [*] ATA ACPI Support [ ] SATA Port Multiplier support <=== 我只有一枚SATA设备,没有使用 多路SATA/SATA Hub 的需求。Port Multiplier是南桥芯片提供的一种支持多块SATA设备,并共享总带宽的技术。 <*> AHCI SATA support < > Silicon Image 3124/3132 SATA support [*] ATA SFF support < > ServerWorks Frodo / Apple K2 SATA support <*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support // Intel ICH,G系列chipset driver < > Marvell SATA support < > NVIDIA SATA support < > Pacific Digital ADMA support < > Pacific Digital SATA QStor support < > Promise SATA TX2/TX4 support < > Silicon Image SATA support < > SiS 964/965/966/180 SATA support < > ULi Electronics SATA support < > VIA SATA support < > VITESSE VSC-7174 / INTEL 31244 SATA support < > Initio 162x SATA support < > ACPI firmware driver for PATA < > ALi PATA support < > AMD/NVidia PATA support <=== 我用的是SATA,取消PATA支持 < > ARTOP 6210/6260 PATA support < > ATI PATA support < > CMD64x PATA support < > CS5510/5520 PATA support < > CS5530 PATA support < > CS5536 PATA support < > EFAR SLC90E66 support < > Generic ATA support < > HPT 366/368 PATA support < > HPT 343/363 PATA support < > IT8211/2 PATA support < > JMicron PATA support < > Compaq Triflex PATA support < > Marvell PATA support via legacy mode <> Intel PATA MPIIX support <=== 我用的是SATA,取消PATA支持 < > Intel PATA old PIIX support <=== 我用的是SATA,取消PATA支持 < > NETCELL Revolution RAID support < > Nat Semi NS87410 PATA support < > Nat Semi NS87415 PATA support < > Older Promise PATA controller support < > PC Tech RZ1000 PATA support < > SC1200 PATA support < > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support < > Promise PATA 2027x support < > CMD / Silicon Image 680 PATA support < > SiS PATA support < > VIA PATA support < > Winbond SL82C105 PATA support < > Intel SCH PATA support <=== 我用的是SATA,取消PATA支持 [ ] Multiple devices driver support (RAID and LVM) ---> <=== 暂时没有要使用Raid(磁盘阵列)和LVM(逻辑卷管理器,添加,删除逻辑分区)的需求 [ ] Fusion MPT device support ---> IEEE 1394 (FireWire) support ---> < > I2O device support ---> [ ] Macintosh device drivers ---> <=== Mac系统硬件设备驱动,没什么好说的,关 [*] Network device support ---> < > Dummy net driver support < > Bonding driver support < > EQL (serial line load balancing) support < > Universal TUN/TAP device driver support < > Virtual ethernet pair device < > General Instruments Surfboard 1000 < > ARCnet support ---> <> PHY Device support and infrastructure ---> <=== PHY (物理层控制芯片) ,里面没有我对应的硬件 [*] Ethernet (10 or 100Mbit) ---> -*- Generic Media Independent Interface device support < > Sun Happy Meal 10/100baseT support < > Sun GEM support < > Sun Cassini support [ ] 3COM cards <=== 我不是3COM网卡 [] "Tulip" family network device support ---> <=== 不是 Tulip 系列 < > HP 10/100VG PCLAN (ISA, EISA, PCI) support [*] EISA, VLB, PCI and on board controllers <*> AMD PCnet32 PCI support // 这是我的网卡驱动 < > AMD 8111 (new PCI lance) support < > Adaptec Starfire/DuraLAN support < > Broadcom 440x/47xx ethernet support < > nForce Ethernet support <=== 不是 nForce 网卡 < > Intel(R) PRO/100+ support <=== 不是 Intel 网卡 < > Myson MTD-8xx PCI Ethernet support < > National Semiconductor DP8381x series PCI Ethernet support <> PCI NE2000 and clones support (see help) <=== 与NE2000无关 <> RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support <=== 不是 RealTek 网卡 [ ] Use PIO instead of MMIO [ ] Support for uncommon RTL-8139 rev. K (automatic channel equalization) [ ] Support for older RTL-8129/8130 boards [ ] Use older RX-reset method < > RDC R6040 Fast Ethernet Adapter support < > SiS 900/7016 PCI Fast Ethernet Adapter support < > SMC EtherPower II < > SMSC LAN9420 PCI ethernet adapter support < > Sundance Alta support < > TI ThunderLAN support < > Micrel KSZ8842 < > VIA Rhine support < > Atheros L2 Fast Ethernet support [] Ethernet (1000 Mbit) ---> <=== 如果你是千M卡,请自行选择 [] Ethernet (10000 Mbit) ---> <=== 如果你是万M卡,请自行选择 <> Token Ring driver support ---> <=== IBM的令牌环网,用以太网的忽略 Wireless LAN ---> *** Enable WiMAX (Networking options) to see the WiMAX drivers *** USB Network Adapters ---> [ ] Wan interfaces support ---> <> FDDI driver support <=== 光纤卡驱动,相信没几个人能用上这玩意 < > PPP (point-to-point protocol) support < > SLIP (serial line) support [ ] Fibre Channel driver support [ ] ISDN support ---> < > Telephony support ---> Input device support ---> -*- Generic input layer (needed for keyboard, mouse, ...) -*- Support for memoryless force-feedback devices <> Polled input device skeleton <=== 一种周期性轮询硬件状态的驱动,去掉后没什么副作用 *** Userland interfaces *** -*- Mouse interface [ ] Provide legacy /dev/psaux device (1024) Horizontal screen resolution (768) Vertical screen resolution < > Joystick interface <> Event interface <=== 将输入设备的事件存储到/dev/input/eventX供应用程序读取,没相关需求 < > Event debugging *** Input Device Drivers *** -*- Keyboards ---> [] Mice ---> <=== 我是用纯字符终端,如果你想用X window,请自行选择 [] Joysticks/Gamepads ---> <=== 游戏设备 [] Tablets ---> <=== 平板PC [] Touchscreens ---> <=== 触摸屏 [] Miscellaneous devices ---> <=== 杂七杂八的驱动,扬声器,笔记本扩展按键等 Hardware I/O ports ---> Character devices ---> -*- Virtual terminal [] Support for binding and unbinding console drivers // 在某些系统上可以使用多个控制台驱动程序(如framebuffer控制台驱动程序),该选项使得你可以选择其中之一 ,我一般只用默认的虚拟终端 [] /dev/kmem virtual device support <=== 支持/dev/kmem设备,很少用 [] Non-standard serial port support <=== 我没有非标准的串口设备 Serial drivers ---> < > 8250/16550 and compatible serial support <=== 兼容一些老式的串口设备,我一般不用 *** Non-8250 serial port support *** < > Digi International NEO PCI Support -*- Unix98 PTY support [ ] Support multiple instances of devpts [ ] Legacy (BSD) PTY support < > IPMI top-level message handler ---> <*> Hardware Random Number Generator Core support < > Timer IOMEM HW Random Number Generator support <*> Intel HW Random Number Generator support <> AMD HW Random Number Generator support <=== 我是intel主板 < > AMD Geode HW Random Number Generator support <=== 我是intel主板 <> VIA HW Random Number Generator support <=== 我是intel主板 <> /dev/nvram support <=== 直接存取CMOS,太危险,关 < > Siemens R3964 line discipline < > Applicom intelligent fieldbus card support < > ACP Modem (Mwave) support < > NatSemi PC8736x GPIO Support < > NatSemi Base GPIO Support < > AMD CS5535/CS5536 GPIO (Geode Companion Device) < > RAW driver (/dev/raw/rawN) [*] HPET - High Precision Event Timer [ ] Allow mmap of HPET < > Hangcheck timer -*- I2C support ---> // 感知硬件状态,比如温度,风扇转速 [ ] SPI support ---> PPS support ---> [ ] GPIO Support ---> < > Dallas's 1-wire support ---> -*- Power supply class support ---> <*> Hardware Monitoring support ---> -*- Generic Thermal sysfs driver ---> [*] Watchdog Timer Support ---> Sonics Silicon Backplane ---> Multifunction device drivers ---> [ ] Voltage and Current Regulator Support ---> < > Multimedia support ---> Graphics support ---> <> /dev/agpgart (AGP Support) ---> <=== 用字符终端的忽略 <> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> <=== 用字符终端的忽略 <> Lowlevel video output switch controls <=== 用字符终端的忽略 <> Support for frame buffer devices ---> <=== 用字符终端的忽略 [] Backlight & LCD device support ---> <=== 用字符终端的忽略 Display device support ---> Console display driver support ---> [*] Enable Scrollback Buffer in System RAM (64) Scrollback Buffer Size (in KB) <> Sound card support ---> <=== 用不到声卡 [] HID Devices ---> <=== 用不到人力工程学设备 [] USB support ---> <=== 这个选项,对于跑物理机建议开启,因为有可能你的键盘是USB的,我是跑虚拟机的,所以关了 < > MMC/SD/SDIO card support ---> < > Sony MemoryStick card support (EXPERIMENTAL) ---> [] LED Support ---> <=== 发光二级管,应该是跟显示器相关的驱动,由于我运行的是虚拟机,所以我选择关闭 [ ] Accessibility support ---> < > InfiniBand support ---> [*] EDAC (Error Detection And Correction) reporting ---> // 硬件故障repoting <*> Real Time Clock ---> [*] DMA Engine support ---> [ ] Auxiliary Display support ---> < > Userspace I/O drivers ---> TI VLYNQ ---> [ ] Staging drivers ---> [] X86 Platform Specific Device Drivers ---> <=== 一些笔记本的驱动,我没有相关设备 Firmware Drivers ---> < > BIOS Enhanced Disk Drive calls determine boot disk < > BIOS update support for DELL systems via sysfs < > Dell Systems Management Base Driver [*] Export DMI identification via sysfs to userspace // 将BIOS里的DMI区信息导出到用户空间,部分系统管理工具可能会用到 [ ] iSCSI Boot Firmware Table Attributes File systems ---> < > Second extended fs support <> Ext3 journalling file system support <=== 我使用的是ext4 FS <*> The Extended 4 (ext4) filesystem [ ] Enable ext4dev compatibility [*] Ext4 extended attributes [*] Ext4 POSIX Access Control Lists [] Ext4 Security Labels <=== 取消 SELinux 支持 [ ] JBD (ext3) debugging support [ ] JBD2 (ext4) debugging support < > Reiserfs support < > JFS filesystem support < > XFS filesystem support < > OCFS2 file system support [*] Dnotify support [*] Inotify file change notification support [*] Inotify support for userspace [] Quota support <=== 磁盘配额支持,限制某个用户或者某组用户的磁盘占用空间,暂时没这个需求,你可以把它编译成模块 < > Kernel automounter support <*> Kernel automounter version 4 support (also supports v3) <=== 我没有要挂载远程文件系统的需求 < > FUSE (Filesystem in Userspace) support Caches ---> CD-ROM/DVD Filesystems ---> <> ISO 9660 CDROM file system support <=== 在虚拟机内,我不用CDROM < > UDF file system support DOS/FAT/NT Filesystems ---> < > MSDOS fs support <=== 我没有微软fs的设备 < > VFAT (Windows-95) fs support <=== 我没有微软fs的设备 < > NTFS file system support Pseudo filesystems ---> [] Miscellaneous filesystems ---> <=== 如果你没有其他FS的支持需求,关 [] Network File Systems ---> <=== 如果你没有其他NFS的支持需求,关 Partition Types ---> [ ] Advanced partition selection <=== 如果不是和其他系统共存,可以不选 -*- Native language support ---> // 选上Chinese Kernel hacking ---> [] Show timing information on printks <=== 在printk的输出中包含时间信息,可以用来分析内核启动过程各步骤所用时间 , 我不需要debug内核 [ ] Enable __deprecated logic [*] Enable __must_check logic (2048) Warn for stack frames larger than (needs gcc 4.4) [] Magic SysRq key <=== 一种通过快捷键控制系统方式,除非你非常清楚这个选项,官方不推荐选择 [ ] Enable unused/obsolete exported symbols -*- Debug Filesystem [ ] Run 'make headers_check' when building vmlinux [] Kernel debugging <=== 内核调试,关 [ ] Enable SLUB performance statistics [] Compile the kernel with frame pointers <=== 还是跟内核开发有关 [ ] Delay each boot printk message by N milliseconds < > torture tests for RCU [ ] Check for stalled CPUs delaying RCU grace periods < > Self test for the backtrace code [ ] Force extended block device numbers and spread them [ ] Fault-injection framework [ ] Latency measuring infrastructure [*] Sysctl checks [] Tracers ---> <=== 内核跟踪分析器 [] Remote debugging over FireWire early on boot <=== 启动过程中,允许远程调试内核 [ ] Enable dynamic printk() support [ ] Enable debugging of DMA-API usage [ ] Sample kernel code ---> [ ] Filter access to /dev/mem [] Enable verbose x86 bootup info messages <=== 在内核镜像解压缩阶段输出启动信息,关闭后相当于无声启动(Slient Bootup) -*- Early printk [] Early printk via EHCI debug port <=== 允许printk通过EHCI调试端口输出内核日志,调试的一律关 [ ] Use 4Kb for kernel stacks instead of 8Kb [ ] Enable IOMMU stress-test mode IO delay type (port 0x80 based port-IO delay [recommended]) ---> [*] Allow gcc to uninline functions marked 'inline' Security options ---> <=== 安全特性,我选择全关,当然,这些选项不会影响你的日常开发,办公 [] Enable access key retention support <=== 关闭 [] Enable different security models <=== 关闭 [ ] Enable the securityfs filesystem [] File POSIX Capabilities <=== 关闭 [ ] Integrity Measurement Architecture(IMA) <*> Cryptographic API ---> // 加密API,这部分选项会根据此前的优化自动调整,默认即可 [] Virtualization ---> <=== 我的系统已经运行在虚拟机中,不需要再支持虚拟化 Library routines ---> // 库子程序,这部分选项会根据此前的优化自动调整,默认即可
发表评论
-
linux 常见错误解决方法
2010-12-27 11:20 401510、pam 11、拒绝ssh登录(用户)a./etc/s ... -
理解 Linux 配置文件
2010-09-29 16:03 1437介绍 每个 Linux 程序都是一个可执行文件,它含 ... -
linux iscsi initiator 安装配置
2010-06-24 15:28 4358实现环境:vmware workstation, ... -
iscsi配置
2010-06-17 16:31 19821 指定连接iSCSI的前兆网口IP, 与IP-SAN的端口 ... -
Linux 2.6.31内核优化-1
2010-03-24 14:42 3132介绍 本文档是一篇关于Linux Kernel 2.6. ... -
solaris 常用检查系统命令
2010-03-10 15:57 2378/usr/platform/sun4u/sbin/prt ... -
vsftpd配置文件
2010-02-09 16:23 1495vsftpd配置文件采用“#” ... -
solaris10 xmanager登录
2010-01-29 10:48 10071. 关闭默认的cde服务 ... -
ubuntu美化grub
2009-12-24 16:44 936安装grub-splashimages,只是集成了一套 ... -
linux内核参数
2009-12-21 15:58 1210以下是内核的主要配置 ... -
Consistent Non-Locking Reads 与Locking Reads的区别
2009-11-30 09:08 983一直以来,都认为mysql 在普通的select下会根据主键 ... -
大量LAST_ACK 分析过程
2009-11-30 09:06 18480现象:在netstat的时候发现大量处于LAST_ACK状态的 ... -
阵列Lun
2009-11-10 11:26 1192a、lun的概念 lun的全称是logical ... -
TAR命令参数详解
2009-11-05 09:58 2842tar 程序用于储存或展开 tar 存档文件。存档文件可放在磁 ... -
linux下无法在分区中创建新文件问题
2009-10-20 09:13 2879linux下无法在分区中创建新文件问题 故障现象: ... -
vim使用技巧
2009-10-09 14:09 2157读本文之前请注意: 1. 本文的目标是提供一些vim的使用技 ... -
基于linux构建一个多功能(防火墙/防毒墙/进出邮件扫描/GFW穿越)透明网关
2009-09-27 09:07 997基于linux 构建一个全功能(防火墙/防毒墙/进出邮件 ... -
Rhythmbox, Totem 不支持 mp3的解决办法
2009-09-08 11:01 1360为什么 Linux 不支持 mp3 呢?这个问题在 Linux ... -
LEMP构建高性能WEB服务器
2009-08-24 13:39 1128平台搭建环境 : CentOS5.2 32/x86_6 ... -
linux下安装fetion(飞信)
2009-08-18 10:55 27411.先去 http://www.libfetio ...
相关推荐
### Linux 2.6.31 内核编译指南详解 #### 一、Linux 2.6.31 版本概述 Linux 2.6.31 是一款广泛支持多种架构的操作系统核心,其发布标志着Linux内核在稳定性和功能上的进一步提升。这一版本不仅增强了对现有硬件的...
本教程“linux2.6.31 移植及详细教程方案”旨在为开发者提供一个详尽的指导,帮助他们将Linux 2.6.31内核移植到基于ARM的TX2440A开发板上。这个过程涵盖了从理解内核源码到配置、编译以及调试的整个流程,对于嵌入式...
压缩包中的`ldd-examples-2-6-31`文件包含了所有为2.6.31内核修改的示例代码。这些例子旨在帮助读者实践书中讲解的理论知识,通过实际操作加深对动态链接和内核模块开发的理解。读者可以编译和运行这些例子,观察...
2. **次版本号**:次版本号随着内核功能的增强或修复而递增,例如2.6.30、2.6.31。这些版本通常在稳定版本之间发布,包含了新特性和错误修复。 3. **扩展版本号**:扩展版本号是针对稳定版本的维护更新,如2.6.32-5...
在AT91RM9200上移植Linux内核时,需要对内核进行裁剪和配置,以适应特定硬件的需求。这通常涉及到驱动程序的编写和编译,以确保内核能够正确识别和操作硬件。 文件系统是保存数据和程序的地方,对于嵌入式系统来说...
- 要卸载旧内核,例如`linux-headers-2.6.31-X-XX`和`linux-image-2.6.31-XX-XX`(X代表版本号),需要根据实际列出的完整名称来执行`sudo apt-get remove`命令。 - 在Ubuntu 9.10之前,卸载旧内核后,还需要...
Android内核是基于Linux内核的一个分支,具体而言,它基于Linux 2.6内核(当前版本为2.6.31),这一选择主要是为了利用Linux内核的强大功能和稳定性,同时进行必要的修改以适应Android平台设备的需求。这些修改包括...
描述中提到的“用来编译Linux2.6.31内核的,成功测试”,意味着这个工具链已经被用于构建Linux内核的特定版本——2.6.31。Linux内核是操作系统的核心部分,管理硬件资源、提供系统调用接口以及驱动程序等。版本...
操作系统选用Linux 2.6.31内核,与硬件的适配主要涉及外设驱动的修改。摄像头和LCD在Linux下表现为文件,可以通过标准的I/O函数进行操作。例如,通过ioctl设置摄像头参数,使用read读取摄像头数据,对LCD的参数设置...
自Linux内核版本2.6.31-rc1开始,kmemcheck 已被纳入主线内核。这意味着你可以直接从官方内核源码树中获取包含 kmemcheck 支持的内核源代码。 **2. 配置与编译** kmemcheck 只支持 x86 平台(包括32位和64位)。...
Ubuntu 9.10 使用的是Linux内核2.6.31,这个版本的内核支持动态加载和卸载模块,使得开发者无需重新编译整个内核就能添加或移除特定功能。本实验主要涉及两个核心概念:可加载内核模块和字符设备驱动,这两个概念是...
Perf是一个内置于Linux内核中的性能分析工具,它自Linux内核2.6.31版本起被集成到内核源码中。Perf可以用来评估Linux系统和程序的性能,它是对Linux系统进行性能调优的有力工具之一。Perf工具能够处理与性能相关的...
以上内容详细介绍了 Linux Kernel 2.6 中的 I2C 设备驱动框架及其关键组成部分,包括 I2C/SMBus 的历史背景、协议介绍、内核中提供的关键数据结构与接口函数等。这对于理解如何在 Linux 系统中开发和使用 I2C 设备...
Android内核不仅修复了一些Linux内核的已知问题,还特别针对Android平台的特性进行了优化和扩展,主要体现在设备驱动程序的支持上。 首先,Android Binder驱动是Android系统进程间通信(IPC)的基础,位于`drivers/...
自Linux内核2.6.31以来,perf 已经成为开发者和系统管理员进行性能调优的重要助手。这个工具能够处理各种与性能相关的事件,包括硬件和软件层面的影响因素。 性能事件是指在处理器或操作系统中发生的、可能影响程序...
此外,需要准备合适的交叉编译器(如arm-linux-gcc 4.1.2),内核版本(如Linux-2.6.31)以及操作系统平台(如Linux Red Hat 9.0)和开发板平台(如TX2440A)。 **3. Qtopia手机平台移植步骤** **3.1 开始移植** ...