Kernel panic Problem

From: Madhavi (madhavis@sasken.com)
Date: Sun May 12 2002 - 08:14:16 EST


Hi

I am trying to add a few new sytem calls to my linux kernel through
modules.

After I install the module using insmod, some times, the kernel panics
with the message -

        "Attempted to kill idle task - not syncing"

Some times, I am getting the message -

        "Attempted to kill Interrupt handler - not syncing"

Could someone tell me what kind of problem this is??

I am wondering if this is a problem with synchronization in kernel. I am
disabling and enabling interrupts before updating the sys_call_table as
follows:

        save_flags();
        cli();
        .
        .
        .
        sti();
        restore_flags();

Could there be some problem with the above sequence? Could some one
suggest me the correct way of disabling interrupts before updating
sys_call_table.

Thank you in advance.

regards
Madhavi.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:18 EST