<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:kernelslacker</id>
  <title>Dave Jones recollection of stuff that happened.</title>
  <subtitle>kernelslacker</subtitle>
  <author>
    <name>kernelslacker</name>
  </author>
  <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom"/>
  <updated>2008-12-23T21:58:13Z</updated>
  <lj:journal userid="6144885" username="kernelslacker" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://kernelslacker.livejournal.com/data/atom" title="Dave Jones recollection of stuff that happened."/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:134153</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/134153.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=134153"/>
    <title>Trying something new.</title>
    <published>2008-12-23T21:58:13Z</published>
    <updated>2008-12-23T21:58:13Z</updated>
    <content type="html">I decided to move my blog again. It's now a self-hosted wordpress instance at &lt;a href="http://www.codemonkey.org.uk"&gt;my homepage&lt;/a&gt;.  Wordpress was deceptively easy to set up. I had imagined it to be a lot more involved.  There are many knobs to tweak though, so I'll likely be fiddling with it for months to come. I've still not found a 'theme' I'm happy with, but what's there now will do for the time being. (anyone sensible will read it with an rss reader anyway).&lt;br /&gt;&lt;br /&gt;At the same time, I've decided to start blogging about my &lt;a href="http://www.attacksustain.com"&gt;noise-making habit&lt;/a&gt; on a separate site.  The separation of Linux nerdery from my modular synth nerdery should appease those who couldn't care less about one or the other.  (And for those oddballs that are interested in both, there's this neat thing called RSS).&lt;br /&gt;&lt;br /&gt;Why the move?  I've been toying with the idea of doing this for a long time, and procrastination was the only real reason I didn't get to it.  My web site was looking a little neglected, so it felt like the right time for an overhaul.&lt;br /&gt;Additionally, my livejournal account runs out sometime next year, and I don't think I'll bother renewing it. (It's not like I ever used any of the paidmembers features anyway).&lt;br /&gt;&lt;br /&gt;I'll let it revert to a free account, and will still use it to comment on other peoples blogs etc, but I'll likely not post here again after this.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:134103</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/134103.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=134103"/>
    <title>codec nightmares.</title>
    <published>2008-12-19T20:03:52Z</published>
    <updated>2008-12-19T20:03:52Z</updated>
    <category term="doom"/>
    <category term="codecs"/>
    <content type="html">I've been thinking about just how much a nightmare video codecs are lately.  The usual case that everyone complains about is the inability for Linux distros to ship various patented codecs. But when I thought about it, the problem is much bigger than Linux.&lt;br /&gt;&lt;br /&gt;There's not a single operating system, or media playback device that will reliably play every single format that could be thrown at it. Not even close.&lt;br /&gt;&lt;br /&gt;My OSX box gets kinda close thanks to &lt;a href="http://www.perian.org"&gt;perian&lt;/a&gt;, but still fails with many of the wmv variants amongst others. Windows also requires a bunch of apps &amp; codecs installed.  It's not just a Linux problem, and in honesty, never has been.&lt;br /&gt;&lt;br /&gt;A few nights ago, I rigged up ushare, to see how the PS3 coped with its built-in media player.  It failed pretty spectacularly. Other than MPEGs, almost nothing worked.&lt;br /&gt;&lt;br /&gt;I've been toying with the idea of getting a PMP for a while, but it's the same story. I'm not particularly interested in re-encoding all my music again, and even more disillusioned at the thought of not being able to actually play most of the videos I have.&lt;br /&gt;&lt;br /&gt;Free, open standards like vorbis should make all of this a non-issue. Yet hardware manufacturers seem reluctant to implement them.  The workarounds of taking codecs from other OS's and running them in Linux seems to have become 'the norm' for playing back a lot of formats in Linux. This of course works great for x86, but all the embedded variants of Linux I've seen so far in media playback devices are running ARM, or MIPS, which means of course.. no playback of those formats.&lt;br /&gt;&lt;br /&gt;I'd like to believe it's a problem that will eventually go away, but each seems to get worse, with yet another format we're unable to play back universally.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:133876</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/133876.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=133876"/>
    <title>new mailing list.</title>
    <published>2008-12-16T21:38:02Z</published>
    <updated>2008-12-16T21:38:02Z</updated>
    <category term="initramfs"/>
    <content type="html">initramfs@vger dot kernel dot org now exists.  As usual 'subscribe initramfs' in the body to majordomo @ vger.&lt;br /&gt;&lt;br /&gt;This list will be for discussing the cross-distro initramfs support I've been suggesting at for the past few months.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:133536</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/133536.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=133536"/>
    <title>uberbugs.</title>
    <published>2008-12-16T20:15:18Z</published>
    <updated>2008-12-16T20:15:18Z</updated>
    <category term="fedora"/>
    <category term="initrd"/>
    <category term="bugs"/>
    <content type="html">Every release, there's at least one bug that affects a significant number of users.  Most of the time, we get lucky, and the users can get the system installed, and we can fix the problem in an update.  The worse-case scenario however is the case where a bug prevents installation, or prevents booting post-install.&lt;br /&gt;&lt;br /&gt;F10 had &lt;a href="https://bugzilla.redhat.com/show_bug.cgi?id=stabilization"&gt;a bug just like this&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It manifested in several different ways.&lt;br /&gt;For some people, it result in a 10 second pause during boot up. For others, it failed to find the root filesystem, even after waiting.&lt;br /&gt;&lt;br /&gt;What happened here?&lt;br /&gt;&lt;br /&gt;The initrd has code to wait for the kernel to finish enumerating devices.  This is an important thing to do so we don't try anything silly like trying to mount the root filesystem before the driver for the disk controller has found the disks plugged into it.&lt;br /&gt;&lt;br /&gt;In F9 and earlier, we would emit this code when the initrd included the scsi_mod module.&lt;br /&gt;&lt;br /&gt;Late in the F10 development, we moved a bunch of things to be built-ins, to tweak the boot-up speed.&lt;br /&gt;This turned out to be a really bad idea, as it meant the 'stabilization' code didn't get emitted. Ouch.&lt;br /&gt;&lt;br /&gt;How come it didn't affect everyone?  Different controllers behave differently. Some initialise so quickly that there's no reason to wait any longer.&lt;br /&gt;&lt;br /&gt;Why didn't it get caught during testing?  We did have a large number of reports, but the correlation wasn't made until post-release.&lt;br /&gt;&lt;br /&gt;Should it have held up the release? Possibly, if we knew it would affect so many people.&lt;br /&gt;&lt;br /&gt;FTR: None of the hardware I personally tested was affected by this problem, which made it a real pain to track down.&lt;br /&gt;&lt;br /&gt;The good news is that in the hopefully not to distant future, all this code is going the way of the dodo anyway.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:133226</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/133226.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=133226"/>
    <title>making money from saving power</title>
    <published>2008-12-12T19:36:57Z</published>
    <updated>2008-12-12T19:36:57Z</updated>
    <content type="html">Saving money by implementing better power management isn't the fast path to richness it seems. Writing about it for &lt;a href="http://www.forrester.com/Research/Document/Excerpt/0,7211,46693,00.html"&gt;$279 a pop&lt;/a&gt; seems to be.&lt;br /&gt;&lt;br /&gt;I wonder how many people actually buy these 'reports'.  Probably a ridiculously high number.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:132997</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/132997.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=132997"/>
    <title>ass reaper.</title>
    <published>2008-12-10T23:37:45Z</published>
    <updated>2008-12-10T23:38:11Z</updated>
    <content type="html">I really like spicy food.  I eat a fair amount of spicy indian &amp; mexican. But none of this prepared me for what I tasted a few nights ago.   &lt;a href="http://www.flickr.com/photos/kernelslacker/2717911976/"&gt;This stuff&lt;/a&gt; is quite possibly the most brutal hot sauce I've ever tasted.&lt;br /&gt;&lt;br /&gt;I had a tiny amount and tasted it. Within seconds I had to chug down a load of milk to try and make the burning stop. Even with that, it continued burning for a while.  If I had any appreciable quantity of this stuff I think I'd have some kind of religious experience. It's not so much spicy, it's just ridiculous amounts of searing pain.&lt;br /&gt;&lt;br /&gt;Habañero peppers, Scotch Bonnet peppers and African olesoresin.&lt;br /&gt;&lt;br /&gt;I'm curious how many &lt;a href="http://en.wikipedia.org/wiki/Scoville_scale"&gt;scoville's&lt;/a&gt; this stuff is, but the internet seems not to know. The closest guess is &lt;a href="http://www.brianbeutler.com/2007/07/boutique_hot_sa/"&gt;somewhere in the 300-500,000 range&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;On a scale of 1 to 10, I'd score this one "oh my god I think I'm going to die".&lt;br /&gt;&lt;br /&gt;Thanks Erinn.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:132712</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/132712.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=132712"/>
    <title>best initrd improvement idea ever.</title>
    <published>2008-12-10T20:49:43Z</published>
    <updated>2008-12-10T20:49:43Z</updated>
    <category term="initrd"/>
    <content type="html">Hacking on the new initrd stuff with Jeremy..&lt;br /&gt;&lt;br /&gt;"Yeah, you probably don't need those sound/ modules in the initrd"&lt;br /&gt;"Dude, music whilst you boot!"&lt;br /&gt;"We could have a contest to have people submit a 30 second boot-time song"&lt;br /&gt;&lt;br /&gt;Yeah. Maybe this idea won't make the cut.&lt;br /&gt;&lt;br /&gt;Some of the more sensible ideas in a post later. In the meantime, &lt;a href="https://fedoraproject.org/wiki/Initrdrewrite"&gt;some rough notes&lt;/a&gt;.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:132396</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/132396.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=132396"/>
    <title>virtual memory.</title>
    <published>2008-12-08T19:10:39Z</published>
    <updated>2008-12-08T19:10:39Z</updated>
    <category term="kernel"/>
    <category term="vm"/>
    <content type="html">Some questions related to virtual memory never seem to go away.&lt;br&gt;&lt;br /&gt;Here are some of my favorites that I just love getting asked at least once every couple weeks. (Despite not being a VM hacker).&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;My computer is using N MB of swap space, and there's memory free! This sucks!&lt;br /&gt;&lt;br /&gt;To understand this, think about what happens to infrequently used pages of a process when there's memory pressure. The OS decided to use those pages of RAM for something more useful.&lt;br /&gt;&lt;li&gt;My computer has N MB of swap space free, and my processes still get oom killed. the kernel is buggy!&lt;br /&gt;&lt;br /&gt;When something got oom-killed, you ran out of _memory_, not swap space, and there was nothing else that could be swapped out to free up memory.&lt;br /&gt;&lt;li&gt;My computer had N MB of RAM free, and they still got oom killed! the kernel sucks!&lt;br /&gt;&lt;br /&gt;There are different zones of memory. Having hundreds of MB of HIGHMEM available is irrelevant if something really needs memory it can use for DMA (Which is a very tight resource).&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;And my all-time favorite..&lt;br /&gt;&lt;ul&gt;&lt;li&gt;I run without any swapspace configured, and once my app that allocates hundreds of gigs of memory keeps getting oom-killed. How do I stop the kernel doing this.&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;Answers on a postcard for that one ...</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:132160</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/132160.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=132160"/>
    <title>Portable storage.</title>
    <published>2008-12-04T18:07:57Z</published>
    <updated>2008-12-04T18:17:07Z</updated>
    <category term="usb"/>
    <category term="esata"/>
    <category term="storage"/>
    <content type="html">Dilemma. I need some portable storage device, but all the USB/Firedire ones seem to be made of fail. But whilst searching, I found &lt;a href="http://www.amazon.com/dp/B001CZETXQ?tag=kslj-20"&gt;this thing&lt;/a&gt; which raised some questions.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The obvious one - what's up with the bamboo?&lt;br /&gt;&lt;br /&gt;&lt;li&gt;What the hell is Turbo USB?&lt;br&gt;&lt;br /&gt;Asides from "25% faster than a USB 2.0 connection", it doesn't really say. So I poked around the interwebs a bit.&lt;br /&gt;The best I've been able to dig up so far, is &lt;a href="http://gizmodo.com/gadgets/faster-usb%3F/buffalo-says-its-turbo-usb-tech-speeds-data-transfers-by-60-286263.php"&gt;buffalo claiming a 60% speed increase over USB2&lt;/a&gt; (wait, 60% ? hmm), and &lt;a href="http://www.everythingusb.com/buffalo_turbo_usb_ministation_250gb_drive_13109.html"&gt;this speculation&lt;/a&gt;&lt;br /&gt;that it's just a cache that sits between the host and the USB-&amp;gt;SATA bridge.  From a little searching, it seems that a whole&lt;br /&gt;bunch of vendors now implement this same gimmick, whatever it really is.&lt;br /&gt;&lt;br /&gt;&lt;li&gt;From reading the comments left by some customers on the amazon page linked above, the "auto-sensing power feature that turns the drive on and off with your computer" doesn't seem to actually work (and that's in those other OS's, good luck getting it work in Linux if it doesn't even work there). This doesn't really surprise me much.  I've had many USB/Firewire drive enclosures over the years, and every single one of them has screwed this up.  (Most of them make it impossible to use features like SMART too).&lt;br /&gt;The amusing thing is that of all the enclosures I've had, the electronic parts are nearly always identical.&lt;br /&gt;So they suffer all the same firmware bugs across vendors, just in different cases, with different flashing lights.&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;All of this just makes me wonder.  Isn't it about time that USB storage died a long overdue death and we all just moved to eSATA? &lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;It would be faster. No pointless protocol conversion. Transfers running the speed of the SATA link rather than the USB link.&lt;br /&gt;&lt;li&gt;It wouldn't suffer unfixable firmware dumb bugs in protocol conversion.&lt;br /&gt;&lt;li&gt;It would allow access to native features the drive is capable of like ALPM, SMART etc..&lt;br /&gt;&lt;li&gt;Given the addition of ALPM &amp; spindown that works, it would end up using less power.&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;The only thing missing seems to be that hardly any laptops feature eSATA connectors yet.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;update:&lt;/b&gt;Immediately after posting this, I stumbled across &lt;a href="http://www.amazon.com/dp/B001F0W444?tag=kslj-20"&gt;this&lt;/a&gt; which is as Kyle McMartin said "a lot of data to accidentally put through the wash".  I had no idea they were making usb sticks that big now.  I think a handful of these is probably a better option than any usb-&amp;gt;ata convertor + rotating media right now.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:132087</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/132087.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=132087"/>
    <title>Making the eee 900 series suck less.</title>
    <published>2008-12-02T18:58:27Z</published>
    <updated>2008-12-02T19:19:23Z</updated>
    <category term="fedora"/>
    <category term="eee"/>
    <content type="html">Recently I've read about or spoken with a few people using Fedora on eeepc's who have been making some fairly big blunders without realising it.  I've played with a few of these now, in their various incarnations.&lt;br /&gt;The current one I've been carrying around is the &lt;a href="http://www.amazon.com/dp/B00191PKJK?tag=kslj-20"&gt;900 model&lt;/a&gt;&lt;br /&gt;with a whopping 20GB of flash.  It's quite deceptive, because there are actually two SSDs in there (one 4GB, and one 16GB)&lt;br /&gt;These ssds are also pretty damn awful performance-wise compared to the newer generation of SSDs, but short of opening it up and retrofitting something, there's not much that can be done.  The tips below should at least make it more bearable.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;First off, don't use the default partitioning scheme.&lt;br /&gt;By default, anaconda will choose to use lvm, and make a contiguous volume out of the two SSDs. This idea is fail, because the two disks aren't the same, and run at different speeds.&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;# hdparm -t /dev/sda&lt;br /&gt;&lt;br /&gt;/dev/sda:&lt;br /&gt; Timing buffered disk reads:  108 MB in  3.04 seconds =  35.57 MB/sec&lt;br /&gt;&lt;br /&gt;# hdparm -t /dev/sdb&lt;br /&gt;&lt;br /&gt;/dev/sdb:&lt;br /&gt; Timing buffered disk reads:   86 MB in  3.05 seconds =  28.20 MB/sec&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;So, don't do that. Just create regular partitions, and make sure you put / on the faster of the two disks (the 4GB one), and leave the 16GB one for /home&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Next, the default filesystem will be ext3.  You really don't want this.&lt;br /&gt;Given the journal is in a fixed location on disk, scribbling to it every time a file gets written is a great way to wear out the flash.  Go with ext2.  (Given that you've only got a few GB of flash anyway, a fsck doesn't take that long should you need to).  Additionally, not having to write to the journal means that you're doing less IO, which is obviously a win when it's on such slow media.&lt;br /&gt;&lt;br /&gt;&lt;li&gt;This should go without saying - no swap.&lt;br /&gt;Not only for the flash wear problem in the previous bullet, but also, because it's slow as all hell.  If you find you run out of ram and get stuff oom-killed in this setup, well, you probably need to add more ram, or consider a real laptop.&lt;br /&gt;&lt;br /&gt;&lt;li&gt;After installing, change the fstab so that everything gets mounted with noatime.  Writes to the disk are just painful, so minimising them is the path to success here.  It's doubtful that you'll be running anything on an eee that would actually care about atimes anyway.&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;With these points taken into consideration, the eee isn't a half-bad machine.&lt;br /&gt;I still wouldn't want to be building kernels and such on it, but it's perfectly usable for email and such whilst travelling.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:131770</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/131770.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=131770"/>
    <title>More on cheap memory sticks.</title>
    <published>2008-10-21T00:55:44Z</published>
    <updated>2008-10-21T00:55:44Z</updated>
    <category term="usb"/>
    <category term="adata"/>
    <content type="html">The &lt;a href="http://kernelslacker.livejournal.com/131272.html"&gt;cheap memory sticks&lt;/a&gt; I blogged about recently finally arrived today.&lt;br /&gt;As one of the comments in that entry mentioned, Pavel Machek had bad experiences with usb sticks of the same brand, so I was curious to see how well mine would stand up.  I plugged it in, and mounted it, no problems. Straight to my favorite file system stress test.. (&lt;a href="http://www.codemonkey.org.uk/projects/fsx/"&gt;fsx&lt;/a&gt;). It survived for a while. So I control-C'd it.  Then I umounted it, and noticed dmesg got flooded with a few hundred..&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;FAT: Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Hmm. Looking at the partition table in fdisk was enlightening.&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;Disk /dev/sdj: 4043 MB, 4043309056 bytes&lt;br /&gt;255 heads, 63 sectors/track, 491 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;Disk identifier: 0x04dd5721&lt;br /&gt;&lt;br /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdj1   *           1         492     3948512+   b  W95 FAT32&lt;br /&gt;Partition 1 has different physical/logical endings:&lt;br /&gt;     phys=(490, 254, 63) logical=(491, 145, 38)&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Umm. What?&lt;br /&gt;&lt;br /&gt;I blew it away, and created a new partition table (with 'o'), added a new primary partition the size of the whole disk (accepting all defaults).&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdj1               1         491     3943926   83  Linux&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Interesting. A block shorter.&lt;br /&gt;&lt;br /&gt;I ran mkfs.ext2 with -cc option, and went out for a while.  When I got back, all looked well..&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;Testing with pattern 0xaa: done    &lt;br /&gt;Reading and comparing: done    &lt;br /&gt;Testing with pattern 0x55: done    &lt;br /&gt;Reading and comparing: done    &lt;br /&gt;Testing with pattern 0xff: done    &lt;br /&gt;Reading and comparing: done    &lt;br /&gt;Testing with pattern 0x00: done    &lt;br /&gt;Reading and comparing: done    &lt;br /&gt;Writing inode tables: done    &lt;br /&gt;Writing superblocks and filesystem accounting information: done&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Well, it does better than the &lt;a href="http://kernelslacker.livejournal.com/89113.html"&gt;iram&lt;/a&gt; ever did.&lt;br /&gt;I created a vfat filesystem on there again, and reran the same stress tests as initially, occasionally syncing/umounting/unplugging, and  I've not managed to break it since I created a non-bogus partition table.  More destruction testing as it happens..</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:131442</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/131442.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=131442"/>
    <title>where did this week go?</title>
    <published>2008-10-17T19:41:39Z</published>
    <updated>2008-10-17T19:41:39Z</updated>
    <content type="html">This week has really flown by. Friday already?&lt;br /&gt;On Sunday I traveled down to New York by train for the Linux Foundation End User summit.  Traveling by train is seriously the way forward. The actual time in motion may have been longer, but there was no queuing and waiting around at airports, no security hassles, at least twice as much legroom, and power at my seat.  Unfortunately the on-train food was equally as bad as airplane food.&lt;br /&gt;&lt;br /&gt;In New York, I spent two days in the Desmond Tutu center along with a bunch of other Linux developers, and Linux users from assorted backgrounds (though the financial/trading markets dominated unsurprisingly given our location).&lt;br /&gt;The content was mostly a show-and-tell from both sides. From the developer side for eg, Ted Ts'o spoke about ext4, followed by Chris Mason showing us the future of btrfs.  There were a few panel format sessions of end-users answering assorted questions about their Linux deployments.  Some of this was interesting information, and I would have liked to have heard more, but due to the nature of their businesses, I got the impression some of the users felt somewhat uncomfortable revealing too much information with their competitors in the room.  This is a situation we've encountered many times before.  Sometimes Red Hat gets a bug report from one of our customers, and in getting a fix for that bug upstream, we get asked questions about the environment in which it was seen (or more directly: a test case for reproducing the bug, which most of the time not even we get).&lt;br /&gt;&lt;br /&gt;I sat in on the file-system/storage sessions, which were well attended. It was interesting to hear some horror stories from users, and also to see the keen interest in Linux's next-gen file-systems. Chris Mason hopes to get btrfs upstream for 2.6.29, which could make for an interesting F11 feature. (At that point in time however it'll probably be at least a little rough around the edges, and may require a bootflag like we did for ext4 in Fedora "iamanext4developer"). No doubt though, that once this gets included in Linus' tree there will be a lot more people jumping on it.&lt;br /&gt;&lt;br /&gt;I had a number of interesting 'hallway track' conversations with some end-users, where I found several of them actually regularly test Fedora to see "what's coming in future RHEL releases".  Sadly, when asked if they participate in Fedora development (even if only by filing bug reports), there was mostly a negative response, with assorted reasons.&lt;br /&gt;&lt;br /&gt;I lost Wednesday to traveling back to Boston.  Thursday was 'catch up with email day', and today is pretty much more of the same. (Along with a bunch of other equally boring things like dealing with Visa paperwork).  Looking forward to getting back to 'real work' next week.&lt;br /&gt;&lt;br /&gt;With the LF summit out of the way, I'm done traveling for quite a while.  I'm bailing on LCA this year, and I've canceled a trip to Portland,OR that was supposed to happen next month.  I'm still not 100% recovered from my back/leg/whatever injury, and decided to play it safe.  It's actually nice to not have to worry about going anywhere.  It's probably going to be summer again before I'm back in an airplane.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:131272</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/131272.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=131272"/>
    <title>cheap usb memory sticks &amp; livecds.</title>
    <published>2008-10-04T20:29:59Z</published>
    <updated>2008-10-18T19:38:24Z</updated>
    <content type="html">&lt;a href="http://www.amazon.com/DATA-PD2-2-0-Flash-Drive/dp/B000F5FRTY?tag=kslj-20"&gt;This&lt;/a&gt; seems ridiculously cheap.&lt;br /&gt;A number of times in the last week I've ordered stuff from amazon where the shipping has cost more than the item.  (I have &lt;a href="http://www.amazon.com/gp/subs/primeclub/signup/extmain.html?ref=prime_assoc_bt&amp;amp;tag=kslj-20"&gt;amazon prime&lt;/a&gt;, so get free shipping, but this doesn't work for 3rd party sellers using Amazon as a storefront).  There's also an &lt;a href="http://www.amazon.com/DATA-PD2-2-0-Flash-Drive/dp/B000VE9ZWO?tag=kslj-20"&gt;8gb model&lt;/a&gt; which seems remarkably well priced.&lt;br /&gt;&lt;br /&gt;Curiosity got the better of me, and even with the shipping making it ~$10, it still seemed like a great deal for 4GB, so I ordered one.  The Fedora livecd-iso-to-disk script makes it pretty simple to create a bootable usb stick preloaded with Fedora. 4GB is a pretty usable amount of space. (It's that same that I had on my first eeepc, which proved more than adequate).  Hopefully it's not something substandard with a low number of write-cycles, or slow speed or the like. I guess I'll know in a week.  If this works out though, I think I'll never have to bother carrying a rescue CD with me every time I travel.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:131008</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/131008.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=131008"/>
    <title>bugtrackers and lots of comments.</title>
    <published>2008-09-24T22:54:16Z</published>
    <updated>2008-09-24T22:54:16Z</updated>
    <content type="html">Some things I'd really love to see to improve the usefulness of bugzilla (and other bugtrackers)&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Comment nesting.&lt;br /&gt;Basically multiple "Reply to this comment" buttons, one after each post, instead of one "post a new comment" button.&lt;br /&gt;&lt;li&gt;A "collapse this thread in *my* view of this bug".&lt;br /&gt;Useful for ignoring inconsequential stuff that people may post to the bug. "HEY! I SAW A KERNEL OOPS ONCE TOO!"&lt;br /&gt;&lt;li&gt;(going a bit crazy now). Comments Points/Moderation/Scoring.&lt;br /&gt;Vote down a comment so it gets auto-collapsed in everyones view of the bug.&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;(This is beginning to sound like the bastard child of bugzilla &amp; digg/slashdot, so I'll stop here).&lt;br /&gt;&lt;br /&gt;I've had these thoughts a few times over the last few years triaging kernel bugs for Fedora.  I think they would be worth additions especially for the instances of a single bug that gets many people jumping on it.  Especially high profile issues like the current e1000e scare that has a bunch of people worried.&lt;br /&gt;(Though the Fedora bug tracking that problem is quite tame in comparison to the ubuntu one right now.  I actually pity those guys having to wade through all those comments, with so much not-directly-useful-or-relevant commentary).&lt;br /&gt;&lt;br /&gt;But we've had issues in the past in Fedora where we've easily had over 100 comments.  Trying to keep up with what's going on when there are 16 different people all with slightly different (or even completely different in some cases) problems is nearly impossible after a point.  On a number of occasions, I've just closed the bug with a comment along the lines of "guys, this is madness, please file individual bugs, and we'll work through them".&lt;br /&gt;&lt;br /&gt;Part of the problem is context.  If all I had to do was look at that one bug, and work on it, it wouldn't be such a big deal.  Due to there being more bugs than developers (in any distro), time-slicing occurs, and regaining 'state' when loading up a bug again takes a while.  When there's pages and pages of comments, it's sometimes impossible to regain the full picture just due to the amount of noise.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:130745</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/130745.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=130745"/>
    <title>initrd clarifications.</title>
    <published>2008-09-22T19:38:43Z</published>
    <updated>2008-09-22T19:40:34Z</updated>
    <category term="initrd"/>
    <lj:music>Bitcrush - Untilted</lj:music>
    <content type="html">After reading some of the comments at &lt;a href="http://lwn.net/Articles/298593/"&gt;lwn&lt;/a&gt; about my sessions last week at kernel summit/plumbers conf about writing a 'make initrd' target for the kernel that would work on every distro, I feel some clarifications are in order.&lt;br /&gt;&lt;br /&gt;What I am not doing.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Dropping the Fedora mkinitrd script into the kernel.org tree and hoping other distros will make it work for them.&lt;br /&gt;&lt;li&gt;Obsoleting the existing mkinitrd from Fedora for a considerable amount of time. (Think RHEL7 timeframe).&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;What I am doing.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Right now, nothing but decompressing.  Last week was pretty intense, with a lot of feedback to take in.&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;What I've done&lt;br /&gt;&lt;ul&gt;&lt;li&gt;I've looked at other distros initrd's &amp; creation tools. They all suck equally. Really. If you disagree, you either haven't looked hard enough, or you have emotional attachment issues.  There is really nothing amazing about your distros tools over any others. (Which is why I'm of the opinion that "do it right, once, upstream" is the right answer.&lt;br /&gt;&lt;li&gt;Written very little code.  A few dozen lines of shell on the planeride home.  I'm not posting anything until it at least is limping[1] along.&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;What I'll do next&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Yes, I'm starting afresh. I'll be borrowing some bits from various distros initrd's as I stumble into "hmm, how _does_ this currently work" territory, but this is going to be done with baby steps, first of all just booting off simple setups with /dev/[hs]da, no root on nfs/iscsi/nbd etc.&lt;br /&gt;&lt;li&gt;At least in part, I'm starting with something completely new for political reasons. It's the only way to get anyone to agree on how to make progress. With everyone so invested in their current working solutions, "just use the debian one" or "just use the fedora one" isn't going to get us anywhere.&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;How is this going to work?&lt;br /&gt;&lt;ul&gt;&lt;li&gt;For Fedora systems, we'll be building an additional initrd.  Currently we only build it at kernel RPM install time, tailored for that system.  Going forward, a one-size-fits-all initrd will be made during the package build process.  Which gets used will depend on an /etc/sysconfig/kernel/ setting.   This way, we can continue to use the crufty mkinitrd until this thing is ready, and the bleeding edge lunatics and people actually wanting to work on this can set the variable and have the new hotness.&lt;br /&gt;&lt;li&gt;The very first step however is recovering from some of the fallout of the boot/init session of plumbersconf.  Reviewing our CONFIG options.  It's likely that use of 'make initrd' will imply that certain options should be set certain ways.&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Once I'm feeling a little more on my feet[2], I'll make some more posts on what I intend to do, and how.  Until then, continue to speculate wildly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[1] Trapped sciatic nerves are the _worst_.&lt;br /&gt;[2] Seriously. Screw flying anywhere for a while. I'm staying home.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:130325</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/130325.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=130325"/>
    <title>bandwidth limit.</title>
    <published>2008-09-13T21:22:35Z</published>
    <updated>2008-09-13T21:22:35Z</updated>
    <category term="comcastic"/>
    <content type="html">Just got this mail from comcast..&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;On October 1, 2008, we will post an updated AUP that will go into&lt;br /&gt;effect at that time.&lt;br /&gt;&lt;br /&gt;In the updated AUP, we clarify that monthly data (or bandwidth) usage&lt;br /&gt;of more than 250 Gigabytes (GB) is the specific threshold that&lt;br /&gt;defines excessive use of our service. We have an excessive use policy&lt;br /&gt;because a fraction of one percent of our customers use such a&lt;br /&gt;disproportionate amount of bandwidth every month that they may&lt;br /&gt;degrade the online experience of other customers.&lt;br /&gt;&lt;br /&gt;250 GB/month is an extremely large amount of bandwidth and it's very&lt;br /&gt;likely that your monthly data usage doesn't even come close to that&lt;br /&gt;amount. In fact, the threshold is approximately 100 times greater&lt;br /&gt;than the typical or median residential customer usage, which is 2 to&lt;br /&gt;3 GB/month. To put it in perspective, to reach 250 GB of data usage&lt;br /&gt;in one month a customer would have to do any one of the following:&lt;br /&gt;&lt;br /&gt;* Send more than 50 million plain text emails (at 5 KB/email);&lt;br /&gt;* Download 62,500 songs (at 4 MB/song); or&lt;br /&gt;* Download 125 standard definition movies (at 2 GB/movie).&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;I guess I won't be syncing rawhide packages on a daily basis any more.&lt;br /&gt;Or doing complete package tree checkouts.&lt;br /&gt;&lt;br /&gt;I wonder what other bandwidth excesses I take for granted I'll have to cut back on.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:130297</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/130297.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=130297"/>
    <title>NIN live visuals running on Linux.</title>
    <published>2008-09-13T15:51:00Z</published>
    <updated>2008-09-13T15:51:00Z</updated>
    <category term="nin"/>
    <category term="momentfactory"/>
    <content type="html">'&lt;a href="http://www.wired.com/entertainment/music/news/2008/09/nin_show?currentPage=all"&gt;all the onscreen video is rendered by Moment Factory's custom rig, a trio of Linux-based devices collectively known as "the brain."&lt;/a&gt;.'&lt;br /&gt;&lt;br /&gt;And for the record, that light show kicks so much ass.  Some truly impressive effects.  Some of which are on youtube, but cellphone captures really don't do them justice.  If you get the chance to see this &lt;a href="http://tour.nin.com/"&gt;tour&lt;/a&gt;, even if you aren't a huge NIN fan, I really recommend it.  I remember 20 years ago, people were saying similar things about Pink Floyds lightshows.  This is all that, and so much more.  (And apparently still being refined/enhanced, making me eager to see them again.  Vegas at xmas maybe?)&lt;br /&gt;&lt;br /&gt;Also, that wired article has confirmation that the '&lt;a href="http://digg.com/music/Nine_Inch_Fail"&gt;nine inch fail&lt;/a&gt; bsod was intentional.  Well duh.&lt;br /&gt;&lt;br /&gt;I'm curious to find other stuff the moment factory guys have been responsible for.  They're based in Montreal. Maybe we can get them to keynote next years OLS :)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:129917</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/129917.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=129917"/>
    <title>back.</title>
    <published>2008-09-08T18:20:12Z</published>
    <updated>2008-09-08T18:20:12Z</updated>
    <content type="html">Was on vacation last week in San Francisco, which was pretty awesome. A really fun city with a lot to see and do.  Good to catch up with a few people, and also good to play tourist and go do touristy things (like visiting Alcatraz).  Highlight of the trip by far though, was seeing &lt;a href="http://www.flickr.com/photos/kernelslacker/sets/72157607146321143/"&gt;Nine Inch Nails&lt;/a&gt; live at Oakland colliseum.&lt;br /&gt;&lt;br /&gt;The low point of it all, was I seemed to somehow do myself an injury.  When I arrived, I was aching a lot, but I put it down to just the usual cramped airplane flight, and then walked around SF, a lot.  Including (not one my brighter moments) up some pretty harsh hills.&lt;br /&gt;By the time Saturday came around, I couldn't stand up for too long without back/leg ache.   Then I flew home yesterday in complete agony.  The over the counter painkillers I got did pretty much nothing.  By the time I got back to Boston, I was hobbling along with all my luggage at some ridiculously slow pace.&lt;br /&gt;&lt;br /&gt;I hardly slept last night due to the discomfort.  First thing this morning, I went to the ER to get checked out.   Got poked and prodded a lot, and the best they could come up with was "probably a trapped sciatic nerve".  So they loaded me up with percocet,valium and ibuprofen and sent me home.  I took some, and headed back on the T.  About halfway into my journey, I think they kicked in, because I spaced out, and completely missed my stop.  They make me feel kind of drunk.&lt;br /&gt;Got off, and had some lunch, and resumed my trip home.&lt;br /&gt;&lt;br /&gt;So, great start to my first day back at work.   I'm ridiculously backlogged from email right now, so will spend most of this week catching up, and taking it easy in the hope that I'm over this injury before the weekend when I'm due to fly to Portland,OR for kernel summit/plumbers.&lt;br /&gt;&lt;br /&gt;[apologies if any of the above sounds somewhat more incoherent than usual, seriously, these drugs are making my brain do funny things]</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:129541</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/129541.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=129541"/>
    <title>lockdep lolz.</title>
    <published>2008-09-03T00:37:01Z</published>
    <updated>2008-09-03T00:37:01Z</updated>
    <category term="lockdep"/>
    <content type="html">&lt;a href="http://www.codemonkey.org.uk/junk/lockdep.txt"&gt;My entry&lt;/a&gt; for the "most extensive debug output from a single event" world record.&lt;br /&gt;&lt;br /&gt;.. and with that, I'm off on vacation for a week.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:129508</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/129508.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=129508"/>
    <title>Open source noise machines.</title>
    <published>2008-08-27T17:00:13Z</published>
    <updated>2008-08-27T17:00:13Z</updated>
    <lj:music>Rico - State</lj:music>
    <content type="html">&lt;a href="http://createdigitalmusic.com/2008/08/26/preview-openstomp-open-source-effects-stompbox-us349/"&gt;this is pretty cool&lt;/a&gt;.&lt;br /&gt;I'm an avid collector of effect units (I lost count a while back just how many I have).  Having something tweakable in this manner is kind of neat.  Though I don't think I'll be getting one for a few reasons.&lt;br /&gt;&lt;br /&gt;First, I use my noise-making as an escape from open source.  Sometimes, even I need to switch off, and moving to a different room to run gdb in a different use-case isn't really escaping.&lt;br /&gt;&lt;br /&gt;Secondly, since the beginning of the year I've been building &lt;a href="http://www.doepfer.de/home.htm"&gt;a modular analog synth&lt;/a&gt;.  The beauty of this thing is it's pretty much entirely open. Want more oscillators? fine, buy some, screw them in.  Extra filters? same deal. Once you have a collection of mounted modules, you then get a large number of possible patch combinations between the various modules. For many of the modules, people have even made various 'hacks' to improve them in some manner or other.  The manufacturers have in some cases even adopted those changes in later revisions of modules which is really awesome.&lt;br /&gt;&lt;br /&gt;Whilst as a synth, it's primarily for the creation of sound, it also works really well as a sound-mangler of any input source, making it a supe r guitar effects pedal on steroids.  And with cool sounding modules like "&lt;a href="http://www.flickr.com/photos/kernelslacker/2691837098/in/set-72157606308114055/"&gt;malgorithm&lt;/a&gt;", I'm easily persuaded.&lt;br /&gt;The nice advantage of analog gear is that it rarely goes wrong in the sense that computers do.  It frequently does completely unpredictable things, but it's usually a 'happy accident' than a complete disaster.&lt;br /&gt;&lt;br /&gt;The only downside is these things get to be habit forming, and start to take over the house. Mine has already&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/kernelslacker/2690958913/"&gt;grown&lt;/a&gt; to twice the size I was initially expecting, and will probably increase some more before I'm "done".&lt;br /&gt;&lt;br /&gt;I keep meaning to record some of the output of this and other devices. One of these days I'll get to it. Until then, just imagine mains hum modulated by howling feedback with sub-bass that makes the walls shake, and you're probably pretty close to the sorts of sonic mayhem this thing puts out. (It's not /all/ it can do, it's just what I tend to make it do a lot).</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:129237</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/129237.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=129237"/>
    <title>Highlighting.</title>
    <published>2008-08-27T16:44:52Z</published>
    <updated>2008-08-27T16:44:52Z</updated>
    <lj:music>Skullflower - Lost In The Blackened Gardens Of Some Vast Star</lj:music>
    <content type="html">I'm a big fan of highlighting text. (But only on computer screens, I hate highlighters on paper, and really don't understand those people who selectively highlight semi-random parts of books).  To this end, I have the usual things set up, like my .vimrc enables syntax highlighting to show me when I've forgotten what C should look like.   I've also started extending it to other uses. Like highlighting common bugs.  It turns out to be handy when both writing code, and reviewing other peoples.&lt;br /&gt;&lt;br /&gt;It's pretty simple to do in vim.  For example..&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;highlight kmalloc ctermbg=red guibg=red&lt;br /&gt;match kmalloc /k[mzc]alloc(GFP_/&lt;br /&gt;&lt;br /&gt;highlight memset ctermbg=red guibg=red&lt;br /&gt;match memset /memset.*\,\(\ \|\)0\(\ \|\));/&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Now, go ahead and try that zero sized memset.  Or a kmalloc with swapped arguments. The bright red text screaming AWOOGA in your face should be attention grabbing enough for you to instantly realize what's up as soon as you've written the erroneous line of code.&lt;br /&gt;&lt;br /&gt;The above regexps aren't new either.  I've posted blog entries before about how I recursive grepped for the latter across all 80gb of the Fedora source tree periodically.  (And it still keeps turning up new casualties).&lt;br /&gt;&lt;br /&gt;I've also extended mutt to catch this nonsense.&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;color index red default '~b "memset.*\,\(\ \|\)0\(\ \|\));"'&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;When paging through my inbox, when I see a mail in red, I know there's something silly in it, which needs further review. (Very handy for reading things like commit mailing lists, or code review lists).&lt;br /&gt;&lt;br /&gt;Even if you don't write C, there are probably regexps for catching API misuses in other languages too, so the above principles should be useful. (I use vim/mutt almost exclusively, no idea how to make highlighting work with emacs etc, but I'm sure it's doable there too).</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:128869</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/128869.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=128869"/>
    <title>My ass has a carbon footprint.</title>
    <published>2008-08-26T23:00:59Z</published>
    <updated>2008-08-26T23:00:59Z</updated>
    <lj:music>Surachai - Thirteen</lj:music>
    <content type="html">I've really enjoyed not traveling anywhere this last month.  As much as I like seeing different places, I really enjoy being back home. I find that miss the little things. I miss having a routine.&lt;br /&gt;Next week sees the restart of lots[*] of traveling.&lt;br /&gt;&lt;br /&gt;Beginning with a vacation. I'm in San Francisco from next Wednesday through Sunday. (locals: drop me a mail if you'd like to meet up for a food/beer or whatever.)  I've got stuff planned for most the week, but there's guaranteed to be a bunch of free time too.  On Thursday I'm off to Alcatraz for a few hours, which should be interesting.  And on Friday night, I'm heading over to Oakland to see &lt;a href="http://www.nin.com"&gt;Nine Inch Nails&lt;/a&gt; which should be good fun. (if any locals I know are also going, send hot mailz. I need knowledge on how to survive Oakland without getting stabbed/shot/etc. Teach me your survival skills.)&lt;br /&gt;&lt;br /&gt;Assuming I survive my outing to Oakland, I get back to Boston on Sunday evening, and get a whole week at home, before heading back out to the west coast again, this time to Portland, Oregon for the Linux kernel summit, and &lt;a href="http://linuxplumbersconf.org/"&gt;plumbers conf&lt;/a&gt;.  I'm giving a talk there on how much of an awesome idea it would be if every Linux distro shipped a standard initrd.  It's either going to be awesome, or a lead balloon.&lt;br /&gt;&lt;br /&gt;[*] ok, it's not "lots", but two coast to coast trips in the same month are still what I deem 'excessive'.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:128640</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/128640.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=128640"/>
    <title>Continuing the adventure with password changes.</title>
    <published>2008-08-25T16:06:04Z</published>
    <updated>2008-08-25T16:06:04Z</updated>
    <lj:music>Does It Offend You, Yeah? - We are rockstars</lj:music>
    <content type="html">After having to change my Fedora passwords/keys last week, I went about changing pretty much every other password I had too.&lt;br /&gt;In doing so, I realised something enlightening. (read as: I'd made a horrific novice mistake).&lt;br /&gt;&lt;br /&gt;I knew I'd committed the sin of writing down passwords for certain things.  But "ah, I'll just encrypt the file and it'll be ok" was in hindsight pretty dumb.  What I had done though was this..&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;gpg password.txt.gpg&lt;br /&gt;vi password.txt&lt;br /&gt;gpg -e password.txt&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;GAME. OVER.&lt;br /&gt;&lt;br /&gt;Encrypting this file was utterly pointless. If my computer had been stolen, all an attacker would have had to do to see the contents of that file was &lt;tt&gt;strings /dev/sda&lt;/tt&gt; and it would have found the plaintext password.txt easily enough.&lt;br /&gt;&lt;br /&gt;Had I done the above operation in tmpfs, and moved the resulting .gpg file to hard disk afterward, I would have been okay.  But because I'm a dumbass, I'd done the above directly on hard disk. Numerous times.&lt;br /&gt;&lt;br /&gt;Tools like scrub exist to scribble over a file before it gets erased, but they wouldn't have helped me in the situation above, as it's gpg that removes the original unencrypted file.  Also, scrub isn't necessarily reliable on a journalled filesystem.&lt;br /&gt;&lt;br /&gt;What I really needed is a 'scrub unused data blocks' utility.  In the absence of such a utility, I did dd if=/dev/zero of=/dev/sda and reinstalled.  (It was long overdue a fresh reinstall anyway).</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:128361</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/128361.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=128361"/>
    <title>credit card fail.</title>
    <published>2008-08-24T20:35:44Z</published>
    <updated>2008-08-24T20:35:44Z</updated>
    <category term="suck"/>
    <content type="html">Yesterday, when I was about to pay for groceries, the cashier asked to see my ID.  This puzzled me, so I asked why, as I wasn't buying alcohol or anything unusual.  Turned out that the signature strip on the back of my credit card had been worn down so much that my signature was illegible.  Of course, this had to be one of the occasions when I didn't have any ID on me.  Fortunately, she accepted the signature off of one of my other cards.&lt;br /&gt;&lt;br /&gt;Today I decided I'd rather not have to do this again, so I called up customer service to order a replacement card.  "Enter your account number" *beep beep beep...* "enter your zip code" *beep beep beep*  "This account is closed".&lt;br /&gt;&lt;br /&gt;w.t.f.&lt;br /&gt;&lt;br /&gt;I waited a short time to get through to a human, and explained what had happened.  Turns out that a few days ago, "fraud activity" was spotted on my account, and they blocked the card.  Apparently there's a new one in the mail to me already.&lt;br /&gt;&lt;br /&gt;I asked for more information on what exactly had happened, but they weren't very forthcoming with details.  From the way she described it, they don't have a lot of details themselves. Putting the scant details together, it appears that what happened was something along the lines of a store got broken into which had my details, the perpetrators were caught, and law enforcement told the credit card company the list of potential card numbers that could be compromised.   Turns out mine was one of those that was. Something like $2000 of bogus charges were run up before it was blocked, which were refunded before I'd even realized there was a problem.&lt;br /&gt;&lt;br /&gt;Sucky, But at least it's all sorted.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:kernelslacker:128033</id>
    <link rel="alternate" type="text/html" href="http://kernelslacker.livejournal.com/128033.html"/>
    <link rel="self" type="text/xml" href="http://kernelslacker.livejournal.com/data/atom/?itemid=128033"/>
    <title>rawhide is old.</title>
    <published>2008-08-24T19:35:16Z</published>
    <updated>2008-08-24T19:35:16Z</updated>
    <category term="rawhide"/>
    <category term="fedora"/>
    <content type="html">In the midst of all of last weeks chaos, rawhide &lt;a href="http://lwn.net/1998/0820/rawhide.html"&gt;saw its tenth birthday&lt;/a&gt;.</content>
  </entry>
</feed>
