Re: bdi2000 debugging
From: Matej Kupljen <hidden>
Date: 2005-02-16 12:21:34
Hi
quoted
I am trying to debug a problem in a user space application (X windows), which when the process exits, crashes the kernel. --------------------------------------------------------------- Oops: Exception in kernel mode, sig: 4 NIP: 000003B4 XER: 00000000 LR: C002B540 SP: C3B8DD10 REGS: c3b8dc60Your dump says "sig: 4" (Illegal Instruction), which is different from what I see. I get signal 11 (segfault), this is why I'm looking after possible memory mapping issues. Are you sure you use the right compiler/flags for mpc5200 when compiling the kernel and X?
Well, I think so, because everything else works. Mplayer is especially peaky about the compiler, isn't it? And it works. Everything works, but when I quit X server, the kernel crashes :-( NIP points to 000003B4?? Overwritten?? LR points to 0xc002b540 -- 0xc002b478 + 0x00c8 do_generic_file_write SP seems good. Still trying to locate it. BR, Matej