Sergei Shtylyov wrote:
>>>>int register_die_notifier(struct notifier_block *nb)
>>>>{
>>> BTW, I'm getting this warning on x86_64:
>> Onl, with 2.6.21-rt7 appied
>>>arch/x86_64/kernel/kgdb.c: In function `kgdb_arch_init':
>>>arch/x86_64/kernel/kgdb.c:319: warning: passing arg 1 of
>>>`atomic_notifier_chain_register' from incompatible pointer type
>>> After looking at the code, it turned out that this is because
>>>'die_chain' is dealred as 'struct raw_notifier_head' (the same is true
>> I meant "declared". RT patch changed these for i386 and x86_64 -- I
>> wonder
>>if it should be done forother archs also (BTW, RT kernel stops as soon as the
>>userland is started for some reason on my PPC board when I'm using 8250
>>driver)...
> I'm also getting this with RT patch applied on x86_64 SMP machine (with
> low-latency desktop kernel) after hitting initial breakpoint:
> BUG: at kernel/softirq.c:647 __tasklet_action()
> Call Trace:
> [<ffffffff8022e61a>] __tasklet_action+0xe7/0x138
> [<ffffffff8022e693>] tasklet_action+0x28/0x2a
> [<ffffffff8022e892>] ksoftirqd+0x149/0x1f3
> [<ffffffff8022e749>] ksoftirqd+0x0/0x1f3
> [<ffffffff8023d324>] kthread+0xdc/0x113
> [<ffffffff8020adf8>] child_rip+0xa/0x12
> [<ffffffff8023d44f>] kthread_create+0x6a/0x15c
> [<ffffffff8023d248>] kthread+0x0/0x113
> [<ffffffff8020adee>] child_rip+0x0/0x12
> ---------------------------
> | preempt count: 00000100 ]
> | 0-level deep critical section nesting:
> ----------------------------------------
... and in the RT mode, this causes a hard lockup. If I'm not using
initial breakpoint and using anync one instead there's longer trace (which I
cannot reproduce) and the target lock up after I continue from that breakpoint.
Oh well, haven't I told that KGDBoE is broken by design in RT mode? :-)
WBR, Sergei
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport