歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 2.6.X內核配置中文說明

2.6.X內核配置中文說明

日期:2017/2/27 9:40:38   编辑:更多Linux

  Code maturity level options (代碼成熟等級 )
  
  PHP代碼:
  
  Code maturity level options --->
  [*] Prompt for development and/or incomplete code/drivers
  [*]  Select only drivers eXPected to compile cleanly
  
  1.prompt for development and/or incomplete code/drivers.
  
  默認情況下是選擇的,這將會在設置界面中顯示還在開發或者還沒有完成的代碼與驅動.你應該選擇它,因為有許多設備可能必需選擇這個選項才能進行配置,實際上它是安全的。
  
  2.Select only drivers expected to compile cleanly(NEW)
  
  選擇這個選項你將不會看到一些已知的存在問題的驅動程序選項,默認的情況下也是選擇的。如果 你有設備沒有找到驅動選項,你可以將這一項去掉,或許就可以找到相關驅動了,不過它可能是有BUG的。
  
  . General setup (普通屬性設置 )
  
  PHP代碼:
  
  General setup --->
  () Local version - append to kernel release
  [*] Support for paging of anonymous memory (swap)
  [*] System V IPC
  [*] POSIX Message Queues
  [*] BSD Process Accounting
  [*]  BSD Process Accounting version 3 file format
  [*] Sysctl support
  [ ] Auditing support
  (15) Kernel log buffer size (16 => 64KB, 17 => 128KB)
  [*] Support for hot-pluggable devices
  [*] Kernel Userspace Events
  [*] Kernel .config support
  [*] Configure standard kernel features (for small systems) --->
  
  Support for paging of anonymous memory (swap) (NEW)
  
  這個選項將使你的內核支持虛擬內存,也就是讓你的計算機好象擁有比實際內存更多 多的內存空 間用來執行很大的程序。默認是選擇的。
  
  System V IPC
  
  為進程提供通信機制,這將使系統中各進程間有交換信息與保持同步的能力。有些程序只有在選Y的情況下才能運行,這裡一定要選。
  
  POSIX Message Queues
  
  這是POSIX的消息隊列,它同樣是一種IPC。建議你最好將它選上。
  
  BSD Process Accounting
  
  這是充許用戶進程訪問內核將賬戶信息寫入文件中的。這通常被認為是個好主意,
  
  Sysctl support
  
  這個選項能不重新編譯內核修改內核的某些參數和變量,如果你也選擇了支持/proc,將能從/proc/sys存取可以影響內核的參數或變量。建議你最好將它選上。
  
  Auditing support
  
  審記支持,用於和內核的某些子模塊同時工作,例如SELinux。只有選擇此項及它的子項,才能調用有關審記的系統調用。
  
  Kernel log buffer size (16 => 64 KB 17 => 128 KB)
  
  內核日志緩存的大小
  
  Kernel Userspace Events
  
  內核中分為系統區和用戶區,這裡系統區和用戶區進行通訊的一種方式
  
  Kernel .config support
  
  將.config配置信息保存在內核中,選上它及它的子項使得其它用戶能從/proc中得到內核的配置。
  
  Configure standard kernel features (for small systems)
  
  這是為了編譯某些特殊的內核使用的,通常你可以不選擇這一選項
  
  . Loadable module support (加載模塊選項 )
  
  PHP代碼:
  Loadable module support --->
  [*] Enable loadable module support
  [*] Module unloading
  [*] Module versioning support (EXPERIMENTAL)
  [ ] Source checksum for all modules



  [*] Automatic kernel module loading
  
  Enable loadable module support
  
  很多人喜歡將全部功能、硬件支持一股腦的編進內核,而不是使用模塊的方式。使用模塊支持,你的系統能具有更好的可擴充性。還有一個原因就是自己編寫的功能模塊、設備驅動模塊(假設編寫的質量不高)以模塊方式工作引起Kernel Panic的機率要遠遠低於不支持模塊全部編進內核的方式。
  
  Module unloading
  
  不選這個功能,加載的模塊就不能卸載。沒什麼需要多解釋的,建議最好選上。
  
  Module versioning support (EXPERIMENTAL)
  
  這個功能可以讓你使用其它版本的內核模塊
  
  Source checksum for all modules
  
  這個功能是為了防止更改了內核模塊的代碼但忘記更改版本號而造成版本沖突.
  
  Automatic kernel module loading
  
  這個選項能讓內核自動的加載部份模塊,建議你最好選上。舉個例子說明一下,如模塊eth1394依賴於模塊ieee1394。如果選擇了這個選項,可以直接加載模塊eth1394;如果沒有選擇這個選項,必需先加載模塊ieee1394,再加載模塊eth1394,否則將出錯。
  
  .Processor type and features (處理器內型及特性)
  
  PHP代碼:
  Subarchitecture Type (PC-compatible) --->
  Processor family (386) --->
  [ ] Generic x86 support
  [*] HPET Timer Support
  [*] Symmetric multi-processing support
  [ ] Preemptible Kernel
  [ ] local APIC support on uniprocessors
  [ ] Machine Check Exception
  [ ] Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium
  <M> Toshiba Laptop support
  <M> Dell laptop support
  < > /dev/cpu/microcode - Intel IA32 CPU microcode support
  < > /dev/cpu/*/msr - Model-specific register support
  < > /dev/cpu/*/cpuid - CPU information support
  Firmware Drivers --->
  High Memory Support (off) --->
  [ ] Math emulation
  [*] MTRR (Memory Type Range Register) support
  [ ] Use register arguments (EXPERIMENTAL)
  
  Subarchitecture Type
  
  這沒什麼好說的,如果用PC機的話都選這個。
  
  Processor family (386)
  
  這也沒什麼好說的,選擇你機器對應的處理器即可。
  
  Generic x86 support
  
  這一選項針對x86系列的CPU使用更多的常規優化。如果你在上面一項選的是i386、i586之類的才選這個。
  
  HPET Timer Support
  
  HPET是替代8254芯片的下一代時鐘處理器。這裡你可以安全的選上這一選項。如果硬件不支持的話,將仍使用8254時鐘處理器。
  
  Symmetric multi-processing support
  
  對稱多處理器支持,在單CPU的機器上,不選這個選項會更快一些。由於超線程技術,看起來是兩顆CPU,因些要選上這個選項。
  
  Preemptible Kernel
  
  這個選項能使應用程序即使內核在高負載時也很可靠,建議最好選上。
  
  local APIC support on uniprocessors
  ..
  
  Machine Check Exception
  
  這個選項能讓CPU檢測到系統故障時通知內核
  
  Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium
  
  打開這個選項將會檢查你機器上可能存在的問題,如果有一個非致命錯誤出現將會自動的修復並且記錄,這可以幫助你查出程序出現問題的原因,是一個不錯的選項.
  
  Toshiba Laptop support
  
  對Toshiba本本的支持
  
  Dell laptop suppor
  
  對Dell的支持
  
  /dev/cpu/microcode - Intel IA32 CPU microcode support
  
  這個選項是讓你使用不隨Linux內核發行的IA32 microcode,但是你必需有IA32 microcode的二進制文件。
  
  /dev/cpu/*/msr - Model-specific register support
  
  這個選項能讓特權CPU訪問x86的MSR寄存器。由於超線程並不是真正的多處理器環境,所以不要選擇這個。
  
  /dev/cpu/*/cpuid - CPU information support
  
  這個選項能從/dev/cpu/x/cpuid獲得CPU的唯一標識符
  
  High Memory Support (off)
  
  如果你有大容量的內存(超過4G)你要選它,以使內核可以使用這部分內存。偶是沒這命啦這部分永遠為OFF,如果你有你就ON吧。
  
  Math emulation
  
  估計現在沒人有386或486SX的處理器了吧,那就不要選這個。
  
  MTRR (Memory Type Range Register) support


  
  在Intel p6家族的處理器中(Ppro、 PII和更新的)有一個內存類型范圍寄存器,可用來控制處理器訪問的內存范圍。打開它一般可以提升顯卡的顯示性能
  
  .Power management options (ACPI, APM) (電源管理)
  
  PHP代碼:
  [*] Power Management support
  [ ]  Power Management Debug Support
  [ ]  Software Suspend (EXPERIMENTAL)
  ACPI (Advanced Configuration and Power Interface) Support --->
  APM (Advanced Power Management) BIOS Support --->
  CPU Frequency scaling --->
  
  Power Management support
  
  電源管理沒什麼好說的,不想浪費電就選上。如果不選你可以跳過這部份。
  
  Power Management Debug Support
  
  電源管理的調試信息支持,如果不是要調試內核有關電源管理部份,請不要選擇這項。
  
  Software Suspend (EXPERIMENTAL)
  
  休眠到硬盤。也就是將內存寫入交換分區中,下次啟動可以通過參數resume=/dev/swappartition(例如:resume= /dev/hda6)來恢復上次機器運行的狀態。這項功能對於系統引導時啟動許多服務的機器來說很有用,可以節約啟動時間。這項功能根據自己的需要選擇吧,如果你選擇這項功能,記得恢復休眠後重做交換分區。
  
  ACPI (Advanced Configuration and Power Interface) Support --->
  
  從這裡進入ACPI電源管理的配置界面,要注意ACPI與APM不能同時使用,如果你同時配置了這兩者,那麼在系統啟動時如果發現一個可工作的ACPI設備那麼APM將被關閉,ACPI會被加載
  
  APM (Advanced Power Management) BIOS Support --->
  
  高級電源管理的支持,一般來說筆記本應該選上,台式機可以不選。
  
  CPU Frequency scaling --->
  
  這一選項允許改變CPU的主頻,使CPU在低負荷或使用電池時降低主頻,達到省電的目的。
  
  .Bus options (PCI, PCMCIA, EISA, MCA, ISA)
  
  PHP代碼:
  [*] PCI support
  PCI Access mode (Any) --->
  [ ]  PCI Express support
  [ ]  Legacy /proc/pci interface
  [ ]  PCI device name database
  [ ]  ISA support
  [ ]  EISA support
  [ ]  Vesa Local Bus priming
  [ ]  Generic PCI/EISA bridge
  [ ]  EISA virtual root device
  [ ]  EISA device name database
  [ ]  MCA support
  [ ]  Legacy MCA API Support
  [ ]  Support For the mca entry in /proc
  [ ]  NatSemi SCx200 support
  PCCARD (PCMCIA/CardBus) support --->
  PCI Hotplug Support --->
  
  PCI support
  
  PCI支持,如果使用了PCI插槽,當然必選
  
  PCI access mode (Any)
  
  選Any,系統將優先使用MMConfig,然後使用BIOS,最後使用Direct檢測PCI設備
  
  PCI Express support
  PCI Express總線支持
  
  Legacy /proc/pci interface
  
  是否使用/proc/pci目錄下的信息文件來描述PCI設備的信息。現在的系統多數都使用lspci工具來得到這樣的信息
  
  PCI device name database
  
  如果你不打算使用lspci工具,就把這項和上面的一項選上。lspci和hotplug都不需要內核中的設備信息庫了
  
  ISA support
  
  如果你沒有老式的ISA設備,老的ISA槽支持,可以不選這項
  
  EISA suppor
  
  擴展工業總線支持
  
  Vesa Local Bus priming
  
  ESA總線,也是擴展工業總線的一種,已經被PCI代替,所以不用選擇
  
  Generic PCI/EISA bridge
  
  PCI、EISA兩種總線的橋
  
  EISA virtual root device
  
  EISA總線的虛擬根設備
  
  EISA device name database
  
  內核中的EISA設備信息庫
  
  MCA support
  
  (IBM的東東) 微通道總線.IBM的台式機和筆記本上可能會有這種總線,包括它的p系列、e系列、z系列機器上都用到了這種總線
  
  Legacy MCA API Support
  .
  
  Support For the mca entry in /proc
  .
  
  NatSemi SCx200 support
  
  松下的一種半導體處理器的驅動,If you don't know what to do here, say N.


  
  PCCARD (PCMCIA/CardBus) support --->
  
  一般只有筆記本電腦上才會有PCMCIA插槽,如果你是台式機的話,可以不選這一項
  
  PCI Hotplug Support --->
  
  支持PCI熱插拔的.
  
  .Executable file formats (可執行文件格式)
  
  PHP代碼:
  [ ]  Kernel support for ELF binaries
  [ ]  Kernel support for a.out and ECOFF binaries
  [ ]  Kernel support for MISC binaries
  
  Kernel support for ELF binaries
  
  這個當然y,因為目前gcc2.7.0以上的都有支持ELF了,如果沒有選擇這一項可能會使用相當多的程序因此無法執行
  
  Kernel support for a.out and ECOFF binaries
  
  a.out的執行文件是比較古老的可執行碼,用在比較早期的UNIX系統上.Linux最初也是使用這種碼來執行程序,一直到ELF格式的可執行碼出來後,有愈來俞多的程序碼隨著ELF格式的優點而變成了ELF的可執碼.將來勢必完全取代a.out格式的可執行碼.但目前由於沿有許多的程序還沒有取代過來,所以只好選擇Y,等將來有一天,全部的程序都變成了ELF的天下時,那時再disable掉
  
  Kernel support for MISC binaries
  
  可以讓你支援別的種類的binary執行檔(如:Java、Python ... etc)丟到kernel或編成module都ok
  
  .Device Drivers
  
  PHP代碼:
  [*] Generic Driver Options --->
  [ ]  Memory Technology Devices (MTD) --->
  [ ]  Parallel port support --->
  [ ]  Plug and Play support --->
  [ ]  Block devices --->
  [ ]  ATA/ATAPI/MFM/RLL support --->
  [ ]  SCSI device support --->
  [ ]  Old CD-ROM drivers (not SCSI, not IDE) --->
  [ ]  Multi-device support (RAID and LVM) --->
  [ ]  Fusion MPT device support --->
  [ ]  IEEE 1394 (FireWire) support --->
  [ ]  I2O device support --->
  [ ]  Networking support --->
  [ ]  ISDN subsystem --->
  [ ]  Telephony support --->
  [ ]  Input device support --->
  [ ]  Character devices --->
  [ ]  I2C support --->
  [ ]  Dallas's 1-wire bus --->
  [ ]  Misc devices --->
  [ ]  Multimedia devices --->
  [ ]  Graphics support --->
  [ ]  Sound --->
  [ ]  USB support --->
  [ ]  MMC/SD card support --->
  [ ]  InfiniBand support --->
  
  Generic Driver Options
  ..
  
  Memory Technology Devices (MTD)
  ..
  
  Parallel port support
  ..
  
  Plug and Play support
  熱插拔支持,當然要選擇.
  
  Block devices
  ..
  
  ATA/ATAPI/MFM/RLL support
  ..
  
  SCSI device support
  ..
  
  Old CD-ROM drivers (not SCSI, not IDE)
  ..
  
  Multi-device support (RAID and LVM)
  ..
  
  Fusion MPT device support
  ..
  
  IEEE 1394 (FireWire) support
  ..
  
  I2O device support
  ..
  
  Networking support
  ..
  
  ISDN subsystem
  ..
  
  Telephony support
  ..
  
  Input device support
  ..
  
  Character devices
  ..
  
  I2C support
  ..
  
  Dallas's 1-wire bus
  ..
  
  Misc devices
  ..
  
  Multimedia devices
  ..
  
  Graphics support
  ..
  
  Sound
  ..
  
  USB support
  ..
  
  MMC/SD card support
  ..
  


  InfiniBand support
  ..



  [ ]  SCSI device support --->
  [ ]  Old CD-ROM drivers (not SCSI, not IDE) --->
  [ ]  Multi-device support (RAID and LVM) --->
  [ ]  Fusion MPT device support --->
  [ ]  IEEE 1394 (FireWire) support --->
  [ ]  I2O device support --->
  [ ]  Networking support --->
  [ ]  ISDN subsystem --->
  [ ]  Telephony support --->
  [ ]  Input device support --->
  [ ]  Character devices --->
  [ ]  I2C support --->
  [ ]  Dallas's 1-wire bus --->
  [ ]  Misc devices --->
  [ ]  Multimedia devices --->
  [ ]  Graphics support --->
  [ ]  Sound --->
  [ ]  USB support --->
  [ ]  MMC/SD card support --->
  [ ]  InfiniBand support --->
  
  Generic Driver Options
  ..
  
  Memory Technology Devices (MTD)
  ..
  
  Parallel port support
  ..
  
  Plug and Play support
  熱插拔支持,當然要選擇.
  
  Block devices
  ..
  
  ATA/ATAPI/MFM/RLL support
  ..
  
  SCSI device support
  ..
  
  Old CD-ROM drivers (not SCSI, not IDE)
  ..
  
  Multi-device support (RAID and LVM)
  ..
  
  Fusion MPT device support
  ..
  
  IEEE 1394 (FireWire) support
  ..
  
  I2O device support
  ..
  
  Networking support
  ..
  
  ISDN subsystem
  ..
  
  Telephony support
  ..
  
  Input device support
  ..
  
  Character devices
  ..
  
  I2C support
  ..
  
  Dallas's 1-wire bus
  ..
  
  Misc devices
  ..
  
  Multimedia devices
  ..
  
  Graphics support
  ..
  
  Sound
  ..
  
  USB support
  ..
  
  MMC/SD card support
  ..
  
  InfiniBand support
  ..



Copyright © Linux教程網 All Rights Reserved