NOTE: kernel 3.8 -- in contrast to the 3.7 series -- now compiles fine on AMD FX 8150 (still testing).
sudo apt-get install kernel-package fakeroot build-essential ncurses-bin ncurses-devmkdir ~/tmpcd ~/tmpwget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.8.tar.bz2tar xvf linux-3.8.tar.bz2cd linux-3.8/cat /boot/config-`uname -r`>.configmake oldconfig
You will be asked a lot of questions -- how many depends on what version you upgrade from. If in doubt, pick the default answer (i.e. hit enter). If really in doubt, use google.
Then continue:
make-kpkg clean
Do
make menuconfig
if you want to make any specific changes to the kernel (e.g. add support for certain devices)
Then continue:
time fakeroot make-kpkg -j4 --initrd kernel_image kernel_headers
As usual 4 is the number of threads you wish to launch -- make it equal to the number of cores that you have for optimum performance during compilation (more about that here).
The build takes around 20 minutes on a four-core intel i5-2400 with -j4, and 14 minutes on an fx-8150 with -j8 (96 minutes with -j1).
Install:
sudo dpkg -i ../linux-image-3.8.0_3.8.0-10.00.Custom_amd64.deb ../linux-headers-3.8.0_3.8.0-10.00.Custom_amd64.deb
New stuff:
Offload RCU callback processing from boot-selected CPUs (RCU_NOCB_CPU) [N/y/?] (NEW) *Memory placement aware NUMA scheduler (NUMA_BALANCING) [N/y/?] (NEW) *Enable to assign a node which has only movable memory (MOVABLE_NODE) [N/y/?] (NEW)Allow for memory hot-add (MEMORY_HOTPLUG) [Y/n] yAllow for balloon memory compaction/migration (BALLOON_COMPACTION) [Y/n/?] (NEW)Set default setting of cpu0_hotpluggable (BOOTPARAM_HOTPLUG_CPU0) [N/y/?] (NEWDebug CPU0 hotplug (DEBUG_HOTPLUG_CPU0) [N/y/?] (NEW)ACPI tables can be passed via uncompressed cpio in initrd (ACPI_INITRD_TABLE_OVERRIDE) [N/y/?] (NEW)Support multiple cpuidle drivers (CPU_IDLE_MULTIPLE_DRIVERS) [N/y/?] (NEW)"NOTRACK" target support (DEPRECATED) (NETFILTER_XT_TARGET_NOTRACK) [N/m] (NEWDefault SCTP cookie HMAC encoding > 1. Enable optional MD5 hmac cookie generation (SCTP_DEFAULT_COOKIE_HMAC_MD5) (NEW) 2. Enable optional SHA1 hmac cookie generation (SCTP_DEFAULT_COOKIE_HMAC_SHA1) (NEW) 3. Use no hmac alg in SCTP cookie generation (SCTP_DEFAULT_COOKIE_HMAC_NONE) (NEW) choice[1-3?]: Enable optional MD5 hmac cookie generation (SCTP_COOKIE_HMAC_MD5) [Y/?] (NEW) yEnable optional SHA1 hmac cookie generation (SCTP_COOKIE_HMAC_SHA1) [N/y/?] (NEW) *Enable optional MD5 hmac cookie generation (SCTP_COOKIE_HMAC_MD5) [Y/?] (NEW) yDistributed ARP Table (BATMAN_ADV_DAT) [N/y/?] (NEW)Kvaser CAN/USB interface (CAN_KVASER_USB) [N/m/?] (NEW)LSI MPT Fusion SAS 3.0 Device Driver (SCSI_MPT3SAS) [N/m/?] (NEW)Chelsio Communications FCoE support (SCSI_CHELSIO_FCOE) [N/m/?] (NEW) *Marvell 88E6060 ethernet switch chip support (NET_DSA_MV88E6060) [N/m/y/?] (NEW)Marvell 88E6085/6095/6095F/6131 ethernet switch chip support (NET_DSA_MV88E6131) [N/m/y/?] (NEW)Marvell 88E6123/6161/6165 ethernet switch chip support (NET_DSA_MV88E6123_61_65) [N/m/y/?] (NEW) *Cadence devices (NET_CADENCE) [Y/n/?] (NEW)AT91RM9200 Ethernet support (ARM_AT91_ETHER) [N/m/y/?] (NEW)Cadence MACB/GEM support (MACB) [N/m/y/?] (NEW)Broadcom devices (NET_VENDOR_BROADCOM) [Y/?] yMarvell MDIO interface support (MVMDIO) [N/m/y/?] (NEW)CDC MBIM support (USB_NET_CDC_MBIM) [N/m/?] (NEW)Atheros Wireless Cards (ATH_CARDS) [N/m/?] (NEW)Atheros AR5523 wireless driver support (AR5523) [N/m/?] (NEW)Wilocity 60g WiFi card wil6210 support (WIL6210) [N/m/?] (NEW) *Realtek RTL8723AE PCIe Wireless Network Adapter (RTL8723AE) [N/m/?] (NEW)ARC UART driver support (SERIAL_ARC) [N/m/y/?] (NEW) *CBUS I2C driver (I2C_CBUS_GPIO) [N/m/?] (NEW)TS-5500 DIO blocks and compatibles (GPIO_TS5500) [N/m/y/?] (NEW) TI BQ2415x battery charger driver (CHARGER_BQ2415X) [N/m/?] (NEW)Board level reset or power off (POWER_RESET) [N/y/?] (NEW) * Default Thermal governor > 1. step_wise (THERMAL_DEFAULT_GOV_STEP_WISE) (NEW) 2. fair_share (THERMAL_DEFAULT_GOV_FAIR_SHARE) (NEW) 3. user_space (THERMAL_DEFAULT_GOV_USER_SPACE) (NEW) choice[1-3?]: Fair-share thermal governor (FAIR_SHARE) [N/y/?] (NEW)Step_wise thermal governor (STEP_WISE) [Y/?] (NEW) yUser_space thermal governor (USER_SPACE) [N/y/?] (NEW)SSB GPIO driver (SSB_DRIVER_GPIO) [N/y/?] (NEW) *BCMA GPIO driver (BCMA_DRIVER_GPIO) [N/y/?] (NEW)Support for Realtek PCI-E card reader (MFD_RTSX_PCI) [N/m/y/?] (NEW)TI ADC / Touch Screen chip support (MFD_TI_AM335X_TSCADC) [N/m/y/?] (NEW)Support for Nano River Technologies Viperboard (MFD_VIPERBOARD) [N/m/?] (NEW)Support for Retu multi-function device (MFD_RETU) [N/m/?] (NEW) *Maxim MAX8973 voltage regulator (REGULATOR_MAX8973) [N/m/?] (NEW)TI TPS51632 Power Regulator (REGULATOR_TPS51632) [N/m/?] (NEW)Siano SMS1xxx based MDTV receiver (SMS_USB_DRV) [N/m/?] (NEW)Siano SMS1xxx based MDTV via SDIO interface (SMS_SDIO_DRV) [N/m/?] (NEW) *Stanton Control System 1 MIDI (SND_SCS1X) [N/m/?] (NEW) *ION iCade arcade controller (HID_ICADE) [N/m/?] (NEW)HID over I2C transport layer (I2C_HID) [N/m/?] (NEW) *Renesas R-Car USB phy support (USB_RCAR_PHY) [N/m/?] (NEW) *SDHCI support for ACPI enumerated SDHCI controllers (MMC_SDHCI_ACPI) [N/m/?] (NEW)NXP PCF8523 (RTC_DRV_PCF8523) [N/m/?] (NEW)Philips PCF8563/Epson RTC8564 (RTC_DRV_PCF8563) [M/n/?] mUserspace platform driver with generic irq and dynamic memory (UIO_DMEM_GENIRQ) [N/m/?] (NEW)Microsoft Hyper-V Balloon driver (HYPERV_BALLOON) [N/m/?] (NEW) *SystemBase PCI Multiport UART (SB105X) [N/m/y/?] (NEW)TTY over Firewire (FIREWIRE_SERIAL) [N/m/?] (NEW) *F2FS filesystem support (EXPERIMENTAL) (F2FS_FS) [N/m/y/?] (NEW) *Enable CIFS debugging routines (CIFS_DEBUG) [Y/n/?] (NEW)Simplified Mandatory Access Control Kernel Support (SECURITY_SMACK) [N/y/?] (NEW)Camellia cipher algorithm (x86_64/AES-NI/AVX) (CRYPTO_CAMELLIA_AESNI_AVX_X86_64) [N/m/y/?] (NEW)
Hiç yorum yok:
Yorum Gönder