MT6735平台专网模块死机问题汇总

关于各种专网模块死机问题的分析:
一共是有 5 种死机情形,一起来看一下:
1.
第一种是关机过程中产生的死机问题://ZP101模块
[ 363.781309]<2>-(2)[1:init][] check_bytes_and_report+0x128/0x14c
[ 363.782241]<2>-(2)[1:init][] check_object+0x1cc/0x240
[ 363.783066]<2>-(2)[1:init][] __free_slab+0x174/0x1bc
[ 363.783879]<2>-(2)[1:init][] discard_slab+0x48/0x6c
[ 363.784682]<2>-(2)[1:init][] __slab_free+0x37c/0x3a4
[ 363.785496]<2>-(2)[1:init][] kfree+0x260/0x2a0
[ 363.786248]<2>-(2)[1:init][] usb_release_interface+0x34/0x44
[ 363.787148]<2>-(2)[1:init][] device_release+0x30/0x98
[ 363.787974]<2>-(2)[1:init][] kobject_release+0x90/0x19c
[ 363.788819]<2>-(2)[1:init][] kobject_put+0x34/0x68
[ 363.789610]<2>-(2)[1:init][] put_device+0x10/0x1c
[ 363.790393]<2>-(2)[1:init][] usb_disable_device+0x118/0x274
[ 363.791282]<2>-(2)[1:init][] usb_disconnect+0xc4/0x2bc
[ 363.792117]<2>-(2)[1:init][] usb_disconnect+0x8c/0x2bc
[ 363.792951]<2>-(2)[1:init][] usb_disconnect+0x8c/0x2bc
[ 363.793788]<2>-(2)[1:init][] usb_remove_hcd+0xc0/0x178
[ 363.794624]<2>-(2)[1:init][] musb_shutdown+0x1c0/0x1c8
[ 363.795461]<2>-(2)[1:init][] platform_drv_shutdown+0x18/0x24
[ 363.796361]<2>-(2)[1:init][] device_shutdown+0x19c/0x1d4
[ 363.797220]<2>-(2)[1:init][] kernel_power_off+0x30/0x6c
[ 363.798066]<2>-(2)[1:init][] SyS_reboot+0x178/0x238
[ 364.875792]<2>-(2)[1:init]SMP: failed to stop secondary CPUs
问题是在使用过程中容易产生死机,当时查看 log 发现产生问题的原因是电池电压不足或者
关机过程中有的机器容易产生死机问题。
查看 log 发现是在死机过程中,modem 在节点没了,RIL 层读到了空指针(此情况是由 tty 节
点挂掉导致的),然后由于存在重读机制,就导致了所谓的空指针问题。
RIL 层在此问题处理过程中,应该是没有错的,但是为什么不进行重读的话就能有效减少死
机问题的发生也很值得去查看。

MT6735平台专网模块死机问题汇总_第1张图片

2.EM350 UART 串口设置不正确导致的死机

154.229061]<0>-(0)[304:logcat][] dma_channel_program+0x520/0x594
154.230005]<0>-(0)[304:logcat][] musb_start_urb+0x670/0x3510
154.230905]<0>-(0)[304:logcat][] musb_advance_schedule+0x198/0x51c
154.231870]<0>-(0)[304:logcat][] musb_host_tx+0x240/0xb08
154.232736]<0>-(0)[304:logcat][] musb_interrupt+0xec/0x13fc
154.233629]<0>-(0)[304:logcat][] mt_usb_interrupt+0x314/0xec8
154.234543]<0>-(0)[304:logcat][] handle_irq_event_percpu+0xd0/0x424
154.235519]<0>-(0)[304:logcat][] handle_irq_event+0x48/0x78
154.236411]<0>-(0)[304:logcat][] handle_fasteoi_irq+0xb0/0x150
154.237332]<0>-(0)[304:logcat][] generic_handle_irq+0x30/0x4c
154.238245]<0>-(0)[304:logcat][] handle_IRQ+0x94/0x1c4
154.239078]<0>-(0)[304:logcat][] gic_handle_irq+0x40/0x84
154.239947]<0>-(0)[304:logcat][] el1_irq+0x84/0xf4
154.240739]<0>-(0)[304:logcat][] uart_start+0x34/0x44
154.241563]<0>-(0)[304:logcat][] uart_write+0xc4/0x120
154.242400]<0>-(0)[304:logcat][] n_tty_write+0x19c/0x424
154.243255]<0>-(0)[304:logcat][] tty_write+0x110/0x298
154.244091]<0>-(0)[304:logcat][] redirected_tty_write+0xc0/0xd4
154.245026]<0>-(0)[304:logcat][] vfs_write+0xa4/0x18c
154.245851]<0>-(0)[304:logcat][] SyS_write+0x40/0x8c
在 ril 代码里添加串口波特率相关适配 即可解决.
解决思路是在死机 log 中频繁出现 uart 相关函数,重新梳理代码发现 ril 层中没有相关配置。

