February 23rd, 2008
About 2 weeks a go I bought my self a Syba 4 port PCI SATA controller based on the sil3144 chip. I then spent a week trying to figure out why, while working perfectly in Linux and FreeBSD, I couldn’t get it to work in Nexenta. After flashing the card with the non-raid version and a lot of googling, I decided to try a different flavor of opensolaris just in case. I downloaded BeleniX and gave it a go only to have the same problem. The BeleniX CD has a “no acpi” option which I tried just for the sake of it. I was very pleased of course when the controller actually worked. The no acpi option is passed to the opensolaris kernel via a “-B apci-user-options=2″ more info here
Posted in Nexenta, OpenSolaris | No Comments »
February 4th, 2008
The Egyptian ministry released a statement saying: “A marine transport committee investigated the traffic of ships in the area, 12 hours before and after the malfunction, where the cables are located to figure out the possibility of being cut by a passing vessel and found out there were no passing ships at that time”.
After 4 under sea cables have been cut in the past week, conspiracy theories emerge.
Posted in Egypt | No Comments »
February 2nd, 2008
Not 100% mind you, but something like 70% after 2 undersea cables were damaged due to ship anchors.
I phoned my Family in Alexandria, Egypt and they tell me that the Internet is so slow it is unusable. I can’t imagine living without broadband let alone without Internet at all.
Posted in Egypt | No Comments »
January 30th, 2008
For some time now I have been flirting with the idea of getting myself a Network Attached Storage (NAS). I get excited about the idea of having all my important files and stuff on a single device that supports raid 1. I can then reinstall Ubuntu on my laptop as many times as I want without having to worry about moving data somewhere safe first. I will not have to give up my laptop to my wife because that is where we keep all our personal digital photos and videos and she really wants to send the latest snapshots of our daughter to her mother… NOW.
If you look at what is available on the market you can see that the cost of these devices are tremendous. The much cheaper alternative is to build something myself. I had a dual PIII 800MHz machine but I thought that was an over kill. I want this to consume the least possible amount of power and to run as cool as possible. When I found a old celeron machine at Uni I decided that I would put something together. I attached 3x 14GB IDE hard disks and a CD drive and had myself an ugly but functional machine.
I looked at FreeNAS which is based on monowall which in turn is a based on a minimal FreeBSD system. What is really cool about FreeNAS that it easily fits on a USB or CF disk and moves your machine towards being an appliance with all the benefits that include less heat and better reliability.
Being a bit paranoid I decided I would not accept anything less than ZFS for my data. I believe it is the only file system that detects silent data corruption. It also has a lot of hype surrounding it and I have being wanting to play around with it for a while. The current versions of FreeNAS do not have ZFS support, but when FreeBSD 7.0 comes out it will have native ZFS support. This means that FreeNAS will gain ZFS support at some stage. I, however do not want to wait.
Enter Nexenta, a distribution based on opensolaris with a GNU userland. I wasn’t completely at home, coming from a Linux background and I noticed that some of the command line tools support different command line options, but here is the best thing about Nexenta… It uses apt for its package management. I truly believe that apt is the best tool out there and is what drew me to Debian in the first place. It also has some nifty features like support for ZFS root file system and a tool called apt-clone that takes a ZFS snapshot of the system before major upgrades and allows you to revert if the upgrade goes wrong. All this without rebooting so no downtime. To summarize Nexenta is an interesting project and I will use it to build my NAS.
I installed Nexenta Alpha7 and created a zpool out of 2 of the disks changed the mount point to /mydata and shared it via NFS (ZFS has built in NFS/NFS4)
zpool create mydata mirror c0d1 c1d0
zfs set mountpoint=/mydata mydata
zfs set sharenfs=on mydata
After a while I realized that the Alpha7 version was not the latest and I wasn’t able to upgrade to the latest via apt! I installed Nexenta 1.0 RC3 and was able to import my old (mydata) ZFS pool. running zpool import will show all available pools that can be imported.
root@sun:~# zpool import
pool: home
id: 14253621109838762705
state: ONLINE
status: The pool is formatted using an older on-disk version.
action: The pool can be imported using its name or numeric identifier, though
some features will not be available without an explicit 'zpool upgrade'.
config:
home ONLINE
c0d0s1 ONLINE
pool: mydata
id: 7749473723610951541
state: ONLINE
status: The pool is formatted using an older on-disk version.
action: The pool can be imported using its name or numeric identifier, though
some features will not be available without an explicit 'zpool upgrade'.
config:
mydata ONLINE
mirror ONLINE
c0d1 ONLINE
c1d0 ONLINE
I had to use -f (force) to import my previous pool
root@sun:~# zpool import mydata
cannot import 'mydata': pool may be in use from other system
use '-f' to import anyway
root@sun:~# zpool import -f mydata
I was then able to upgrade the ZFS pool
root@sun:~# zpool upgrade
This system is currently running ZFS pool version 10.
The following pools are out of date, and can be upgraded. After being
upgraded, these pools will no longer be accessible by older software versions.
VER POOL
--- ------------
3 mydata
Use 'zpool upgrade -v' for a list of available versions and their associated
features.
root@sun:~# zpool upgrade mydata
This system is currently running ZFS pool version 10.
Successfully upgraded 'mydata' from version 3 to version 10
And finaly I get to see my pool up and running
root@sun:~# zpool list mydata
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
mydata 12.6G 9.30G 3.33G 73% ONLINE -
root@sun:~# zfs list mydata
NAME USED AVAIL REFER MOUNTPOINT
mydata 9.30G 3.13G 9.30G /mydata
I must say I am happy with my NAS. All I need is to get some large disks in there and I am good to go. I also look forward to get some experience with Nexenta and ZFS. I wonder if you can fit Nexenta onto a 128MB or 256MB CF card?
Posted in Me, Nexenta, OpenSolaris, ZFS | 1 Comment »
January 17th, 2008
Is this a poor geeks dream or what? It is like I have been dreaming for a small low cost laptop for years and then all at once every one wants in on this market.
Acer is looking to enter the low cost laptop market with 8″ - 9″ designs. Gigabyte also announced that it will produce what seams to be a low cost laptop due in June. Linux is not mentioned in either case but given the success of the other low cost machines with Linux I would say it is reasonable to assume that there would be a Linux version of both laptops.
In other news, Everex plans to expand their cloudbook line with some nifty ideas.
Posted in Linux, small laptops | No Comments »
January 16th, 2008
I can’t say I saw that coming, but it happened!
Posted in mysql | No Comments »
January 11th, 2008
If the cool (and cheap) Linux laptops were not enough, Shuttle is going to produce $200 Linux PCs. Sure the specs are not so good, but that looks like a good mythtv frontend to me. Or maybe a NAS that doesn’t have to live in the closet?


