All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.24-rc2-rt1
@ 2007-11-15 18:40 Steven Rostedt
  2007-11-15 20:41 ` 2.6.24-rc2-rt1 Mark Knecht
  0 siblings, 1 reply; 7+ messages in thread
From: Steven Rostedt @ 2007-11-15 18:40 UTC (permalink / raw)
  To: LKML, RT
  Cc: Ingo Molnar, Thomas Gleixner, Gregory Haskins, Peter Zijlstra,
	Daniel Walker, Paul E. McKenney

Finally!

We are pleased to announce 2.6.24-rc2-rt1.

This is probably one of the toughest ports the -rt patch had to face. It
was definitely the toughest one I had to perform.  With a 50 Meg
difference between 2.6.23 and 2.6.24-rc2 it caused a lot of problems
with conflicts. The 2.6.23.1-rt11 patch consisted of 386 patches. Of
them 25 of them were incorporated into mainline (mostly hrtimers for
x86_64 and other archs).

With fixes and such, the 2.6.24-rc2-rt1 has  370 patches. 361 of them
came from 2.6.23.1-rt11 and of those 129 had conflicts.  Some conflicts
were trivial, but a lot of them were not. In order to allow others to
audit my changes I have archived the .rej reject files as well as the
quilt .pc files and original patch.

http://rostedt.homelinux.com/rt/pre/2.6.24-rc2-rt1-pre1-rejs/

This holds a list of tar balls that contain the necessary files to get
to the state before I preformed the "quilt refresh".

For example: to fix the patch preempt-realtime-mips.patch

rostedt@gandalf:~$ mkdir bah
rostedt@gandalf:~$ cd bah
rostedt@gandalf:~/bah$ ketchup -r -G 2.6.24-rc2
None -> 2.6.24-rc2
Unpacking linux-2.6.23.tar.bz2
Applying patch-2.6.24-rc2.bz2
Current directory renamed to /home/rostedt/linux-2.6.24-rc2
rostedt@gandalf:~/bah$ cd .
rostedt@gandalf:~/linux-2.6.24-rc2$ 
rostedt@gandalf:~/linux-2.6.24-rc2$ wget http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.24-rc2-rt1-broken-out.tar.bz2
rostedt@gandalf:~/linux-2.6.24-rc2$ tar -xf patch-2.6.24-rc2-rt1-broken-out.tar.bz2
rostedt@gandalf:~/linux-2.6.24-rc2$ quilt push preempt-realtime-mips.patch
[...]
rostedt@gandalf:~/linux-2.6.24-rc2$ wget http://rostedt.homelinux.com/rt/pre/2.6.24-rc2-rt1-pre1-rejs/preempt-realtime-mips.patch.tar.bz2
[...]
rostedt@gandalf:~/linux-2.6.24-rc2$ tar -xf preempt-realtime-mips.patch.tar.bz2 
rostedt@gandalf:~/linux-2.6.24-rc2$ find . -name '*.rej'
./arch/mips/kernel/i8259.c.rej
./arch/mips/kernel/smp.c.rej
./arch/mips/kernel/process.c.rej
./arch/mips/kernel/time.c.rej
./arch/mips/kernel/traps.c.rej
./arch/mips/sibyte/sb1250/irq.c.rej
./arch/mips/sibyte/sb1250/smp.c.rej
./arch/mips/sibyte/swarm/setup.c.rej
./include/asm-mips/hw_irq.h.rej
./include/asm-mips/i8259.h.rej
./include/asm-mips/linkage.h.rej
./include/asm-mips/semaphore.h.rej
./include/asm-mips/time.h.rej


And now I'm in the position before I did the "quilt refresh" against the
preempt-realtime-mips.patch. Others can do this too, and see where I
might have messed up the conflicts. Note, doing a "quilt pop -f" now
will remove the patch as I resolved it, and doing a "quilt push -f" will
put you to the position before I did the patch.

Note, I may have messed up by running a "quilt refresh" before running
the reject archive script. If that's the case (the saved patch will be
the resolved patch, not the original), simply take the patch from the
patch-2.6.23.1-rt11-broken-out.tar.bz2 and use that as the original.

I've tested this on x86_64 both SMP and UP, as well as SMP on i386. I'm
pretty sure that the other archs may be broken (arm, mips and powerpc).


Because this was such a big change, there is probably a bit of
regression bugs that might have crept in. So please test and report your
findings.

Special thanks goes to Paul E. Mckenney (for pointing me to the wrong
bug, that happened to sit right next to the correct one ;-), as well as
Peter Zijlstra and Daniel Walker for helping me debug the initial ports.

Changes since 2.6.23.1-rt11

  - Port to 2.6.24-rc2

  - latency tracer bootmem allocate (Yanmin Zhang)

  - removed Gregory Haskins patch 8 (will probably be back in -rt2)
     This was due to some initial porting problems. But the fixes
     came too late in the testing period. (he decided cleaning his
     garage was more important than working on this kernel.;-)

to build a 2.6.24-rc2-rt1 tree, the following patches should be applied:

  http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2
  http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.24-rc2.bz2
  http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.24-rc2-rt1.gz


And like always, my RT version of Matt Mackall's ketchup will get this
for you nicely:

  http://people.redhat.com/srostedt/rt/tools/ketchup-0.9.8-rt1

The broken out patches are also available.

Thanks!

-- Steve




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24-rc2-rt1
  2007-11-15 18:40 2.6.24-rc2-rt1 Steven Rostedt
@ 2007-11-15 20:41 ` Mark Knecht
  2007-11-15 20:54   ` 2.6.24-rc2-rt1 Steven Rostedt
  2007-11-16  3:39   ` 2.6.24-rc2-rt1 Steven Rostedt
  0 siblings, 2 replies; 7+ messages in thread
