Vanilla kernel 2.6.28 + linux phc 0.3.2

Discuss about PHC here. For problems please use the PHC Help forum
Post Reply
maddash
Posts: 2
Joined: Thu 8. Jan 2009, 17:42

Vanilla kernel 2.6.28 + linux phc 0.3.2

Post by maddash » Thu 8. Jan 2009, 17:49

These are the results that I got. I haven't tried actually compiling and running the patched kernel, though, because the patching process wasn't perfect (note the "Hunk #" lines below).

Any thoughts?

Code: Select all


bryant@nfkb:/usr/src/linux-2.6.28$ ls

COPYING        Makefile        config-2.6.27.9  include  mm        sound

CREDITS        README          crypto           init     net       usr

Documentation  REPORTING-BUGS  drivers          ipc      samples   virt

Kbuild         arch            firmware         kernel   scripts

MAINTAINERS    block           fs               lib      security

bryant@nfkb:/usr/src/linux-2.6.28$ patch --dry-run -p1 < ../linux-phc-0.3.2-kernel-vanilla-2.6.26.patch 

patching file arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c

Hunk #4 succeeded at 751 (offset 1 line).

Hunk #5 succeeded at 770 (offset 1 line).

bryant@nfkb:/usr/src/linux-2.6.28$ exit



the-fallen
Administrator
Posts: 346
Joined: Wed 9. Jul 2008, 19:57

Re: Vanilla kernel 2.6.28 + linux phc 0.3.2

Post by the-fallen » Thu 8. Jan 2009, 18:28

you should be able to compile the kernel. Those two hunks just tell you that the line where "patch" wanted to insert something had to be moved for 1 line. As long as those hunks succeed there is no problem. I will adapt the patch as soon as I have some time.

maddash
Posts: 2
Joined: Thu 8. Jan 2009, 17:42

Re: Vanilla kernel 2.6.28 + linux phc 0.3.2

Post by maddash » Sat 10. Jan 2009, 17:04

Thanks for the tip! I compiled like you suggested, and it worked fine. I'll see if I can update the patch to solve the "Hunk #" messages.

Post Reply