Linux Kernel 3.7.2 is the second maintenance release of the kernel 3.7 series which brings various improvements and bug fixes especially for ALSA sound and NFS filesystem.. In this tutorial, we will see as usual how to install/upgrade to this new kernel using a very simple bash script. If you prefer to install manually, you can download all needed packages from here.

Let's now see some of the fixes in kernel 3.7.2 taken from the changelog:

  • ARM: 7607/1: realview: fix private peripheral memory base for EB rev. B boards
  • Revert "Bluetooth: Fix possible deadlock in SCO code"
  • CRIS: fix I/O macros
  • nfs: fix null checking in nfs_get_option_str()
  • NFS: Fix access to suid/sgid executables
  • nfsd4: fix oops on unusual readlike compound
  • nfsd: fix v4 reply caching
  • usb: gadget: network: fix bind() error path
  • USB: chipidea: fix use after free bug
  • rtlwifi: fix incorrect use of usb_alloc_coherent with usb_control_msg
  • ALSA: hda - Fix pin configuration of HP Pavilion dv7
  • ALSA: hda - Fix the wrong pincaps set in ALC861VD dallas/hp fixup
  • ALSA: hda - Add stereo-dmic fixup for Acer Aspire One 522
  • ALSA: usb-audio: Fix missing autopm for MIDI input
  • tmpfs mempolicy: fix /proc/mounts corrupting memory
  • xfs: fix stray dquot unlock when reclaiming dquots
  • xfs: fix direct IO nested transaction deadlock.
  • tcp: fix MSG_SENDPAGE_NOTLAST logic

Linux Kernel 3.7.2 Installation

To install kernel 3.7.2 in Ubuntu 12.10/12.10/12.04 and Linux Mint 14/13 or older, open the terminal and enter these commands:

cd /tmp 
wget -O linux-kernel-3.7.2 
chmod +x linux-kernel-3.7.2 
sudo sh linux-kernel-3.7.2 
sudo reboot

For owners of the Nvidia graphics card , If you get troubles after rebooting (black screen for example), press CTRL+ALt+F2 (or access Recovery Mode via the Grub boot menu), then enter these commands:

cd /usr/src/linux-headers-3.7-030702/arch/x86/include 
sudo cp -v generated/asm/unistd* ./asm

Then re-install nvidia-current. You may also find this guide helpful.

Linux kernel 3.7.2 Removal

In case you want or delete kernel 3.7.2 from your system and revert back to the previously installed one, enter this command:

sudo apt-get purge linux-image-3.7.2*