Category: Technology

Iomega UltraMax Plus—A Linux-friendly External Hard Drive with RAID support

Lately, my home folder began to run out of space, so I started to look around for an external hard drive. I wanted a solution comprising at least 1TB space, RAID 1 support and USB 2.0 connector (since the last NAS I tried did not transfer more than 10Mbit/s). Obviously, the drive had to work out-of-the-box with GNU/Linux.

The most attractive solution seemed to be the WD MyBook Mirror, but various GNU/Linux forums including the Ubuntu ones had many posts reporting compatibility problems. The RAID control software is Windows-only, and the drive tends to spin itself down under GNU/Linux, causing the kernel to give up on it and disconnect the device.

It seemed almost like there was no other solution but I found out that Iomega produced what I was searching for. The Iomega UltraMax Plus includes eSATA, USB, FireWire interface connections plus RAID 0, 1 , and JBOD features. And it even looks cool! 😉 I could not find any information about possible compatibility issues with GNU/Linux, but I decided to buy it anyway. I have not been experiencing any issue since I received it one week ago. The RAID configuration is chosen via a hardware switch on the back of the drive, and GNU/Linux seems to handle it correctly. I recommend it to anyone.

NWPT’08

As always with some delay, I can finally write a bit about what my experience at the NWPT’08 workshop in Tallinn, Estonia. The trip started immediately with some strong emotions: my colleague Adrian realised that he forgot the passport home just before catching the taxi to the airport, so we asked the driver to run to his place first and to the airport next. Fortunately, we made it, and late in the night, we were in the old city of Tallinn.

The workshop encompassed several theoretical presentations, and I have to admit that I did not understand many of them, but this is probably (hopefully? 🙂 ) normal when people are coming from heterogeneous fields of research. I finally had my first presentation as well. We had indeed two extended abstracts accepted at the workshop, and I presented the one titled “Version Control in MDE.” Despite the initial stage fright, I have to say that the presentation was smooth.

I had the chance to go a bit around the old town of Tallinn during the weekend, and I loved it. There is a lot of history everywhere, and sometimes it seems to be back in time. However, despite the old-fashion look, Tallinn is ahead in time for what concerns the adoption of Internet. In fact, Internet access is available for free everywhere through WiFi. Note that with “for free” I do not mean that you can steal the connection from some unwary network owner, but that the municipality provides it. Estonian people I met seemed helpful and friendly, and most of them were able to speak English fluently. In the end, it was a pleasant experience, except for the last detail…

The journey back to Bergen was a sort of odyssey. We had a connected flight to Bergen, with a stopover in Copenhagen. The day that we were supposed to leave, we woke up in the middle of an extreme snow storm. Our flight was not cancelled, so we had to reach the airport at 16:30, with expected departure at 18:00. The taxi driver had even problems to come to the airport because of loads of snow all over the streets. The situation did not look promising at all, but the Airport kept delaying our flight rather than cancelling it. After waiting many hours at the gate with no precise information, the flight was eventually declared cancelled at 00:00. The airline could not provide us with a hotel since they had to handle many cancellations during the day. After having our flight rescheduled for the day after, we had to come back to our hotel, where they, fortunately, had two rooms available for the night. But the story does not end here. We had the same schedule for the day after, but luck was not with us. The flight took off at 21:00 instead of 18:00, and we apparently missed the connection in Copenhagen. We hoped that they could reschedule us to take the last flight from Copenhagen to Bergen at 22:45, but guess what? It was cancelled due to another snow storm in Stockholm, which meant another night abroad, this time at a Radisson SAS hotel. After more than two days of journey, we finally landed in Bergen the morning after.

MoDELS’08

One month ago I attended the MoDELS’08 conference in Toulouse, France. Sounds important, isn’t it? 🙂 Well, it was to me. MoDELS’08 has been the first international conference I attended, and I am glad that I started with a relevant one. I had the chance to go there because my colleague Adrian and I had the paper “A Tentative Analysis of the Factors Affecting the Industrial Adoption of MDE“—the first paper accepted in my PhD programme—at the ChaMDE 2008 workshop, a satellite event of the conference.

