compiling tcl packet on 3.10.19 kernel encounter an Oops

From: éå
Date: Thu Oct 30 2014 - 06:51:36 EST


Hi,

Recently I build a gcc toolchain on mips64 (broadcom netlogic xlp208) and
want to make my own filesystem.

But when I use "make" to compile tcl packet, I meet Oops as below:

CPU 0 Unable to handle kernel paging request at virtual address
c000000013fe0000, epc == ffffffffc020dcd8, ra == ffffffffc0332118
Oops[#1]:
CPU: 0 PID: 14550 Comm: cc1 Not tainted 3.10.19-WR6.0.0.5_standard+ #1
task: c00000011be34fb0 ti: c000000113640000 task.ti: c000000113640000
$ 0 : 0000000000000000 ffffffffc03320c8 c000000000000000 0000000013fe0000
$ 4 : c000000013fe0000 0000000000000000 c000000013feff80 0000000000000001
$ 8 : ffffffffc0f10000 c000000040980000 ffffffffc0b69668 0000000000000000
$12 : c00000011364fb50 0000000000000001 000000000000000b 0000000000000003
$16 : 000000ffe2070002 c00000011bd8f200 c00000fff1f90000 c000000001195f90
$20 : ffffffffc0af8320 c000000013fe0000 c000000112b0fd00 c0000001138a3ff8
$24 : ffffffffc08c53f0 ffffffffc08c0000
$28 : c000000113640000 c00000011364fb58 c00000011364fb58 ffffffffc0332118
Hi : 0000000000003bfa
Lo : 00000000000013fe
epc : ffffffffc020dcd8 clear_page+0x18/0x128
Not tainted
ra : ffffffffc0332118 handle_pte_fault+0xab0/0xef0
Status: 7400f8e3 KX SX UX KERNEL EXL IE
Cause : 0080000c
BadVA : c000000013fe0000
PrId : 000c1202 (Broadcom XLPII)
Modules linked in:
Process cc1 (pid: 14550, threadinfo=c000000113640000, task=c00000011be34fb0,
tls=000000fff2b03a10)
Stack : 0000000000000029 c00000011be34fb0 ffffffffc0f10000 ffffffffc08a3c3c
c00000011364fb88 c00000011364fb88 000000ffe2070002 000000ffe2070002
000000ffe2070002 0000000000000029 c00000011be34fb0 c00000011bd8f200
0000000000000001 c00000011364fe58 c00000011bd8f270 c000000112b0fd00
c00000011364fbe8 ffffffffc08a5b78 0000000000000000 0000000000000000
c00000011364fc08 c00000011364fc08 c00000011be34fb0 0000000000000001
0000000000000000 c00000011364fc20 c00000011364fc20 ffffffffc0287998
000000d2268e7d19 c00000011be34fb0 c000000001570ac0 c00000011364fc58
c00000011364fe58 c000000001570ac0 c000000001570ac0 c0000000015708d0
c00000011364fc88 c00000011364fc88 c000000001570220 0000000000000000
...
Call Trace:
[<ffffffffc020dcd8>] clear_page+0x18/0x128
[<ffffffffc0332118>] handle_pte_fault+0xab0/0xef0
[<ffffffffc08a5b78>] do_page_fault+0x160/0x530
[<ffffffffc01f3a64>] resume_userspace_check+0x0/0x10
Code: cc9e0040 cc9e0060 cc9e0080 <fc800000> fc800008 fc800010 fc800018
64840040 cc9e0060
---[ end trace 248ee2b369c3a6b1 ]---
note: cc1[14550] exited with preempt_count 1
{standard input}: Assembler messages:
{standard input}:89595: Warning: end of file not at end of a line; newline
inserted
{standard input}:89783: Error: missing ')'
{standard input}:89783: Error: invalid operands `ld $25,%call16(memcpy)($'
{standard input}: Warning: missing .end at end of assembly
gcc: internal compiler error: Segmentation fault (program cc1)
0x12001354b execute
../../gcc-4.8.3/gcc/gcc.c:2823
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [tclsqlite3.o] Error 4
make: *** [packages] Error 2

it looks like a bug in kernel . Maybe the page table has been corrupted.

BTW, the kernel version is 3.10.19.

Is there any solution about this ? : )


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/