AnsweredAssumed Answered

imx6q  oops in linux3.0.35

Question asked by huang peter on Jul 29, 2019
Latest reply on Jul 30, 2019 by Bio_TICFSL

system:linux 3.0.35;

RAM:2Gb 频率 400M (DDR_Stress_Tester_V1.0.3 测试通过)

RAM:8G emmc.

1.在系统启动的时候内核概率性的发生oops.

 第一种

    [ 1.889488] Unable to handle kernel paging request at virtual address 0de00410
[ 1.896738] pgd = 80004000
[ 1.899453] [0de00410] *pgd=00000000
[ 1.903055] Internal error: Oops: 5 [#1] PREEMPT SMP
[ 1.908035] Modules linked in:
[ 1.911115] CPU: 1 Not tainted (3.0.35-2508-g54750ff-HNS010700101-04-gb0b9179-dirty #23)
[ 1.919594] PC is at ttwu_do_activate.constprop.127+0x24/0x68
[ 1.925360] LR is at sched_ttwu_do_pending+0x54/0x78
[ 1.930342] pc : [<80069be0>] lr : [<80069c78>] psr: 20000193
[ 1.930348] sp : bffa7f40 ip : ffffffff fp : bffa7f4c
[ 1.941864] r10: 00000000 r9 : bffa6000 r8 : 00000001
[ 1.947105] r7 : 00000000 r6 : 80037c00 r5 : 0de00000 r4 : bff8ce80
[ 1.953652] r3 : 00000010 r2 : 00000005 r1 : bff8ce80 r0 : 0de00000
[ 1.960201] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 1.967619] Control: 10c53c7d Table: 1000404a DAC: 00000015
[ 1.973382] Process swapper (pid: 0, stack limit = 0xbffa62f0)
[ 1.979232] Stack: (0xbffa7f40 to 0xbffa8000)
[ 1.983608] 7f40: 00000000 8c010de0 bffa7f64 80069c78 80037c00 bff8ce80 bff8ce80 bffa6000
[ 1.991813] 7f60: bffa7f74 8006b094 00000001 80ab9cc0 00000000 800392b0 ffffffff f2a00100
[ 2.000018] 7f80: 00000003 00000002 00000001 8003e98c 80b127a0 80000093 00000001 00000000
[ 2.008223] 7fa0: bffa6000 80b0b344 8052a70c 80abcf3c 1000406a 412fc09a 00000000 00000000
[ 2.016427] 7fc0: 00000000 bffa7fd8 8004d6a4 8003fa84 40000013 ffffffff 8003fa60 8003fc88
[ 2.024632] 7fe0: 8051f13c 4ffa806a 00000015 10c03c7d 80b0b4e0 1051f154 ffffffff fffffeff
[ 2.032849] [<80069be0>] (ttwu_do_activate.constprop.127+0x24/0x68) from [<80069c78>] (sched_ttwu_do_pending+0x54/0x78)
[ 2.043672] [<80069c78>] (sched_ttwu_do_pending+0x54/0x78) from [<8006b094>] (scheduler_ipi+0x5c/0x6c)
[ 2.053023] [<8006b094>] (scheduler_ipi+0x5c/0x6c) from [<800392b0>] (do_IPI+0xdc/0x17c)
[ 2.061149] [<800392b0>] (do_IPI+0xdc/0x17c) from [<8003e98c>] (__irq_svc+0x4c/0xe8)
[ 2.068914] Exception stack(0xbffa7f90 to 0xbffa7fd8)
[ 2.073983] 7f80: 80b127a0 80000093 00000001 00000000
[ 2.082188] 7fa0: bffa6000 80b0b344 8052a70c 80abcf3c 1000406a 412fc09a 00000000 00000000
[ 2.090391] 7fc0: 00000000 bffa7fd8 8004d6a4 8003fa84 40000013 ffffffff
[ 2.097035] [<8003e98c>] (__irq_svc+0x4c/0xe8) from [<8003fa84>] (default_idle+0x24/0x28)
[ 2.105241] [<8003fa84>] (default_idle+0x24/0x28) from [<8003fc88>] (cpu_idle+0xc8/0x108)
[ 2.113447] [<8003fc88>] (cpu_idle+0xc8/0x108) from [<1051f154>] (0x1051f154)
[ 2.120608] Code: e1a05000 e2033010 e6ef3073 e3530000 (15903410)
[ 2.126735] ---[ end trace 199f8b1c5287134b ]---
[ 2.131367] Kernel panic - not syncing: Fatal exception in interrupt
[ 2.137759] [<80045868>] (unwind_backtrace+0x0/0xf8) from [<80522340>] (panic+0x74/0x18c)
[ 2.145970] [<80522340>] (panic+0x74/0x18c) from [<800426bc>] (die+0x220/0x284)
[ 2.153309] [<800426bc>] (die+0x220/0x284) from [<80522138>] (__do_kernel_fault.part.3+0x54/0x74)
[ 2.162217] [<80522138>] (__do_kernel_fault.part.3+0x54/0x74) from [<8004942c>] (do_page_fault+0x2b4/0x31c)
[ 2.171995] [<8004942c>] (do_page_fault+0x2b4/0x31c) from [<80039384>] (do_DataAbort+0x34/0x9c)
[ 2.180725] [<80039384>] (do_DataAbort+0x34/0x9c) from [<8003e910>] (__dabt_svc+0x70/0xa0)
[ 2.189013] Exception stack(0xbffa7ef8 to 0xbffa7f40)
[ 2.194080] 7ee0: 0de00000 bff8ce80
[ 2.202286] 7f00: 00000005 00000010 bff8ce80 0de00000 80037c00 00000000 00000001 bffa6000
[ 2.210490] 7f20: 00000000 bffa7f4c ffffffff bffa7f40 80069c78 80069be0 20000193 ffffffff
[ 2.218701] [<8003e910>] (__dabt_svc+0x70/0xa0) from [<80069be0>] (ttwu_do_activate.constprop.127+0x24/0x68)

 

 

第二种:

[ 6.266958] Unable to handle kernel paging request at virtual address 789c0000
[ 6.274193] pgd = ba03c000
[ 6.276902] [789c0000] *pgd=00000000
[ 6.280496] Internal error: Oops: 5 [#1] PREEMPT SMP
[ 6.285464] Modules linked in:
[ 6.288539] CPU: 1 Not tainted (3.0.35-2508-g54750ff-HNS010700101-04-gb0b9179-dirty #23)
[ 6.296989] PC is at __up_read+0x14/0xc4
[ 6.300916] LR is at __up_read+0x14/0xc4
[ 6.304845] pc : [<80233c7c>] lr : [<80233c7c>] psr: 60000193
[ 6.304850] sp : bfa4fe78 ip : 00000000 fp : bfe4789c
[ 6.316340] r10: 00000000 r9 : 00000817 r8 : bfe77a00
[ 6.321569] r7 : 80b139b8 r6 : bfa4ffb0 r5 : bfe478a0 r4 : 789c0000
[ 6.328100] r3 : 00000000 r2 : 40000113 r1 : 2712371f r0 : 40000113
[ 6.334634] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
[ 6.341862] Control: 10c53c7d Table: 4a03c04a DAC: 00000015
[ 6.347612] Process project (pid: 1410, stack limit = 0xbfa4e2f0)
[ 6.353710] Stack: (0xbfa4fe78 to 0xbfa50000)
[ 6.358072] fe60: bfe47860 2e2b9000
[ 6.366258] fe80: bfa4ffb0 8004924c bfa4febc 80068954 00000002 8c010de0 00000000 00000000
[ 6.374445] fea0: 80039e24 ffffffff 00000000 00000000 bfe7c000 800917b0 80b0b34c ffffffff
[ 6.382630] fec0: bfe7c000 00000002 00000000 80091a7c 00000000 bfe77a00 bfd620d8 bfe7c01c
[ 6.390817] fee0: bfe77a00 bfa4e000 bfd620a0 00000817 80abd4a8 2e2b9000 bfa4ffb0 00000019
[ 6.399003] ff00: 00000080 00000000 00000000 80039384 00000001 685c4758 00000001 00000000
[ 6.407188] ff20: 00000000 8009bae4 80037de0 80037de0 800371b4 80037de0 8c010480 80090954
[ 6.415374] ff40: 689bac80 00000001 00000000 00000003 689bac80 00000001 685c4758 00000001
[ 6.423559] ff60: 685c4758 00000001 685c4758 00000001 bfa4e000 bfa4e000 00000000 bfa4e000
[ 6.431745] ff80: 80ab9cc0 80037c00 00000000 ffffffff f2a00100 000003ff 00000001 0000040f
[ 6.439931] ffa0: 00000007 2df26e08 2e2b8e08 8003eec4 00000000 001661d8 2df27004 00000000
[ 6.448117] ffc0: 2e2b9000 2df28c08 2df26e08 2e2b8e08 00000019 00000080 00000000 00000000
[ 6.456314] ffe0: 00000000 7ed67d68 2ae92da8 2ae891f0 20000010 ffffffff ffffffff ffffffff
[ 6.464515] [<80233c7c>] (__up_read+0x14/0xc4) from [<8004924c>] (do_page_fault+0xd4/0x31c)
[ 6.472889] [<8004924c>] (do_page_fault+0xd4/0x31c) from [<80039384>] (do_DataAbort+0x34/0x9c)
[ 6.481515] [<80039384>] (do_DataAbort+0x34/0x9c) from [<8003eec4>] (ret_from_exception+0x0/0x10)
[ 6.490392] Exception stack(0xbfa4ffb0 to 0xbfa4fff8)
[ 6.495449] ffa0: 00000000 001661d8 2df27004 00000000
[ 6.503635] ffc0: 2e2b9000 2df28c08 2df26e08 2e2b8e08 00000019 00000080 00000000 00000000
[ 6.511819] ffe0: 00000000 7ed67d68 2ae92da8 2ae891f0 20000010 ffffffff
[ 6.518443] Code: e2805004 e1a04000 e1a00005 eb0bd31d (e5942000)
[ 6.524580] ---[ end trace a2139069cbafcb12 ]---
[ 6.529208] note: project[1410] exited with preempt_count 1

Outcomes