The six-days conference had plenty of researchers from all over the world, including many of the “big names” in software engineering. Getting in touch with some of them was an honour. Many of the works presented at the conference were interesting. I even learned what “megamodelling” means. In my opinion, megamodelling is the most childish keyword ever appeared in computer science… However, the majority of these works were rather theoretical. The industry may never adopt model-driven engineering if the academy does not (quickly) provide anything useful to them. Of course, theory is fundamental, but sometimes I had the feeling of listening to speakers “selling thin air” rather than showing concrete results. Maybe one day I will be selling thin air as well, who knows… But for the time being it seems to me that research is software engineering is taking a dangerous path.

The city of Toulouse is gorgeous. So old and so modern at the same times, it offers a lot of sightseeing, attractions and restaurants where we had delicious meals and wines. I am waiting to upload a bunch of pictures on Flickr. Unfortunately, my Ubuntu 8.10 provides a buggy version of Digikam, and I have to wait for the developers to read my bug report and fix it.

That’s it folks at the moment. My next destination? NWPT’08 workshop in Tallin, Estonia, where I will have my first presentation. 🙂

2008 has started… So does my PhD programme

Fortunately or unfortunately 2008 has come!

I had a pleasant time with family and friends during my vacations in Italy, despite the bad weather and a flu. Fabio has been a great host: he showed me Milano, Sondrio, Como, and the surroundings of the Como’s lake, in other words, a kind of “Lombardia in a Nutshell” trip. 🙂 I also enjoyed New Year’s Eve so much, thanks to the company of Andrea, Hilde and all their friends.

But at the end, as expected, I had to come back in the rainy Bergen… And here I am, without being homesick yet. Today is an important day in my life, as I finally started the PhD programme here at the University. The staff at the Department of Informatics was kind to me, and the working environment seems pleasant. First, they toured me around the building and introduced me to the various researchers and professors. Then, they gave me the key of my office, which is located on the fjord side of the building. And a note for my geek friends: the office has a powerful Dell PC with a 24” LCD monitor, running Fedora GNU/Linux 8. 🙂

All in all, I could not wish a better welcome. Looking at this result, it seems that some people kept their finger crossed for me. 🙂

How to install XenServer 4 on systems with Realtek RTL8111/8168B based network adapters

Disclaimer: These instructions are provided on as-is basis. The procedure has been tested on two different hardware configurations, but do not blame me if it does not work on yours.

The latest version of Citrix XenServer Express Edition misses support for Realtek RTL8111/8168B-based Gigabit network adapters, which are quite common. When trying to install XenServer on a system equipped with this card, the installation will stop reporting the error “No Network interfaces found on this host.”

Even though the issue was reported several months ago, no updates have been released for XenServer since the 17th of August 2007, date of the 4.0.1 release. The official procedure for installing additional drivers—also suggested by Citrix in the support forum—seems overcomplicated and at least with my systems, it did not work. So I decided to write this article about how to install the last version of XenServer on systems equipped with Realtek based Gigabit network adapters.

Just follow these steps:

  1. Download the r8168.ko kernel module
  2. Copy the r8168.ko file to a removable storage
  3. Boot the XenServer 4.0.1 Installation CD
  4. Select the Keymap
  5. Once in the “Welcome to XenServer” page press Alt+F2 (you should get a bash shell with root access)
  6. Issue the following commands:
    #> mkdir storage
    #> mount /dev/sdb1 storage (I assume that the removable storage is /dev/sdb1, change it accordingly to your configuration if this is not the case)
    #> cp ./storage/r8168.ko /lib/modules/2.6.18-8.1.8.el5.xs4.0.1.125.163xen/extra/
    #> depmod -a
    #> modprobe r8168
  7. Press Alt+F1;
  8. Complete the XenServer installation and reboot;
  9. Boot the system; (you can ignore the errors caused by missing network adapter)
  10. Login as root;
  11. Issue the following commands:
    #> mkdir /mnt/storage
    #> mount /dev/sdb1 /mnt/storage
    #> cp /mnt/storage/r8168.ko /lib/modules/2.6.18-8.1.8.el5.xs4.0.1.125.163xen/extra/
    #> cp /mnt/storage/r8168.ko /lib/modules/2.6.18-8.1.8.el5.xs4.0.1.125.163kdump/extra/
    #> depmod -a
    #> reboot

Now XenServer should finally boot with the network card up and running.

Cheers!