Wednesday, 9 July 2008
Who should I nominate for the NZ Open Source Awards?
Kiharoa Dear for excellent work in getting firefox, thunderbird and open office working in Māori contexts:
http://kiharoa.dear.maori.nz/
Standards New Zealand for sanity control in the OOXML fiasco:
http://www.standards.co.nz/news/Media+releases/NZ+maintains+negative+vote+on+OOXML+Standard.htm
Hagley Community College for rolling out Ubuntu in a secondary school:
http://computing.hagley.school.nz/about/opensource
Who should I nominate? Is there someone I've missed?
Monday, 30 June 2008
I'm confused about hardy heron and default applications
export EDITOR=/usr/bin/emacsThen along came the wonderful debianness of the apt-family and the alternatives system.
update-alternatives --config viNow this system too is being undermined by various systems, leaving me uncertain where to set things. What I'm trying to do is:
- have Sound Juicer and not Music Player (RhythmBox) launched when a CD is inserted. There is an entry for "Multimedia" under the "Preferred Applications" menu option, but this seems to be about opening files, not responding to newly-mounted media and Sound Juicer is not listed as an option. There doesn't seem to be anything about CDs under the "Removable Drives and Media Preferences" (although this is where the setting are that automatically load F-Spot when I attach my camera, which seems like the same kind of thing).
- configure which applications I can launch on the .cr2/TIFF/Canon RAW files produced by my digital camera I want the same applications to appear in both the file browser and F-Spot (which look like they're presenting the same interface but apparently aren't). ufraw seems to be the tool of choice here (either standalone or as a gimp plugin), but I'd like to pass it some command line args. I can find no entry or this under the "Preferred Applications" menu option.
Sunday, 15 June 2008
Kernel Hell and what to do about it
I've been in kernel hell with my home system for the past couple of days. What I want to build is a custom kernel that'll do xen, vserver, vmware, selinux, support both my wireless chipsets and support my video chipset. Ideally it should be built the Debian/Ubuntu way, so it just works on my Ubuntu Hardy Heron system.
So far I've had various combinations of four or five out of six working at once.
I'm not a kernel hacker, but I have a PhD in computer science, so I should be able to at least make progress on this, and the fact that I can't is very frustrating. At work I grabbed a kernel off a co-worker, but it wasn't built the Debian/Ubuntu way.
Standing back and looking at the problem, there seem to be two separate contributing factors:
- There are a huge number of organically-grown structural layers. I count git, the kernel build scripts, make, Linus's release system, the Debian kernel building system and the ubuntu kernel building system. I won't deny that each of these service a purpose, but that's is different points a which each of the six different things I'm trying to make work can begin their explanation of how to make them work and six different places for things to go wrong.
- There are about many Linux distributions and each of the things I'm trying to get working caters to a different set of them.
Wouldn't it be great if someone (ideally under the auspices of the OSDL) stepped in and said "This is insane, we need a system to allow users to build their own kernels from a set of <git repository, tag> pairs and a set of flags (a la the current kernel config system). It would download the git repositories and sync to the tags and then compile to the set of flags. Each platform can build their own GUI and their own backend so it works with their widget set and their low level architecture, but here's a prototype."
The system would take the set of repositories and tags in those repositories and download the sources with git, merge the results, use the flags to configure the build and build the kernel. Of course, sometimes the build won't work (in which case the system sends a copy of the config and the last N lines of output to a central server) and sometimes it will (in which case the system sends a copy of the config and an md5 checksum of the kernel to a central server and optionally uploads the kernel to a local repository), but more than anything it'll make it easy and safe for regular users to compile their own kernels. The system would supplant "building kernels the Debian way" or "building kernels the RedHat way" and enable those projects working at the kernel level to provide meaningful support and help to their users on distributions other than slackware.
Potential benefits I can see are:
- increasing the number of crash-tolerant users willing to test the latest kernel features (better testing of new kernels and new features, which is something that's frequently asked for on lkml)
- easing the path of new device drivers (users get to use their shiny new hardware on linux faster)
- increasing the feedback from users to developers, in terms of which features people are using/interested in (better, more responsive, kernel development)
- reduce the reliance on linux packagers to release kernels in which an impossible-to-test number of features work flawlessly (less stressed debian/ubuntu/redhat kernel packages)
- ease the path to advanced kernel use such as virtualisation
You know the great thing about that list? Everyone who would need to cooperate gets some benefit, which means that it might just happen...
Friday, 18 April 2008
Resetting vmware networking
In an attempt to erase it's memory I removed /etc/vmware/locations but this caused vmware-config-network.pl not to run at all.
Eventually I worked out that the trick was to remove everything in /etc/vmware/locations other than the lines near the start telling it where to find directories and executables and rerun vmware-config-network.pl selecting all the defaults.
Suddenly everything worked.