
Mar 19, 2009
I always run badblocks on new drives when I get them, out of paranoia that there’s a chunk of bad disk just waiting to eat my data. Now that drives are starting to get into ludicrous sizes, the amount of time it takes to do this is going up dramatically. I just bought two 1TB drives. It turned out to be slightly cheaper than buying one 2TB drive, but had the other advantage that I could run two badblocks instances in parallel.
I invoke badblocks via mkfs’s -cc command line, which does a destructive read/write of patterns 0xaa, 0×55, 0xff, and 0×00 one 4k sector at a time. So how long does it take ?
Two days, and twenty minutes.

Jan 26, 2009
I’m extremely fortunate in that my job exposes me to a lot of shiny new hardware. A lot of it before it’s even released to the general public. Every so often though, I get something shiny and new that’s actual production hardware. This sounds like a geeks wet dream. Free shiny new toys? Who wouldn’t want that? But It’s not always as great as it sounds.
Take for example, the current laptop I’m using. A Sony Vaio Z540. They don’t get much shinier. It’s incredibly light, and it looks stunning. A huge step up from my previous laptop I lugged around when travelling (A giant HP ‘desktop replacement’ monster with I kid you not.. two internal hard disks).
Unfortunately, whilst it’s shiny on the surface, it quickly became apparent after using it for a while, that Sony hates you.
(Well, me in this case, but you get the idea).
When I first got the thing, the number of things that didn’t work in Linux were numerous.
That’s just the more obvious pet peeves about this machine. Remarkably, the things that usually plague laptops (wireless, suspend/resume) actually ‘just worked’ in Fedora 10. I was actually really surprised by this.
Andrew Morton terrorised kernel developers for years with his vaio of doom. There’s just something about them that makes them a complete pain in the ass to deal with. At least one of the reasons is that Sony go out of their way to do things differently to everyone else, even when there’s no really good reason to.
So yeah, don’t buy a Vaio. You’ll be thankful.

Jan 20, 2009
I spent way too much time over the last few days chasing bugs which turned out to have nothing to do with Linux.
I bought a SATA controller which arrived just before the weekend. It seems there is a fundamental flaw with the Silicon Image 3114 chips. Or to be more precise, with the firmware on some of the boards using this chip.
This thread is a summary of all manner of problems with it, but in short, it corrupts data past a certain block number. This took a lot of tracking down. (And badblocks takes forever to run when in destructive mode).
There is mention in that thread that a firmware update fixes the problem. Unfortunately, the DOS based flasher program seems completely unable to even write to my card.
I guess I’ll only use this controller for smaller disks, unless someone comes up with a workaround.

Jan 18, 2009
This is curious. I’ve had a PCI port-80 card for quite a while, and it’s come in handy from time to time for debugging. What intrigues me about this one though is the addition of the USB & parallel port. Not seen that before. Suppose it saves you needing to have the case open to see the numeric readout.
Too bad it isn’t PCI express. The last few boxes I’ve had no longer have 32-bit PCI.
That site has all manner of bizarre junk for sale. It also seems to be the cheapest source I’ve found for things like SATA cables.