Sun UltraSPARC

Rob Holland of Inverse Path (some may know him as tigger^ the ex Gentoo dev) had some free Sun SPARCs going, so I snagged a U5! Well, I’ve had it for some time now, but his Mum forgot to ship the keyboard. So it’s been gathering dust in my room for months until yesterday they keyboard arrived. And it booted and stayed up! Yay! :DThe plan was to put Gentoo/Linux on it, mainly so I could fix Gentoo bug #104067.
Read full post

FreeBSD

OK, so after much head banging with installed FreeBSD on my laptop because FreeBSD won’t boot from an extended partition, unlike Linux I finally have this beastie installed.I spent a portion of the weekend hacking on baselayout and now have it booting and rebooting without error which is very nice indeed :) Once I get my wireless rt2500 card working on it, which requires I get the pcmcia bit working first then I’ll be happy putting that into portage- package.
Read full post

Remember me?

Heh, long time no blog :(Anyways, I have been busy what with the recent stabilisation of baselayout-1.12. We think all regressions have been fixed, with a few very minor ones with patches in bugzilla. I’ve got a small one that only one person has reported which I’ll try to fix before the next release in the 1.12 range.So what’s coming up in baselayout-1.13 I hear you say? Well, here’s a quick list * Buffered e* output.
Read full post

My First Kernel Patch

Ever since I first got my AMD64 box one think always annoyed me- my on-board VIA velocity didn’t work with ifplugd or netplug as it always thought there was a cable plugged in. This was less than optimal as with the new coldplug functionality in baselayout it started by default and tried to get a DHCP lease by default. So I finally got of my lazy rear end and filed a kernel bug.
Read full post

grep vs bash regex

Everyone should know about grep. Most of the time it’s used for testing the existence of a specific regex pattern somewhere. baselayout uses grep frequently for many tasks like so :- grep-q '^envID:[/proc/self/status Did you know that bash can do this without the use of grep? Here’s how … [[ $'\n'$(/proc/self/status) =~ $'\n''envID:[[:space:]([:space:]]*[1-9]')]*[](1-9]')] (NOTE: everything that matches the regex is now in the array BASH_REMATCH) One important point is that the file is read as one big string, so the ^ $ anchors don’t work in the same way as they now point to the start and end of the file.
Read full post