Android Studio: hax kernel module is not installed

I faced a strange problem with installing HAX kernel module on Windows 7. How to Install Check if you have HAX downloaded. Do it by going to SDK manager and under extra, look for Intel x86 Emulator. Check it, if it was unchecked. Now, look for SDK path in the SDK Manager window, top left. [...]


Netlink Sockets: Addind a new socket family

Kernel version 3.13, Ubuntu 14.04 $ uname -a Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux We need two changes: User space Locate the file "netlink.h" $ sudo locate "netlink.h" You would get the header file at "/usr/include/linux/netlink.h" Add the new family #define NETLINK_MY     17 Keep [...]

Handbrake: Installation on Ubuntu 14.04 64-bit

Get sources link apt-get update sudo apt-get install bzr subversion yasm build-essential autoconf libtool zlib1g-dev libbz2-dev libfribidi-dev intltool libglib2.0-dev libdbus-glib-1-dev libgtk2.0-dev libgudev-1.0-dev libwebkit-dev libnotify-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev sudo apt-get install libass-dev libtheora-dev sudo apt-get install libvorbis* sudo apt-get install samplerate* bunzip sources go to ./build make make install

Netlink Sockets: Linux Kernel-User communication (PART I)

Ubuntu 14.04, Kernel version 3.11 Netlink sockets provide full duplex, asynchronous, low-overhead communication channel between user-kernel space processes. Other solutions such as ioctl(), sysfs, UDP sockets are either blocking (hence expensive) or slow (UDP has more overhead compared to Netlink) and complex. Netlink can carry data buffers on a return trip from kernel to user [...]

Linux Device Driver Development: Block Device Driver

It is my very first interaction with Linux kernel at device driver level. My objective is to develop a block device driver, very simple, that just forward I/O requests to a virtual device. This post explains my observations limited to attacking the problem.Block v/s Character DeviceLinux support block and character device drivers. Only block devices [...]

Linux FUSE Internals for developers

In this post, I will cover FUSE internals for FUSE 2.9.3.Install package fuse and fuse-devel on CentOS.getattr() is a must in a FUSE file-system. Any lame implementation is okay;Just be careful of the file size in stat structure. If you forgot to compile user file system with 64-bit flags on. Otherwise the statst_size is signed [...]

Google App Engine: Data store with async calls

Google Data Store provides single core CPU  (F class) for applications. Hence heavily multi-threaded applications can't scale enough DataStoreprovidesasync calls for DB access. It has: Async queries Async transactions Async read/writes Documentation is good but lacks clarity on usage and benefits on async calls. It says that async queries can run in parallel after immediately [...]