random kernel panics, segmentation faults and orther errors

Started by Grawp, May 07, 2013, 11:52:08 AM

Previous topic - Next topic

Grawp

Hello.
I'm having mostly random kernel errors with Linux on OLinuXino-Micro.
http://pastebin.com/GdpUU0JA
Right now I'm using default kernel (3.8.8) which came with Yacto & Freescale layers (https://github.com/Freescale/fsl-community-bsp-platform).
Regarding the problems:
Quote[    0.080000] BUG: spinlock bad magic on CPU#0, swapper/1
is 100% reproducible. The other problems (like the mmap in the listing above) are random but very frequent, affecting random applications and seems to be always regarding some memory violation. This could be an MMU problem.

I experienced similar problems with other kernels like 3.7 in Arch too.
Is anybody having similar problems?

Christian Jann

To quote http://www.eewiki.net/display/linuxonarm/iMX233-OLinuXino:

Quote
Important note about owners of revision B of the board: if you are one of the first owners of iMX233-OLinuXino-Micro and you experience random hang-ups (Kernel oops, Kernel panic) it is recommended to unsolder/remove R17 (check the schematic or the board file to locate it easier). Removing R17 fixes the random lock-up.
This problem has been fixed in revision B1 of the board.

Or you can edit the file boot_prep/init-mx23.c of imx-bootlets and set the EMI speed (dram clock) to 96MHz down from 133MHz, to do this you have to uncomment the line that says #define EMI_96M.

Grawp

Quote from: Christian Jann on May 07, 2013, 04:32:44 PM
To quote http://www.eewiki.net/display/linuxonarm/iMX233-OLinuXino:

Quote
Important note about owners of revision B of the board: if you are one of the first owners of iMX233-OLinuXino-Micro and you experience random hang-ups (Kernel oops, Kernel panic) it is recommended to unsolder/remove R17 (check the schematic or the board file to locate it easier). Removing R17 fixes the random lock-up.
This problem has been fixed in revision B1 of the board.

Or you can edit the file boot_prep/init-mx23.c of imx-bootlets and set the EMI speed (dram clock) to 96MHz down from 133MHz, to do this you have to uncomment the line that says #define EMI_96M.

Removing R17 really helped. Thank you.