AstroGarrobo Beta
Space, the Final Frontier! This is the tale of one Amateur Astronomer that have found in openSUSE a terrific tool for public outreach, self-learning and teaching platform.
Ok, that was a bit exagerated.
But the truth is that I am enjoying the new SUSE Studio suite. And that’s because it is facilitating my job as an educator. I work with the Nicaraguan Amateur Astronomers Society (ANASA) in teaching basic astronomy to the public. Obviously, my workhorse is an openSUSE laptop, loaded with Stellarium, Celestia, KStars and Xephem (and many other tools for my personal job as an astronomer).
For a long time, I’ve been advocating the use of openSUSE as the reliable, user-friendly and safe Linux distribution that it is, but I face a big barrier: the big majority of people attending our astronomy lessons does not have the needed technical skill and knowledge to install a new operative system, specially one like Linux.
So, I’ve decided to build a Live CD using SUSE Studio, focused entirely in provide the same basic tools for learning the sky and their basic steps in Amateur Astronomy.
The name of the Project: AstroGarrobo

Garrobo is the Nicaraguan name for a male Iguana. The Nicaraguan Linux community have nicknamed our openSUSE mascot as Garrobo instead of the familiar Chameleon, because a Chameleon is a rare species here in my Nation.
So far, there is a Beta version available for download at SourceForge. I have received many valuable reports from Beta Testers from different parts o the world.
My goal here is to obtain a stable LiveCD, for free distribution, that may help others to obtain the tools needed to inspire, feed and motivate their love for Space.
I’ve written a more detailed explanation of this project in my Blog (in Spanish). I would appreciate any comments, insights and recommendations about AstroGarrobo.
Clear skies!
Установка Oracle XE на OpenSuse 11.2
After FOSDEM
I look forward to putting those plans into action which many of us agreed to collaborate on and to also continue to innovate new ideas and concepts that will allow our community to grow and expand into new areas.
In addition, it was great to finally meet those members of the Fedora community where up until now I only knew a name. It was excellent to meet in person and put faces to those names.
Most of all, I would like to thank the ambassadors for the fun time we had and look forward to doing it all again next year :-)
Patch für die Hercules DJ Console-Treiber für Linux 2.6.30 und neuer
Die Treiber für die DJ Controller von Hercules gibt es zwar in Paketen für so ziemlich alle Distributionsarten, aber leider nicht für die aktuellsten Version. Unter openSUSE 11.2 funktioniert der Treiber zunächst nicht, da dieses Kernel 2.6.31 verwendet, der Treiber aber eine ALSA-Funktion nutzen möchte welche in dieser Version aus dem Kernel flog. Ein kleiner Patch behebt das Problem indem er den entscheidenden Aufruf auf die neue Funktion ändert.
Hat man den Treiber nach der Anleitung auf der Webseite installiert, so kann man mit dkms status prüfen ob dieser im System erfolgreich installiert wurde. Auf System mit Kernel 2.6.30 aufwärt bekommt man hier nur die enttäuschende Meldung: hdjmod, 1.28: added. Wäre die installation erfolgreich gewesen müsste hier installed stehen.
Der nächste Schritt nach dem add ist der build. Ein Blick in das Logdatei /var/lib/dkms/hdjmod/1.28/build/make.log zeigt das Problem:
/var/lib/dkms/hdjmod/1.28/build/device.c:1663: error: implicit declaration of function ‘snd_card_new’
Der Patch behebt das Problem indem er für neuere Kernel den Funktionsaufruf durch auf die neue Funktion snd_card_create ändert. Um ihn anzuwenden wechselt man in das Verzeichnis /usr/src/hdjmod-1.28 und ruft dort sudo patch -p1 < /path/to/hdjmod_kernel_2.6.30.patch auf. Anschließen baut man mit sudo dkms build -m hdjmod -v 1.28 das Modul und installiert es mit sudo dkms install -m hdjmod -v 1.28.
Anschließend kann man im DJ Control Panel sehen, dass der Treiber beim Anschließen der Konsole erfolgreich geladen wird. Insgesamt ein gutes Beispiel dafür, wieso man Treiber Open Source halten sollte, aber leider auch ein gute Beispiel, wieso man Treiber nicht außerhalb des Kernels pflegen sollte.
FOSDEM Beer Event
See you all there! And hope we survive to see Saturday morning:-)
Fedora Activity Day at FOSDEM
Story telling your Gitorious exploits
Tip: transparent editing of gpg encrypted files with vim
If you are vim user and also use gpg to encrypt stuff, you might appreciate that you can teach vim to transparently open gpg encrypted files with vim gnupg plugin. Just install vim-plugin-gnupg from Contrib repository:
# zypper install vim-plugin-gnupg
Also, you should add following two lines to your .bashrc to make the plugin work properly:
GPG_TTY=`tty`
export GPG_TTY
Then, if you tell vim to open gpg encrypted file, it will ask for passphrase, transparently decrypts it and after you make changes, it will encrypt the file again.
Storytelling with Storytlr
News from libstorage/YaST partitioner insectarium
NFS to the power of 4
After ext4 and btrfs in openSUSE 11.2, nfs4 is the next filesystem to be fully supported by libstorage (libstorage is the engine that makes YaST partitioner moving). In the upcoming first milestone of openSUSE 11.3, you can already try mounting nfs4 shares from partitioner during installation and later too (*cough* it has been possible to opt for mounting the share as nfs4 already in 11.1, but GUI option was just dummy, you ended up with regular nfs3 anyway *cough* ;-) ). Big thanks to Arvin and Thomas for implementing it (if you want to help with libstorage hacking, read here how, if you are not into hacking, you can contribute your ideas).And slightly off-topic (as this post tends to be storage-related): you can also give nfs4-based software repositories a try - openSUSE 11.3 libzypp (hence also zypper and YaST repo manager) is now nfs4-enabled, too.
Sheep^WDisk cloning
Imagine a box with four brand-new clean disks you want to combine into RAID5. Unless you're proficient in CLI tools usage and script writing, here's what you'd probably do: go to YaST partitioner, click first disk, click Add (1st partition), enter the data, click Finish, click Add again (for 2nd partition), enter the data, click Finish ... the same procedure for all partitions on the first disk. Now multiply that by four - isn't so much clicking around an annoying waste of time and energy?Well, it doesn't have to be so anymore. As disks in RAIDs tend to have identical (or at least, very similar) partition layout, you can make use of new disk cloning feature (openSUSE 11.3 is the first one to have it - the original code was written by me for SLE11 SP1, and ported to 11.3 by captain Arvin):
Here you just partition one disk and pick the cloning option from the menu. A dialog with list that pops up shows all available disks that are suitable candidates for being the clone of the first one [1] Select one or more of those, confirm with OK and after committing the changes, voila! - there are now few clone brothers with the same partition layout, ready to be bundled into RAID (or LVM). It's easy :)
I wonder if any of other distro's partitioning tools can clone, too, and what approach they're using for setting up complex storage scenarios in an user-friendly way ...
[1] Of course, only the same size or bigger disks qualify, and for simplicity sake, they must share the cylinder size as well