The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Kernel Patching (the trials and tribulations) by nevdull 2006-11-19 12:55:59
Ok, Myke was on Kerneltrap the other day and noticed this patch to the 2.4.21-rc3 kernel.

It is supposed to make a "non-insignifigant" (heh) signifigant savings in battery life on laptops. Anyway, in order to apply the patch you need to be using the rc3 kernel.

Now, being semi-new to kernel patching and whatnot I simply grabbed the 2.4.20 source and then grabbed the 2.4.21-rc3 patch and patched away. Problem is that after a few hundred patches it crashes with "patching file drivers/usb/powermate.c patch: **** malformed patch at line 524709: #define H_MD_DQRP_MMR_YCERR1_GRP1_SHFT 0" So I can't patch up to the rc3 kernel. Am I doing somthing wrong? I place the linux-2.4.21-rc3.patch in the base of the kernel source, and run patch -Np1 xxx and away it goes. Is it just a bug in the patch file? or should I be doing somthing more when patching the entire source tree?
[ Reply ]
  there is a newer patch that that by Celticess2003-05-24 08:47:37
    -rc*5*? by bwkaz2006-11-19 12:55:59
      That's by nevdull2003-05-24 12:17:44
      Ok it's linux-2.4.21-pre6 (n/t) by Celticess2003-05-24 12:43:49
        I was wondering about that, by nevdull2003-05-24 12:47:52

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)