Wednesday, June 5, 2013

Freebsd Kernel Modules with asm volatile

Unlike in Linux kernel kernel modules FreeBSD kernel does not support asm volatile ("blah blah");, you have to change the instruction __asm__ ("blash blash"); its two _ not one. Best of luck kernel hackers.

Monday, May 6, 2013

Building GCC 4.1.2

When you build gcc 4.1.2 if you get this error /usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
Create a symlink asm directed to asm-generic
sudo ln -s /usr/include/asm-generic /usr/include/asm
Bingo..

Sunday, May 5, 2013

Raspberri Pi: FreeBSDARM

I recently moved from Debian to FreeBSD on my Raspberry pi. This thread will help you to go easy with raspberry pi. 
Probelm  1:
 /usr/ports missing
you have to run
portsnap fetch
and then portsnap extract
 /usr/ports directories will be created and ready to go.

Friday, April 12, 2013

Miss my home a lot in the Awurudu Season

සත් ගව්වක් සිටියත් මුහුදෙන් එතෙර
සිතිවිලි පොඩිති මතුවේ අවුරුදු ජයට
තෙල් පිටි සුවද නහයට ඇවිදින් වදින
දුවගෙන එන්න හිතෙනව අම්මේ ගෙදර

Sunday, March 10, 2013

Money vs Life



    With money you can buy a house, but not a home.

    With money you can buy a clock, but not time.

    With money you can buy a bed, but not sleep.

    With money you can buy a book, but not knowledge.

    With money you can buy a doctor, but not good health.

    With money you can buy a position, but not respect.

    With money you can buy blood, but not life.

    With money you can buy sex, but not love.


Where are you :(


Chicken Cheese Kottu: Made in Australia














Monday, February 18, 2013

Parata: Made in Australia

I made parata .. mmmmmmmmmmmmmmm tasty..  Sorry.. if the pix are out of focus.. This is the best I can do from my Samsung Galaxy SII.












Saturday, February 16, 2013

Happy Bday amma..

Wish you a happy birthday amma......

Monday, January 7, 2013

PhD කවි II

හිත මිතුරු සුලග මේ එන Heat Wave එකට කියන්..
අද නොපැමින වෙන දිනයක උනුසුම රැගෙන එන ලෙසින්...
Supervisor ලගදිම පැමිනේ පිට රටකට ගොසින්
වැඩ නොකලොත් ඔහු එලවාවිය මා හැරෙන තැපෑලෙන්..

Saturday, January 5, 2013

A Picture Tells 1000 Words

He might be the most poorest man in the world from money.. But he is the second richest man from love.... Ah who is the first.. That is ME!!!! :)