我的y450安裝gentoo,內核編譯選項記錄

編譯內核是安裝linux系統中最難的一項,當然大多人前期都是逃避此問題,比如選擇使用GenKernel或者索性使用ubuntu ,fedora等等

其實編譯一兩次內核就會發現其實它並沒那麼難,就是對照手冊,按照自己的需求開關一些選項而已.

下面是我Y450-tsi在編譯內核時一些配置的記錄

我的內核版本是2.6.39

首先網卡
網卡是這個型號的 Intel Corporation 82801 Mobile PCI Bridge (rev 93)
在內核中按下面的選:
Device Driver -->
    [*]Network device suport -->
        [*] Ethernet (1000 Mbit) -->
            <*> Broadcom Tigon3 support


顯卡:什麼都別選,nvida官網上有linux版本的驅動下載

聲卡:按官方手冊自己決定

想用籃牙的話
Networking -->
    <M> Bluetooth subsystem support -->
        Bluetooth device drivers --->
        <M> HCI USB driver

Networking -->
    <M> Bluetooth subsystem support -->
    <M> L2CAP protocol support
    <M> RFCOMM protocol support
    [*] RFCOMM TTY support

安裝藍牙組件
emerge emerge gnome-bluetooth
/etc/init.d/bluetooth start
$bluetooth-applet

這樣就可以了

要用iptables
[*] Networking support  --->
        Networking options  --->
            [*] Network packet filtering framework (Netfilter)  --->
             --- Network packet filtering framework (Netfilter)                             
             [ ]   Network packet filtering debugging                                         
             [*]   Advanced netfilter configuration                                            
             [*]     Bridged IP/ARP packets filtering                                         
                     Core Netfilter Configuration  --->                                       
             < >   IP set support  --->                                                        
             < >   IP virtual server support  --->                                             
                   IP: Netfilter Configuration  --->                                        
             < >   Ethernet Bridge tables (ebtables) support  --->

掛寫ntfs分區,別用內核自帶的,有問題.
雖然內核中有下面選項
    File systems  --->
    DOS/FAT/NT Filesystems  --->
    <*> NTFS file system support
    [ ]   NTFS debugging support
    [*]   NTFS write support
但使用後會發現掛載的 ntfs 分區沒有寫入權限。
所以推薦使用 ntfs-3g 來 mount 分區。
但是ntfs-3g需要FUSE模塊的支持
去內核中把下面的選上
  File systems  --->
    <M> FUSE (Filesystem in Userspace) support

ntfs-3g現在似乎不被官方支持,用eix 安裝ntfs
#emerge -v eix
#eix ntfs
#emerge sys-fs/ntfs3g

還要配置交換機,所以需要usb轉串口的驅動
我的usb轉串口 是ch340芯片
選擇Devces drivers-->
    USB seupport-->
        <M>USB Serial Converter support -->
        [*]USB Generic Serial Driver
        [M]Winchiphead CH341 Single Port Serial Driver

ok,針對我的設備,我的需求,只有這些是特別記錄的

 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章