본문 바로가기
운영_설치/리눅스_유닉스

2020년 3월 7일 - 커널 설정

by 써드아이 2020. 2. 27.

lenovo-config-4.19.97-gentoo

pluto-config-4.19.97-gentoo

vmlinux-config-4.19.97-gentoo





* pluto
    Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
    Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter (rev 03)
    SATA controller: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller (rev 1

* lenovo m93p tiny
    ethernet : I217-LM --> e1000
    wifi : Intel Corporation Wireless 7260 --> iwlwifi


* vmlinux (virtualbox 커널 - https://wiki.gentoo.org/wiki/VirtualBox)

Bus options (PCI etc.)  --->
    [*] Mark VGA/VBE/EFI FB as generic system framebuffer
Device Drivers  --->
    <*> Serial ATA and Parallel ATA drivers (libata)  --->
        [*] AHCI SATA support
        [*] ATA SFF support (for legacy IDE and PATA)
        [*]   ATA BMDMA support
        [*]     Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
    <*> Network device support  --->
        <*> Ethernet driver support  --->
            [*] Intel devices
            [*]   Intel(R) PRO/1000 Gigabit Ethernet support
    Input device support  --->
        <*> Keyboards  --->
            [*] AT keyboard
        <*> Mice  --->
            [*] PS/2 mouse
    <*> USB support  --->
        [*] xHCI HCD (USB 3.0) support
        [*] EHCI HCD (USB 2.0) support


https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel/ko


* iSCSI

> Initialtor

Networking support
    Networking options
        TCP/IP networking

Device Drivers
    SCSI device support
        SCSI disk support
        SCSI Transport
            iSCSI Transport Attributes
        SCSI low-level drivers
            iSCSI Initiaotr over TCP/IP
            iSCSI Boot Sysfs interface

> Target

Device Drivers
    Generic Target Core Mod (TCM) and ConfigFS infrastructure
        TCM/IBLOCK Subsystem Plugin for Linux/BLOCK
        TCM/FILEIO Subsystem Plugin for Linux/VFS
        Linux-iSCSI.org iSCSI Target Mode Stack



* rfkill: Cannot open RFKILL control device

Networking support
    RF switch subsystem support
        RF switch input support



* RTNETLINK answers: Nosuch file or directory
* Error talking to the kernel

Networking support
    Networking options
        QoS and/or fair queueing
            Network emulator (NETEM)



* checking your configfile (/etc/syslog-ng/syslog-ng.conf)

https://forums-web2.gentoo.org/viewtopic-p-8386926.html?sid=7029d4a596c8a8396eba294a0dce3d5e
I just had the same problem, enabling the kernel option CONFIG_RANDOM_TRUST_CPU indeed fixed it.

Device Drivers
    Trust the CPU manufactureer to initialize Linux's CRNG



Networking support
    Networking options
        QoS and/or fair queueing
            Random Early Detection

CONFIG_NET_SCH_RED




[    0.044108] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x22 (or later)

install microcode



[    1.835513] iwlwifi 0000:02:00.0: pci_enable_msi failed - -38
To include MSI support into the kernel requires users to rebuild the kernel with both the configuration parameters CONFIG_PCI_USE_VECTOR and CONFIG_PCI_MSI set. CONFIG_PCI_USE_VECTOR enables the kernel to replace the IRQ-based scheme with VECTOR-based scheme because MSI requires a unique vector and no BIOS interrupt-routing table. CONFIG_PCI_MSI enables MSI support in the kernel.

BUS options (PCI etc.)
    Message Signaled Interrupts (MSI and MSI-X)




Device Drivers
    Network device support
        Network core driver support
            Bonding driver support
            Dummy net driver support
            Network console logging support
            Ethernet driver support
                Intel(R) (82586/82593/82596) devices
                Intel devices
                    Intel(R) PRO/1000 Gigabit Ethernet support
                    Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support
            Wireless Lan
                Intel devices
                    IntelWireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi)
                    IntelWireless Wifi DVM Firmware support
                    IntelWireless Wifi MVM Firmware support                   
                    Enable broadcast filtering
                    Debugging option
                        iwlwifi device access tracing



* 커널 메세지의 시간 출력 해제

Kernel hacking
    printk and dmesg options
        Show timing information on printks (해제)







distcc를 이용한 분산 컴파일시에


make CC="distcc" bzImage -j 15


이렇게 해주면 된다.... 는데... 잘 안된다 ㅡㅡ;;