Thursday, December 20, 2012

Personal story of a ports committer

You all know that sometimes you end up dealing with all the ugly stuff instead of doing useful work. Over the last few months I was kept busy at $dayjob got assimilated by portmgr and had to look after redports. All of those new challenges are nice on it's own and I really enjoyed being part of the FreeBSD community and ecosystem but then 11/11 happened.

At that day quite a lot has changed for me since redports was isolated as a precaution and all ports building clusters of portmgr were effectively shut down. That situation was quite a mess since all automated systems and clusters were gone. No INDEX builds, no QAT, no pointyhat so also no exp-runs anymore. Whenever someone broke the ports tree we didn't even knew. It proved to be quite hard to get back on track again after that incident. INDEX checks and a very very limited QAT are already running again but pointyhat and redports are still dead. :(

The daily frustration and dealing with all that strange decisions that are taken because of the need to get stuff done is hard sometimes. But It's almost Christmas and without redports I have much more spare time so I try to calm down and focus on stuff that I can hack on my own. And that worked out quite nice so far ...

tvheadend:
I've noticed in the XBMC 12.0 release notes that they have included the PVR branch and thus support DVB-S2/C/T in XBMC. Well actually they only provide some backend configuration interfaces and rely on a backend like mythtv or tvheadend to handle the DVB stuff. Mythtv would be okay for that task but It's huge for such a small job. Tvheadend is a nice and small TV streaming server that suites perfectly and only does the bare minimum without a lot of dependencies. Configuration is done in a web based GUI or can be done in XBMC. So I started working on a tvheadend port. A few weeks later I'm at the point now where tvheadend compiles fine and also starts. I've just ripped out all that epoll stuff and linuxisms that I stumbled accross so it doesn't run properly yet. Adding kqueue support is the next step now.

virtualbox:
Due to redports being unavailable the vbox work has also frozen. I tried to collect all that patches and complains in my inbox so that they don't get lost. Since the situation did not improve I temporary created a github repository for the virtualbox ports and committed all the accumulated patches there: https://github.com/decke/freebsd-vbox

This includes almost all patches that were flying around on mailinglists and updates vbox to 4.2.6 / 4.1.24 but testing was very limited so take care if you give them a try. Testing will show us if we can commit it to the portstree by New Year's Eve.

Sunday, June 3, 2012

Ports QAT functionality integrated into redports

We used to have a FreeBSD Ports QAT machine that did automatically build all affected ports after a commit. Well that machine is down since quite some time now because of an hardware defect I think. In my plans for redports.org I started quite early to think about integrating the QAT service so I talked to itetcu at BSDDay in 2011 about the current implementation of the QAT system. It works by parsing the ports CVS mails to find out which ports are affected by the commit. Then it updates the CVS tree from one of the tier1 CVS mirrors and hopes to have a consistent portstree. After that it schedules new jobs in the Ports Tinderbox and sends out mails to the committer if building failed. That worked fine most of the time but it had quite some weak spots which required to constantly look after the machine to keep it going.

The most important thing that I learned from that was that we need to migrate our ports repository from CVS to something that allows a consistent checkout. Now that beat is working on the cvs to svn migration and has a testing repository I used that to implement QAT functionality into the redports infrastructure. Instead of parsing CVS mails I can use svn info to find new commits and consistent repository checkout is also guaranteed by subversion. After all it took me about one working day to fully integrate the QAT functionality and test the new stuff.

There are a few benefits for the upcoming QAT system now that it is a part of the regular redports infrastructure:
  • access to all redports building machines (more power!)
  • parallel builds on multiple boxes
  • archived buildlogs
  • run QAT jobs for multiple FreeBSD versions/architectures
  • nice web frontend with RSS feeds and the usual modern stuff
  • you still get mails of course

Friday, November 25, 2011

Trip report: BSDDay 2011 in Bratislava

A few weeks ago we had the BSDDay 2011 in Bratislava with a lot of interesting talks and cheap beer. Follow the link to the trip report and a few pictures from the event.



Trip Report:

Wednesday, February 23, 2011

Austria is getting more active in the BSD Community

It's just about a year since we formed the Grazer BSD Stammtisch. Since then we were at the EuroBSDCon in Karlsruhe, the BSDDay in Budapest and had 7 meetings in Graz for beer and pizza.

This year will be very interesting for our friends in Vienna because we currently help Manuel Wiesinger to form the Vienna BSD Stammtisch. Their first meeting will be in a few weeks and I'm curious to see how many people we can motivate to go out for a beer. So if you live in or around Vienna then subscribe to the blog to get the latest news about it. We also created an aggregated BSD news feed for all our activities and all BSD related blogs from Austria which you can find on bsdstammtisch.at.

As last year we will again have a booth at the Grazer Linuxtage which is the biggest Open Source event in Graz. But this year we will also have a separate BSD track - the 1st BSD Boot Camp - which is a great opportunity to get introduced to BSD and the community. This is all organized by Daniel Seuffert with the help from the Grazer BSD Stammtisch people.

I'm very happy to see the overall progress and what we archived in just one year. Thanks a lot to all people that helped to make this all a reality!

Wednesday, November 24, 2010

BSDDay 2010 Summary

Over the weekend we had a few hungarian beers at the BSDDay in Budapest together with other FreeBSD developers. It was well organized and a good opportunity to talk to interested students. I'm definitely looking forward to next years BSDDay.



More Pictures:

Thursday, May 6, 2010

FreeBSD at the Grazer Linuxtage 2010

For the first time ever FreeBSD had a booth on the Grazer Linuxtage this year. That was primarily the fault of Daniel Seuffert who agreed to pack all his material and drive to Graz to represent BSD with his own booth. Sure I couldn't let him do this alone so I agreed to help and also sperber and seppo helped us through the day. And I think we did quite well for the first time and also agreed to be there next year.

The event is mainly targeted at end users and enthusiastic open source users. So we were quite surprised about the interest in BSD given that this was the first year that we were there. It was also very pleasant to see all different kinds of people together and many women interested in beastie.




Related:

Wednesday, April 28, 2010

DVB-S Live TV on FreeBSD with MythTV 0.23 and webcamd

It's not true anymore that FreeBSD does not support any DVB-S devices. Thanks to the work of Hans Petter Selasky on video4bsd there are now DVB-S/2 devices for USB that just work.



The work on MythTV to get this running only took me one evening and was just because nobody compiled mythtv with v4l support lately. It also helped a lot that Jürgen Lock already played with the same device and found and fixes a few things.

So what do you need to do now if you want to build your PVR on FreeBSD?

First you need a USB device for DVB-C/DVB-T/DVB-S/DVB-S2 that is supported by webcamd. I took an Pinnacle PCTV Sat HDTV Pro USB 452e that supports DVB-S2 because I talked to Jürgen Lock and knew he had success with it. I don't know if there is already a list with all devices that work but you could have a look at the Makefile of webcamd in svn to see what drivers and cards should be supported.

Now that you have a supported card follow the instructions on the video4bsd page and build webcamd from the svn repository because the current version in ports is too old already.

At last get the latest mythtv 0.23 port from the call for testers that enables v4l support. This will get committed when they have done their release.
Finally start mythtv-setup and configure your v4l device, scan for some channels and watch live-tv with your brand new PVR solution on FreeBSD!