* Why system panic after sometimes?
@ 2002-05-10 3:18 Dross Zhou
2002-05-10 6:43 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Dross Zhou @ 2002-05-10 3:18 UTC (permalink / raw)
To: linuxppc-embedded
Hello all,
This question has bothered me,I use linux-2.4.4 (
downloaded from denx.de and porting to our borad
MPC850+4Mflash+32Mram+USB).We run a server application
in borad,but after sometimes such as about a day or
even several hours ,system will panic. I check our
program, i think there are no memory leak(or it will
panic in same time) and other fatal error.
Here is my dump information:
# Oops: Kernel Mode Software FPU Emulation, sig: 8
NIP: 00001FFC XER: E0007B7F LR: 0000098C SP: C011AE90
REGS: c011ade0 TRAP: 1000
MSR: 00001000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
TASK = c0118fe0[0] 'swapper' Last syscall: 120
last math 00000000 last altivec 00000000
GPR00: 00000002 C011AE90 C0118FE0 C011AEA0 0035E000
C18FDDE8 C0118FE0 00000017
GPR08: C0124094 000E711D C18FC000 C014B3E0 30026438
100195BC 94FF7FD7 B97FDD3E
GPR16: DBFFE6E5 028002E8 FA200000 FFFFFFF6 00001032
0011AE90 C000BEDC 00009032
GPR24: 00000000 00000001 C18FC000 0020000D C03E2190
00002000 C03E2190 C011AF50
Call backtrace:
C0003800 00009032 C0003E44 C0003E5C C0128750 C00021E4
Kernel panic: Attempted to kill the idle task!
In idle task - not syncing
Rebooting in 180 seconds.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why system panic after sometimes?
2002-05-10 3:18 Why system panic after sometimes? Dross Zhou
@ 2002-05-10 6:43 ` Wolfgang Denk
2002-05-10 9:58 ` Dross Zhou
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2002-05-10 6:43 UTC (permalink / raw)
To: Dross Zhou; +Cc: linuxppc-embedded
In message <20020510031854.87945.qmail@web15005.mail.bjs.yahoo.com> you wrote:
>
> This question has bothered me,I use linux-2.4.4 (
> downloaded from denx.de and porting to our borad
> MPC850+4Mflash+32Mram+USB).We run a server application
Which version of cross tools are you using?
What firmware is used to initialize the board?
Which device drivers are used? USB???
> in borad,but after sometimes such as about a day or
> even several hours ,system will panic. I check our
> program, i think there are no memory leak(or it will
> panic in same time) and other fatal error.
> Here is my dump information:
>
> # Oops: Kernel Mode Software FPU Emulation, sig: 8
> NIP: 00001FFC XER: E0007B7F LR: 0000098C SP: C011AE90
> REGS: c011ade0 TRAP: 1000
> MSR: 00001000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
> TASK = c0118fe0[0] 'swapper' Last syscall: 120
> last math 00000000 last altivec 00000000
> GPR00: 00000002 C011AE90 C0118FE0 C011AEA0 0035E000
> C18FDDE8 C0118FE0 00000017
> GPR08: C0124094 000E711D C18FC000 C014B3E0 30026438
> 100195BC 94FF7FD7 B97FDD3E
> GPR16: DBFFE6E5 028002E8 FA200000 FFFFFFF6 00001032
> 0011AE90 C000BEDC 00009032
> GPR24: 00000000 00000001 C18FC000 0020000D C03E2190
> 00002000 C03E2190 C011AF50
> Call backtrace:
> C0003800 00009032 C0003E44 C0003E5C C0128750 C00021E4
> Kernel panic: Attempted to kill the idle task!
Did you ever try to decode this backtrace? What's that C0128750 there?
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"Buy land. They've stopped making it." - Mark Twain
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why system panic after sometimes?
2002-05-10 6:43 ` Wolfgang Denk
@ 2002-05-10 9:58 ` Dross Zhou
2002-05-10 11:37 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Dross Zhou @ 2002-05-10 9:58 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
hello denk,
I am sorry i have not described clear.
We use HardHat CDK1.2's cross compile.
We use firmware from pSOS's, and just move kernel's
image from flash into sdram then jump to it.
We have not use USB driver yet, I have writed a driver
for a MPEGI coder chip (operate it via data and
address bus).I think my driver (just handle interrupts
from chip) is safe and will not affect kernel
here is ps's output:
# ps -e
PID TTY TIME CMD
1 ? 00:00:15 init
2 ? 00:00:00 keventd
3 ? 00:00:02 kswapd //here sometimes will
change to <defunct>
4 ? 00:00:00 kreclaimd
5 ? 00:00:00 bdflush
6 ? 00:00:01 kupdated
12 ? 00:00:00 sh
14 ? 00:00:00 inetd
77 ? 01:23:54 video_start //this is our
server application
80 ? 00:00:00 ps
and i don't know how to decode backtrace?
thanks.
--- Wolfgang Denk <wd@denx.de> 的正文:>
> In message
>
<20020510031854.87945.qmail@web15005.mail.bjs.yahoo.com>
> you wrote:
> >
> > This question has bothered me,I use linux-2.4.4 (
> > downloaded from denx.de and porting to our borad
> > MPC850+4Mflash+32Mram+USB).We run a server
> application
>
> Which version of cross tools are you using?
>
> What firmware is used to initialize the board?
>
> Which device drivers are used? USB???
>
> > in borad,but after sometimes such as about a day
> or
> > even several hours ,system will panic. I check our
> > program, i think there are no memory leak(or it
> will
> > panic in same time) and other fatal error.
> > Here is my dump information:
> >
> > # Oops: Kernel Mode Software FPU Emulation, sig: 8
> > NIP: 00001FFC XER: E0007B7F LR: 0000098C SP:
> C011AE90
> > REGS: c011ade0 TRAP: 1000
> > MSR: 00001000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
> > TASK = c0118fe0[0] 'swapper' Last syscall: 120
> > last math 00000000 last altivec 00000000
> > GPR00: 00000002 C011AE90 C0118FE0 C011AEA0
> 0035E000
> > C18FDDE8 C0118FE0 00000017
> > GPR08: C0124094 000E711D C18FC000 C014B3E0
> 30026438
> > 100195BC 94FF7FD7 B97FDD3E
> > GPR16: DBFFE6E5 028002E8 FA200000 FFFFFFF6
> 00001032
> > 0011AE90 C000BEDC 00009032
> > GPR24: 00000000 00000001 C18FC000 0020000D
> C03E2190
> > 00002000 C03E2190 C011AF50
> > Call backtrace:
> > C0003800 00009032 C0003E44 C0003E5C C0128750
> C00021E4
> > Kernel panic: Attempted to kill the idle task!
>
> Did you ever try to decode this backtrace? What's
> that C0128750 there?
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime
> Systems, Embedded Linux
> Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88
> Email: wd@denx.de
> "Buy land. They've stopped making it."
> - Mark Twain
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why system panic after sometimes?
2002-05-10 9:58 ` Dross Zhou
@ 2002-05-10 11:37 ` Wolfgang Denk
2002-05-10 11:53 ` Jerry Van Baren
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2002-05-10 11:37 UTC (permalink / raw)
To: Dross Zhou; +Cc: linuxppc-embedded
Hello,
in message <20020510095821.44488.qmail@web15005.mail.bjs.yahoo.com> you wrote:
>
> I am sorry i have not described clear.
> We use HardHat CDK1.2's cross compile.
This is pretty old, but should work for this purpose.
> We have not use USB driver yet, I have writed a driver
> for a MPEGI coder chip (operate it via data and
> address bus).I think my driver (just handle interrupts
> from chip) is safe and will not affect kernel
Well, I think the kernel version you are using is very stable, so
maybe it _is_ a problem in your driver?
> and i don't know how to decode backtrace?
See Documentation/oops-tracing.txt in youir LInux kernel source
directory; alternatively, look up the addresses / symbols manually in
the Systems.map file in your kernel directory.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
You got to learn three things. What's real, what's not real, and
what's the difference." - Terry Pratchett, _Witches Abroad_
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why system panic after sometimes?
2002-05-10 11:37 ` Wolfgang Denk
@ 2002-05-10 11:53 ` Jerry Van Baren
0 siblings, 0 replies; 5+ messages in thread
From: Jerry Van Baren @ 2002-05-10 11:53 UTC (permalink / raw)
To: linuxppc-embedded
Sorry to be replying to a reply, but I inadvertently deleted the first one
in this thread...
A panic due to a FPM emulation trap is almost always a memory read
problem. Your processor is erroneously reading the value 0xFFxxxxxx, which
is a floating point instruction. This causes a floating point emulation
trap to occur because your 8xx processor doesn't have hardware floating point.
Your memory subsystem is not stable. Check the usual suspects: burst cache
line reading with marginal UPM parameters is #1, #2, and #3. I would guess
that a board design problem is #4 and bad memory is #5. Since you run for
longer periods of time, burst cache line reading is less likely in your
case (this usually shows up right away, during the boot process of linux).
Good luck, you are going to need it :-(
gvb
At 01:37 PM 5/10/2002 +0200, Wolfgang Denk wrote:
>Hello,
>
>in message <20020510095821.44488.qmail@web15005.mail.bjs.yahoo.com> you wrote:
> >
> > I am sorry i have not described clear.
> > We use HardHat CDK1.2's cross compile.
>
>This is pretty old, but should work for this purpose.
>
> > We have not use USB driver yet, I have writed a driver
> > for a MPEGI coder chip (operate it via data and
> > address bus).I think my driver (just handle interrupts
> > from chip) is safe and will not affect kernel
>
>Well, I think the kernel version you are using is very stable, so
>maybe it _is_ a problem in your driver?
>
> > and i don't know how to decode backtrace?
>
>See Documentation/oops-tracing.txt in youir LInux kernel source
>directory; alternatively, look up the addresses / symbols manually in
>the Systems.map file in your kernel directory.
>
>Wolfgang Denk
>
>--
>Software Engineering: Embedded and Realtime Systems, Embedded Linux
>Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
>You got to learn three things. What's real, what's not real, and
>what's the difference." - Terry Pratchett, _Witches Abroad_
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-05-10 11:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10 3:18 Why system panic after sometimes? Dross Zhou
2002-05-10 6:43 ` Wolfgang Denk
2002-05-10 9:58 ` Dross Zhou
2002-05-10 11:37 ` Wolfgang Denk
2002-05-10 11:53 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).