root@TinaLinux:/# i2cdetect -y 6
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- 14 -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- 35 -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- 58 -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@TinaLinux:/#
root@TinaLinux:/# i2cdump -y 6 0x14
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ?...............
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c ...............?
d0: 11 83 02 20 11 83 02 20 11 83 02 20 11 a3 02 20 ??? ??? ??? ???
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
root@TinaLinux:/#
无法卸载:
root@TinaLinux:/# lsmod
gt9xxnew_ts 47774 0
root@TinaLinux:/#
root@TinaLinux:/# rmmod gt9xxnew_ts
[ 134.176774] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 134.185945] pgd = ffffffc078a6e000
[ 134.189780] [0000000000000000] *pgd=00000000b8326003, *pud=00000000b8326003, *pmd=0000000000000000
[ 134.199913] Internal error: Oops: 96000006 [#1] PREEMPT SMP
[ 134.206156] Modules linked in: gt9xxnew_ts(-)
[ 134.211049] CPU: 3 PID: 2117 Comm: rmmod Not tainted 4.9.191 #5
[ 134.217681] Hardware name: sun50iw10 (DT)
[ 134.222171] task: ffffffc0789e5180 task.stack: ffffffc078334000
[ 134.228815] PC is at i2c_do_del_adapter+0x34/0x8c
[ 134.234086] LR is at __process_removed_driver+0x30/0x44
[ 134.239939] pc : [<ffffff80084e2f00>] lr : [<ffffff80084e2fa4>] pstate: 60000145
[ 134.248226] sp : ffffffc078337d50
[ 134.251935] x29: ffffffc078337d50 x28: ffffffc0789e5180
[ 134.257893] x27: ffffff8008792000 x26: 000000000000006a
[ 134.263850] x25: 00000000000001b3 x24: 0000000000000015
[ 134.269806] x23: dead000000000200 x22: dead000000000100
[ 134.275763] x21: ffffffc07a1b6e90 x20: ffffff80007989c0
[ 134.281720] x19: 0000000000000000 x18: 0000000000000000
[ 134.287676] x17: 0000007f90acc420 x16: ffffff80080ff310
[ 134.293632] x15: 0000000000000020 x14: 0000000000000002
[ 134.299590] x13: ffffffffff000000 x12: ffffffffffffffff
[ 134.305547] x11: 0000000000000018 x10: 7f7f7f7f7f7f7f7f
[ 134.311503] x9 : fefefefefefefeff x8 : 0000000000000000
[ 134.317460] x7 : ffffffffffffffff x6 : 000000ffffffffff
[ 134.323417] x5 : 8080808080000000 x4 : 0000000000000000
[ 134.329374] x3 : ffffffc07a1b6f00 x2 : ffffff8008b59dd0
[ 134.335331] x1 : ffffffc07a1b6e90 x0 : fffffffffffffd28
[ 134.341289]
[ 134.341289] SP: 0xffffffc078337cd0:
[ 134.346850] 7cd0 00000100 dead0000 00000200 dead0000 00000015 00000000 000001b3 00000000
[ 134.356052] 7cf0 0000006a 00000000 08792000 ffffff80 789e5180 ffffffc0 78337d50 ffffffc0
[ 134.365252] 7d10 084e2fa4 ffffff80 78337d50 ffffffc0 084e2f00 ffffff80 60000145 00000000
[ 134.374451] 7d30 78337d40 ffffffc0 08778a44 ffffff80 ffffffff 0000007f 087705f0 ffffff80
[ 134.383650] 7d50 78337d90 ffffffc0 084e2fa4 ffffff80 00000000 00000000 007988f8 ffffff80
[ 134.392848] 7d70 084e2f74 ffffff80 084e2f74 ffffff80 60000000 00000000 0000006a 00000000
[ 134.402047] 7d90 78337da0 ffffffc0 083d0dcc ffffff80 78337de0 ffffffc0 084e3344 ffffff80
[ 134.411247] 7db0 08b59da0 ffffff80 08b59e98 ffffff80 007988f8 ffffff80 084e3330 ffffff80
[ 134.420447]
[ 134.420447] X0: 0xfffffffffffffca8:
[ 134.426007] fca8 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.435211] fcc8 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.444411] fce8 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.453610] fd08 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.462810] fd28 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.472009] fd48 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.481210] fd68 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.490410] fd88 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.499612]
[ 134.499612] X1: 0xffffffc07a1b6e10:
[ 134.505173] 6e10 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 134.514372] 6e30 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 134.523572] 6e50 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 134.532770] 6e70 cccccccc cccccccc cccccccc cccccccc 7a759e80 ffffffc0 00000006 00000001
[ 134.541970] 6e90 00000000 00000000 00000081 00000000 08813898 ffffff80 7a1b6e80 ffffffc0
[ 134.551168] 6eb0 08813178 ffffff80 00000000 00000000 00000000 00000000 00000000 00000000
[ 134.560365] 6ed0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 134.569566] 6ef0 00000000 00000000 000004e2 00000003 7a759e90 ffffffc0 7a223380 ffffffc0
[ 134.578766]
[ 134.578766] X3: 0xffffffc07a1b6e80:
[ 134.584327] 6e80 7a759e80 ffffffc0 00000006 00000001 00000000 00000000 00000081 00000000
[ 134.593526] 6ea0 08813898 ffffff80 7a1b6e80 ffffffc0 08813178 ffffff80 00000000 00000000
[ 134.602724] 6ec0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 134.611923] 6ee0 00000000 00000000 00000000 00000000 00000000 00000000 000004e2 00000003
[ 134.621121] 6f00 7a759e90 ffffffc0 7a223380 ffffffc0 7a2d1e80 ffffffc0 7a2e00b8 ffffffc0
[ 134.630321] 6f20 7a15bd30 ffffffc0 7a759ea0 ffffffc0 7b638080 ffffffc0 08b3a298 ffffff80
[ 134.639521] 6f40 7a2bf568 ffffffc0 00000009 00000007 00000000 00000000 08b59dd0 ffffff80
[ 134.648720] 6f60 00000001 00020002 7a1b6f68 ffffffc0 7a1b6f68 ffffffc0 00000000 00000000
[ 134.657922]
[ 134.657922] X13: 0xfffffffffeffff80:
[ 134.663580] ff80 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.672779] ffa0 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.681980] ffc0 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.691181] ffe0 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.700381] 0000 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.709581] 0020 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.718781] 0040 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.727981] 0060 ******** ******** ******** ******** ******** ******** ******** ********
[ 134.737183]
[ 134.737183] X21: 0xffffffc07a1b6e10:
[ 134.742840] 6e10 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 134.752040] 6e30 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 134.761238] 6e50 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 134.770437] 6e70 cccccccc cccccccc cccccccc cccccccc 7a759e80 ffffffc0 00000006 00000001
[ 134.779636] 6e90 00000000 00000000 00000081 00000000 08813898 ffffff80 7a1b6e80 ffffffc0
[ 134.788835] 6eb0 08813178 ffffff80 00000000 00000000 00000000 00000000 00000000 00000000
[ 134.798034] 6ed0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 134.807232] 6ef0 00000000 00000000 000004e2 00000003 7a759e90 ffffffc0 7a223380 ffffffc0
[ 134.816436]
[ 134.816436] X28: 0xffffffc0789e5100:
[ 134.822094] 5100 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 134.831292] 5120 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 134.840490] 5140 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 134.849689] 5160 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[ 134.858889] 5180 00000012 00000000 ffffffff ffffffff 00000001 00000000 00000000 00000000
[ 134.868088] 51a0 78334000 ffffffc0 00000002 00404100 00000000 00000000 00000000 00000000
[ 134.877285] 51c0 00000001 00000003 0000000f 00000000 ffff5df8 00000000 7839ec80 ffffffc0
[ 134.886484] 51e0 00000003 00000001 00000078 00000078 00000078 00000000 08799370 ffffff80
[ 134.895685]
[ 134.895685] X29: 0xffffffc078337cd0:
[ 134.901343] 7cd0 00000100 dead0000 00000200 dead0000 00000015 00000000 000001b3 00000000
[ 134.910543] 7cf0 0000006a 00000000 08792000 ffffff80 789e5180 ffffffc0 78337d50 ffffffc0
[ 134.919741] 7d10 084e2fa4 ffffff80 78337d50 ffffffc0 084e2f00 ffffff80 60000145 00000000
[ 134.928941] 7d30 78337d40 ffffffc0 08778a44 ffffff80 ffffffff 0000007f 087705f0 ffffff80
[ 134.938139] 7d50 78337d90 ffffffc0 084e2fa4 ffffff80 00000000 00000000 007988f8 ffffff80
[ 134.947338] 7d70 084e2f74 ffffff80 084e2f74 ffffff80 60000000 00000000 0000006a 00000000
[ 134.956537] 7d90 78337da0 ffffffc0 083d0dcc ffffff80 78337de0 ffffffc0 084e3344 ffffff80
[ 134.965737] 7db0 08b59da0 ffffff80 08b59e98 ffffff80 007988f8 ffffff80 084e3330 ffffff80
[ 134.974936]
[ 134.976600] Process rmmod (pid: 2117, stack limit = 0xffffffc078334000)
[ 134.984012] Stack: (0xffffffc078337d50 to 0xffffffc078338000)
[ 134.990450] 7d40: ffffffc078337d90 ffffff80084e2fa4
[ 134.999228] 7d60: 0000000000000000 ffffff80007988f8 ffffff80084e2f74 ffffff80084e2f74
[ 135.008005] 7d80: 0000000060000000 000000000000006a ffffffc078337da0 ffffff80083d0dcc
[ 135.016782] 7da0: ffffffc078337de0 ffffff80084e3344 ffffff8008b59da0 ffffff8008b59e98
[ 135.025560] 7dc0: ffffff80007988f8 ffffff80084e3330 ffffffc07a4eb528 ffffffc07a2233e8
[ 135.034338] 7de0: ffffffc078337e10 ffffff80084e33f8 ffffff80007988f8 ffffff8008a51000
[ 135.043117] 7e00: ffffff8008b92000 ffffff8008a3d000 ffffffc078337e30 ffffff80007952b4
[ 135.051895] 7e20: ffffff8000798e18 ffffff8008a3d000 ffffffc078337e50 ffffff80080ff40c
[ 135.060672] 7e40: ffffff8000798b00 ffffff80080ff400 0000000000000000 ffffff8008083200
[ 135.069449] 7e60: fffffffffffffe95 0000004075540000 ffffffffffffffff 0000007f90acc444
[ 135.078228] 7e80: 77656e7878397467 000000000073745f ffffffffffffffff 0000007f90ac82a4
[ 135.087005] 7ea0: 0000000020000000 0000000000000015 00000000000001b3 00000000000409bf
[ 135.095782] 7ec0: 0000000034eb0950 0000000000000000 000000000000000b 0000000000000073
[ 135.104558] 7ee0: 000000000000002d 0000000034eb09c3 0000000000000073 0000000000000073
[ 135.113336] 7f00: 000000000000006a 7f7f7f7f7f7f7f7f 4e46ff323c4b554b 7f7f7f7f7f7f7f7f
[ 135.122114] 7f20: 0101010101010101 0000000000000028 0000000000000002 0000000000000020
[ 135.130891] 7f40: 0000000000413fe0 0000007f90acc420 0000000000000000 0000007fec3f1ea4
[ 135.139669] 7f60: 0000007fec3f16b8 0000000000000002 0000000000414028 0000000000403383
[ 135.148446] 7f80: 0000000000414000 0000000000000000 0000000000000000 0000000000000000
[ 135.157224] 7fa0: 0000000000000000 0000007fec3f1460 0000000000401848 0000007fec3f1460
[ 135.166000] 7fc0: 0000007f90acc444 0000000060000000 0000000034eb0950 000000000000006a
[ 135.174776] 7fe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 135.183551] Call trace:
[ 135.186287] Exception stack(0xffffffc078337b80 to 0xffffffc078337cb0)
[ 135.193506] 7b80: 0000000000000000 0000007fffffffff ffffffc078337d50 ffffff80084e2f00
[ 135.202283] 7ba0: 0000000000080060 ffffff80082acfc8 ffffffc078337be0 ffffff800808a7a8
[ 135.211059] 7bc0: ffffff8008778718 0000000000000001 ffffffc078337c10 ffffff80082acfc8
[ 135.219838] 7be0: ffffff8008a01b18 ffffff8008a4ff00 ffffffc07872eb10 0000000000000140
[ 135.228616] 7c00: 0000000000000000 ffffffc078337c60 ffffffc078337c50 ffffff80082acfc8
[ 135.237392] 7c20: fffffffffffffd28 ffffffc07a1b6e90 ffffff8008b59dd0 ffffffc07a1b6f00
[ 135.246168] 7c40: 0000000000000000 8080808080000000 000000ffffffffff ffffffffffffffff
[ 135.254945] 7c60: 0000000000000000 fefefefefefefeff 7f7f7f7f7f7f7f7f 0000000000000018
[ 135.263722] 7c80: ffffffffffffffff ffffffffff000000 0000000000000002 0000000000000020
[ 135.272499] 7ca0: ffffff80080ff310 0000007f90acc420
[ 135.277966] [<ffffff80084e2f00>] i2c_do_del_adapter+0x34/0x8c
[ 135.284405] [<ffffff80084e2fa4>] __process_removed_driver+0x30/0x44
[ 135.291432] [<ffffff80083d0dcc>] bus_for_each_dev+0x68/0x98
[ 135.297676] [<ffffff80084e3344>] i2c_for_each_dev+0x40/0x60
[ 135.303921] [<ffffff80084e33f8>] i2c_del_driver+0x1c/0x30
[ 135.309996] [<ffffff80007952b4>] _2+0x2c/0x78 [gt9xxnew_ts]
[ 135.316245] [<ffffff80080ff40c>] SyS_delete_module+0xfc/0x1d8
[ 135.322685] [<ffffff8008083200>] el0_svc_naked+0x34/0x38
[ 135.328639] Code: f2fbd5b6 f84c8e80 f2fbd5b7 d10b6000 (f9416c13)
[ 135.335468] ---[ end trace 2be21a22e270aa69 ]---
Segmentation fault
root@TinaLinux:/#
离线
A133 device的config配置能否分享下,现在用4.9的kernel,摄像头显示用de时,iommu出错
离线