а х | 8 Jun 2012 10:00
Picon

New kernel

Good afternoon!
I`m trying to build new kernel from sources. My is 2.6.18-194.26.1.el5.028stab079.1.owl2 .
I`m using Wiki article:
# xzcat ~/sources/Owl/packages/kernel/patch-308.4.1.el5.028stab100.2-combined.xz | patch -p1 -T
 
As I see it`s last patch? And there isn`t more new one?
 
Anyway I`ve got error when compiling:
 
kernel/sched.c: In function `schedule_vcpu':
kernel/sched.c:860: error: structure has no member named `sched_goidle'
kernel/sched.c: At top level:
kernel/sched.c:5443: warning: `interruptible_sleep_on' is deprecated (declared at kernel/sched.c:5432)
kernel/sched.c:5443: warning: `interruptible_sleep_on' is deprecated (declared at kernel/sched.c:5432)
kernel/sched.c:5477: warning: `sleep_on_timeout' is deprecated (declared at kernel/sched.c:5463)
kernel/sched.c:5477: warning: `sleep_on_timeout' is deprecated (declared at kernel/sched.c:5463)
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
Can you help me, please with this issue?
Solar Designer | 8 Jun 2012 14:42
Favicon

Re: New kernel

On Fri, Jun 08, 2012 at 12:00:35PM +0400, а х wrote:
> I`m trying to build new kernel from sources.

What is your reason to build from source rather than use our RPMs?
(Building from source is no problem if you prefer.  I am merely asking.)

> ~/sources/Owl/packages/kernel/patch-308.4.1.el5.028stab100.2-combined.xz |
> patch -p1 -T
> 
> As I see it`s last patch? And there isn`t more new one?

This is the version we currently use, yes.  However, please don't forget
that we also apply the Owl patch on top of this.

> Anyway I`ve got error when compiling:

This suggests that you did not apply the Owl patch (from our native
tree).  Please do.  This is mentioned in the instructions on the wiki.

Also, please start with our dot-config-* (the appropriate one) and make
your desired config changes relative to that (keeping most other
settings intact).  (Maybe this is what you were doing already.  I just
thought I'd remind.)

Alexander

а х | 22 Jun 2012 09:27
Picon

Re: New kernel

Thank you, Alexander!
Problem was in case of I did not apply Owl patch. I tried, but have got messages. Thay sayd, that patch already applied. I suposed, that fresh patch is already included in kernel source. But after your post I looked to the version of my native tree. It was old! Than I downloaded fresh one, then applied the Owl patch. And new kernel is working now! My carelessness is guilty...
P.S. I make kernel from sources in case of some non standard options.

2012/6/8 Solar Designer <solar <at> openwall.com>
On Fri, Jun 08, 2012 at 12:00:35PM +0400, а х wrote:
> I`m trying to build new kernel from sources.

What is your reason to build from source rather than use our RPMs?
(Building from source is no problem if you prefer.  I am merely asking.)

> ~/sources/Owl/packages/kernel/patch-308.4.1.el5.028stab100.2-combined.xz |
> patch -p1 -T
>
> As I see it`s last patch? And there isn`t more new one?

This is the version we currently use, yes.  However, please don't forget
that we also apply the Owl patch on top of this.

> Anyway I`ve got error when compiling:

This suggests that you did not apply the Owl patch (from our native
tree).  Please do.  This is mentioned in the instructions on the wiki.

Also, please start with our dot-config-* (the appropriate one) and make
your desired config changes relative to that (keeping most other
settings intact).  (Maybe this is what you were doing already.  I just
thought I'd remind.)

Alexander


Gmane