Unfortunately I have some bad news for you. The merge window for the kernel 4.4 is open. Linus Torvalds added a lot of source code last days. Unfortunately they have changed a lot of source code. The reverts of some existing problematic commits don't work anymore and therefore I can't patch the kernel source code with the Nemo patch.
Without the reverts we have the following error messages:
Code: Select all
Oops: Kernel access of bad area, sig: 11 [#1]
.sb600_8259_cascade+0x4c/0xac (unreliable)
.schedule+0x74/0x9c (unreliable)
Kernel panic - not syncing: Fatal exception in interrupt
The following files could be interesting to solve the issue:
Code: Select all
include/linux/irq.h include/linux/irq.h
include/linux/irqdesc.h include/linux/irqdesc.h
kernel/irq/internals.h kernel/irq/internals.h
kernel/irq/irqdesc.c kernel/irq/irqdesc.c
kernel/irq/irqdomain.c kernel/irq/irqdomain.c
kernel/irq/manage.c kernel/irq/manage.c
kernel/irq/proc.c kernel/irq/proc.c
Ben wrote (linuxppc-dev@lists.ozlabs.org):
I will try to solve the issue with the interrupt system.Ben wrote: Michael, the crash looks like a neat NULL dereference, any chance you
can spot something in the code that might explain it ?
The strange thing is that the crash is in sb600_8259_cascade(), however
that function doesn't seem to exist in a current kernel tree, or if it
does it's somewhat hidden behind grep-defeating macros.
All I can find that relates to something called "sb600" is some quirks
in AHCI and x86 fixups that seem ATI related.
Christian, do you have some out of tree driver in that kernel ?
---
Now that makes more sense since the problem is around IRQ handling...
more specifically the SB600 code, so I suspect it's your SB600 patch
that has an issue. Look at how that series from Jiang modified the
irq handlers and see if the sb600 patch needs a similar change maybe ?
---
Well, the patch is gross ... That stuff needs to be mostly re-written,
randomly ifdef'ing things around isn't going to fly. There are also
some mentions of FW issues, can this be fixed in FW ?
Ben.
Could someone help me to fix the issue, please?
PLEASE use the longterm kernel 4.1 if you want a stable and reliable kernel for your AmigaONE X1000. I will release some new versions of the longterm kernel 4.1 in the future.
Cheers,
Christian