On Tue, Sep 21, 2010 at 9:33 PM, Ralf Baechle <r...@linux-mips.org> wrote:
> Are you sure you really have an R3000?  That's an very old processor
> released in 1988.

yes, cpuinfo refer to https://forum.openwrt.org/viewtopic.php?id=26405
as this:
{{{
# cat /proc/cpuinfo
system type             : RTL8672
processor               : 0
cpu model               : R3000 V0.0
BogoMIPS                : 398.95
wait instruction        : no
microsecond timers      : no
tlb_entries             : 32
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
VCED exceptions         : not available
VCEI exceptions         : not available
}}}


>> $28   : 81a86000 81a87e30 7fbef508 81a6e024
>> Hi    : 00000000
>> Lo    : 000000c7
>> epc   : 81a6e030 __this_module+0x3fea0/0x3ff00 [iptable_filter]
>>     Not tainted
>> ra    : 81a6e024 __this_module+0x3fe94/0x3ff00 [iptable_filter]
>
> The big difference between your issue and the old issue in openwrt is that
> your system dies in the kernel itself; the old openwrt case blows up
> while executing code of the module.  So they're probably something different.

thanks for your kindly analysis, the oops has many crash EPC, some at
"__this_module",
 somes like below
{{{
[   14.660000] CPU 0 Unable to handle kernel paging request at virtual
address 10013860, epc == 80ed8334, ra == 80ed8334
[   14.660000] Oops[#1]:
[   14.660000] Cpu 0
[   14.660000] $ 0   : 00000000 1000ff00 00000000 00000000
[   14.660000] $ 4   : 81890001 802f5260 00000000 ffffffff
[   14.660000] $ 8   : 8101dce0 00000000 802c0050 00000000
[   14.660000] $12   : 00000003 00100100 00200200 80803f00
[   14.660000] $16   : 802c0000 802e0000 801b1a90 80f9e5f8
[   14.660000] $20   : 81830080 0040364c 004085c4 00000002
[   14.660000] $24   : 00000010 81830000
[   14.660000] $28   : 81878000 81879e68 7fd4d408 80ed8334
[   14.660000] Hi    : 00000002
[   14.660000] Lo    : 00000000
[   14.660000] epc   : 80ed8334 0x80ed8334
[   14.660000]     Not tainted
[   14.660000] ra    : 80ed8334 0x80ed8334
[   14.660000] Status: 1000ff00
[   14.660000] Cause : 00000008
[   14.660000] BadVA : 10013860
[   14.660000] PrId  : 0000cf01 (Mips3k)
[   14.660000] Modules linked in: iptable_mangle(+) iptable_filter
ip_tables xt_tcpudp x_tables tun ppp_async ppp_generic slhc ts_fsm
ts_bm ts_kmp crc_ccitt
[   14.660000] Process insmod (pid: 361, threadinfo=81878000,
task=80f9e5f8, tls=00000000)
[   14.660000] Stack : 00000000 00000000 8188f250 802c0000 802e0000
00000000 81830080 801b1c08
[   14.660000]         8025348c 0000002e 0000002e c02b4b78 c02b451c
00000001 81890000 8183009c
[   14.660000]         00000420 000003d0 0000001b 0000001a c02b5028
00000001 8188f270 80008b80
[   14.660000]         80253488 80253488 00001224 8188f270 802b0000
7fd4d5d8 00000000 8003fc60
[   14.660000]         00488038 00000001 8188f270 802b0000 7fd4d5d8
00000000 0040364c 80054b78
[   14.660000]         ...
[   14.660000] Call Trace:
[   14.660000] [<81830080>] iptable_mangle_init+0x0/0x70 [iptable_mangle]
[   14.660000] [<801b1c08>] register_pernet_subsys+0x30/0x54
[   14.660000] [<8183009c>] iptable_mangle_init+0x1c/0x70 [iptable_mangle]
[   14.660000] [<80008b80>] do_one_initcall+0x70/0x200
[   14.660000] [<8003fc60>] blocking_notifier_call_chain+0x14/0x24
[   14.660000] [<80054b78>] sys_init_module+0xc4/0x1f4
[   14.660000] [<800964a4>] sys_close+0xbc/0x104
[   14.660000] [<80002394>] stack_done+0x20/0x3c
[   14.660000]
[   14.660000]
[   14.660000] Code: 00000000  00000000  00000000 <802c3960> 00400000
00476000  80ed83e4  00000000  00000003
[   14.660000] Disabling lock debugging due to kernel taint
}}}

> (I think the openwrt issue was actually something specific to 64-bit kernels.)
>  Ralf

my previous mail told that "run init application without exec in
99_10_run_init could avoid it", but by my stress test, it's unstable,
sometimes will crash also

thanks
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to