lsmod后终端卡住。
自己编译了驱动模块,insmod加载后用lsmod查看终端卡死,求解。 你的驱动有问题,检查下你的模块代码 驱动没有改,下载的源码里的驱动 isle 发表于 2017-2-24 10:47你的驱动有问题,检查下你的模块代码
驱动代码就是下载的源码,没有改过。 插入模块后内核信息显示这样的,什么情况?
ftdi_sio: version magic '3.10.0 ARMv5 p2v8 ' should be '3.10.0 SMP preempt mod_unload ARMv7 p2v8 '
[ 76.877039] Unable to handle kernel paging request at virtual address 80feb35c
[ 76.884126] pgd = dced0000
[ 76.886720] *pgd=00000000
[ 76.890220] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[ 76.895416] Modules linked in: ftdi_sio
[ 76.901390] CPU: 3 PID: 1685 Comm: insmod Not tainted 3.10.0 #73
[ 76.907272] task: dd69f380 ti: dd648000 task.ti: dd648000
[ 76.912567] PC is at module_put+0x38/0x10c
[ 76.916571] LR is at do_init_module+0xf4/0x168
[ 76.920918] pc : [<c0088c40>] lr : [<c08be5f8>] psr: a0000013
[ 76.920918] sp : dd649f28ip : 00000000fp : 00000000
[ 76.932171] r10: 00000000r9 : dd648000r8 : c08be5f8
[ 76.937290] r7 : 0000017br6 : b6fda398r5 : bf01a0b4r4 : bf01a0b4
[ 76.943685] r3 : dd648000r2 : 7fcb235cr1 : 01339000r0 : bf01a0b4
[ 76.950083] Flags: NzCvIRQs onFIQs onMode SVC_32ISA ARMSegment user
[ 76.957075] Control: 10c5387dTable: 1ced006aDAC: 00000015
[ 76.962701]
[ 76.962701] PC: 0xc0088bc0:
[ 76.966878] 8bc030d11003 33a03000 e3530000 1a000004 e1a01006 eb093a2c e3500000 0a000007
[ 76.974895] 8be0ea000003 e3520000 0a000004 e1a01002 eb09438a e5940000 e3e0500d eb01b187
[ 76.977400] 8c00e1a00005 e8bd8070 e92d41f0 e2505000 e1a0800e 08bd81f0 e1a0200d e3c23d7f
[ 76.977430] 8c20e3c3303f e5932004 e2822001 e5832004 f57ff05a e595216c ee1d1f90 e2822004
[ 76.977460] 8c40e7910002 e2800001 e7810002 e59f20bc e5921018 e3510000 0a00001c e5931004
[ 76.977489] 8c60e2811001 e5831004 e5926024 e3560000 0a00000c e2867008 e1a04006 e5943000
[ 76.977519] 8c80e1a01005 e5940004 e1a02008 e2844008 e12fff33 e0663004 e0833007 e5133008
[ 76.977549] 8ca0e3530000 1afffff4 e1a0200d e3c23d7f e3c3303f e5932004 e2422001 e5832004
[ 76.977581]
[ 76.977581] LR: 0xc08be578:
[ 76.977589] e578ebdf2c72 e3a02000 e59f00d4 e3a01003 e1a03002 ea00002e 0a000006 e59f10c4
[ 76.977619] e598e284200c e1a03005 e59f00bc e58d1000 ebfff9f3 eb0027bc e3a01000 e1a02004
[ 76.977649] e5b8e5841000 e59f0094 ebde706e e1a0200d e3c23d7f e3c3303f e593300c e593300c
[ 76.977678] e5d8e3130901 0a000000 ebde74c4 e59f007c e3a05000 eb0064f6 e1a00004 ebdf2983
[ 76.977708] e5f8e1a00004 ebe86f8a e594311c e59410c0 e1a00004 e5843118 e5943114 e5843110
[ 76.977738] e618e5943124 e5843120 ebdf2c45 e59f003c e58450c0 e58450c8 e58450d8 e58450d0
[ 76.977767] e638eb00644c e59f0018 e3a01003 e1a02005 e1a03005 ebde7e7f e1a00005 e8bd807c
[ 76.977796] e658c0cc1f08 c0cc1efc c08dfbd8 c0ae2470 c0cc1ee4 e1a03000 e59f00d4 e92d40f0
[ 76.977827]
[ 76.977827] SP: 0xdd649ea8:
[ 76.977835] 9ea8deab0c80 c02dd3c0 000000d0 c02dd420 bf01a0fc c015bee8 dd6abd40 dd6ab200
[ 76.977864] 9ec800000001 c0088c40 a0000013 ffffffff dd649f14 c000d598 bf01a0b4 01339000
[ 76.977894] 9ee87fcb235c dd648000 bf01a0b4 bf01a0b4 b6fda398 0000017b c08be5f8 dd648000
[ 76.977924] 9f0800000000 00000000 00000000 dd649f28 c08be5f8 c0088c40 a0000013 ffffffff
[ 76.977953] 9f28bf01a0b4 00000000 b6fda398 0000017b c000db84 c08be5f8 bf01a0b4 c1305fc0
[ 76.977982] 9f4800000000 00000003 b6fda398 c008a5d8 e3cb0000 000199d6 e3cc0438 e3cc02f1
[ 76.978011] 9f68e3cc5148 00007230 000078a0 00000000 00000000 00000000 0000001e 0000001f
[ 76.978040] 9f8800000016 00000000 00000012 00000000 bec9c6c4 bec9c844 9d94d300 c000da00
[ 76.978071]
[ 76.978071] R3: 0xdd647f80:
[ 76.978079] 7f8000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.978107] 7fa000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.978135] 7fc000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.978162] 7fe000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.978190] 800000000000 00000002 00000000 dd69f380 c0cbe138 00000003 00000015 dd69f380
[ 76.978218] 8020c1fd0c80 dd648000 dd6e96c0 00000000 00000011 de89c440 dd649cfc dd649c78
[ 76.978248] 8040c08d877c 00000000 00000000 00000000 00000000 00000000 01000000 00000000
[ 76.978276] 8060b6fe0850 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.978305]
[ 76.978305] R8: 0xc08be578:
[ 76.978313] e578ebdf2c72 e3a02000 e59f00d4 e3a01003 e1a03002 ea00002e 0a000006 e59f10c4
[ 76.978343] e598e284200c e1a03005 e59f00bc e58d1000 ebfff9f3 eb0027bc e3a01000 e1a02004
[ 76.978372] e5b8e5841000 e59f0094 ebde706e e1a0200d e3c23d7f e3c3303f e593300c e593300c
[ 76.978402] e5d8e3130901 0a000000 ebde74c4 e59f007c e3a05000 eb0064f6 e1a00004 ebdf2983
[ 76.978431] e5f8e1a00004 ebe86f8a e594311c e59410c0 e1a00004 e5843118 e5943114 e5843110
[ 76.978460] e618e5943124 e5843120 ebdf2c45 e59f003c e58450c0 e58450c8 e58450d8 e58450d0
[ 76.978490] e638eb00644c e59f0018 e3a01003 e1a02005 e1a03005 ebde7e7f e1a00005 e8bd807c
[ 76.978519] e658c0cc1f08 c0cc1efc c08dfbd8 c0ae2470 c0cc1ee4 e1a03000 e59f00d4 e92d40f0
[ 76.978550]
[ 76.978550] R9: 0xdd647f80:
[ 76.978558] 7f8000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.978586] 7fa000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.978614] 7fc000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.978641] 7fe000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.978669] 800000000000 00000002 00000000 dd69f380 c0cbe138 00000003 00000015 dd69f380
[ 76.978697] 8020c1fd0c80 dd648000 dd6e96c0 00000000 00000011 de89c440 dd649cfc dd649c78
[ 76.978726] 8040c08d877c 00000000 00000000 00000000 00000000 00000000 01000000 00000000
[ 76.978754] 8060b6fe0850 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.978786] Process insmod (pid: 1685, stack limit = 0xdd648238)
[ 76.978794] Stack: (0xdd649f28 to 0xdd64a000)
[ 76.978808] 9f20: bf01a0b4 00000000 b6fda398 0000017b c000db84 c08be5f8
[ 76.978821] 9f40: bf01a0b4 c1305fc0 00000000 00000003 b6fda398 c008a5d8 e3cb0000 000199d6
[ 76.978835] 9f60: e3cc0438 e3cc02f1 e3cc5148 00007230 000078a0 00000000 00000000 00000000
[ 76.978847] 9f80: 0000001e 0000001f 00000016 00000000 00000012 00000000 bec9c6c4 bec9c844
[ 76.978861] 9fa0: 9d94d300 c000da00 bec9c6c4 bec9c844 00000003 b6fda398 00000000 00000000
[ 76.978874] 9fc0: bec9c6c4 bec9c844 9d94d300 0000017b b6fe6ef8 00000000 b6fd6b60 00000000
[ 76.978887] 9fe0: bec9c670 bec9c660 b6fd1177 b6f47502 80000030 00000003 00000000 00000000
[ 76.978917] [<c0088c40>] (module_put+0x38/0x10c) from [<c08be5f8>] (do_init_module+0xf4/0x168)
[ 76.978939] [<c08be5f8>] (do_init_module+0xf4/0x168) from [<c008a5d8>] (SyS_finit_module+0x6c/0x94)
[ 76.978962] [<c008a5d8>] (SyS_finit_module+0x6c/0x94) from [<c000da00>] (ret_fast_syscall+0x0/0x30)
[ 76.978978] Code: f57ff05a e595216c ee1d1f90 e2822004 (e7910002)
[ 76.979065] ---[ end trace 3642b99ad5375e5f ]---
[ 76.979080] note: insmod exited with preempt_count 1
nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
EXT4-fs (mmcblk0p5): error count since last fsck: 15
EXT4-fs (mmcblk0p5): initial error at time 1484530317: ext4_reserve_inode_write:4982
EXT4-fs (mmcblk0p5): last error at time 1487053754: ext4_remount:4680
页:
[1]