Monday, January 28, 2013

Install Linux Kernel 3.7.5 in Ubuntu/Linux Mint



Linux Kernel 3.7.5 is the fifth maintenance release of the kernel 3.7 series that has been made available for Linux users. This update brings more bug fixes and improvements. I have updated the bash script so that users can upgrade to this new kernel smoothly. You have to bear in mind that upgrading the kernel may render your system unstable, unusable or even may cause the loss of some device drivers (WiFi, videos drivers, etc.), so it is recommended that you backup your system before proceeding to the installation of this new kernel.

Here are some of the fixes taken from the kernel's changelog:



  •     ACPI: Add fixups for AMD P-state figures
  •     ACPI / processor: Get power info before updating the C-states    
  •     ALSA: hda - Fix mute led for another HP machine
  •     ACPI / cpuidle: Fix NULL pointer issues when cpuidle is disabled
  •     module: fix missing module_mutex unlock
  •     usb: gadget: FunctionFS: Fix missing braces in parse_opts
  •     usb: dwc3: gadget: fix ep->maxburst for ep0
  •     USB: UHCI: fix IRQ race during initialization
  •     arm64: elf: fix core dumping to match what glibc expects
  •     arm64: makefile: fix uname munging when setting ARCH on native machine
  •     vfio-pci: Fix buffer overfill
  •     ioat: Fix DMA memory sync direction correct flag

You can install the kernel in the following Ubuntu/Linux Mint distros (AT YOUR OWN RISK!):

  • Ubuntu 12.10/12.04/11.10 or older
  • Linux Mint 14/13/12 or older
Linux Kernel 3.7.5 Installation

As usual, you may download and install the kernel packages from here, or run simply this sequence of commands:

cd /tmp 
wget http://dl.dropbox.com/u/47950494/upubuntu.com/kernel-3.7.5 -O kernel-3.7.5 
chmod +x kernel-3.7.5 
sudo sh kernel-3.7.5 
sudo reboot

When having kernel upgrade troubles for users running the Nvidia driver, you can fix your system by enabling the text mode (CTRL+ALT+F2) and entering these commands:

    cd /usr/src/linux-headers-3.7.5-030705/arch/x86/include 
    sudo cp -v generated/asm/unistd* ./asm 
    sudo apt-get install --reinstall nvidia-current

Finally, to uninstall Kernel 3.7.5, you may use this command:

     sudo apt-get purge linux-image-3.7.5*

No comments:

Post a Comment