Posted in Linux | No Comments »
January 10th, 2008
Different people like different things. Different people fantasize about buying different things. I fantasize about gadgets. My latest fantasies have been about the ASUS EeePC. The 4G model sells for $399, has a 7″ 800×640 screen, runs Linux and looks beautiful.

This is the sort of laptop that I have always dreamed of having yet could never afford. The only thing that is not perfect is the relatively low 800×640 resolution. At CES this year, ASUS have announced 8″ and 8.9″ versions of the EeePC. The 7″ and 8″ EeePCs are the same size and the screens have the same 800×640 resolution. I am hoping that the 8.9″ EeePC has a 1024×600 resolution. Interestingly ASUS EeePcs have been seen running splashtop (an instant on Linux based OS). Could things get crazier ?
Also of interest is the Everex cloudbook (also $399) based on the VIA nanobook design. It has been announced to start selling on the 25th of this month. The cloud book as a longer battery life and a 30GB HDD (vs the 4GB SSD on the EeePC). If after looking at the pictures, you are wondering where the touch pad is then take a look at this video

Anyway between them there should be a very cool laptop waiting to be bought when I visit the USA in July. If you are as interested as I am then suscribe to the RSS feeds of Cloudbooker and Eeeuser
Posted in Linux, Me | 2 Comments »
January 6th, 2008
I was just reading slashdot and I found this comment. I found it so funny I thought to share it
MCSE (Minesweeper Consultants, Solitaire Experts).
Posted in Me | 1 Comment »
November 12th, 2007
I am writing this post from SC07 in Reno NV, USA. I am presenting a poster titled The Sony PlayStation 3 and the NVIDIA 8800 GPU: Performance and Programmability Evaluation for Machine Learning. Big title, huh?
I am really happy to be here. This is my first conference and so far I am impressed. Yesterday I attended the High Performance Computing on GPUs with CUDA tutorial. It seams that this tutorial had the largest registration in the history of SC. It was really good (even though I already new alot of the stuff). They had a very good talk on performance optimization which I am of course interested in as I am working on the NVIDIA 8800 GPU.
I hope that I can create some good contacts and meet some new people.
UPDATE:
I got an email a few days ago that pointed out to me the fact that my SC07 poster is not available for download anywhere! I am remedying this by uploading it here
Posted in ANU, Me | 2 Comments »