Page 9 of 12

First semester almost over

My first semester at the University is almost over. I did not touch that much my research project, but I had a lot to do anyway.

I took three courses. The first was Category Theory, the “theory of arrows” as the professor defined it, or abstract mathematics for humans. The second was Norwegian Level 1, pretty self-explanatory. The third was Theory of Science and Ethics, an interesting course about possible ethical implications of scientific research. In the latter, I had to explain my research plan in about 300 words comprehensible by “a guy on the street.” It seemed trivial at the beginning, but believe me; it was not. In the end, I reached a good compromise between understandability and detail. Maybe I will upload it here as well, at least some of my friends will understand what I am doing. 🙂

I have also been teaching assistant for Programming II, a course about programming methodologies in Java. I was preparing the mandatory assignment and corresponding solutions, organising the students into groups, and last but not least administering a Subversion server, something that took so (too) much time. It was strange to be at the same time a student and a teaching assistant.

I had some little trip at least. During Easter, I visited Sognefjord and slept in Selseng, Sogn og Fjordane. I had and unforgettable experience there: a bath in an outdoor jacuzzi with 40 degrees (Celsius) in the water, and -20 degrees in the air… And to complete the magical atmosphere: clear sky, full moon, mountains covered by snow, beer, and excellent company. Almost a perfect night, thank you guys!

I have also been in Lindås, Nordhordaland, with the Department of Informatics. We had the research school there, a series of seminars mainly given by PhD candidates and post-docs. The social event was canoeing, and there I had the chance to try my new waterproof camera. Yes, the Canon EOS is great, but I wanted a point and shoot camera for extreme situations, so I bought a new Olympus 1030SW: waterproof, shockproof, crushproof, freezeproof… I can do almost everything with it! But I also bought two new Canon objectives, an EFS 17-55mm f/2.8 and an EF 50mm f/1.8, together with a new Sigma 530 flash and a Gorilla Pod SLR, just to avoid my reflex camera to become jealous. 🙂 You probably saw an improvement in the quality of the pictures, right? 😛

What else? Well, next Sunday I will hike all the seven mountains surrounding Bergen in one day. It is an annual event, called 7-fjellsturen (literally the seven mountains trip). I am exercising a bit more this week to be in shape for the event. Let’s see what happens.

Tribute to Škoda Fabia

Škoda Fabia

Yesterday I drove a car after again after several months, and I understood how much I miss driving and especially driving my first and only car. It was a Škoda Fabia 1.9TDI silver colour, bought in 2001 and sold in Christmas’ Eve 2007 because of my move to Norway.

I had to do it a long time ago: this is my tribute to the car that drove me all over Italy and Europe, giving me a lot of satisfactions and not showing a single problem despite my GT drive style. 🙂

Goodbye, my dear Fabia…

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. 🙂

Changes, changes, changes…

It has been about five months since I moved to Norway, and I can say that “I’ve seen things you people wouldn’t believe…”

Well, let’s start with my social life. My goal of having a network of (mainly) local friends has been a partial failure yet. People here seem to need more time to get confident with someone, although girls appear to be more open than guys. Of course, this may very well be just because an Italian man can be quite exotic to them, as my local friend Mikal pointed out many times. 🙂 I still feel confident about the future though, especially once I will be able to speak Norwegian fluently.

In the end, I managed to create a little network of international friends around me. Lovely persons, who helped me in the difficult moments and who gave me a lot of good memories. My special thanks go to Mikal, Federico, Silje, Petra, Sonia, Valentin, Enrichetto, Diego, Fabio, and Regine, (merely ordered by who I met first) for all the moments shared together.

I finally started studying Norwegian. Here the approach with the local languages is completely different from what I am used to having in Italy. There are two official standards of written Norwegian: Bokmål, which is the one I study (literally “book language”, used by 85% of the population) and Nynorsk (literally “new Norwegian”, used by 15% of the population). On the contrary, there is no officially sanctioned standard of spoken Norwegian. My course is a 48-hour intensive course, and I although my Norwegian skills improved considerably, it is still impossible to jump into a conversation for me. I am mainly trained to listen to the spoken dialect of Oslo (or urban upper class Eastern Norwegian, as someone would call it), but in real life, Norwegians use to speak their dialect with each other, and the differences can be significant. You can imagine how challenging this can be for someone who is only at the beginning of the learning process. Anyway, I will continue with an intermediate course the next year, not only because I want to improve my skills but also because I have to be ready to speak Norwegian fluently as soon as possible.

The reason is that another big change is going to happen again in my life. I was a bit unsatisfied with my work lately, so I decided to come back to my original plan of continuing my studies. Becoming a researcher has been one of my biggest ambitions, so I applied for a PhD research fellowship position at the University of Bergen, and I got it. The position consists of three years of research and one year of teaching, meaning that I will live in Bergen for a long while. I will start in January, and I will probably be travelling several times to conference and spending months abroad as visiting researcher, hopefully in some sunny, warm place where I will be able to charge my batteries. 😉 I will do research in the field of model-driven engineering, under the supervision of Uwe Wolter and Khalid A. Mughal. It was a difficult choice, but I feel it was the best for my life, and I am looking forward to starting this new experience.

That’s all at the moment. Please, keep the finger crossed for me once more. 🙂

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!