| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: Linux port failing on MIPS32 24Kc |
| From: | joe seb <joe.seb8@gmail.com> |
| Date: | Mon, 13 Jul 2009 20:17:48 +0530 |
| Cc: | linux-mips@linux-mips.org |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=jwePPwk81ggQtmcLGnd+TNVHHEv/ReAWFxtMPPX7+xk=; b=krz3kzTigoaxfjXb4QOEeXlQVnT9L3aSJmp9y/0Cv6EhUX5n2MnpcDNANuy2NF/ptA xWiT94YRpNplDVLk4C0pKr3MZ2XPb6MJQ7bMliqYsNlP8hZwO2t2TpbK/0dgxhzrGbWQ ZHbNm4ewC/7jtV0+96ddvRh16DTJ67sIFeTYw= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BWlFpDtus4i3ilSi//kRy1EW/P5uw21i4/ojJuxWITEyra7JTLG7lrTNSf9I/J2KDo caR9fc+XScyA7Xzv04YnXqrofteU9BGHiQ3IsXzocU0Dw1KyxlXJfK1GerUXAXC1Cme8 z5rbYwcuDaPLXg6OY1hbqZ90iq/o4zhDKzE1o= |
| In-reply-to: | <20090708103756.GB22308@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <4f9abdc70907080107t28fdac03h86b834a60806fb10@mail.gmail.com> <20090708103756.GB22308@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
|
Ralf,
We made changes to our MIPS FPGA to map the RAM to KSEG0 (0x80000000) start address. We still see the issue with the write-back. Write-through is working fine.
The failure log we got this time is given below:
Linux version 2.6.29.4 () (gcc version 4.3.2 (Sourcery G
++ Lite 4.3-51) ) #15 PREEMPT Mon Jul 13 13:22:21 IST 2009 CPU revision is: 0101937c (MIPS 24Kc) Determined physical RAM map: User-defined physical RAM map: memory: 10000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00010000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00010000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Kernel command line: mem=256M console=ttyS0,9600 cca=3 Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes Using cache attribute 3 Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 PID hash table entries: 1024 (order: 10, 4096 bytes) CPU frequency 50.00 MHz console [ttyS0] enabled Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 257092k/262144k available (1211k kernel code, 4728k reserved, 234k data, 692k init, 0k highmem) Calibrating delay loop... 33.17 BogoMIPS (lpj=165888) Mount-cache hash table entries: 512 VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) msgmni has been set to 502 Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled serial8250: ttyS0 at MMIO 0xb1a30000 (irq = 188) is a 16550A serial8250: ttyS1 at MMIO 0xb1a40000 (irq = 189) is a 16550A Freeing unused kernel memory: 692k freed Algorithmics/MIPS FPU Emulator v1.5 CPU 0 Unable to handle kernel paging request at virtual address ffffb32c, epc == 8f15b32c, ra == 8f15b32c CPU 0 Unable to handle kernel paging request at virtual address 0000001c, epc == 800210e4, ra == 8002120c Oops[#1]: Cpu 0 $ 0 : 00000000 7fccc8e8 fffffff8 00000000 $ 4 : 8021dbf0 00000000 8f81fc60 80220000 $ 8 : 00000000 9b915d6d 8021dbc0 fffffffc $12 : 0000000f 00000002 80136f7c 00000010 $16 : 00000000 00000000 8021dbc0 8f821eb0 $20 : 00000000 00000000 00000003 ffffffff $24 : 00000000 0043e4b0 $28 : 8f820000 8f821e00 8021dbc0 8002120c Hi : 0098963a Lo : ebe5df80 epc : 800210e4 set_next_entity+0x14/0x8c Not tainted ra : 8002120c pick_next_task_fair+0x90/0xe4 Status: 10004402 KERNEL EXL Cause : 00800008 BadVA : 0000001c PrId : 0101937c (MIPS 24Kc) Process init (pid: 1, threadinfo=8f820000, task=8f81fb08, tls=0053f470) Stack : 00000000 800221a8 00000000 80021550 00000000 00000000 8021dbc0 8002120c 8f81fb08 80020a90 8f81fb00 8f81fb08 80130000 8f81fb08 8f81fb08 80004924 7fcccc04 800051a8 8f81fc60 8f168de0 8f81fc60 8f821eb4 8f81fc60 00000001 8f81fb00 8f81fb08 8f81fbfc 8f821eb0 00000000 00000000 00000003 ffffffff 00000006 8002c95c 8021dbc0 8f15b238 00000001 8f81fb08 00000003 00000000 ... Call Trace: [<800210e4>] set_next_entity+0x14/0x8c [<8002120c>] pick_next_task_fair+0x90/0xe4 [<80004924>] schedule+0x5e4/0x72c [<8002c95c>] do_wait+0x31c/0x4a0 [<8002cbe0>] sys_wait4+0x100/0x174 [<80002398>] stack_done+0x20/0x3c Code: afb10014 afbf001c afb00010 <8ca2001c> 00a08821 10400008 00809021 8c82 0024 24b00008 note: init[1] exited with preempt_count 2 BUG: scheduling while atomic: init/1/0x10000003 Call Trace: [<80003fd0>] dump_stack+0x8/0x38 [<800048a0>] schedule+0x560/0x72c [<80021774>] __cond_resched+0x18/0x38 [<80004c20>] _cond_resched+0x50/0x58 [<80085874>] unmap_vmas+0x614/0x6d4 [<8008b260>] exit_mmap+0xe8/0x1f8 [<80025dd8>] mmput+0x9c/0x194 [<8002aa40>] exit_mm+0x15c/0x268 [<8002ce28>] do_exit+0xf4/0x88c [<8000e110>] nmi_exception_handler+0x0/0x34 CPU 0 Unable to handle kernel paging request at virtual address 0000001c, epc ==
800210e4, ra == 8002120c Oops[#2]: Cpu 0 $ 0 : 00000000 00000001 fffffff8 00000000 $ 4 : 8021dbf0 00000000 8f81eef8 80220000 $ 8 : 00000000 9b915d6d 8021dbc0 ffff8db3 $12 : 00001b5c 80138ef0 80136f7c 00000010 $16 : 00000000 00000000 8021dbc0 00000000 $20 : 00000000 00000000 00000000 00000000 $24 : 00000019 80121a84 $28 : 8fb08000 8fb09ee8 8021dbc0 8002120c Hi : 0098963b Lo : 67e02780 epc : 800210e4 set_next_entity+0x14/0x8c Tainted: G D ra : 8002120c pick_next_task_fair+0x90/0xe4 Status: 10004402 KERNEL EXL Cause : 00800008 BadVA : 0000001c PrId : 0101937c (MIPS 24Kc) Process events/0 (pid: 4, threadinfo=8fb08000, task=8f81eda0, tls=00000000) Stack : 00000000 800221a8 80160000 802637b4 00000000 00000000 8021dbc0 8002120c 8f81eda0 80020a90 8faf4a88 8faf4a80 80130000 8faf4a80 8f81eda0 80004924 8faf4a80 800959b0 8fb09f80 8fb09f80 8f81eef8 8faf4a88 8f81eef8 800436a0 8faf4a88 8faf4a80 8fb09f80 00000000 00000000 00000000 00000000 00000000 00000000 8003e4f8 8f81eef8 8015e000 8f81eef8 80217540 00000000 8f81eda0 ... Call Trace: [<800210e4>] set_next_entity+0x14/0x8c [<8002120c>] pick_next_task_fair+0x90/0xe4 [<80004924>] schedule+0x5e4/0x72c [<8003e4f8>] worker_thread+0xc4/0xcc [<80042d14>] kthread+0x58/0xa4 [<800095ec>] kernel_thread_helper+0x10/0x18 Code: afb10014 afbf001c afb00010 <8ca2001c> 00a08821 10400008 00809021 8c82 0024 24b00008 note: events/0[4] exited with preempt_count 2 Any suggestions on debugging this?
Thanks and Regards,
Joe
On Wed, Jul 8, 2009 at 4:07 PM, Ralf Baechle <ralf@linux-mips.org> wrote:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Simplify and correct interrupt handling for MSP4200, Ralf Baechle |
|---|---|
| Next by Date: | [PATCH 2/2] MIPS: Octeon: Set kernel_uses_llsc to false on non-SMP builds., David Daney |
| Previous by Thread: | Re: Linux port failing on MIPS32 24Kc, Maciej W. Rozycki |
| Next by Thread: | [PATCH] MIPS: Avoid clobbering struct pt_regs in kthreads (v2)., David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |