Hello, I 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 this before getting to the login prompt:

BUG: at kernel/softirq.c:647 __tasklet_action()

Call Trace:
  <IRQ>  [<ffffffff80259e5e>] kgdb_tasklet_bpt+0x22/0x24
  [<ffffffff8022e61a>] __tasklet_action+0xe7/0x138
  [<ffffffff8022e693>] tasklet_action+0x28/0x2a
  [<ffffffff8022e11f>] ___do_softirq+0xbc/0x1a9
  [<ffffffff8022e245>] __do_softirq+0x39/0x52
  [<ffffffff8020b16c>] call_softirq+0x1c/0x28
  [<ffffffff8020cf6d>] do_softirq+0x3d/0xb4
  [<ffffffff8022e32a>] irq_exit+0x37/0x43
  [<ffffffff80216d65>] smp_apic_timer_interrupt+0x49/0x64
  [<ffffffff8020ac16>] apic_timer_interrupt+0x66/0x70
  <EOI>  [<ffffffff80259e30>] breakpoint+0xbf/0xcb
  [<ffffffff808be6aa>] kgdb_late_entry+0xba/0xc3
  [<ffffffff808a89ed>] init+0x19d/0x349
  [<ffffffff80250f28>] add_preempt_count+0x2b/0x128
  [<ffffffff8020adf8>] child_rip+0xa/0x12
  [<ffffffff803f6fb0>] acpi_ds_init_one_object+0x0/0x88
  [<ffffffff808a8850>] init+0x0/0x349
  [<ffffffff8020adee>] child_rip+0x0/0x12

---------------------------
| preempt count: 00000101 ]
| 1-level deep critical section nesting:
----------------------------------------
.. [<ffffffff8062d867>] .... __spin_lock+0x21/0x84
.....[<ffffffff802446a4>] ..   ( <= tick_sched_timer+0x108/0x142)

    This is caused by failing check for TASKLET_STATE_SCHED bit...

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

Reply via email to