Tag Archives: Linux

crypto – use Linux kernel crypto API

Crypto is an important part of the Linux kernel source code. One can tell from the standalone crypto directory under the kernel source tree. Device drivers, file system and security all need crypto. This post does not help understand the … Continue reading

Posted in OS, Programming, Security | Tagged , , , , , | 3 Comments

Gumstix Overo – USB gadget mass storage

This post introduces the general procedure to make gumstix overo work as an USB gadget mass storage using the Yocto Linux. Thanks Adam Lee (Gumstix) for the gadget configuration consulting and debugging. Thanks Tyler Nichols (OSIRIS Lab) for the hardware … Continue reading

Posted in Embedded System, Linux Distro, OS | Tagged , , , , , , , | 121 Comments

top or glances – trust on /proc/meminfo

You may notice that the output of top and glances differs on memory usage (if you are using top and glances the same time). This post will disclose some details about memory info collection by glances and top. And the … Continue reading

Posted in OS | Tagged , , , , , | Leave a comment

Hack – make VMware Player 6.0.1 start on Linux kernel 3.13.X

If you were using VMware Player 6.0.1 on the latest Linux kernel 3.13.X and not able to get it started. Please read thru this post. 0. Error – failure to build vmnet Inspect the VMware starting log /tmp/vmware-root/modconfig-XXXX.log, we may … Continue reading

Posted in OS | Tagged , , | 14 Comments

Fedora 20 – some post installation issues may bother

Even though Fedora wiki has posted some common issues after the system is upgraded into Fedora 20, interestingly, none of them applies the issues I have encountered:( Anyway, this post is for guys who may have a little bit chance … Continue reading

Posted in Linux Distro | Tagged , , , , , , , | 1 Comment

create Linux kernel proc entry – some good-to-know tricky stuffs

It costs me 2 days to make a kernel module written few years ago back to work again. However, there is nothing fancy within the module except adding a new proc entry under /proc/sys/net/ipv4, which I would never know is … Continue reading

Posted in OS, Programming | Tagged , , | 1 Comment

Official Ubuntu Linux kernel build (with IMA enabled)

As a branch of Debian, Ubuntu shares the same ideas on Linux kernel build, but with some difference. This post takes a great reference to the Ubuntu official wiki page on how to do kernel build. Moreover, we are going … Continue reading

Posted in OS | Tagged , , , | 3 Comments

nex – Linux netlink programming for kernel and user spaces

There are ways to communicate with Linux kernel, including /proc, debugfs, syscall and etc. Most of them are unidirectional, from the kernel to the user space. /proc could be used to ‘write’ to the kernel but mostly in small data … Continue reading

Posted in Dave's Tools, OS, Programming | Tagged , , | Leave a comment

Build official Debian linux kernel

Comparing with ‘normal’ Linux kernel build, the ‘official’ Linux kernel build for each distribution is confusing and awkward. Debian 7.1 Wheezy may be friendly but still needs cautions. The good thing is you do not need to patch the original … Continue reading

Posted in OS | Tagged , , , , , | 1 Comment

fsl – Fedora Security Lab

fsl (Fedora Security Lab) is a customized Fedora OS for security hack/test based Fedora 19. Like the famous BackTrace Linux, fsl has integrated a butch of security tools. To take the advantage of fsl, either security liveCD or all the … Continue reading

Posted in Dave's Tools, OS, Security | Tagged , , , , , | Leave a comment