
I powered up an old laptop today, revealing the simple and beautiful usability that was Ubuntu 10.10. It was not a perfect release - having some issues with Intel graphics drivers and continuing a kernel bug that prevented my trusty Dell D430 from sleeping and waking without kernel panic'ing - but it was largely a usable and stable release.
Post Unity, I've moved on to Fedora and Debian with my other half testing a Debian + KDE build for her laptop to see what she thinks. I cannot find the time to unbreak all the things that the latest revisions of Ubuntu have broken, nor do I have the time to suddenly learn a whole new desktop paradigm when the old one seemed to work quite well. I'm sure the fault lies with me, though I was interested to see an Irish Times article suggesting that similar paradigm shifts in OS X was encouraging the reporter to move away from OS X (and towards Linux.)
While I am, and have been, absolutely encouraging of making Linux suitable for novice users, allowing them a stable operating platform to support their migration from Windows, or perhaps first foray into technology, it is my opinion that Linux desktop developers should remember that they now have a significant body of users / power-users who are already using Gnome and KDE on a daily basis. This means that any proposed changes must be weighed against the impact caused to existing installations. The Linux desktop is no longer a green-field site. There are improvements to be made, undoubtedly, but please be mindful of forcing a paradigm shift onto existing satisfied users who are only upgrading to get the latest versions of software. Perhaps consider offering two upgrade paths - one for users who wish to just get the latest version of kernels, office suites and the like, and a second who are willing or indeed actively seeking a whole new desktop interface. Specifically, do not provide a large tempting 'Upgrade' button without due warning that this will utterly change the look and feel of the desktop.
Ubuntu was a great, usable operating system which I could not only rely on myself, but also install on machines operated by (extended) family members for which I am the support provider. I encourage them to update their machines regularly since I could trust that nothing too bad would happen. I had not counted on Unity, which "broke" their user experience - and my trust in Ubuntu as a platform provider. (Their words were that it broke their computer.)
While my example has referred to Ubuntu, my point stands for any operating system distribution - not even limited to Linux based distros. While technology markes forward, it's important to provide existing users with a sane method of receiving updates, without pushing them unnecessarily into having to re-learn their workflow. Microsoft Office 2007 seems to have been the interface change that broke the camel's back for Microsoft's Office suite - let's make sure that Unity does have the same negative impact on Linux as a desktop platform.
posted at: 17:07 | path: /technical | permanent link to this entry
I am seeing a repeatable segfault in compiz on my Dell D430, running Fedora Linux (F14) - when I plug an external monitor or projector into the VGA socket. Booting the computer with the external VGA device plugged in works pretty much as expected, including giving me the ability to set up mirroring of screens or extending my desktop on to the second monitor.
Just starting to look into this to see if I can find out how to resolve - any pointers or hints would be appreciated (to blog-at-signal2noise.ie as per usual.)
[89877.883859] [drm:output_poll_execute] *ERROR* delayed enqueue failed -125
[89878.140938] stereo mode not supported ((repeated 3 times))
...
[89881.479976] compiz[2276]: segfault at 0 ip 00e26026 sp bfb207b0 error 4 in i915_dri.so[dfc000+2ce000]
[89883.060177] stereo mode not supported ((repeated many times until I restarted X))
...
[root@lynx ~]# uname -a
Linux lynx.signal2noise.ie 2.6.35.14-95.fc14.i686.PAE #1 SMP Tue Aug 16 21:12:22 UTC 2011 i686 i686 i386 GNU/Linux
Yesterday evening saw a very interesting talk about the Google Storage API - including a method of using the same tool - gsutil - to copy data on and off the Amazon S3 cloud. Following that was the Google Prediction API and two live demos: the first determining the probable language of an input string (having taught the system what French, Spanish and English looked like first) and the second estimating the potential price of a house based on some parameters and a list of selling prices for houses in a region. Powerful stuff indeed!
The second half was an interesting discussion of whether the Hackerspace ethic can or even should be integrated with an established traditional education system. Contributors ranged from the Leaving Cert student who first installed Linux at age 6, to the lecturer working on his third PhD. I'm not convinced any conclusion was reached - but perhaps it's more about the journey and discussion.
All in all, a most interesting evening, topped off with insightful conversation in the Schoolhouse after the event. I'm looking forward to the next one, provisionally set for the 23rd August.
Recordings of the event were made and are initially available from http://www.ustream.tv/recorded/16257161.
So you're going to use Twitter at your conference or event. Here are some of the things I learned might be good ideas, shared for your enjoyment. I imagine as we do more events with Twitter and other social networking infrastructures, I'll update this post with new ideas.
It's been one week since I migrated my trusty Dell D430 laptop to Fedora 14 from Ubuntu 10.04 - the main requirement being that things like Suspend/Resume worked. Ubuntu broke this functionality on the D430 some releases ago - about 9.04 or so - and have yet to fix it (I've not tested Ubuntu 11.04 yet!) Note that Ubuntu works flawlessly on a D420, the predecessor, so it could be a BIOS feature rather than the fault of Ubuntu per se.
Ubuntu, upon initiating a hibernate (to disk), would at least have the grace to hang the kernel, but come back after a cold reboot. Fedora appears to have done something different, resulting in the machine becoming unbootable after it hibernates, dropping instead to the grub rescue> prompt. Note that this might have something to do with my swap partition being encrypted - something I'll test at a later date.
So - for the next time I need to do it, here's how to disable Hibernate on a Fedora laptop (at least for Fedora 14):
If, like me, you discover that your system has already hibernated and made itself unbootable, try the following (at your own risk! You did make a complete backup of your system, right?!?)
Thanks to headkase for info on disabling hibernate functionality.
posted at: 18:32 | path: /technical | permanent link to this entry
This TERENA Conference has seen many diverse topics covered: the future of networking, the packet v circuit debate, privacy implications in a modern connected world and the future of NRENs themselves. On top of this there's the constant interactions with other attendees - attendees with whom I collaborate with during the year via video-conference, e-mail, IM, Skype and numerous other ways. This conference is one of the few opportunities to sit down in person and discuss progress on projects, where things are going in the future, and ideas too immature or risque to be committed to e-mail yet.
As a result, it's Day 3 of the conference (day 5 in Prague for me) and I'm exhausted. Exhausted but exceptionally impressed at the quality of the presentations, the insight delivered by the speakers and those posing questions and the sheer dedication of the attendees who are tireless in their efforts to improve research and education networking.
posted at: 16:29 | path: /technical | permanent link to this entry
Why do we build ever larger and more complex networks? Is it because computers are cool? Do we just need more bandwidth to view ever more amusing videos on Youtube, ever more grammatically inaccurate lolcats or socialise more without leaving the house through Facebook? Fundamentally, do we run the risk of perpetuating the network purely for the purpose of perpetuating the network?
Jaroslav Koča disagrees. His work relates to analysis of viruses, with a view to developing medicines to prevent viral infections, or prevent them from spreading. To this end he demonstrated how his team's software, with access to large networks and supercomputing resources can test which molecular bonds viruses might make with human cells, and find alternate molecular structures that will bond better. This provides a key building block to developing medicines that prevent viral infection, or at least control them.
He was able to show that hundreds of thousands of alternative compounds and structures, and variations of them, can be tested against a viral signature, allowing what would have taken months, if not years, of research by trial and error to be achieved in three days computing time. International high-capacity research networks providing links between supercompute and storage resources allow Jaroslav and his team to collaborate with teams in other universities and countries and share compute time to achieve quicker and more accurate results.
I'm proud to be part of an NREN delivering services that might some day literally find a cure for the common cold.
Jaroslav's plenary presentation at TNC2011 provided an excellent example of what big networks, big computing, big storage and tight collaboration between educational and research institutions can achieve - and served to remind me why I do my job with HEAnet.
The presentation slides for Jaroslav's talk are available here and the video is here.
posted at: 10:56 | path: /technical | permanent link to this entry
Did you know that the FileSender project allows you to send arbitrary sized files to one or more recipients simply and confidently? Information on development is on the filesender website and filesender blog and it's freely downloadable under the BSD license if youy want to set up your own repository.
The concept is simple - a user logs in and uploads a file, providing one or more e-mail addresses to send the file to. The recipient(s) get a mail providing a website URL from which they can download the file. Federated authentication is supported, as is the concept of invitations such that people without accounts can be requested to send you files.
HEAnet, the Irish NREN (National Education and Research Network) runs the service at filesender.heanet.ie and is available to anyone in the Edugate federation.
posted at: 17:58 | path: /technical | permanent link to this entry
While the TAC (Technical Advisory Council) meeting is a closed meeting, I can say that this year, more than any previous, a huge spread of material was covered. Good discussions on matters related to next generation network design, mobile connectivity, social networking and strategy for cloud computing were all discussed, with excellent feedback and insightful questions from many of the representatives.
Overall, a hugely informative meeting, though one that posed at least as many questions as it answered. Certainly enough material there to keep me busy for the coming year, and I think that goes for the other representatives and NRENs here too.
(edit: Corrected the title to 'TERENA TAC' - apologies for my brain-fart.)
posted at: 11:45 | path: /technical | permanent link to this entry
It's still a day before the TERENA networking conference, but groups of people are meeting throughout the conference venue to discuss various technical issues and progress the state of Educational and Research Networking throughout Europe.
The Clarion Congress Hotel seems good and the TERENA technical crew here already have eduroam wireless networking in place.
You can follow the events of the conference by following #tnc2011 on twitter (and probably some other tags as well.)
posted at: 13:23 | path: /technical | permanent link to this entry
Dear Oracle, I would like to register that I use OpenOffice but I really don't want to agree to pages of terms and conditions to register yet another web account on a website that I'm not going to use: yours.
If you want people to register that they use OpenOffice, just let them do it without having to create a useless account on oracle.com. Thanks :-)
posted at: 14:43 | path: /technical | permanent link to this entry
For the interminably lazy, this is how I installed a test instance of Ruby on Rails on a virtual machine for testing purposes recently. it may not be the best way of installing things, but it's working for me and I content that this is the
shortest set of instructions you'll find on the matter ;-)
Google Chrome is Google's browser and provides a refreshingly fast interface to (in particular) Javascript heavy websites. It's also a pretty good general browser, but like many others presents dire warnings of doom if you attempt to view a https secured website which doesn't have a recognised certificate. (Or more correctly, doesn't have a certificate signed by an authority recognised by Google.)
Most other browsers provide a method of installing root certificates but Google decided that they would use an already established certificate management system external to the browser, the NSS Security Toolkit. So if you want to view websites secured by free CACert SSL certificates or have the need to browse to sites secured by self-signed SSL certs (like the https management interface for my Linksys WRT54g wireless router running Tomato firmware for example) then you'll want to add some certificates to your NSS database. Fortunately, it's pretty simple to do...
First, let's install the CACert root certificate. Installing this means that Google Chrome will trust the identity of sites signed by CACert issues certificates. This is a good thing and saves clicking the "Proceed anyway" button every time.
Like many people I run Ubuntu on a number of servers with DNS being just one of the services provided. Bind 9 has worked extremely well to date, though I recently came across a conflict between AppArmor (note American spelling) and bind which resulted in slave domains not being replicated correctly. This happened on my systems some time on or after 2009-07-29 (and I'm only getting around to writing up the blog post now... I know...) If you see lines similar to the following in the output of dmesg, or in your system log, you may have the same problem:
audit(1234567890.462:15891): type=1503 operation="inode_create" requested_mask="w::" denied_mask="w::" name="/etc/bind/zones/slave/tmp-bkTe208LbH" pid=123 profile="/usr/sbin/named" namespace="default"
audit(1234567890.460:15892): type=1503 operation="inode_create" requested_mask="w::" denied_mask="w::" name="/etc/bind/zones/slave/tmp-3VUN2uHFUI" pid=123 profile="/usr/sbin/named" namespace="default"
To explain briefly what this means: AppArmor is an extra layer of security which effectively makes sure that system programs are allowed only limited access to the system, even though they may run as root. This helps significantly in the case of a root escalation vulnerability being discovered, since if AppArmor is correctly configured your system is somewhat compartmentalised so damage should be limited. Without this, a root privilege escalation in a daemon would allow full read and write access to the entire system, with predictably bad results. Permissions for various daemons under AppArmor are configurable in files under /etc/apparmor/ and /etc/apparmor.d/ (on an Ubuntu system at least.)
Under Ubuntu it appears that AppArmor is misconfigured for BIND 9, specifically with regard to the default setting that slave zones - where your DNS server is acting as a secondary DNS server for some domain(s) - are stored under /etc/bind9/zones/slave/. From the log lines above it's clear that AppArmor is disallowing writes to this location for BIND, with the result that secondary / slave zones can never be updated. This is a bad thing.
Fortunately, there is an easy solution. Either update your BIND config to write slave zone files somewhere else, or update AppArmor to allow BIND to write to the slave zones directory. I chose the latter, accomplished by adding the following line to /etc/apparmor.d/usr.sbin/named
/etc/bind/zones/slave/** rw,
This allows bind to read and write to the slave directory, enabling it to create the files it needs to store updated zones coming via AXFR transfers from master DNS servers. You can test by running rndc reload and watching the syslog and file timestamps in the slave directory. You should also no longer see log writings with the denied_mask="W::" key-value pair as above.
Thanks to alphageek for the first clue as to what was going on and hopefully this blog entry will provide a more secure fix for the problem.
posted at: 13:31 | path: /technical | permanent link to this entry
Since moving to Ubuntu 9.04 and 9.10 I've had repeated problems with my Dell D430 being able to suspend. One of the things that Apple got right with their laptops was that when you close the lid, the computer goes to sleep and it wakes up again ready for use upon opening the lid again. I used to enjoy similar functionality on my Dell D430 until moving to the more recent versions of Ubuntu - which is a real pity. I always hate to see regression instead of progression, particularly when it comes to open source.
I thought the issues were resolved finally until a large update was issued which my laptop installed on 1st May 2010, and now I'm back to a laptop that I have to shut down to move about again - no suspend for me. This makes the laptop significantly less useful and is pushing me (and others) towards replacing portable hardware with Apple products, since they just work. I can't speak for the world in general, but I and the people I regularly deal with don't have time to deal with intermittently faulty systems and laptops that may or may not lock up when you shut the lid (losing any work that was not saved.)
I'll try and provide a better bug report to Ubuntu, but as a reminder to myself, the following update was what has killed suspend again. Also, if you're a Dell D430 owner running Ubuntu 9.10, DO NOT grab the latest updates!
I have installed 10.04 (Lucid) on a D420 but I can't say I've tested it properly yet. I'll get around to putting it on the D430 shortly - and hopefully will be posting a good news story about how suspend works again and proper regression testing has been instituted such that it doesn't get broken again.
Aptitude 0.4.11.11: log report
Sat, May 1 2010 12:35:10 +0100
IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.
Will install 34 packages, and remove 0 packages.
172MB of disk space will be used
===============================================================================
[INSTALL, DEPENDENCIES] linux-headers-2.6.31-21
[INSTALL, DEPENDENCIES] linux-headers-2.6.31-21-generic
[INSTALL] linux-image-2.6.31-21-generic
[UPGRADE] aisleriot 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] compiz 1:0.8.4-0ubuntu2 -> 1:0.8.4-0ubuntu2.1
[UPGRADE] compiz-core 1:0.8.4-0ubuntu2 -> 1:0.8.4-0ubuntu2.1
[UPGRADE] compiz-gnome 1:0.8.4-0ubuntu2 -> 1:0.8.4-0ubuntu2.1
[UPGRADE] compiz-plugins 1:0.8.4-0ubuntu2 -> 1:0.8.4-0ubuntu2.1
[UPGRADE] compiz-wrapper 1:0.8.4-0ubuntu2 -> 1:0.8.4-0ubuntu2.1
[UPGRADE] glchess 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] glines 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnect 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnibbles 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnobots2 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnome-blackjack 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnome-games 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnome-games-common 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnome-mahjongg 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnome-sudoku 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnometris 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnomine 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnotravex 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gnotski 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] gtali 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] iagno 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] libdecoration0 1:0.8.4-0ubuntu2 -> 1:0.8.4-0ubuntu2.1
[UPGRADE] libpq5 8.4.3-0ubuntu9.10 -> 8.4.3-0ubuntu9.10.1
[UPGRADE] linux-generic 2.6.31.20.33 -> 2.6.31.21.34
[UPGRADE] linux-headers-generic 2.6.31.20.33 -> 2.6.31.21.34
[UPGRADE] linux-image-generic 2.6.31.20.33 -> 2.6.31.21.34
[UPGRADE] linux-libc-dev 2.6.31-20.58 -> 2.6.31-21.59
[UPGRADE] same-gnome 1:2.28.0-0ubuntu1 -> 1:2.28.0-0ubuntu3
[UPGRADE] tzdata 2010h-0ubuntu0.9.10 -> 2010i-0ubuntu0.9.10
[UPGRADE] tzdata-java 2010h-0ubuntu0.9.10 -> 2010i-0ubuntu0.9.10
===============================================================================
Log complete.
posted at: 14:19 | path: /technical | permanent link to this entry
...is a pile of epic fail (on Linux at least.) I like the idea of full-text searching - but I also like my laptop to not have the CPU at melting temperature all the time and the fans running at full speed as thunderbird burns through CPU indexing what I can only assume are the same messages over and over and over again. I also like to start blog posts with a hearty generalisation, even if the behaviour is something relatively specific to my situation - it grabs the reader's attention and makes sure they read the remainder of the article ;-)
Normal behaviour, and better use of your CPU can be restored by disabling full text search / indexing. You can do this by setting the advanced configuration option mailnews.database.global.indexer.enabled to false, or as this has obviously become a big enough problem for enough people, the Edit | Preferences | General tab now has a checkbox marked Enable Global Search and Indexer. Unchecking this will also turn off this feature.
More usefully, some exceptionally bright spark has made a plugin called GlodaQuilla available. It's experimental but has not yet set fire to my laptop or caused my pets to explode - your experience may be different of course and any use of experimental plugins is completely at your own risk. I did the following and now have a full indexed search of the subset of my mail that interests me, along with a much more responsive machine (and some 500MB of disk space no longer used by the full-text index)
/home/$username/.thunderbird/random.default/global-messages-db.sqlite on my Ubuntu Linux machine. You'll need to find your own global-messages-db.sqlite yourself, but the path above should give you a clue as to where it is.I set up my eeePC 701 as a fileserver in the house over the Easter weekend. It runs Ubuntu and with a little configuration happily shared a few USB disks over the home network with SAMBA and NFS. Most importantly it ran pretty cool and didn't use a lot of power - important for something that was going to be left on all the time.
All worked well until the last couple of days when I noticed some pretty strange messages appearing in the logs. A reboot resulted in GRUB giving me the dreaded Error 17. Further investigation seems to indicate that the SSD has shed its mortal coil. Poo! Cue research to determine whether it's more cost and time efficient to get a replacement SSD or just buy a Mac Mini.
posted at: 22:33 | path: /technical | permanent link to this entry
We at HEAnet labs have been testing 3G mobile broadband USB dongles for some time now, and the key weakness identified is the problem that data download is asymmetric. This means that while you can download content at high speed, uploading content is much much slower. This means that 3G dongles are unsuitable for things like uploading large photographs or video information to the interwebs. This severely restricts their usefulness - or at least, it used to.
While the technology of 3G and in particular the USB dongles means you are limited to an asymmetric connection, by changing the polarity of the USB power feed you can alternate between high speed upload and high speed download. This means making up a USB cable yourself, but as John Beale helpfully demonstrates, this is pretty easy. Just (carefully) swap the black and red wires.

This still leaves us with the problem that the connection is asymmetric, but that's easily solved by using iptables and a second USB dongle with the polarity set to normal. Effectively, we want to configure iptables to route the download traffic through USB dongle A (which is wired normally) and route the upload traffic through USB dongle B (wired with the polarity reversed.) Thanks to PaulJ on the ILUG list for providing a basic config for iptables:
ip route add default \change x and y so that x/y == bandwidth ISP1 / bandwidth ISP2
nexthop viadev weight x \
nexthop viadev weight y
...disk has corrupted. that would explain its inability to run backups for some time. Thanks Apple for such useful error messages ("Failed!") - helpful. *sigh*
Fortunately it's only my backup that's corrupted, and hopefully a 'Disk Utility' repair will put that back in a working state.
posted at: 23:31 | path: /technical | permanent link to this entry
I'm going to try making a small project in Ruby on Rails, so first I need to install the development environment on my laptop. More for my own future reference than anyone else's benefit, here's what I did:
sudo aptitude update (because it's just a good idea)
sudo aptitude install ruby-full build-essential (This installs emacs. wtf?!? Oh well...)
wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz (Find the latest RubyGems package from rubyforge.org)
tar xzvf rubygems-1.3.5.tgz
cd rubygems-1.3.5
sudo ruby setup.rb (It appears to hang for a while with no output but eventually works and returns you to a prompt. So far so good...)
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
sudo gem update --system (Should say nothing to update if you've pulled down the latest version)
sudo gem install rails (Install rails)
All done and nothing remaining but to check that MySQL is up and running and start developing actual code.
posted at: 18:19 | path: /technical | permanent link to this entry
![[IPv6 Ready]](http://9-badges.ipv6ready.ie/9/94/2f/05/9942f05fd76ad162164ae4abe1b094cd49d0d070-m.png)