From: Mark Knecht @ 2007-11-15 20:41 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: LKML, RT, Ingo Molnar, Thomas Gleixner, Gregory Haskins,
	Peter Zijlstra, Daniel Walker, Paul E. McKenney

On Nov 15, 2007 10:40 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
> Finally!
>
> We are pleased to announce 2.6.24-rc2-rt1.
>
<SNIP>

Hi Steve,
   Not sure I've ever posted on this list. Always looking to help out
at my low level.

   Anyway, I tried building the kernel. My 1st two attempts, done
running make menuconfig from scratch, didn't boot. I gave up on that
for now and tried using make oldconfig from my 2.6.23-rt1 kernel (I'm
so far behind!!) and ended up with this error. Not sure it's enough
for you to find the bug. If you want/need more or want the config file
let me know.

   I'm sure this is just me setting inappropriate bits but I figured I
might as well send along the info. >/dev/null if it's inappropriate
but let me know how to move forward if possible.

   As always thanks the the rt-kernel team for all you do.

Cheers,
Mark

  CC      ipc/mqueue.o
  CC      ipc/compat_mq.o
  LD      ipc/built-in.o
  CC      security/security.o
  CC      security/dummy.o
  CC      security/inode.o
  LD      security/built-in.o
  CC [M]  security/commoncap.o
  CC [M]  security/realcap.o
security/realcap.c: In function 'realtime_exit':
security/realcap.c:129: error: implicit declaration of function
'mod_unreg_security'
security/realcap.c:133: error: implicit declaration of function
'unregister_security'
make[1]: *** [security/realcap.o] Error 1
make: *** [security] Error 2
lightning linux #

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24-rc2-rt1
  2007-11-15 20:41 ` 2.6.24-rc2-rt1 Mark Knecht
@ 2007-11-15 20:54   ` Steven Rostedt
  2007-11-15 21:09     ` 2.6.24-rc2-rt1 Mark Knecht
  2007-11-16  3:39   ` 2.6.24-rc2-rt1 Steven Rostedt
  1 sibling, 1 reply; 7+ messages in thread
From: Steven Rostedt @ 2007-11-15 20:54 UTC (permalink / raw)
  To: Mark Knecht
  Cc: LKML, RT, Ingo Molnar, Thomas Gleixner, Gregory Haskins,
	Peter Zijlstra, Daniel Walker, Paul E. McKenney



On Thu, 15 Nov 2007, Mark Knecht wrote:

> On Nov 15, 2007 10:40 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
> > Finally!
> >
> > We are pleased to announce 2.6.24-rc2-rt1.
> >
> <SNIP>
>
> Hi Steve,

<snip!>

>
>    As always thanks the the rt-kernel team for all you do.

On behalf of the rt-kernel team, you are welcome ;-)

>
> Cheers,
> Mark
>
>   CC      ipc/mqueue.o
>   CC      ipc/compat_mq.o
>   LD      ipc/built-in.o
>   CC      security/security.o
>   CC      security/dummy.o
>   CC      security/inode.o
>   LD      security/built-in.o
>   CC [M]  security/commoncap.o
>   CC [M]  security/realcap.o
> security/realcap.c: In function 'realtime_exit':
> security/realcap.c:129: error: implicit declaration of function
> 'mod_unreg_security'
> security/realcap.c:133: error: implicit declaration of function
> 'unregister_security'
> make[1]: *** [security/realcap.o] Error 1
> make: *** [security] Error 2
> lightning linux #

Definitely looks like a config bug. You can send me your config off
list.

Hmm, I need to do a allyesconfig, but I'm not even sure 2.6.24-rc2 would
compile with that.

Thanks,

