Linux kernel in 2011: Microsoft among top contributors

1:59 AM


The Linux Foundation has released the 2011 edition of its kernel development study. The report provides insight into the status of Linux kernel programming and the level of developer participation. It shows the volume of total growth, the relative number of contributions from major sponsors, and other relevant metrics.

The kernel has continued to see strong growth and developer engagement.

The top 10 organizations sponsoring Linux kernel development since the last report (or Linux kernel 2.6.36) are Red Hat, Intel, Novell, IBM, Texas Instruments, Broadcom, Nokia, Samsung, Oracle and Google. Mobile and embedded companies have been increasing their participation in recent years, not only adding more hardware support to the kernel but also taking responsibility for the advancement of core kernel areas. 

Ranking at number 17, the company that once called Linux a “cancer,” today is working within the collaborative development model to support its virtualization efforts and its customers. Because Linux has reached a state of ubiquity, in which both the enterprise and mobile computing markets are relying on the operating system, Microsoft is clearly working to adapt. 

The Redmond giant first began contributing code to Linux in 2009 when it submitted patches to improve the performance of running virtualized Linux guest instances on Windows servers.

Readers who want to see the full report can download the PDF from the Linux Foundation's website.



0 comments

» read more....

Real-time Linux: Installation on Ubuntu

3:55 AM

A real-time operating system (RTOS) is an operating system (OS) intended to serve real-time application requests.

A key characteristic of an RTOS is the level of its consistency concerning the amount of time it takes to accept and complete an application's task; the variability is jitter.

An RTOS has an advanced algorithm for scheduling. Scheduler flexibility enables a wider, computer-system orchestration of process priorities, but a real-time OS is more frequently dedicated to a narrow set of applications. Key factors in a real-time OS are minimal interrupt latency and minimal thread switching latency; a real-time OS is valued more for how quickly or how predictably it can respond than for the amount of work it can perform in a given period of time.

 An RTOS is used in many Industrial applications such as

Military: For gathering data from a wide variety of real time sensors (satellite,air,surface,subsurface) and delivering it to analysis capabilities and weapon systems

Telecommunications: Real Time access to information from vast array of devices including computers,set top boxes,PDAs,Pagers and wireless phones.

Aviation: Improved real time capabilities will increase safety and efficiency by identifying dangerous situations and enabling flexible routing to relieve congestion and prevent collisions.

Automotive: Commuters will receive real time data , GPS location information and operational data via ground stations and satellites , thus routing the driver around accidents , roadwork or traffic congestion in real time.

Scientific: For monitoring and instrument control.eg.seismic information is increasingly distributed on a vast scale ,enabling scientist to verify even small scale nuclear detonations as well as helping smaller remote countries prepare for weather and seismic disasters.





The linux-realtime package available for latest Ubuntu versions can bring real-time capabilities to Ubuntu Linux. The remainder of this article will covers in detail installation of linux-realtime package for Ubuntu so that it can be used for real-time application development efforts.



Installing Linux-Realtime in Ubuntu

Linux-Realtime can be installed on both 12.04 and older versions of the Ubuntu distribution. For Ubuntu 12.04 (Precise Pangolin) you can directly add the PPA from the following command.
  • $ sudo add-apt-repository ppa:abogani/realtime
For Ubuntu 11.10 or older you need to edit the sources.list file to add the repositories manually.
  • $ sudo gedit /etc/apt/sources.list
Then append the following lines at the end of the file
deb http://ppa.launchpad.net/abogani/realtime/ubuntu precise main
deb-src http://ppa.launchpad.net/abogani/realtime/ubuntu precise main
Save the file and update the apt repositories
  • $ sudo apt-get update
You are now ready to install the Linux-Realtime on your Ubuntu system
  • $ sudo apt-get install linux-realtime
(Last two steps are also valid for PPA method in Ubuntu 12.04)

This will update the Linux kernel to the version 3.2 with realtime version. With the Previous version of your linux kernel intact which you can choose from the grub boot menu at the boot time.


Note: Booting into Real-time Linux is not recommended for day to day work on Ubuntu as the performance with Real-time Linux is slightly slow and sluggish with normal desktop environments (such as gnome, unity etc) and apps than with the normal kernel OS.



0 comments

» read more....

Upgrade to Kernel 3.3 in Ubuntu

10:42 PM

Few days ago we had covered the release story of the latest Linux kernel in town that is version 3.3, which comes with lots of goody goody features like merging of Android code etc.

So if you are a developer and want to test whats new in the latest offering or a brave and adventures enthusiast who always prefer to walk over the bleeding edge, here is a short guide to upgrading your kernel to version 3.3 without complex compiling procedures.

This guide will help you install Linux 3.3 Kernel under Ubuntu 12.04/11.10 or older.

For Ubuntu (i386 / 32-bit):


Open the terminal and run the following command
  • $ cd /tmp && wget -O linux-headers-3.3.0-030300_3.3.0_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-precise/linux-headers-3.3.0-030300_3.3.0-030300.201203182135_all.deb
  • $ sudo dpkg -i linux-headers-3.3.0-030300_3.3.0_all.deb
  • $ cd /tmp && wget -O  linux-headers-3.3.0-generic_i386.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-precise/linux-headers-3.3.0-030300-generic_3.3.0-030300.201203182135_i386.deb
  • $ sudo dpkg -i linux-headers-3.3.0-generic_i386.deb
  • $ cd /tmp && wget -O linux-image-3.3.0-generic_i386.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-precise/linux-image-3.3.0-030300-generic_3.3.0-030300.201203182135_i386.deb
  •  $ sudo dpkg -i linux-image-3.3.0-generic_i386.deb

