Comment 13 for bug 87262

Revision history for this message
Joe Soroka (launchpad-joesoroka) wrote : a two byte patch

You might not want to go through the trouble of building your own kernel, especially in light of https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/90283

In that case, you can try out the patch that I am attaching. It goes through alot of effort just to change two bytes in the kernel, from "85 c0 test eax, eax" to "40 40 inc eax inc eax". It's based very loosely on the discussion at http://www.cpqlinux.com/binary-kernel.html which is somewhat out of date, and doesn't work.

Anyway, I'm posting this here because Virtual PC users can stand the pain of a binary kernel patch. If it doesn't work or borks things up, you just chuck out your 'undo' disk. It would probably work for the people waiting on https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/108382 as well, but it's a little more risky for them.

Having said that, it doesn't change much. It leaves the old kernel in place, and comes with an uninstaller script, so it might be worth a try for them too.

Security-wise, your on your own. Running a shell script that requires sudo, which then patches your kernel in obscure ways is not something to be taken lightly. Have a good look through the script before you run it.

Basically all it does is change the bytes corresponding to line 631, from
     msecs_to_jiffies(250)) == 0) {
to
     msecs_to_jiffies(250)) + 2) {