Archive for the ‘linux’ Category

I got a NAS device and installed Linux

Monday, February 25th, 2013

Today a friend gave me his old NAS as a gift… It is an Acer easyStore H340 with 2 x 1TB harddrives. There was a broken Windows installation on it which I directly replaced with the very nice Debian based NAS solution called OpenMediaVault.

I setup the box within some few minutes and it is wonderful. I must say that I installed the OS on an external USB stick because I wanted a mirrored RAID and didn’t wanted to insert a 3rd harddrive just for the OS. I will maybe add a small SSD or flash on the SATA bus at some time and will then put the OS there… but only if I am not adding two more harddrives… ;) For now everything is nice like it is.

The web GUI is very clean and easy to use. The RAID was also setup within the web GUI. Everything is just some clicks and you’re done… :)

I am happy about this new device!

Posted in: linux

New Year; Back Online; New Linux Distribution

Thursday, February 14th, 2013

I was not very active in the past few month on writing here. Now I am back!

The new Year began with a very hard influenza and I was in bed for nearly 3 weeks… In that time I thought a lot about what to do next. After Christmas I ordered a SSD disc for my Thinkpad and I am impressed. The system boots in a few seconds now. I upgraded my RAM from 4GB to 8GB too… ;)

Since I am producing electronic music (techno and trance) again, I needed to install Windows on a seperate Partition because the latency is not acceptable when running it in a virtual machine. Making music with Linux is not possible if you want to do it not just for fun… :(

With this decision I replaced my Gentoo Linux installation with the wonderfull Gentoo based Linux distribution called Sabayon. I have tested it some time ago and I really like it. I have the power of Gentoo and I don’t have to compile everything. Thanks to Gentoo and all the developers! After more then 10 years of Gentoo usage I switched… BTW: My Servers are still running Gentoo! ;)

I also added a new page to this site in the main menu. You will there find my selfmade electronic music!

Posted in: fun, life, linux, music

Sabayon – A Linux distribution for everybody…

Thursday, August 30th, 2012

Because Frank, a friend of mine, where looking for an alternative to most well known Linux distributions and he even likes the Idea of Gentoo, I told him about Sabayon Linux yesterday. I have heard of it long time ago but I never gave it a try. Since I am a hardcore Gentoo user I never needed to switch since more the twelve years. I tried Fedora, OpenSUSE, Debian, Ubuntu, some other Linux based distributions and even FreeBSD but I never felt very well and always switched back to Gentoo.

I downloaded the Xfce based ISO file today and installed it in a virtual machine running in VirtualBox. It was so easy to install and everything worked right out of the box. The installation took about 20 minutes and then I was impressed. It runs fast and without any errors. It has its own package management but even the wonderful portage package management is available for installing self optimised packages or even simply my own software packages used on Gentoo.

I need to evaluate this distribution a little bit more before I can say “Yes! That is what I want.” but for now I am very excited!

If you are looking for fast and reliable distribution with the power of Gentoo, is the right place to read more…

I will post my experiences here in the future and maybe (I don’t think so… :) I will try Sabayon as host operating system some day…

Have fun! :)

Posted in: linux, opensource

Building a working toolchain for AVR and Arduino development using Gentoo Linux

Wednesday, November 23rd, 2011


Gentoo‘s crossdev is not able to compile a toolchain with one command in one process. Since I am using Ardunio for embedded prototyping I really needed to fix this!

If you don’t have crossdev installed just execute:

emerge crossdev

Here you find more information about crossdev

