Linux内核配置指南-说明

准备:

如果你不熟悉你的硬件 且不知道准备些什么,请继续阅读(此系列以Gentoo的ck-sources为准)

首先 你需要一个已经能正常使用的Linux系统 Live CD环境也可以

输入lscpu查看CPU信息

输入lspci -vk查看硬件信息

注意!这里有kernel driver,之后配置精简内核驱动需要参照此信息

输入lsusb查看USB设备信息(一般情况不需要管这个)

推荐在Ubuntu系统下查看这些信息,Ubuntu的内核配置啥都加上去了。。。

编译出来之后的大小简直可怕 所以,不管怎么样 都不推荐使用其它发行版的内核配置

目标人群:

折腾派 强迫症

追求最好的性能

本人接触的硬件也不多,所以我还是说下我的硬件,并主要以此为准:

华硕飞行堡垒第一代低配i5版
UEFI启动
lspci -kk:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
        Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
        Subsystem: ASUSTeK Computer Inc. 4th Gen Core Processor Integrated Graphics Controller
        Kernel driver in use: i915
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
        Subsystem: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
        Kernel driver in use: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
        Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB xHCI
        Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
        Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family MEI Controller
        Kernel driver in use: mei_me                                                                                                                                                                                                                                            
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)                                                                                                                                                                  
        Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High Definition Audio Controller                                                                                                                                                                          
        Kernel driver in use: snd_hda_intel                                                                                                                                                                                                                                     
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)                                                                                                                                                                     
        Kernel driver in use: pcieport                                                                                                                                                                                                                                          
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)                                                                                                                                                                     
        Kernel driver in use: pcieport                                                                                                                                                                                                                                          
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)                                                                                                                                                                     
        Kernel driver in use: pcieport                                                                                                                                                                                                                                          
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)                                                                                                                                                                     
        Kernel driver in use: pcieport                                                                                                                                                                                                                                          
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)                                                                                                                                                                                                      
        Subsystem: ASUSTeK Computer Inc. HM86 Express LPC Controller                                                                                                                                                                                                            
        Kernel driver in use: lpc_ich                                                                                                                                                                                                                                           
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)                                                                                                                                                    
        Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]                                                                                                                                                               
        Kernel driver in use: ahci                                                                                                                                                                                                                                              
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)                                                                                                                                                                                  
        Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family SMBus Controller                                                                                                                                                                                   
        Kernel driver in use: i801_smbus                                                                                                                                                                                                                                        
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev ff)                                                                                                                                                                                                    
        Kernel modules: nvidia_drm, nvidia                                                                                                                                                                                                                                      
04:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)                                                                                                                                                                                 
        Subsystem: AzureWave QCA9565 / AR9565 Wireless Network Adapter                                                                                                                                                                                                          
        Kernel driver in use: ath9k                                                                                                                                                                                                                                             
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)                                                                                                                                                                      
        Subsystem: ASUSTeK Computer Inc. RTL8411B PCI Express Card Reader                                                                                                                                                                                                       
        Kernel driver in use: rtsx_pci                                                                                                                                                                                                                                          
05:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)                                                                                                                                                 
        Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Kernel driver in use: r8169
添加新评论