TEXT 13
Basic-kernel.txt Guest on 21st November 2020 06:03:35 PM
  1. # All options are required unless noted as "Optional" or under a # Begin and # End block, which is also noted as "Optional" or "Hardware Specific"
  2. # It is important that they are selected as built-in or the kernel might fail to correctly detect the partitions and/or filesystems.
  3. # It is a good idea to run "make defconfig" first
  4.  
  5. Device Drivers  --->
  6.    Generic Driver Options  --->
  7.       ()  path to uevent helper
  8.       [*] Maintain a devtmpfs filesystem to mount at /dev
  9.       [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs (optional)
  10.  
  11.    # Optional, required for VMware virtual machines
  12.    # Begin here
  13.    Misc devices  --->
  14.       <*> VMware VMCI Driver
  15.    # End here
  16.  
  17.    SCSI device support  --->
  18.       <*> SCSI device support
  19.       <*> SCSI disk support
  20.       <*> SCSI generic support
  21.  
  22.       [*] Probe all LUNs on each SCSI device (optional, required for some memory cards and other usb storage)
  23.  
  24.    # Optional, required for VMware virtual machines
  25.    # Begin here
  26.       [*] SCSI low-level drivers  --->
  27.          <*>   BusLogic SCSI support (used by older VMware virtual solutions, can be optionally selected)
  28.          <*>   VMware PVSCSI driver support (used by vSphere I think, but not by default, can be used by Player and Workstation too)
  29.    # End here
  30.  
  31.    <*> Serial ATA and Parallel ATA drivers  --->
  32.       [*]   ATA ACPI Support
  33.  
  34.    # Use lspci -k and look for "SATA or ATA controller" and its driver. Then select apropriate
  35.    # device down below.
  36.    #
  37.    # On my machine I have:
  38.    #
  39.    # 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
  40.    #    Subsystem: Hewlett-Packard Company Device 1670
  41.    #    Kernel driver in use: ahci
  42.    #
  43.    # So I select the first two drivers below.
  44.  
  45.    # Begin hardware dependent (S)ATA controller configuration
  46.  
  47.       <*>   AHCI SATA support
  48.       <*>   Platform AHCI SATA support (both for the "ahci" driver)
  49.  
  50.       [*]   ATA SFF support (for legacy IDE and PATA)
  51.       [*]     ATA BMDMA support (both required for drivers below)
  52.  
  53.       <*>       Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support ("ata_piix" driver, also used in VMware virtual machines)
  54.       <*>       Marvell SATA support ("sata_marvel" driver)
  55.       <*>       NVIDIA SATA support ("sata_nvidia" driver)
  56.       <*>       SiS 964/965/966/180 SATA support ("sata_sis" driver)
  57.       <*>       VIA SATA support ("sata_via" driver)
  58.       <*>     Generic ATA support ("ata_generic" driver, select it anyways if the machine has non-AHCI (S)ATA controller)
  59.  
  60.       # Additionally, select any driver that's apropriate for your hardware and not on this list. The list contains the
  61.       # most commonly used desktop hardware nowadays.
  62.  
  63.    # End hardware dependent (S)ATA controller configuration
  64.  
  65.    # Optional, required for VMware virtual machines
  66.    # Begin here
  67.    [*] Fusion MPT device support  --->
  68.       <*>   Fusion MPT ScsiHost drivers for SPI (used by VMware Player and Workstation by default)
  69.    # End here
  70.  
  71.    # Optional, required for booting from USB devices
  72.    # Begin USB configuration
  73.  
  74.    [*] USB support  --->
  75.       <*>   Support for Host-side USB
  76.       <*>     USB Monitor
  77.  
  78.       # One or more of the USB controller drivers, hardware dependent. You can look in the "lsmod"
  79.       # output of your distro to figure out which one is loaded.
  80.  
  81.       # Begin hardware specific part
  82.  
  83.       <*>     xHCI HCD (USB 3.0) support ("xhci_hcd" driver)
  84.       <*>     EHCI HCD (USB 2.0) support ("ehci_hcd" driver)
  85.       <*>     OHCI HCD (USB 1.1) support ("ohci_hcd" driver)
  86.       <*>     UHCI HCD (most Intel and VIA) support ("uhci_hcd" driver)
  87.  
  88.       # End hardware specific part
  89.  
  90.       <*>     USB Mass Storage support
  91.  
  92.    # End USB configuration
  93.  
  94. File systems  --->
  95.  
  96.    # WARNING: It is important that you select the filesystem for your root and (optionally) /boot partition as "builtin",
  97.    # while the others can also be selected as "module"
  98.  
  99.    <*> Second extended fs support (ext2)
  100.       [*]   Ext2 extended attributes
  101.       [*]     Ext2 POSIX Access Control Lists
  102.       [*]     Ext2 Security Labels
  103.       [*]   Ext2 execute in place support
  104.  
  105.    <*> Ext3 journalling file system support (ext3)
  106.       [*]   Default to 'data=ordered' in ext3
  107.       [*]   Ext3 extended attributes
  108.       [*]     Ext3 POSIX Access Control Lists
  109.       [*]     Ext3 Security Labels
  110.  
  111.    <*> The Extended 4 (ext4) filesystem (ext4)
  112.       [*]   Ext4 POSIX Access Control Lists
  113.       [*]   Ext4 Security Labels
  114.  
  115.    <*> JFS filesystem support (jfs)
  116.       [*]   JFS POSIX Access Control Lists
  117.       [*]   JFS Security Labels
  118.  
  119.    <*> XFS filesystem support (xfs)
  120.       [*]   XFS Quota support
  121.       [*]   XFS POSIX ACL support
  122.       [*]   XFS Realtime subvolume support
  123.  
  124.    <*> Btrfs filesystem support (btrfs)
  125.       [*]   Btrfs POSIX Access Control Lists
  126.  
  127.    # Additionally, any other filesystem not listed here.
  128.  
  129.    # NOTE: Basic LFS install only contains filesystem check tools for ext{2,3,4} filesystems.
  130.    # It is a good idea to install the tools specific to other filesystems before first boot
  131.    # to avoid warnings and/or failures at boot.

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.