-- Steve

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24-rc2-rt1
  2007-11-15 20:54   ` 2.6.24-rc2-rt1 Steven Rostedt
@ 2007-11-15 21:09     ` Mark Knecht
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Knecht @ 2007-11-15 21:09 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: LKML, RT, Ingo Molnar, Thomas Gleixner, Gregory Haskins,
	Peter Zijlstra, Daniel Walker, Paul E. McKenney

Sent.

On Nov 15, 2007 12:54 PM, Steven Rostedt <rostedt@goodmis.org> wrote:
>
>
> On Thu, 15 Nov 2007, Mark Knecht wrote:
>
> > On Nov 15, 2007 10:40 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
> > > Finally!
> > >
> > > We are pleased to announce 2.6.24-rc2-rt1.
> > >
> > <SNIP>
> >
> > Hi Steve,
>
> <snip!>
>
> >
> >    As always thanks the the rt-kernel team for all you do.
>
> On behalf of the rt-kernel team, you are welcome ;-)
>
> >
> > Cheers,
> > Mark
> >
> >   CC      ipc/mqueue.o
> >   CC      ipc/compat_mq.o
> >   LD      ipc/built-in.o
> >   CC      security/security.o
> >   CC      security/dummy.o
> >   CC      security/inode.o
> >   LD      security/built-in.o
> >   CC [M]  security/commoncap.o
> >   CC [M]  security/realcap.o
> > security/realcap.c: In function 'realtime_exit':
> > security/realcap.c:129: error: implicit declaration of function
> > 'mod_unreg_security'
> > security/realcap.c:133: error: implicit declaration of function
> > 'unregister_security'
> > make[1]: *** [security/realcap.o] Error 1
> > make: *** [security] Error 2
> > lightning linux #
>
> Definitely looks like a config bug. You can send me your config off
> list.
>
> Hmm, I need to do a allyesconfig, but I'm not even sure 2.6.24-rc2 would
> compile with that.
>
> Thanks,
>
> -- Steve
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24-rc2-rt1
  2007-11-15 20:41 ` 2.6.24-rc2-rt1 Mark Knecht
  2007-11-15 20:54   ` 2.6.24-rc2-rt1 Steven Rostedt
@ 2007-11-16  3:39   ` Steven Rostedt
  2007-11-16  4:42     ` 2.6.24-rc2-rt1 Mark Knecht
  2007-11-16  6:02     ` 2.6.24-rc2-rt1 Ingo Molnar
  1 sibling, 2 replies; 7+ messages in thread
From: Steven Rostedt @ 2007-11-16  3:39 UTC (permalink / raw)
  To: Mark Knecht
  Cc: LKML, RT, Ingo Molnar, Thomas Gleixner, Gregory Haskins,
	Peter Zijlstra, Daniel Walker, Paul E. McKenney


On Thu, 15 Nov 2007, Mark Knecht wrote:

> On Nov 15, 2007 10:40 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
> > Finally!
> >
> > We are pleased to announce 2.6.24-rc2-rt1.
> >
> <SNIP>
>
> Hi Steve,
>    Not sure I've ever posted on this list. Always looking to help out
> at my low level.
>
>    Anyway, I tried building the kernel. My 1st two attempts, done
> running make menuconfig from scratch, didn't boot. I gave up on that
> for now and tried using make oldconfig from my 2.6.23-rt1 kernel (I'm
> so far behind!!) and ended up with this error. Not sure it's enough
> for you to find the bug. If you want/need more or want the config file
> let me know.
>
>    I'm sure this is just me setting inappropriate bits but I figured I
> might as well send along the info. >/dev/null if it's inappropriate
> but let me know how to move forward if possible.
>
>    As always thanks the the rt-kernel team for all you do.
>
> Cheers,
> Mark
>
>   CC      ipc/mqueue.o
>   CC      ipc/compat_mq.o
>   LD      ipc/built-in.o
>   CC      security/security.o
>   CC      security/dummy.o
>   CC      security/inode.o
>   LD      security/built-in.o
>   CC [M]  security/commoncap.o
>   CC [M]  security/realcap.o
> security/realcap.c: In function 'realtime_exit':
> security/realcap.c:129: error: implicit declaration of function
> 'mod_unreg_security'
> security/realcap.c:133: error: implicit declaration of function
> 'unregister_security'
> make[1]: *** [security/realcap.o] Error 1
> make: *** [security] Error 2
> lightning linux #

Hi Mark,

I guess you enabled the realtime capabilities (Realtime-LSM - Obsolete -)

You could disable that, and try again. I'm not sending a fix (yet)
because ...


Ingo,

Do we still need to have the realtime-lsm.patch? It has been considered
obsolete for over a year now. Can we finally remove it.

-- Steve


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24-rc2-rt1
  2007-11-16  3:39   ` 2.6.24-rc2-rt1 Steven Rostedt