For Ubuntu (amd64 / 64-bit)

  • $ cd /tmp && wget -O linux-headers-3.3.0-030300_3.3.0_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-precise/linux-headers-3.3.0-030300_3.3.0-030300.201203182135_all.deb
  • $ sudo dpkg -i linux-headers-3.3.0-030300_3.3.0_all.deb
  • $ cd /tmp && wget -O linux-headers-3.3.0-generic_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-precise/linux-headers-3.3.0-030300-generic_3.3.0-030300.201203182135_amd64.deb
  • $ sudo dpkg -i linux-headers-3.3.0-generic_amd64.deb
  • $ cd /tmp && wget -O linux-image-3.3.0-generic_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-precise/linux-image-3.3.0-030300-generic_3.3.0-030300.201203182135_amd64.deb
  • $ sudo dpkg -i linux-image-3.3.0-generic_amd64.deb
After you finish, reboot your system
  • $ sudo reboot
To check updated Linux kernel
  • $ uname -r
Output will show the upgraded version of the Linux Kernel.

Warning:  Please upgrade the kernel at your own risk because it may render your system unstable. Additionally, upgrading kernel may cause problems with some installed proprietary drivers of NVIDIA / ATI (AMD) graphics cards, broadcom wireless etc., so be cautious!




0 comments

» read more....

Linux kernel 3.3 released with Android support

6:52 PM

The latest release of the Linux kernel 3.3, is now available, this is the second release of the kernel in 2012 which brings with it the long-awaited merging of code from Google's Android project.

This is what particularly interesting to developers looking to boot Android or run apps on the stock Linux kernel and represents a resolution to the issues that kept the two apart for so long it's not the only new feature included. However optimized power management and other infrastructure that didn't make it this time will arrive in the next release that is 3.4

For a long time, code from the Android project has not been merged back to the Linux repositories due to disagreement between developers from both projects” the Linux 3.3 release notes state. 
“Fortunately, after several years the differences are being ironed out. Various Android subsystems and features have already been merged, and more will follow in the future. This will make things easier for everybody, including the Android mod community, or Linux distros that want to support Android programs.”
Also made into the release are improvements to file systems like Btrfs, memory management, networking, security and much, much more.

0 comments

» read more....

Upgrade to Kernel 3.2 in Ubuntu 11.10 (oneiric ocelot)

5:37 PM

The Linux Foundation officially released the new Linux 3.2 kernel few days ago. The latest release comes with many improvements on the bugs and enhancement capabilities. Some important new features in the kernel 3.2 is support for ext4 block size larger than 4 KB to 1 MB, fixes Btrfs capabilities, additional support for setting the upper limit of CPU time by the process scheduler, automatic backup tree root and more.

Ubuntu 12.04 (Precise Pangolin) will have the kernel 3.2 by default, but if you still want to test the latest kernel in Ubuntu 11.10, here is how you can upgrade to the kernel 3.2 through PPA.

Warning: You are advised to make a backup of your system before proceeding ahead, we are not responsible for any data loss after kernel upgrade.
Installation of Kernel 3.2 in Ubuntu 11.10 via PPA:

  • $ sudo apt-add-repository ppa:francisbrwn9/kernels
  • $ sudo apt-get update 
  • $ sudo apt-get dist-upgrade
If  you want to revert the change and back to the previous kernel, you need to install PPA Purge.

  • $ sudo apt-get install ppa-purge
Then to remove the ppa,
  • $ sudo ppa-purge ppa:francisbrwn9/kernels

Note: The above instructions for Kernel upgrade will also work with Ubuntu derivative distros like Linux Mint, Sabily, Dream Studio, etc..

0 comments

» read more....

Linux Kernel 3.3 Will Let You Boot Into Android

10:47 PM

With the release of Linux Kernel 3.3 you will be able to boot into Android userspace without any modifications (to the kernel) but not with very good power management, The 3.4 kernel release will hopefully have the power management hooks that Android needs in it, along with a few other minor missing infrastructure pieces that didn't make it into the 3.3 kernel release."

Revealed Greg-KH who recently joined The Linux Foundation after quitting from Novell SUSE.

This puts Android right there with Gnome and KDE as just another desktop environment for GNU/Linux.

Things getting interesting day by day in open source world.

Source : muktware

0 comments

» read more....

Script: Remove Unused Old Kernel

4:25 PM

Many Ubuntu users who upgraded Linux kernel to newer version might encounter something messy in GRUB menu. The old kernel is still there and appears on GRUB menu although we don't use it because we already have a newer version to boot. So, today I'd like to share my old post on TahuTEK.net about simple script to remove unused old kernel on your system automatically. Although this is an old post, it still works until today. I have been using it since I've moved to XFCE.


As shown in the figure above, there is an older kernel in the GRUB menu (2.6.32-21) although we have installed a newer version of kernel (2.6.32-22). To remove the old kernel, simply create a shell script as follow:
  • #/bin/bash
  • ls /boot/ | grep vmlinuz | sed 's@vmlinuz-@linux-image-@g' | grep -v `uname -r` > /tmp/kernelList
  • for I in `cat /tmp/kernelList`
  • do
  • apt-get remove $I
  • done
  • rm -f /tmp/kernelList
  • update-grub
Copy the above script into your favorite text editor and save it. For example, I give "clean.sh" as filename of the script.

Before executing the script you need to add "execute" permission to the file:
  • chmod +x clean.sh
Now, whenever you want to remove old kernel, simply execute the script with root privileges:
  • sudo ./clean.sh
For your information, you can also use Ubuntu Tweak to perform such a task. But, in any condition, you don't have Ubuntu Tweak installed on your system, you can use this simple script to remove old kernel.

0 comments

» read more....