Author Archives: daveti

Unknown's avatar

About daveti

Interested in kernel hacking, compilers, machine learning and guitars.

libmesa conflicts with Gnome 3 on Fedora 18 – run into black screen after libmesa update

A recent update on libmesa caused my Fedora 18 running into black screen during displaying the login screen. Note that Fedora 18 is using Gnome 3 as the default login desktop before you could switch to others, like my favorate … Continue reading

Posted in OS | Tagged , , , , | 2 Comments

excel2csv – Parse Excel file into CSV files / Parse CSV files into CSV data structure

excel2csv is a tool used to read an Excel file in and convert it into a bunch of CSV files or just read a CSV file and parse it into the CSV data structure which could be used by upper … Continue reading

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

iptables, firewalld and Fedora 18

After setting up httpd in my Fedora 18, I was not able to get access to my own web server. I thought it was related with firewall within the local network, like port 80 being blocked. However, thanks to Mingwei … Continue reading

Posted in Network | Tagged , , , | 2 Comments

Add a new syscall into Linux kernel – for fedora 18 with kernel 3.8.7

Adding a new syscall into Linux kernel would be tricky for the beginners (like myself), especially considering the kernel source tree structure changes among different versions. It seems most of the online tutorials focusing on older versions of kernel (2.6.X) … Continue reading

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

Linux kernel linked list

This post gives a sample file used to play with Linux kernel linked list <linux/list.h>, as well as a makefile used to build this kernel module. lsmod, insmod, rmmod and dmesg are needed. The reference is the book “Operating System … Continue reading

Posted in OS | Tagged , , , | 2 Comments

Linux kernel compiling, updating and kernel module compiling, loading and removing

Brief intro to Linux kernel compiling and updating, as well as Linux kernel module compiling, loading and removing. The Linux kernel we are playing with is 3.8.4. 1. Linux kernel compiling and updating Ubuntu: sudo apt-get install wget sudo apt-get … Continue reading

Posted in OS | Tagged , , | Leave a comment

Linux File System / Data Recovery

Recently encountered a kernel panic issue caused by ‘fsck -y’ and reboot, which caused the partition table missing. Tried some tools to recovery the file system as well as the data. Generally, we should never run into data recovery as … Continue reading

Posted in OS | Tagged , , , , , , , , , | 2 Comments

webcam on Linux (Fedora) – issues with Skype

Install a webcam on Linux is kind of tricky. The problem is almost none of the manufacturer would provide the Linux driver when delivering their products. And again, the power of open source community would be the hero again. There … Continue reading

Posted in Linux Distro | Tagged , , , , , , | Leave a comment

Nvidia, sucks – issues related with the official GPU driver and CUDA on Linux (Fedora 18)

Nvidia, you SUCK! If you are planning to install the latest official GPU driver for your latest Linux, which means most probably you wanna try CUDA, then please BE WARE! I had installed the 310.xx version of Nvidia Linux driver, … Continue reading

Posted in Linux Distro | Tagged , , , , , , , | Leave a comment

myssh – an interactive ssh management tool

Inspired by the putty manager on Windows system, I have spent the whole afternoon to write ‘myssh’ – an interactive ssh management tool providing the ability to save, display, choose and connect your ssh connection automatically. I am not sure … Continue reading

Posted in Dave's Tools, Programming | Tagged , , , | 3 Comments