Announcement

Collapse
No announcement yet.

Linux 3.14-rc1 Kernel Makes Its Debut

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux 3.14-rc1 Kernel Makes Its Debut

    Phoronix: Linux 3.14-rc1 Kernel Makes Its Debut

    Linus Torvalds has released the first release candidate of the Linux 3.14 kernel but its codename has nothing to do with Pi...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Not only do we now have kernel 3.14-rc1, but it seems Canonical is shipping both generic and lowlatency kernels in their kernel mainline PPA. I have updated my kernel upgrade script to reflect that.

    Code:
    #!/bin/bash
    # Dependency
    sudo apt-get install lynx -y
    cd /tmp
    sudo rm *.deb
    
    # Kernel URL
    read -p "Do you want the latest RC?" rc
    case "$rc" in
       y*) kernelURL=$(lynx -dump http://kernel.ubuntu.com/~kernel-ppa/mainline/ | tail -1 | cut -d ' ' -f 3) ;;
       n*) kernelURL=$(lynx -dump http://kernel.ubuntu.com/~kernel-ppa/mainline/ | grep -v rc | tail -1 | cut -d ' ' -f 3) ;;
    esac
    
    read -p "Do you want the lowlatency kernel?" lowlatency
    case "$lowlatency" in
       y*) lowlatency=1 ;;
       n*) lowlatency=0 ;;
    esac
    
    echo "The latest kernel is $(echo $kernelURL | cut -d/ -f 6). The currently installed kernel is $(uname -r)."
    
    # Download Kernel
    if [ "$(uname -m)" == "x86_64" ] && [ "$lowlatency" == "0" ]; then
       echo "Downloading the latest 64-bit generic kernel."
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '16p' | cut -d ' ' -f 4)
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '20p' | cut -d ' ' -f 4)
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '21p' | cut -d ' ' -f 4)
    elif [ "$(uname -m)" == "x86_64" ] && [ "$lowlatency" == "1" ]; then
       echo "Downloading the latest 64-bit lowlatency kernel."
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '18p' | cut -d ' ' -f 4)
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '20p' | cut -d ' ' -f 4)
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '23p' | cut -d ' ' -f 4)
    elif [ "$(uname -m)" == "i386" ] && [ "$lowlatency" == "0" ]; then
       echo "Downloading the latest 32-bit kernel."
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '17p' | cut -d ' ' -f 4)
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '20p' | cut -d ' ' -f 4)
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '22p' | cut -d ' ' -f 4)
    elif [ "$(uname -m)" == "i386" ] && [ "$lowlatency" == "1" ]; then
       echo "Downloading the latest 32-bit kernel."
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '19p' | cut -d ' ' -f 4)
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '20p' | cut -d ' ' -f 4)
       wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | sed -n '24p' | cut -d ' ' -f 4)
    fi
    
    # Install Kernel
    echo "Installing Linux Kernel"
    sudo dpkg -i linux*.deb
    echo "Done. You may now reboot."

    Comment


    • #3
      anyone got it to go with md? it can't find my boot blocks for some reason, but it finds my hard-disks.

      Comment

      Working...
      X