crossdev is modifying /etc/portage/package.use while compile time… :/ Before stage2 it adds the obsolete USE=”nocxx” flag to cross-avr/gcc. If you have USE=”cxx” flag set in /etc/make.conf or when USE=”cxx” is not set in make.conf it will fail to build; I think it is a default value. So you need to add USE=”-cxx” in /etc/make.conf at the beginning of the process. When crossdev reaches stage2 it removes USE=”nocxx” in /etc/portage/package.use and expects USE=”cxx” and not USE=”-cxx” in /etc/make.conf. If the compile error rises up, simply change USE=”-cxx” to USE=”cxx” in /etc/make.conf. Then execute the crossdev command again. Since everything before gcc stage2 is compiled already, crossdev is not doing it again and continues at gcc stage2 with the USE flag changes set.


  1. /etc/make.conf: USE=”-cxx”
  2. crossdev -t avr
  3. Compile error at stage2
  4. Change USE=”-cxx” to USE=”cxx” in /etc/make.conf
  5. crossdev -t avr
  6. Installation complete! :)
  7. ln -s /usr/i686-pc-linux-gnu/avr/lib/ldscripts /usr/avr/lib/ldscripts

    This is filed in Gentoo bug #147155.

  8. For each AVR MCU you are using you need to do this:

    ln -s /usr/avr/lib/avr5/crtm168.o /usr/avr/lib/crtm168.o

    The Arduino IDE gives an error if the library for the used MCU is not found! Simply create a symlink for it and everything works… :/

  9. All done!

After all this pain in the last two days I have decided to build my own AVR toolchain in the future. I will never again go through this evil process of installing all this with packages provided by a Linux distribution regardless of Gentoo…

More about:

For Arduino users this solution does not fix the following problem:

It seems Gentoo is using a broken version of the avr-gcc toolchain. I have tried installing older versions of gcc, binutils and libc for AVR but with no luck. It took hours trying this out… :/

All the time I am getting problems related to the error described in the link from Archlinux above or much more complex problems I don’t wanna talk about. I am using the workaround described above for now but I think there must be a solution for these problems in the future.

I think this does not only happen for Arduino users because the compiled file implies the broken data and when writing it to an AVR using avrdude your program is broken regardless of Arduino. This is a problem for all people trying to use Gentoo for AVR development. After talking to some people on the Arduino develper list it seems not only Gentoo is broken at this place. Many distributions are shipping the latest avr-gcc version, utterly unaware how broken the most recent versions usually are.

I hope this information is helpful to someone and I wish good luck… ;)

BTW: I am using the wonderful GNOME based Arduino IDE called Gnoduino which I found by researching my problems today… ;) Give it a try! I love it because it natively runs on my Desktop, not GNOME but Xfce, without the use of JAVA.

Just ask me if you have questions!

Posted in: DIY, embedded, linux

Red Alert in Wine

Sunday, August 28th, 2011

Yeeehaaa, I found a Command and Conquer Red Alert 2 disc at home today… what a feeling. After some bit of hacking it runs nicely in Wine on Gentoo Linux… ;) Wow, the good old days are back!

Posted in: fun, linux




Account ACTA Amsterdam Android App Arduino Arm Attiny Automation Avr Beach Board Book Bootstrap Circuit Clouds Code Community Cross Css3 Cyanogen Denhaag Denmark Desaster Deutsch Device Distribution DIY Dotnet Electronics Embedded Extension Extension news Firefox Foo Fosdem Freedom Freifunk Friends internet Fun Games GCC Gentoo German Git Gnoduino Hamburg Header Hello Holiday Host Howto HTML Html5 Httpd Internet Irc Jabber Javascript Keitum Kernel Language Lcd Led Lego Leiden Leo Leo-search Life Linspector Linux Madurodam MariaDB Matrix Mindstorms Minimal Mirror Mobile Monitoring Moon Music Mysql Nagios Nas Netduino Netherlands Network News NXT Ooc Openmediavault Opensource Openwrt Patents Pcsc Petition Photo Photos Php Politics Programming Python Question Recovery Robotics Rsync Sabayon Scheduler Scm Sensor Server Service Shell Simulation Smartcards Snow Soap Society Software Starwars Static Sun Sweden Sylt Techno Telemichel Toolchain Translation Vpn Website Wget Wine Wiring Wordpress Wsdl Xmpp Zsh Zynk