8 Ekim 2012 Pazartesi

Compiling Kernel 3.6 on Debian Testing/Wheezy

To contact us Click HERE
Nothing difficult or weird about compiling your own kernel, and 3.6 is no exception. This post is pretty much identical to my previous kernel compile posts, but with 3.6 replacing 3.x.

If you're wondering whether it's worth it, you can have a look here:
 http://www.h-online.com/open/features/What-s-new-in-Linux-3-6-1714690.html

If you've never compiled a kernel before you might need to:
sudo apt-get install kernel-package fakeroot build-essential

Then get on with it:

wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.6.tar.bz2tar xvf linux-3.6.tar.bz2cd linux-3.6/cat /boot/config-`uname -r`>.configmake oldconfig

You'll get a whole bunch of questions about what to include. See the end of the post for a list. Next:

make-kpkg cleantime fakeroot make-kpkg -j3 --initrd --revision=3.6.0 --append-to-version=-amd64 kernel_image kernel_headers

Building takes a while -- about 39 minutes on an AMD II X3.

mv ../*3.6.0*.deb .sudo dpkg -i *.deb

And you're done!


What's new:
Expose hardware/virtual IRQ mapping via debugfs (IRQ_DOMAIN_DEBUG) [N/y/?] (NEW) *    Memory Resource Controller for Control Groups (MEMCG) [N/y/?] (NEW)     HugeTLB Resource Controller for Control Groups (CGROUP_HUGETLB) [N/y/?] (NEW)   Enable perf_event per-cpu per-container group (cgroup) monitoring (CGROUP_PERF) [N/y/?] n  Virtual (secure) IP: tunneling (NET_IPVTI) [N/m/?] (NEW)   IP: AH transformation (INET_AH) [M/n/y/?] m    NFQUEUE integration with Connection Tracking (NETFILTER_NETLINK_QUEUE_CT) [N/y/?] (NEW)   Transparent proxying support (EXPERIMENTAL) (NETFILTER_TPROXY) [M/n/?] m    CAN Identifier (NET_EMATCH_CANID) [N/m/?] (NEW)     IPset (NET_EMATCH_IPSET) [N/m/?] (NEW)   Actions (NET_CLS_ACT) [Y/n/?] y  Three-wire UART (H5) protocol support (BT_HCIUART_3WIRE) [N/y/?] (NEW) HCI BCM203x USB driver (BT_HCIBCM203X) [M/n/?] m  Trace all mac80211 debug messages (MAC80211_MESSAGE_TRACING) [N/y/?] (NEW)   *  Driver for Broadcom BCM8706 and BCM8727 PHYs (BCM87XX_PHY) [N/m/?] (NEW)   Drivers for ICPlus PHYs (ICPLUS_PHY) [M/n/?] m    rt2800pci - Include support for rt3290 devices (EXPERIMENTAL) (RT2800PCI_RT3290) [Y/n/?] (NEW)   Ralink rt2500 (USB) support (RT2500USB) [M/n/?] m  MELFAS MMS114 touchscreen (TOUCHSCREEN_MMS114) [N/m/?] (NEW)   MicroTouch serial touchscreens (TOUCHSCREEN_MTOUCH) [M/n/y/?] m  EDT FocalTech FT5x06 I2C Touchscreen support (TOUCHSCREEN_EDT_FT5X06) [N/m/?] (NEW)   Touchright serial touchscreen (TOUCHSCREEN_TOUCHRIGHT) [M/n/y/?] m  Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver (SPI_XCOMM) [N/m/?] (NEW)   Xilinx SPI controller common module (SPI_XILINX) [N/m/y/?] n  BT8XX GPIO abuser (GPIO_BT8XX) [N/m/y/?] (NEW)   AMD 8111 GPIO driver (GPIO_AMD8111) [N/m/y/?] (NEW)   Intel Langwell/Penwell GPIO support (GPIO_LANGWELL) [N/y/?] n4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100) (W1_SLAVE_DS28E04) [N/m/?] (NEW) BQ27000 slave support (W1_SLAVE_BQ27000) [M/n/?] mAdaptive Voltage Scaling class support (POWER_AVS) [N/y/?] (NEW) *  Honeywell Humidicon HIH-6130 humidity/temperature sensor (SENSORS_HIH6130) [N/m/?] (NEW)   Intel Core/Core2/Atom temperature sensor (SENSORS_CORETEMP) [M/n/y/?] mBCMA Broadcom GBIT MAC COMMON core driver (BCMA_DRIVER_GMAC_CMN) [N/y/?] (NEW) BCMA debugging (BCMA_DEBUG) [N/y/?] nSupport Wolfson Microelectronics Arizona platform with I2C (MFD_ARIZONA_I2C) [N/m/?] (NEW) Support Wolfson Microelectronics Arizona platform with SPI (MFD_ARIZONA_SPI) [N/m/y/?] (NEW) Support Wolfson Microelectronics WM831x/2x PMICs with SPI (MFD_WM831X_SPI) [N/y/?] n  Cameras/video grabbers support (MEDIA_CAMERA_SUPPORT) [N/y/?] (NEW)   Analog TV support (MEDIA_ANALOG_TV_SUPPORT) [N/y/?] (NEW)   Digital TV support (MEDIA_DIGITAL_TV_SUPPORT) [N/y/?] (NEW)   AM/FM radio receivers/transmitters support (MEDIA_RADIO_SUPPORT) [N/y/?] (NEW)   Remote Controller support (MEDIA_RC_SUPPORT) [N/y/?] (NEW)   DVB Network Support (DVB_NET) [Y/n/?] y    Enable modesetting on radeon by default - NEW DRIVER (DRM_RADEON_KMS) [Y/n/?] y    Enable framebuffer console under vmwgfx by default (DRM_VMWGFX_FBCON) [N/y/?] (NEW)   Intel GMA5/600 KMS Framebuffer (DRM_GMA500) [N/m/?] n  User-space I/O driver support for HID subsystem (UHID) [N/m/?] (NEW)   Generic HID driver (HID_GENERIC) [M/n/?] m  Lenovo ThinkPad USB Keyboard with TrackPoint (HID_LENOVO_TPKBD) [N/m/?] (NEW)   Logitech devices (HID_LOGITECH) [M/?] mLED Support (NEW_LEDS) [Y/?] y  LED support for LM3556 Chip (LEDS_LM3556) [N/m/?] (NEW)   LED support for the Bachmann OT200 (LEDS_OT200) [N/m/y/?] n  LED support for the BlinkM I2C RGB LED (LEDS_BLINKM) [N/m/?] (NEW)   LED Trigger support (LEDS_TRIGGERS) [Y/?] y  LED One-shot Trigger (LEDS_TRIGGER_ONESHOT) [N/m/y/?] (NEW)   LED IDE Disk Trigger (LEDS_TRIGGER_IDE_DISK) [Y/n/?] y  EDAC legacy sysfs (EDAC_LEGACY_SYSFS) [Y/n/?] (NEW)   Debugging (EDAC_DEBUG) [N/y/?] nVFIO Non-Privileged userspace driver framework (VFIO) [N/m/y/?] (NEW) *Xen platform mcelog (XEN_MCE_LOG) [N/y/?] (NEW) *Comedi misc drivers (COMEDI_MISC_DRIVERS) [N/y/?] (NEW) *Comedi PCI drivers (COMEDI_PCI_DRIVERS) [N/y/?] (NEW) *Comedi PCMCIA drivers (COMEDI_PCMCIA_DRIVERS) [N/y/?] (NEW) *Comedi USB drivers (COMEDI_USB_DRIVERS) [N/y/?] (NEW) *  CSR wireless driver (CSR_WIFI) [N/m/?] (NEW) *Pulse-Width Modulation (PWM) Support (PWM) [N/y/?] (NEW) *    Log kernel console messages (PSTORE_CONSOLE) [N/y/?] (NEW)     Log panic/oops to a RAM buffer (PSTORE_RAM) [N/m/y/?] n    Provide swap over NFS support (NFS_SWAP) [N/y/?] (NEW)   NFS client support for NFSv4.1 (EXPERIMENTAL) (NFS_V4_1) [Y/n/?] yNotifier error injection (NOTIFIER_ERROR_INJECTION) [N/m/y/?] (NEW) Fault-injection framework (FAULT_INJECTION) [N/y/?] nSet upper limit of TLB entries to flush one-by-one (DEBUG_TLBFLUSH) [N/y/?] (NEW) Enable IOMMU debugging (IOMMU_DEBUG) [N/y/?] n  Serpent cipher algorithm (x86_64/AVX) (CRYPTO_SERPENT_AVX_X86_64) [N/m/y/?] (NEW)   TEA, XTEA and XETA cipher algorithms (CRYPTO_TEA) [M/n/y/?] m  Twofish cipher algorithm (x86_64/AVX) (CRYPTO_TWOFISH_AVX_X86_64) [N/m/y/?] (NEW)   *  TCM_VHOST fabric module (EXPERIMENTAL) (TCM_VHOST) [N/m/?] (NEW) #

Hiç yorum yok:

Yorum Gönder