I spent most of last week chasing a bug in the as yet unreleased 2.6.11 kernel. I hit it originally while testing some code I’ve been writing to implement a mem=X boot-time option. After 2-3 hours of running LTP the box would drop into xmon.
Just for fun it would rarely crash in the same spot, the only commonality was that we’d generally have some registers full of random bollocks, and on further investigation we’d have a page or two of bollocks as well.
Although we had our suspicions as to which patch might have introduced the bug we still needed to tie it down. So I found my self running the test on everything from 2.6.10-bk1 to 2.6.11-rc4, I haven’t counted but that’s something like 30 different kernels.
I’m sure anyone who’s done any sort of decent testing knows all of what I’m about to say, but for me it was new, and so I’m gonna write it down here so google can keep track of it for me.
- Compile all your kernels on one box, not one of the boxes you’re trying to crash.
- Make a directory where all your kernels go.
- Always name the directory a kernel’s in the same as the kernel’s name.
- If you patch a kernel, change its name, eg:
2.6.11-rc4-with-bens-fixes
- Keep a record of which kernel is running on which box, when it crashes you may not be able to check.
- Having said that, if you’re in xmon you can usually check with:
1:mon> ls linux_banner
linux_banner: c000000000443d20
1:mon> dm c000000000443d20
c000000000443d20 4c696e7578207665 7273696f6e20322e |Linux version 2.|
c000000000443d30 362e31312d726334 2d6d69636861656c |6.11-rc4-michael|
c000000000443d40 20286d6963686165 6c40737570657265 | (michael@supere|
c000000000443d50 676f292028676363 2076657273696f6e |go) (gcc version|
Although this bug had a habit of corrupting the page holding the banner so then you’re stuffed.
- Keep a test matrix. It doesn’t have to be tied into your project schedule, or have key milestones and review points, just keep track of which kernel worked/broke on which machine, it’ll keep you sane.
- It’s also handy to record what you expect each kernel to do. Otherwise you might find yourself inappropriately excited when a kernel doesn’t crash – ie. when it doesn’t have the suspect code and therefore shouldn’t crash.
- Script it, within reason. You don’t want to spend 3 hours testing the wrong kernel ’cause you copied the wrong zImage into /tftpboot or something.
- If you’re applying more than one or two patches you need quilt or something similar, otherwise you will get confused (well I did!)
Posted by mike on Saturday February 19th, 2005, tagged with , linux | comments disabled
On the way back from Woodford, Jess, Catherine, Tom and I started to reengage the analytical side of our brains.
This led to a whole bunch of questions coming up, none of which we really answered very satisfactorily, despite much discussion.
Jess had a few days off when we got back, so she did some heavy googling and came up with answers to a number of the BIG questions. I notice she didn’t come with anything explaining why girls suxes and boys rool, but I’m sure she tried.
Check it out.
Posted by mike on Friday February 11th, 2005, tagged with nerd, reference | comments disabled
Chris describes how some “enterprising individual” made up for the lack of bike racks at the Australian War Memorial.
Apparently Security weren’t too pleased and the next photo in the series involves some rubber gloves, ouch!
Posted by mike on Tuesday February 8th, 2005, tagged with funny, riding | comments disabled
Yesterday evening I decided I needed some exercise so I tried to ride up Mt Majura. Having never been up there before I just sort of headed .. up. Turns out the track is rather direct, ie. it goes straight up the hill for about 2 kms at a 30 degree angle. I got maybe 500m up in 1st gear before I hit a big rock and stopped, and as soon as you lose momentum you’re stuffed.
After a fair bit of walking I got to the top, which was worth it. Great views, especially east towards the coast.
I fanged down the bitumen, foolishly thinking it would take me towards Hackett or Downer. But of course the road comes out on Majura Rd, out behind the airport. So I then had about a 10km ride along the highway back home, which was daunting at first but was actually quite pleasant.
Then I popped back home for a quick shower before riding over to All Bar for some pints with Catherine, Ben and Tom.
Posted by mike on Monday February 7th, 2005, tagged with friends, outdoor, riding | comments disabled

Urgh, did I have to do the awful pun in the title!
The other day I discovered the greatest music playing app in the entire world. It’s called amaroK, yes with a K, and it’s cool.
It has a great Wizard when you first run it that loads all your music and indexes it and so on. It uses an SQL lite DB in the back which means it doesn’t take forever to load like Juk does (’cause it’s scanning all your oggs).
I particularly like the “100 Random Songs” button, and the “Least listened to”, “Most listened to” etc. Even though I have 5 days worth of non-stop music sometimes I just can’t think of anything I really want to listen to. The random playlist is nice cause it just gets some music going and then you find something that fits your mood.
Did I mention it fetches cover art from Amazon? And Lyrics. And it can upload to Audio Scrobbler which uses the music you listen to to find other music you might like (and has a very good privacy policy).
Tops.
Posted by mike on Sunday February 6th, 2005, tagged with linux, plugs | comments disabled
Yesterday arvo Tom and I headed up to Square Rock for a quick hike. It’s probably only 5 kms walk, which isn’t far, but given that we only decided to go for a hike at about 3pm it was far enough. We walked over to Square Rock around sunset, but we ended up camping on the other side of the ridge, looking over Orroral valley.
I wanted to try out sleeping under just a little green fly, the idea being to be able to travel lighter. It was a resounding sucesss, although if it had rained I might be telling a different story. It had the pleasant side effect that I woke up well before the sunrise.
It was remarkably cold for Februrary, although I was sleeping outside at 1450 metres. It warmed up a bit about 10am. After a seriously solid breakfast of muesli we strolled back down to the car. And I was home Northside by 1pm, with plenty of Sunday to spare.
View the photos »
Posted by mike on Saturday February 5th, 2005, tagged with friends, hiking, outdoor, photos | comments disabled
Spent last night at Tilley’s in the company of the Waifs. They were typically awesome, and owing to the venue I think I’d have to rate it one of my favourite concerts for a while.
The crowd was enthused which was cool, I think we managed four encores. They’re playing at the Canberra Theatre again tonight, so if you weren’t there last night get some tickets fast!
Posted by mike on Friday February 4th, 2005, tagged with music | comments disabled
While at Woodford, Scott, Tom and myself made a trip up the nearby Mt Beerwah. It’s the plug from an extinct volcano and it’s seriously steep, rising 500 meters from the surrounding plane at about a 40 degree angle.
Scott and I climbed it last Woodford, but this year we wanted to be on top for dawn. So after Missy Higgins & The Waifs finished we got an early night, in bed about 1am. 2 hours later, at 3 am, we got up again and headed off in the car. Yawn!
We really should have got up at 2:30am, in the end we hit the top only just before the sun rose. Scott made it up in about 25 minutes flat, while Tom and I strolled up in 30 minutes. The record is apparently 39 minutes up and down.
Afterward we got a tip-off that Kondalilla falls was a nice swimming hole, so we headed there (sort of) on the way back to Woodford.
View the photos »
Posted by mike on Monday January 10th, 2005, tagged with friends, hiking, outdoor, photos, travel, woodford | comments disabled
Scott flew back from Vanuatu on Fridayish, and headed down to Canberra to pay us all a visit.
Saturday night saw us at Gus’ for a bit to eat and a few beers. We bumped into Jeremy & Jess and hoped to follow them to the Hippo bar, but were denied due to Scott and my “smart-tropical” dress style. Teva-wearers of the world rise up!
We ended up at King O’Malley’s for a few more, sitting outside thank Christ.
On Sunday Scott and I decided to head out for a bike ride. That meant Scott riding Dad’s old 10-speed racer which is, well a little old. It went well to begin with, we made it all the way to Questacon without incident.
As it happened Questacon was almost exactly the furthest point from my house on our whole ride, so of course it was there that the bearings fell out of the front wheel. If you think that sounds bad you’re right, it means the wheel stops spinning in a circle and starts to sort of wobble and click a lot.
If it had just been the bearings we’d have survived, but not more than 2 minutes later the back tyre exploded. The bike was dead.
Scott was due to meet people at All Bar Nun for drinks at 4:30, in 20 minutes time. So I gave him my bike to get there on time, while I walked Dad’s bike back to Dickson. It’s only a 2 hour walk if you’re wondering.
ps. The last two sunset shots are from Monday night on the way home from bouldering at the library.
View the photos »
Posted by mike on Tuesday December 21st, 2004, tagged with friends, photos, riding | comments disabled
Last night Scott, “miss Lishka” (???) and I went and saw the Motorcycle Diaries at Lecky Shads.
It’s the true story of Che Guevara and his friend Mial as they travel across South America by motorbike. Well at least until they crash it into a cow.
I read the diaries as a teenager, and I remember being captivated by the story, it was like a Boys own Adventure or something, but true. The film was a little rushed in comparison, understandably, but still did an excellent job of telling the story.
I was worried it was going to be some sort of middle class pseudo-socialist Che Guevara fan club piece. But to it’s credit it dealt very elgantly and subtley with Che’s growing political awareness, and his sense of injustice. You also get a real glimpse of his character, what made him tick, and importantly why people would have been drawn to him as a leader, he had charisma.
If I ever get the time, sure thing, I’d love to read the diaries again, but in the meantime the film was a nice substitute.
Posted by mike on Monday December 20th, 2004, tagged with friends | comments disabled