Exception in kernel mode

Sergei Shtylyov sshtylyov at ru.mvista.com
Fri Mar 16 02:52:45 EST 2007


Hello.

Charles Krinke wrote:

> I have a PPC8241 which does an 

> Oops: Exception in kernel mode, sig: 4 [#1]
> PREEMPT
> NIP: 00000900 LR: C00E579C CTR: 00003A55

> When doing a 'tar -xvzf'. The NIP is pointing at the decrementer
> interrupt, I believe.

> As I understand the decrementer, this is basically the timer tick in the
> ppc and goes off every n ms continuously. 

> A tar is going to be concerned with date/time stamps on files, so it has
> some interaction with the clock algorithms.

> It seems to me that the decrementer should be able to go off at any time
> during kernel operation, so maybe the "Exception in kernel mode" is
> pointing us in an unusual direction.

    Obviously, you've got an exception in the decrementer exception handler 
itself -- and this was something like program check exception, judging on the 
signal you've got (SIGILL).

> So, with that said:

> "What might be the causes of such an exception from the decrementer in a
> 2.6.17.11 ppc8241 kernel?"

> "Where should one concentrate ones efforts in figuring this out?"

    Hrm, looks like some CPU errata maybe...

WBR, Sergei



More information about the Linuxppc-embedded mailing list