Showing posts with label #kernel. Show all posts
Showing posts with label #kernel. Show all posts

Monday, August 11, 2014

[Solved] Linux Kernel Challenge : 001

Fancy your Linux Kernel Programming skills ? Take this challenge and answer these simple 5 questions related to Linux Kernel Programming.

Update : Added Solutions

  1. What is the latest mainline version of Linux Kernel [ as of 11-Aug-2014 ] ?
      • 3.16 : Ref : https://www.kernel.org/finger_banner

  2. What is the file extension of a Linux Kernel module ?
      • .ko

  3. Which Linux Kernel function corresponds to the insmod user function ?
      • module_init()

  4. Which kernel functions would use in your kernel module to allocate and free memory ?
      • kmalloc() : to allocate memory in kernel address space
      • kfree() : to free memory in kernel address space

  5. What does COW stand for w.r.t Linux Kernel ?
      • Copy On Write :
      • Its an efficient method of copying, where a resource of a page is shared without making a copy of it, until an attempt to write is made. Only then is a duplicate copy made, and all subsequent writes happen on the copy.

Linux Weekly NewsBytes : 1434

Here is a list of the latest, most happening events and news items from the Linux World. Keep reading to find out what's making the most noise around Linux this week.

2014 Linux Training Scholarship Program

KNOPPIX 7.4.0 released
  • [ http://knopper.net/knoppix/knoppix740-en.html ]
  • The good old Linux on CD program that I first heard of, viz., KNOPPIX has released its latest version 7.4.0 that uses Linux Kernel 3.15.6 and comes built-in with tons of softwares that can run on LXDE, KDE or GNOME desktop environments.
Exciting features merged so far in Linux Kernel 3.17
  • http://www.phoronix.com/scan.php?page=news_item&px=MTc1OTM ]
  • Linux Kernel 3.17 release is still a few months away, but there are already a bunch of very exciting features already included in it. Some noteworthy features included are new features for Samsung Flash-Friendly File System, support for plenty of new ARM hardware, Intel Braswell audio support, and others
Oracle delivers Solaris 11.2
Docker comes to OpenSuSE

Better Security with Proper Management of Open Source

Monday, June 30, 2014

[Solved] Linux Commands Challenge : 007

Fancy your Linux Administration skills ? Take this challenge and answer these simple 5 questions related to everyday tasks of Linux Administration.

Winner : Congratulations to Sankar P for getting the highest number [ 2 ] of correct solutions.


  1. How do you restore GRUB bootloader to MBR of your primary hard disk ?
      • grub-install /dev/sda

  2. What does initrd contain ?
      • It contains the initial RAM disk, i.e., the initial root file system that is mounted prior to locating the real root file system

  3. How do you unpack the contents of an RPM without installing it ?
      • rpm2cpio | copi -id

  4. What is the maximum number of primary partitions you can have on a hard disk ?
      • 4

  5. How to boot into single user mode using the GRUB boot loader ?
      • After selecting the kernel you are interested to boot into, edit the kernel command line and add “S” to the end of the kernel command

Monday, June 16, 2014

Linux Weekly NewsBytes : 1426

Here is a list of the latest, most happening events and news items from the Linux World. Keep reading to find out what's making the most noise around Linux this week

RHEL 7.0 released

  • [ http://www.datamation.com/applications/14-apps-to-boost-ubuntu-1.html
  • Whether you use Ubuntu or some other Linux distribution, this article mentions a good list of must have applications. Once you find your set of applications, you can always find out how to install them for your favourite distribution. This article is a good place to start for Linux newbies.
  • http://www.linux.com/learn/tutorials/776643-how-to-rescue-a-non-booting-grub-2-on-linux ]
  • If you like playing around with partition tables and multi-booting various distros and Operating Systems on your machine, I am sure you must have come across some problems while loading GRUB. Here is a simple article that explains you on what to do when 2 such problems happen. Its a simple article that also gives you a good heads up on getting comfortable with GRUB 2
  • http://www.linuxvoice.com/be-a-kernel-hacker/ ]
  • This is a pretty detailed hand-holding article that takes you through your first Linux Kernel Module. For all of you who are keen to start getting involved into Linux Kernel, this is a good way to get a feel of what things would be in the land of Kernel Development. Try it out and feel energised to make your mark on the Linux Kernel.