Re: 2.6.18-rt1

Paul E. McKenney
2006-09-20T18:25:08Z

On Wed, Sep 20, 2006 at 10:41:58AM -0700, Daniel Walker wrote:
> On Wed, 2006-09-20 at 10:38 -0700, Paul E. McKenney wrote:
> > On Wed, Sep 20, 2006 at 10:00:38AM -0700, Daniel Walker wrote:
> > > On Wed, 2006-09-20 at 12:50 -0400, Gene Heskett wrote:
> > >
> > > > LD .tmp_vmlinux1
> > > > kernel/built-in.o(.text+0x16f25): In function `hrtimer_start':
> > > > : undefined reference to `hrtimer_update_timer_prio'
> > > > make: *** [.tmp_vmlinux1] Error 1
> > > >
> > > > about half way thru the normal time. config attached. I don't think hires
> > > > timers are enabled.
> > > >
> > > > Comments?
> > > >
> > >
> > > Fix attached.
> > >
> > > Daniel
> >
> > Compiles for me with this patch. Will try it out on a couple of machines.
> >
>
> Ingo actually updated with a similar fix , in
>
> http://people.redhat.com/~mingo/realtime-preempt/patch-2.6.18-rt2

OK, using that instead.

I get the following at startup, which probably means that I need to use
some machine other than a NUMA-Q. Trying a different machine...

Thanx, Paul

BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
c01151ff
*pde = 34d21001
*pte = 00000000
stopped custom tracer.
Oops: 0000 [#1]
PREEMPT SMP
Modules linked in:
CPU: 2
EIP: 0060:[<c01151ff>] Not tainted VLI
EFLAGS: 00010246 (2.6.18-rt2-autokern1 #1)
EIP is at __wake_up_common+0x10/0x55
eax: 00000000 ebx: 00000001 ecx: c113629c edx: 00000000
esi: c113629c edi: c113629c ebp: dff25f34 esp: dff25f24
ds: 007b es: 007b ss: 0068 preempt: 00000001
Process softirq-timer/2 (pid: 27, ti=dff24000 task=dff20e30 task.ti=dff24000)
Stack: 00000000 00000000 c113629c 00000001 dff25f60 c0115267 c113629c 00000006
00000001 00000001 00000000 00000006 00000007 dffd5e40 c1136270 c1136240
c012ecf6 00000000 00000001 c11360e4 00000001 00000000 dff12000 c043b2c0
Call Trace:
[<c0115267>] __wake_up+0x23/0x52
[<c012ecf6>] hrtimer_run_queues+0xf6/0x10f
[<c0123db3>] run_timer_softirq+0x13b/0x31b
[<c011fba0>] ksoftirqd+0xff/0x194
[<c011faa1>] ksoftirqd+0x0/0x194
[<c012beee>] kthread+0x82/0xa7
[<c012be6c>] kthread+0x0/0xa7
[<c0101031>] kernel_thread_helper+0x5/0xb
---------------------------
| preempt count: 00000001 ]
| 1-level deep critical section nesting:
----------------------------------------
.. [<c02fd493>] .... __spin_lock_irqsave+0xe/0x35
.....[<00000000>] .. ( <= _stext+0x3feffd68/0x41)

Code: 45 14 00 00 00 00 8b 45 08 83 ca 01 89 55 0c 8b 40 04 89 45 08 5d e9 62 e2 ff ff 55 89 e5 57 56 53 50 8b 7d 08 8b 5d 10 8b 57 20 <8b> 02 89 45 f0 8d 47 20 39 c2 74 31 8b 72 f4 8d 42 f4 ff 75 18
EIP: [<c01151ff>] __wake_up_common+0x10/0x55 SS:ESP 0068:dff25f24