@ 2007-11-16  4:42     ` Mark Knecht
  2007-11-16  6:02     ` 2.6.24-rc2-rt1 Ingo Molnar
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Knecht @ 2007-11-16  4:42 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: LKML, RT, Ingo Molnar, Thomas Gleixner, Gregory Haskins,
	Peter Zijlstra, Daniel Walker, Paul E. McKenney

On Nov 15, 2007 7:39 PM, Steven Rostedt <rostedt@goodmis.org> wrote:
>
> On Thu, 15 Nov 2007, Mark Knecht wrote:
>
>
> > On Nov 15, 2007 10:40 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
> > > Finally!
> > >
> > > We are pleased to announce 2.6.24-rc2-rt1.
> > >
> > <SNIP>
> >
> > Hi Steve,
> >    Not sure I've ever posted on this list. Always looking to help out
> > at my low level.
> >
> >    Anyway, I tried building the kernel. My 1st two attempts, done
> > running make menuconfig from scratch, didn't boot. I gave up on that
> > for now and tried using make oldconfig from my 2.6.23-rt1 kernel (I'm
> > so far behind!!) and ended up with this error. Not sure it's enough
> > for you to find the bug. If you want/need more or want the config file
> > let me know.
> >
> >    I'm sure this is just me setting inappropriate bits but I figured I
> > might as well send along the info. >/dev/null if it's inappropriate
> > but let me know how to move forward if possible.
> >
> >    As always thanks the the rt-kernel team for all you do.
> >
> > Cheers,
> > Mark
> >
> >   CC      ipc/mqueue.o
> >   CC      ipc/compat_mq.o
> >   LD      ipc/built-in.o
> >   CC      security/security.o
> >   CC      security/dummy.o
> >   CC      security/inode.o
> >   LD      security/built-in.o
> >   CC [M]  security/commoncap.o
> >   CC [M]  security/realcap.o
> > security/realcap.c: In function 'realtime_exit':
> > security/realcap.c:129: error: implicit declaration of function
> > 'mod_unreg_security'
> > security/realcap.c:133: error: implicit declaration of function
> > 'unregister_security'
> > make[1]: *** [security/realcap.o] Error 1
> > make: *** [security] Error 2
> > lightning linux #
>
> Hi Mark,
>
> I guess you enabled the realtime capabilities (Realtime-LSM - Obsolete -)
>
> You could disable that, and try again. I'm not sending a fix (yet)
> because ...
>
>
> Ingo,
>
> Do we still need to have the realtime-lsm.patch? It has been considered
> obsolete for over a year now. Can we finally remove it.
>
> -- Steve
>

Steve,
   I'd forgotten about that package going away. I think I've been
building the interface forever in the kernel but then not actually
using it. I haven't loaded the realtime_lsm driver in a long time.
Certainly back in the 2.6.22 past somewhere since I stopped.

   Anyway, with that change to the config the rest of my old .config
file seems to have worked. The kernel boots. I have Jack running
realtime. No xruns in the few minutes I have left with this task
tonight.

mark@lightning ~ $ uname -a
Linux lightning 2.6.24-rc2-rt1 #4 PREEMPT RT Thu Nov 15 20:33:15 PST
2007 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
mark@lightning ~ $

   Very good so far. I'll continue to run the kernel over the next few
days and see how things go. Nothing I do these days is a heavy load.
Just desktop work with a little bit of audio but I still run the
realtime kernel.

   Great work!

Cheers,
Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24-rc2-rt1
  2007-11-16  3:39   ` 2.6.24-rc2-rt1 Steven Rostedt
  2007-11-16  4:42     ` 2.6.24-rc2-rt1 Mark Knecht
@ 2007-11-16  6:02     ` Ingo Molnar
  1 sibling, 0 replies; 7+ messages in thread
From: Ingo Molnar @ 2007-11-16  6:02 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Mark Knecht, LKML, RT, Thomas Gleixner, Gregory Haskins,
	Peter Zijlstra, Daniel Walker, Paul E. McKenney


* Steven Rostedt <rostedt@goodmis.org> wrote:

> Ingo,
> 
> Do we still need to have the realtime-lsm.patch? It has been 
> considered obsolete for over a year now. Can we finally remove it.

yeah, we can drop it.

	Ingo

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-16  6:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-15 18:40 2.6.24-rc2-rt1 Steven Rostedt
2007-11-15 20:41 ` 2.6.24-rc2-rt1 Mark Knecht
2007-11-15 20:54   ` 2.6.24-rc2-rt1 Steven Rostedt
2007-11-15 21:09     ` 2.6.24-rc2-rt1 Mark Knecht
2007-11-16  3:39   ` 2.6.24-rc2-rt1 Steven Rostedt
2007-11-16  4:42     ` 2.6.24-rc2-rt1 Mark Knecht
2007-11-16  6:02     ` 2.6.24-rc2-rt1 Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.