Thread (4 messages) flat view 4 messages, 3 authors, 2007-09-10

Re: random panic and freezes on mpc8349 itx

From: Clemens Koller <hidden>
Date: 2007-09-07 12:24:41

Hi, Nicolas!

Nicolas Schichan schrieb:
Hi,

I am currently working with an MPC8349ITX board and I have some trouble with 
the kernel as soon as it reaches userland.

If I boot the kernel with all the memory (256MB) available (no mem=... on the 
command line), I get random freezes or random kernel panics. Some times it 
won't even run init. Some times it will panic badly if I try to put some 
pressure to the system (stress --cpu 256). Some times it will hang 
immediately after logging in, ...
Just some ideas how I prefer to roughly track down random crashes:

Check if the problems dependend of supply voltages, grounding or temperature.
Mounting a prototype to an aluminum board improved uptime a lot in one case.
If you don't see any variations at all, I would guess it's a problem caused
by software.
If I boot the kernel with mem=64M, these freeze and random panic disapear and 
I am able to run the stress program without any problems.

I have had this strange behaviour on both kernel 2.6.20 and 2.6.22 with 
mpc834x_itx_defconfig (both from kernel.org) (ARCH=powerpc).

I am inclined to say that it is not a broken RAM chip problem because if I use 
a 2.6.17 from kernel.org with all the RAM available (ARCH=ppc) configured 
with mpc834x_sys_defconfig (there was no defconfig for the itx board on this 
version) everything runs fine and I am able to run the stress program without 
any problems.
Hmm... check the cpu/memory timing manually (by dumping some registers) and compare.
The two ARCHitectures might do things quite different in the meanwhile.
Otherwise, if you can stay within one ARCH, git bisect might be your friend here.

Regards,
-- 
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Straße 45/1
Linhof Werksgelände
D-81379 München
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help