zoukankan      html  css  js  c++  java
  • Gentoo Kernel

    模块/电源管理/块文件等

    代码:
    General setup --->
    <*> Kernel .config support
    {*} Enable access to .config through /proc/config.gz

    Processor type and features --->
    Processor family (Core 2/newer Xeon) ---> #请根据自己的cpu型号选择

    Power management and ACPI options --->
    CPU Frequency scaling --->
    { } Enable CPUfreq debugging
    <*> CPU frequency translation statistics
    {*} CPU frequency translation statistics details
    Default CPUFreq governor (ondemand) ---> #笔记本或想省电的台式机选ondemand,普通台式机选userspace
    -*- 'performance' governor
    <*> 'powersave' governor
    <*> 'userspace' governor for userspace frequency scaling
    -*- 'ondemand' cpufreq policy governor
    <*> 'conservative' cpufreq governor

    Networking support --->
    Networking options --->
    < > The IPv6 protocol ---> #如果不用ipv6,还是取消它吧。
    <*> 802.1d Ethernet Bridging
    <*> 802.1Q VLAN Support
    {*} Network packet filtering framework (Netfilter) --->
    {*} Advanced netfilter configuration
    Core Netfilter Configuration ---> #选中这里面的所有选项
    IP: Netfilter Configuration ---> #选中这里面的所有选项

    驱动
    硬盘接口
    一般来说只用libata驱动就够了,按照你的主板芯片选择相应的驱动

    代码:
    Device Drivers --->
    < > ATA/ATAPI/MFM/RLL support ---> #取消老的IDE驱动,此驱动将IDE硬盘识别为 /dev/hd*
    <*> Serial ATA (prod) and Parallel ATA (experimental) drivers ---> #选择libata驱动,此驱动将所有(包括IDE)硬盘统一识别为 /dev/sd*。
    #下面请按自己的芯片型号来选择。
    <*> AHCI SATA support #这个最好选上,包含了很多最新的sata驱动,包括ICH9/ati等的驱动
    < > Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support #intel芯片组(<=ICH8)
    < > NVIDIA SATA support #nforce芯片组
    < > SiS 964/965/966/180 SATA support #sis芯片组
    < > VIA SATA support #via芯片组
    -----------以下是IDE硬盘驱动----------
    < > AMD/NVidia PATA support #nv芯片组
    < > ATI PATA support #ati/amd芯片组
    < > Intel PATA MPIIX support #intel芯片组
    < > SiS PATA support #sis芯片组
    < > VIA PATA support #via芯片组

    网卡驱动(稍后奉上)

    声卡驱动
    现在多数用的都是集成声卡,声卡控制器集成在南桥芯片中。老一点的主板用的是AC97,近两年买的主板应该用的都是Intel HD Audio了。

    代码:
    Device Drivers --->
    <*> Sound card support --->
    <*> Advanced Linux Sound Architecture --->
    {*} PCI sound devices --->
    <M> Intel HD Audio ---> #请根据自己的主板芯片和声卡芯片来选择
    { } Build Realtek HD-audio codec support #螃蟹声卡芯片
    { } Build Analog Device HD-audio codec support #AD声卡芯片
    { } Build IDT/Sigmatel HD-audio codec support #sigmatel声卡芯片

    { } Build VIA HD-audio codec support #via主板芯片
    { } Build ATI HDMI HD-audio codec support #ati/amd主板芯片
    { } Build NVIDIA HDMI HD-audio codec support #nv主板芯片
    { } Build INTEL HDMI HD-audio codec support #intel主板芯片

    {*} Enable generic HD-audio codec parser #通用解码器
    {*} Aggressive power-saving on HD-audio #省电支持

    显卡驱动

    代码:
    Device Drivers --->
    Graphics support --->
    <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> #根据自己的主板芯片来选择
    -*- Support for frame buffer devices --->
    { } Enable Tile Blitting Support
    <*> Userspace VESA VGA graphics support
    { } EFI-based Framebuffer Support
    Console display driver support --->
    {*} Support for the Framebuffer Console Decorations
    { } Bootup logo --->

    文件系统
    除了手册中提到的文件系统之外,中文用户应该添加一些中文的支持:

    代码:
    File systems --->
    <M> FUSE (Filesystem in Userspace) support
    DOS/FAT/NT Filesystems --->
    (936) Default codepage for FAT
    (utf8) Default iocharset for FAT
    -*- Native language support --->
    <*> Simplified Chinese charset (CP936, GB2312)

    校验算法支持

    代码:
    -*- Cryptographic API --->
    <*> CRC32c CRC algorithm
    <*> CRC32c INTEL hardware acceleration
    <*> SHA224 and SHA256 digest algorithm
    <*> SHA384 and SHA512 digest algorithms
    <*> AES cipher algorithms (x86_64)
    <*> Zlib compression algorithm
    <*> LZO compression algorithm



    转:http://www.linuxsir.org/bbs/thread354509.html
  • 相关阅读:
    Minimum Depth of Binary Tree leetcode java
    Maximum Depth of Binary Tree leetcode java
    Symmetric Tree leetcode java
    Same Tree leetcode java
    Binary Tree Postorder Traversal leetcode java
    Binary Tree Preorder Traversal leetcode java
    Binary Tree Inorder Traversal leetcode java
    Combinations leetcode java
    一键清除Centos iptables 防火墙所有规则
    阿里云centos7.7x64安装open,并配置ip转发和nat伪装
  • 原文地址:https://www.cnblogs.com/pchgo/p/1649921.html
Copyright © 2011-2022 走看看