MT6735平台专网模块死机问题汇总_第2张图片
3.插入 USB 导致的死机
此问题暂时没有好的解决办法.


4.视频通话导致的死机(国基 东芯 modem)
[ 679.919732]<0>-(0)[3103:activity:remote]Unable to handle kernel paging request at virtual
address 0000dead
[ 679.920937]<0>-(0)[3103:activity:remote]pgd = ffffffc048888000
[ 679.921660][0000dead] *pgd=00000000afa89003, *pmd=0000000000000000
[ 679.922435]<0>-(0)[3103:activity:remote]Internal error: Oops: 96000046 [#1] PREEMPT SMP
[ 679.923428]disable aee kernel api
[ 679.923856]<0>-(0)[3103:activity:remote]mrdump: cpu[0] tsk:ffffffc036f3e000ti:ffffffc036fb8000
[ 680.926892]<0>-(0)[3103:activity:remote]Non-crashing CPUs did not react to IPI
[ 680.927891]<0>-(0)[3103:activity:remote]CPU: 0 PID: 3103 Comm: activity:remote Tainted: G
W 3.10.65 #6
[ 680.929159]<0>-(0)[3103:activity:remote]task: ffffffc036f3e000 ti: ffffffc036fb8000 task.ti:
ffffffc036fb8000
[ 680.930398]<0>-(0)[3103:activity:remote]PC is at dma_channel_program+0x520/0x594
[ 680.931315]<0>-(0)[3103:activity:remote]LR is at musb_start_urb+0x674/0x3510
[ 680.932193]<0>-(0)[3103:activity:remote]pc : [] lr : []
pstate: 400001c5
[ 680.933416]<0>-(0)[3103:activity:remote]sp : ffffffc036fbb730
[ 680.934132]x29: ffffffc036fbb740 x28: ffffffc036f7a300
[ 680.934781]x27: ffffffc001acd000 x26: ffffffc001acd000
[ 680.935432]x25: 0000000000000200 x24: 0000000000000200
[ 680.936083]x23: ffffffc0771ec178 x22: ffffffc001acd000
[ 680.936734]x21: ffffffc0771d8618 x20: ffffffc0771d8618
[ 680.937385]x19: ffffffc036f7a300 x18: 0000000000000000
[ 680.938035]x17: 00000000294140c4 x16: 0000000052d33c0d
[ 680.938686]x15: 0000000000000000 x14: 000000004db26158
[ 680.939337]x13: 0000000000000028 x12: 0000000000000021
[ 680.939988]x11: 000000000000001a x10: 000000000ddaa7c5
[ 680.940638]x9 : 0000000000000000 x8 : ffffff8001c40000
[ 680.941289]x7 : ffffff8001c40084 x6 : 0000000000009400
[ 680.941940]x5 : ffffffc0006ac050 x4 : 000000000000047e
[ 680.942591]x3 : 0000000076f80002 x2 : 0000000000000001
[ 680.943241]x1 : 0000000000000aee x0 : 000000000000dead
[ 680.943895]<0>-(0)[3103:activity:remote]
[ 680.943895]<0>PC: 0xffffffc0006ac4f0:
[ 680.944836]c4f0 f94033a4 17ffff82 b000437b 91024360 940d8283 aa0003f6 52800020
97ff5573
[ 680.945843]c510 b94a5660 900020b3 913b8261 35000480 d0003760 528006e2 91374000
aa0103e3
[ 680.946852]c530 2a1403e4 940d3edc 8b150304 79400084 12003c84 f90033a4 d5033d9f
52800000
[ 680.947861]c550 97ff5562 91024360 aa1603e1 940d82d5 f94033a4 17ffff42 d29bd5a0
52815dc1
[ 680.948870]c570 b9000001 17fffee2 d0003760 91374000 17ffff70 d0003760 91374000 17ffffa7
[ 680.949878]c590 d0003760 91374000 17ffff87 d29bd5a0 52815dc1 b9000001 17ffff03
d0003760
[ 680.950887]c5b0 528006e2 aa0103e3 2a1403e4 91362000 940d3eb9 17ffffdd d0003760
528006e2
[ 680.951896]c5d0 aa0103e3 2a1403e4 91362000 940d3eb2 17ffffba a9be7bfd 910003fd
f9000bf3
[ 680.952907]<0>-(0)[3103:activity:remote]
[ 680.952907]<0>LR: 0xffffffc0006a34ec:
[ 680.953849]34ec 91070000 91046021 52805a82 940d62eb b940f3a0 b9003380 d5033e9f
b94a5360
[ 680.954857]350c 71000c1f 540001a9 d000a140 b94072a4 b94a5400 3400a2e0 b0003800
91088000
[ 680.955866]352c b00020e1 52805b82 912d6021 aa1503e3 91046021 940d62d9 f9405ba1
aa1903e0
[ 680.956874]354c b940bba4 f9403aa3 f9401025 8b244063 7941d3a1 394363a2 b940f3a4d63f00a0
[ 680.957883]356c 34008d20 39696340 34005ca0 d5033e9f 79410ba0 f94047a1 79000020
b940fba0
[ 680.958891]358c 34001600 d100c3bf a94453f3 a9455bf5 a94663f7 a9476bf9 a94873fb
a9437bfd
[ 680.959900]35ac 9104c3ff d65f03c0 f94073a0 39406818 f9002013 3943f3a0 f90077a0
aa0003e1
[ 680.960909]35cc 34002358 f94073a0 52800017 52800018 f9002413 d2802f00 9b007c20
f9422e81
[ 680.961920]<0>-(0)[3103:activity:remote]
[ 680.961920]<0>SP: 0xffffffc036fbb6b0:
[ 680.962862]b6b0 771d8618 ffffffc0 771d8618 ffffffc0 01acd000 ffffffc0 771ec178 ffffffc0
[ 680.963870]b6d0 00000200 00000000 00000200 00000000 01acd000 ffffffc0 01acd000 ffffffc0
[ 680.964878]b6f0 36f7a300 ffffffc0 36fbb740 ffffffc0 006a356c ffffffc0 36fbb730 ffffffc0
[ 680.965887]b710 006ac570 ffffffc0 400001c5 00000000 36fbb7d0 ffffffc0 00a0cf00 ffffffc0
[ 680.966896]b730 74131b20 ffffffc0 74131880 ffffffc0 36fbb7f0 ffffffc0 006a356c ffffffc0
[ 680.967904]b750 36f7a300 ffffffc0 771ec178 ffffffc0 36f7a780 ffffffc0 00000001 00000000
[ 680.968913]b770 01c40012 ffffff80 00000200 00000000 771d8618 ffffffc0 01acd000 ffffffc0
[ 680.969922]b790 01acd000 ffffffc0 36f7a300 ffffffc0 01acd000 ffffffc0 36f7a300 ffffffc0
[ 680.970935]<0>-(0)[3103:activity:remote]
[ 680.970935]<0>X5: 0xffffffc0006abfd0:
[ 680.971875]bfd0 940d8438 17fffe82 f0003760 910142c1 91362000 17ffffef f0003760 528006e2
[ 680.972883]bff0 aa1603e3 52800244 91362000 940d402a 17ffffcd f9403ba3 d0003760
91362000
[ 680.973892]c010 52800b42 aa0303e1 52800244 940d4022 f9403fa6 f94037a5 17ffffaa
f9403ba3
[ 680.974900]c030 d0003760 91362000 52800b42 aa0303e1 52800244 940d4018 f9403fa5
17fffeaf
[ 680.975909]c050 d10243ff a9017bfd 910043fd a9035bf5 a9056bf9 a90253f3 a90463f7
a90673fb
[ 680.976918]c070 b000a116 aa0003f5 f9400014 12003c39 3901ffa2 b94a52c1 f9401680
f9003ba3
[ 680.977926]c090 7100043f b9007ba4 f9412c17 540002a9 b000a100 b94a5400 34001040
3940f280
[ 680.978935]c0b0 3940ee83 35001d80 d0003384 91172084 3941ffa0 900020b3 b90003e0
b00037c0
[ 680.979951]<0>-(0)[3103:activity:remote]
[ 680.979951]<0>X19: 0xffffffc036f7a280:
[ 680.980899]a280 00007e86 00000001 00216824 ffffffc0 001abd8c 001ac3f0 001acd38
00216820
[ 680.981907]a2a0 00216d04 00216d70 00142ba4 0013e7fc 00000002 000000fa 00007e8f
00000001
[ 680.982916]a2c0 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a
5a5a5a5a
[ 680.983924]a2e0 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a
5a5a5a5a
[ 680.984933]a300 73d8c800 ffffffc0 73f4e000 ffffffc0 771ec778 ffffffc0 36f7a318 ffffffc0
[ 680.985942]a320 36f7a318 ffffffc0 00000000 00000000 0000047e 02030063 03020100
02000000
[ 680.986950]a340 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
[ 680.987959]a360 00000000 00000000 00000000 00000000 00000000 00000000 0000000000000000
[ 680.988971]<0>-(0)[3103:activity:remote]
[ 680.988971]<0>X20: 0xffffffc0771d8598:
[ 680.989923]8598 771d8598 ffffffc0 00100000 00000000 00000000 00000000 00000000
00000000
[ 680.990931]85b8 00000001 00000000 771d84c0 ffffffc0 b312e000 00000008 03020040
00000000
[ 680.991940]85d8 771d85d8 ffffffc0 00100000 00000000 00000000 00000000 00000000
00000000
[ 680.992948]85f8 00000001 00000000 771d84c0 ffffffc0 7a3d4182 00000048 04030200
00000000
[ 680.993957]8618 771d8618 ffffffc0 00100000 00000000 00000000 00000000 00000000
00000000
[ 680.994966]8638 00000002 00000001 771d84c0 ffffffc0 708374c2 00000124 01040200
00000001
[ 680.995975]8658 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
[ 680.996983]8678 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
[ 680.997995]<0>-(0)[3103:activity:remote]
[ 680.997995]<0>X21: 0xffffffc0771d8598:
[ 680.998947]8598 771d8598 ffffffc0 00100000 00000000 00000000 00000000 00000000
00000000
[ 680.999955]85b8 00000001 00000000 771d84c0 ffffffc0 b312e000 00000008 03020040
00000000
[ 681.000963]85d8 771d85d8 ffffffc0 00100000 00000000 00000000 00000000 00000000
00000000
[ 681.001973]85f8 00000001 00000000 771d84c0 ffffffc0 7a3d4182 00000048 04030200
00000000
[ 681.002981]8618 771d8618 ffffffc0 00100000 00000000 00000000 00000000 00000000
00000000
[ 681.003990]8638 00000002 00000001 771d84c0 ffffffc0 708374c2 00000124 01040200
00000001
[ 681.004999]8658 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
[ 681.006007]8678 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
[ 681.007019]<0>-(0)[3103:activity:remote]
[ 681.007019]<0>X22: 0xffffffc001accf80:
[ 681.007971]cf80 00000000 00000001 00000000 00000000 00000000 00000000 00000000
00000000
[ 681.008979]cfa0 00000000 00000000 00000000 00000000 00000001 00000000 00000000
00000000
[ 681.009988]cfc0 01be2000 ffffff80 01be4000 ffffff80 01be6000 ffffff80 01be8000 ffffff80
[ 681.010996]cfe0 01be0000 ffffff80 777fba00 ffffffc0 777fb500 ffffffc0 777fb8c0 ffffffc0
[ 681.012005]d000 777fb640 ffffffc0 01be2000 ffffff80 01be4000 ffffff80 01be6000 ffffff80
[ 681.013014]d020 01be8000 ffffff80 0000001b 00000000 00001000 00001000 00001000
00000e9f
[ 681.014022]d040 f7e19085 00000000 00000000 00000001 00000000 00000000 00000000
00000000
[ 681.015031]d060 777fb280 ffffffc0 777fbb40 ffffffc0 00000000 00000000 00000000 00000000
[ 681.016043]<0>-(0)[3103:activity:remote][ 681.016043]<0>X23: 0xffffffc0771ec0f8:
[ 681.016995]c0f8 00ac0d90 ffffffc0 00000000 00000000 00000021 00000000 0000006b
00000000
[ 681.018003]c118 00000000 00000000 00000000 00000000 00000000 00000000 000001f4
00000000
[ 681.019012]c138 771ac180 ffffffc0 00000000 00000000 00000000 00000000 75008780 ffffffc0
[ 681.020020]c158 75067000 ffffffc0 75067d80 ffffffc0 75067180 ffffffc0 00000001 00000000
[ 681.021029]c178 00000000 00000000 dead4ead ffffffff ffffffff ffffffff 01acda70 ffffffc0
[ 681.022038]c198 013623b0 ffffffc0 00000000 00000000 00c616a0 ffffffc0 00000001 00000000
[ 681.023047]c1b8 771ec1b8 ffffffc0 771ec1b8 ffffffc0 00000001 00000000 dead4ead 00000000
[ 681.024056]c1d8 36f3e000 ffffffc0 01acda78 ffffffc0 0132c710 ffffffc0 00000000 00000000
[ 681.025067]<0>-(0)[3103:activity:remote]
[ 681.025067]<0>X26: 0xffffffc001accf80:
[ 681.026019]cf80 00000000 00000001 00000000 00000000 00000000 00000000 00000000
00000000
[ 681.027027]cfa0 00000000 00000000 00000000 00000000 00000001 00000000 00000000
00000000
[ 681.028036]cfc0 01be2000 ffffff80 01be4000 ffffff80 01be6000 ffffff80 01be8000 ffffff80
[ 681.029045]cfe0 01be0000 ffffff80 777fba00 ffffffc0 777fb500 ffffffc0 777fb8c0 ffffffc0
[ 681.030053]d000 777fb640 ffffffc0 01be2000 ffffff80 01be4000 ffffff80 01be6000 ffffff80
[ 681.031062]d020 01be8000 ffffff80 0000001b 00000000 00001000 00001000 00001000
00000e9f
[ 681.032071]d040 f7e19085 00000000 00000000 00000001 00000000 00000000 00000000
00000000
[ 681.033079]d060 777fb280 ffffffc0 777fbb40 ffffffc0 00000000 00000000 00000000 00000000
[ 681.034090]<0>-(0)[3103:activity:remote]
[ 681.034090]<0>X27: 0xffffffc001accf80:
[ 681.035043]cf80 00000000 00000001 00000000 00000000 00000000 00000000 00000000
00000000
[ 681.036051]cfa0 00000000 00000000 00000000 00000000 00000001 00000000 00000000
00000000
[ 681.037059]cfc0 01be2000 ffffff80 01be4000 ffffff80 01be6000 ffffff80 01be8000 ffffff80
[ 681.038069]cfe0 01be0000 ffffff80 777fba00 ffffffc0 777fb500 ffffffc0 777fb8c0 ffffffc0
[ 681.039077]d000 777fb640 ffffffc0 01be2000 ffffff80 01be4000 ffffff80 01be6000 ffffff80
[ 681.040086]d020 01be8000 ffffff80 0000001b 00000000 00001000 00001000 00001000
00000e9f
[ 681.041095]d040 f7e19085 00000000 00000000 00000001 00000000 00000000 00000000
00000000
[ 681.042103]d060 777fb280 ffffffc0 777fbb40 ffffffc0 00000000 00000000 00000000 00000000
[ 681.043115]<0>-(0)[3103:activity:remote]
[ 681.043115]<0>X28: 0xffffffc036f7a280:
[ 681.044067]a280 00007e86 00000001 00216824 ffffffc0 001abd8c 001ac3f0 001acd38
00216820
[ 681.045075]a2a0 00216d04 00216d70 00142ba4 0013e7fc 00000002 000000fa 00007e8f
00000001
[ 681.046084]a2c0 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a
5a5a5a5a
[ 681.047093]a2e0 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a
5a5a5a5a
[ 681.048101]a300 73d8c800 ffffffc0 73f4e000 ffffffc0 771ec778 ffffffc0 36f7a318 ffffffc0
[ 681.049110]a320 36f7a318 ffffffc0 00000000 00000000 0000047e 02030063 03020100
02000000[ 681.050118]a340 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
[ 681.051127]a360 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
[ 681.052139]<0>-(0)[3103:activity:remote]
[ 681.052139]<0>X29: 0xffffffc036fbb6c0:
[ 681.053092]b6c0 01acd000 ffffffc0 771ec178 ffffffc0 00000200 00000000 00000200 00000000
[ 681.054099]b6e0 01acd000 ffffffc0 01acd000 ffffffc0 36f7a300 ffffffc0 36fbb740 ffffffc0
[ 681.055108]b700 006a356c ffffffc0 36fbb730 ffffffc0 006ac570 ffffffc0 400001c5 00000000
[ 681.056117]b720 36fbb7d0 ffffffc0 00a0cf00 ffffffc0 74131b20 ffffffc0 74131880 ffffffc0
[ 681.057125]b740 36fbb7f0 ffffffc0 006a356c ffffffc0 36f7a300 ffffffc0 771ec178 ffffffc0
[ 681.058134]b760 36f7a780 ffffffc0 00000001 00000000 01c40012 ffffff80 00000200 00000000
[ 681.059143]b780 771d8618 ffffffc0 01acd000 ffffffc0 01acd000 ffffffc0 36f7a300 ffffffc0
[ 681.060152]b7a0 01acd000 ffffffc0 36f7a300 ffffffc0 76f80002 00000000 0000047e 01ffffc0
[ 681.061161]<0>-(0)[3103:activity:remote]
[ 681.061650]<0>-(0)[3103:activity:remote]Call trace:
[ 681.062264]<0>-(0)[3103:activity:remote][]
dma_channel_program+0x520/0x594
[ 681.063316]<0>-(0)[3103:activity:remote][] musb_start_urb+0x670/0x3510
[ 681.064324]<0>-(0)[3103:activity:remote][]
musb_advance_schedule+0x198/0x51c
[ 681.065398]<0>-(0)[3103:activity:remote][] musb_host_tx+0x240/0xb08
[ 681.066374]<0>-(0)[3103:activity:remote][] musb_interrupt+0xec/0x13fc
[ 681.067373]<0>-(0)[3103:activity:remote][] mt_usb_interrupt+0x314/0xec8
[ 681.068394]<0>-(0)[3103:activity:remote][]
handle_irq_event_percpu+0xd0/0x424
[ 681.069475]<0>-(0)[3103:activity:remote][] handle_irq_event+0x48/0x78
[ 681.070475]<0>-(0)[3103:activity:remote][] handle_fasteoi_irq+0xb0/0x150
[ 681.071504]<0>-(0)[3103:activity:remote][] generic_handle_irq+0x30/0x4c
[ 681.072524]<0>-(0)[3103:activity:remote][] handle_IRQ+0x94/0x1c4
[ 681.073466]<0>-(0)[3103:activity:remote][] gic_handle_irq+0x40/0x84
[ 681.074443]<0>-(0)[3103:activity:remote][] el1_irq+0x84/0xf4
[ 681.075345]<0>-(0)[3103:activity:remote][] do_softirq+0x90/0xac
[ 681.076277]<0>-(0)[3103:activity:remote][] irq_exit+0x9c/0xd0
[ 681.077187]<0>-(0)[3103:activity:remote][] handle_IRQ+0xb8/0x1c4
[ 681.078130]<0>-(0)[3103:activity:remote][] gic_handle_irq+0x40/0x84
[ 682.147400]<0>-(0)[3103:activity:remote]SMP: failed to stop secondary CPUs
[ 682.148252]<0>-(0)[3103:activity:remote]machine_shutdown: start,
Proess(activity:remote:3103). father main:371. grandfather init:1.
[ 682.149725]<0>-(0)[3103:activity:remote]arch_reset: cmd = NULL
[ 682.150451]<0>-(0)[3103:activity:remote]wdt_arch_reset called@Kernel mode =#
[ 682.151381]<0>-(0)[3103:activity:remote]wdt_arch_reset called MTK_WDT_MODE =dd
[ 682.152284]<0>-(0)[3103:activity:remote]wdt_arch_reset called end MTK_WDT_MODE
=22000094
此问题最终的解决方法是和东芯厂商那边进行沟通,拿到了最新的驱动代码进行了解决.
5. SM7100C 死机的问题
[ 356.098830]<0>-(0)[3368:Binder_5]Non-crashing CPUs did not react to IPI[ 356.099763]<0>-(0)[3368:Binder_5]CPU: 0 PID: 3368 Comm: Binder_5 Tainted: G
3.10.65 #53
[ 356.100889]<0>-(0)[3368:Binder_5]task: ffffffc031c44000 ti: ffffffc031c48000 task.ti:
ffffffc031c48000
[ 356.102052]<0>-(0)[3368:Binder_5]PC is at dma_channel_program+0x520/0x594
[ 356.102893]<0>-(0)[3368:Binder_5]LR is at musb_start_urb+0x674/0x3510
W
// delete some log
[ 356.213630]<0>X28: 0xffffffc0380e1b80:
[ 356.214507]1b80 ffffaa2d 00000000 007bbc50 ffffffc0 001abd8c 001ac3f0 001ac708 007bbc4c
[ 356.215515]1ba0 007c3cd0 007c4cd8 007c5828 007c5ef8 00000002 00000a43 ffffaa32
00000000
[ 356.216523]1bc0 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a
5a5a5a5a
[ 356.217532]1be0 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a
5a5a5a5a
[ 356.218541]1c00 7396f200 ffffffc0 73af1000 ffffffc0 76d2c778 ffffffc0 380e1c18 ffffffc0
[ 356.219550]1c20 380e1c18 ffffffc0 00000000 00000000 00000036 02030066 06020100
02000000
[ 356.220558]1c40 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
[ 356.221567]1c60 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
[ 356.222578]<0>-(0)[3368:Binder_5]
[ 356.222578]<0>X29: 0xffffffc031c4b300:
[ 356.223455]b300 01abf000 ffffffc0 76d2c178 ffffffc0 00000036 00000000 00000200 00000000
[ 356.224463]b320 01abf000 ffffffc0 01abf000 ffffffc0 380e1c00 ffffffc0 31c4b380 ffffffc0
[ 356.225472]b340 0069fe6c ffffffc0 31c4b370 ffffffc0 006a8e70 ffffffc0 400001c5 00000000
[ 356.226480]b360 31c4b410 ffffffc0 00a0bbd8 ffffffc0 73b13b20 ffffffc0 73b13880 ffffffc0
[ 356.227489]b380 31c4b430 ffffffc0 0069fe6c ffffffc0 380e1c00 ffffffc0 76d2c178 ffffffc0
[ 356.228498]b3a0 39127780 ffffffc0 00000001 00000000 00ea0012 ffffff80 00000036 00000000
[ 356.229506]b3c0 76d3a158 ffffffc0 01abf000 ffffffc0 01abf000 ffffffc0 380e1c00 ffffffc0
[ 356.230516]b3e0 01abf000 ffffffc0 380e1c00 ffffffc0 686ca59a 00000000 00000036 00ffffc0
[ 356.231525]<0>-(0)[3368:Binder_5]
[ 356.231938]<0>-(0)[3368:Binder_5]Call trace:
[ 356.232475]<0>-(0)[3368:Binder_5][] dma_channel_program+0x520/0x594
[ 356.233452]<0>-(0)[3368:Binder_5][] musb_start_urb+0x670/0x3510
[ 356.234384]<0>-(0)[3368:Binder_5][]
musb_advance_schedule+0x198/0x51c
[ 356.235382]<0>-(0)[3368:Binder_5][] musb_host_tx+0x240/0xb08
[ 356.236282]<0>-(0)[3368:Binder_5][] musb_interrupt+0xec/0x13fc
[ 356.237206]<0>-(0)[3368:Binder_5][] mt_usb_interrupt+0x314/0xec8
[ 356.238150]<0>-(0)[3368:Binder_5][] handle_irq_event_percpu+0xd0/0x424
[ 356.239156]<0>-(0)[3368:Binder_5][] handle_irq_event+0x48/0x78
[ 356.240080]<0>-(0)[3368:Binder_5][] handle_fasteoi_irq+0xb0/0x150
[ 356.241033]<0>-(0)[3368:Binder_5][] generic_handle_irq+0x30/0x4c
[ 356.241977]<0>-(0)[3368:Binder_5][] handle_IRQ+0x94/0x1c4
[ 356.242843]<0>-(0)[3368:Binder_5][] gic_handle_irq+0x40/0x84
[ 356.243743]<0>-(0)[3368:Binder_5][] el1_irq+0x84/0xf4
[ 356.244570]<0>-(0)[3368:Binder_5][] skb_free_head+0x5c/0x84[
 
356.245459]<0>-(0)[3368:Binder_5][] skb_release_data+0xdc/0xf0
356.246381]<0>-(0)[3368:Binder_5][] skb_release_all+0x20/0x30
356.247291]<0>-(0)[3368:Binder_5][] consume_skb+0x3c/0xc4
356.248160]<0>-(0)[3368:Binder_5][] usbnet_bh+0x164/0x35c
356.249028]<0>-(0)[3368:Binder_5][] tasklet_action+0xc4/0x1b0
356.249938]<0>-(0)[3368:Binder_5][] __do_softirq+0x13c/0x2f8
356.250838]<0>-(0)[3368:Binder_5][] do_softirq+0x90/0xac
356.251695]<0>-(0)[3368:Binder_5][] irq_exit+0x9c/0xd0
356.252529]<0>-(0)[3368:Binder_5][] handle_IRQ+0xb8/0x1c4
356.253395]<0>-(0)[3368:Binder_5][] gic_handle_irq+0x40/0x84
356.254296]<0>-(0)[3368:Binder_5][] el1_irq+0x84/0xf4
356.255124]<0>-(0)[3368:Binder_5][] vfs_write+0xa4/0x18c
356.255979]<0>-(0)[3368:Binder_5][] SyS_write+0x40/0x8c
357.324580]<0>-(0)[3368:Binder_5]SMP: failed to stop secondary CPUs
产生问题的情景:在播放抖音视频过程中,频繁滑动到下一个视频,开着 log 的情况下很容
易复现。
问题不好解决,因为这次 RIL 是别人的,应该是没啥问题,然后驱动的配置都是在平台基础
上加上自己的 pid 和 vid。
过程很曲折,但最终问题还是解决了。
问题解决的过程:
起初是看 qmi_wan.c 里面,因为数据传输是走的这里。看到里面只有 rx_fix 没有 tx_fix
而且死机的 log 和东芯基本上差不多,所以怀疑是 usbnet 这边没有处理好,参考东芯升级驱
动的代码改了改参数没有生效。
最后通过修改 usb 相关代码进行了解决.分析 log 查看空指针产生位置,出现空指针后直接返回,
不再进行处理.

MT6735平台专网模块死机问题汇总_第3张图片

 

你可能感兴趣的:(专网相关)