Linuxppc-embedded Digest, Vol 39, Issue 19
Hi,=20
Some thing similar happened for me before. After I set the IRQ enable bits, it resulted in an exception. After analyzing the exception and SRR1 bits set, I was able to take care of it.
Other reason can be...
Immediately after you enable interrupts, any interrupt (which are already enabled) can cause the system to take a different path of servicing those interrupts. If some thing happens in that service routine, you are in for a surprise.
If you have a JTAG emulator, after system hangs, just halt it and see where it is executing. That may give a clue of what might have happened. Or, you can look at the stack, based on the register contents, to see the call back (difficult, but possible).
Good Luck.
- Siva
------------------------------
Date: Tue, 13 Nov 2007 12:04:59 +0100
From: fabien <[email protected]>
Subject: (beginner) Kernel fail during local_irq_enable()
To: [email protected]
I work on a custom board based on MPC8xx.
The bootloader on it is a ppcboot 1.1.5. I'm a beginner with Linux port
and ppc.
I'm trying to pass the board working with a 2.4.4 kernel to a 2.6.19
kernel
from denx.
The kernel hang when trying to enable interrupt in local_irq_enable()
in init/main.c.
Nothing happened after. Look at the printk log dumped from __log_buf
adresse with md ppcboot command.
Re: (beginner) Kernel fail during local_irq_enable()
In reply to a message not in the archiveHi,=20
Some thing similar happened for me before. After I set the IRQ enable bits, it resulted in an exception. After analyzing the exception and SRR1 bits set, I was able to take care of it.
Other reason can be...
Immediately after you enable interrupts, any interrupt (which are already enabled) can cause the system to take a different path of servicing those interrupts. If some thing happens in that service routine, you are in for a surprise.
If you have a JTAG emulator, after system hangs, just halt it and see where it is executing. That may give a clue of what might have happened. Or, you can look at the stack, based on the register contents, to see the call back (difficult, but possible).
Good Luck.
- Siva
------------------------------
Date: Tue, 13 Nov 2007 12:04:59 +0100
From: fabien <[email protected]>
Subject: (beginner) Kernel fail during local_irq_enable()
To: [email protected]
I work on a custom board based on MPC8xx.
The bootloader on it is a ppcboot 1.1.5. I'm a beginner with Linux port
and ppc.
I'm trying to pass the board working with a 2.4.4 kernel to a 2.6.19
kernel
from denx.
The kernel hang when trying to enable interrupt in local_irq_enable()
in init/main.c.
Nothing happened after. Look at the printk log dumped from __log_buf
adresse with md ppcboot command.