Firefly开源社区

打印 上一主题 下一主题

lsmod后终端卡住。

83

积分

0

威望

0

贡献

游客

积分
83

lsmod后终端卡住。

发表于 2017-2-23 11:45:52      浏览:7927 | 回复:4        打印      只看该作者   [复制链接] 楼主
自己编译了驱动模块,insmod加载后用lsmod查看终端卡死,求解。
回复

使用道具 举报

936

积分

20

威望

19

贡献

社区版主

Rank: 7Rank: 7Rank: 7

积分
936
发表于 2017-2-24 10:47:11        只看该作者  沙发
你的驱动有问题,检查下你的模块代码
回复

使用道具 举报

83

积分

0

威望

0

贡献

游客

积分
83
发表于 2017-2-27 11:35:38        只看该作者  板凳
驱动没有改,下载的源码里的驱动
回复

使用道具 举报

83

积分

0

威望

0

贡献

游客

积分
83
发表于 2017-2-27 13:55:35        只看该作者  地板
isle 发表于 2017-2-24 10:47
你的驱动有问题,检查下你的模块代码

驱动代码就是下载的源码,没有改过。
回复

使用道具 举报

83

积分

0

威望

0

贡献

游客

积分
83
发表于 2017-2-27 16:42:30        只看该作者  5#
插入模块后内核信息显示这样的,什么情况?

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] [80feb35c] *pgd=00000000
[   76.890220] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[   76.895416] Modules linked in: ftdi_sio [last unloaded: 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 : dd649f28  ip : 00000000  fp : 00000000
[   76.932171] r10: 00000000  r9 : dd648000  r8 : c08be5f8
[   76.937290] r7 : 0000017b  r6 : b6fda398  r5 : bf01a0b4  r4 : bf01a0b4
[   76.943685] r3 : dd648000  r2 : 7fcb235c  r1 : 01339000  r0 : bf01a0b4
[   76.950083] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   76.957075] Control: 10c5387d  Table: 1ced006a  DAC: 00000015
[   76.962701]
[   76.962701] PC: 0xc0088bc0:
[   76.966878] 8bc0  30d11003 33a03000 e3530000 1a000004 e1a01006 eb093a2c e3500000 0a000007
[   76.974895] 8be0  ea000003 e3520000 0a000004 e1a01002 eb09438a e5940000 e3e0500d eb01b187
[   76.977400] 8c00  e1a00005 e8bd8070 e92d41f0 e2505000 e1a0800e 08bd81f0 e1a0200d e3c23d7f
[   76.977430] 8c20  e3c3303f e5932004 e2822001 e5832004 f57ff05a e595216c ee1d1f90 e2822004
[   76.977460] 8c40  e7910002 e2800001 e7810002 e59f20bc e5921018 e3510000 0a00001c e5931004
[   76.977489] 8c60  e2811001 e5831004 e5926024 e3560000 0a00000c e2867008 e1a04006 e5943000
[   76.977519] 8c80  e1a01005 e5940004 e1a02008 e2844008 e12fff33 e0663004 e0833007 e5133008
[   76.977549] 8ca0  e3530000 1afffff4 e1a0200d e3c23d7f e3c3303f e5932004 e2422001 e5832004
[   76.977581]
[   76.977581] LR: 0xc08be578:
[   76.977589] e578  ebdf2c72 e3a02000 e59f00d4 e3a01003 e1a03002 ea00002e 0a000006 e59f10c4
[   76.977619] e598  e284200c e1a03005 e59f00bc e58d1000 ebfff9f3 eb0027bc e3a01000 e1a02004
[   76.977649] e5b8  e5841000 e59f0094 ebde706e e1a0200d e3c23d7f e3c3303f e593300c e593300c
[   76.977678] e5d8  e3130901 0a000000 ebde74c4 e59f007c e3a05000 eb0064f6 e1a00004 ebdf2983
[   76.977708] e5f8  e1a00004 ebe86f8a e594311c e59410c0 e1a00004 e5843118 e5943114 e5843110
[   76.977738] e618  e5943124 e5843120 ebdf2c45 e59f003c e58450c0 e58450c8 e58450d8 e58450d0
[   76.977767] e638  eb00644c e59f0018 e3a01003 e1a02005 e1a03005 ebde7e7f e1a00005 e8bd807c
[   76.977796] e658  c0cc1f08 c0cc1efc c08dfbd8 c0ae2470 c0cc1ee4 e1a03000 e59f00d4 e92d40f0
[   76.977827]
[   76.977827] SP: 0xdd649ea8:
[   76.977835] 9ea8  deab0c80 c02dd3c0 000000d0 c02dd420 bf01a0fc c015bee8 dd6abd40 dd6ab200
[   76.977864] 9ec8  00000001 c0088c40 a0000013 ffffffff dd649f14 c000d598 bf01a0b4 01339000
[   76.977894] 9ee8  7fcb235c dd648000 bf01a0b4 bf01a0b4 b6fda398 0000017b c08be5f8 dd648000
[   76.977924] 9f08  00000000 00000000 00000000 dd649f28 c08be5f8 c0088c40 a0000013 ffffffff
[   76.977953] 9f28  bf01a0b4 00000000 b6fda398 0000017b c000db84 c08be5f8 bf01a0b4 c1305fc0
[   76.977982] 9f48  00000000 00000003 b6fda398 c008a5d8 e3cb0000 000199d6 e3cc0438 e3cc02f1
[   76.978011] 9f68  e3cc5148 00007230 000078a0 00000000 00000000 00000000 0000001e 0000001f
[   76.978040] 9f88  00000016 00000000 00000012 00000000 bec9c6c4 bec9c844 9d94d300 c000da00
[   76.978071]
[   76.978071] R3: 0xdd647f80:
[   76.978079] 7f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.978107] 7fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.978135] 7fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.978162] 7fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.978190] 8000  00000000 00000002 00000000 dd69f380 c0cbe138 00000003 00000015 dd69f380
[   76.978218] 8020  c1fd0c80 dd648000 dd6e96c0 00000000 00000011 de89c440 dd649cfc dd649c78
[   76.978248] 8040  c08d877c 00000000 00000000 00000000 00000000 00000000 01000000 00000000
[   76.978276] 8060  b6fe0850 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.978305]
[   76.978305] R8: 0xc08be578:
[   76.978313] e578  ebdf2c72 e3a02000 e59f00d4 e3a01003 e1a03002 ea00002e 0a000006 e59f10c4
[   76.978343] e598  e284200c e1a03005 e59f00bc e58d1000 ebfff9f3 eb0027bc e3a01000 e1a02004
[   76.978372] e5b8  e5841000 e59f0094 ebde706e e1a0200d e3c23d7f e3c3303f e593300c e593300c
[   76.978402] e5d8  e3130901 0a000000 ebde74c4 e59f007c e3a05000 eb0064f6 e1a00004 ebdf2983
[   76.978431] e5f8  e1a00004 ebe86f8a e594311c e59410c0 e1a00004 e5843118 e5943114 e5843110
[   76.978460] e618  e5943124 e5843120 ebdf2c45 e59f003c e58450c0 e58450c8 e58450d8 e58450d0
[   76.978490] e638  eb00644c e59f0018 e3a01003 e1a02005 e1a03005 ebde7e7f e1a00005 e8bd807c
[   76.978519] e658  c0cc1f08 c0cc1efc c08dfbd8 c0ae2470 c0cc1ee4 e1a03000 e59f00d4 e92d40f0
[   76.978550]
[   76.978550] R9: 0xdd647f80:
[   76.978558] 7f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.978586] 7fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.978614] 7fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.978641] 7fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.978669] 8000  00000000 00000002 00000000 dd69f380 c0cbe138 00000003 00000015 dd69f380
[   76.978697] 8020  c1fd0c80 dd648000 dd6e96c0 00000000 00000011 de89c440 dd649cfc dd649c78
[   76.978726] 8040  c08d877c 00000000 00000000 00000000 00000000 00000000 01000000 00000000
[   76.978754] 8060  b6fe0850 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[1685] exited with preempt_count 1
[  168.455811] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[  298.066888] EXT4-fs (mmcblk0p5): error count since last fsck: 15
[  298.072709] EXT4-fs (mmcblk0p5): initial error at time 1484530317: ext4_reserve_inode_write:4982
[  298.081323] EXT4-fs (mmcblk0p5): last error at time 1487053754: ext4_remount:4680
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表