首页问答详情

Hi3559a加载ko驱动失败,求助

 
nodototao
nodototao  发布于  2021-07-29 11:16:51
采纳率 0%
3个问答

第一次使用的是,SDK_V2.0.3.0报错

可能考虑是版本的问题,更改为了SDK_V2.0.2.0的版本,可以跑了,但出现下面错误
(ubuntu系统使用的是虚拟机ubuntu18.04,不知道有没有影响),有了解的人,希望给个解答。感谢!

错误内容:
Kernel panic - not syncing: Fatal exception
SMP: stopping secondary CPUs
Kernel Offset: disabled
Memory Limit: 1024 MB
—-[ end Kernel panic - not syncing: Fatal exception

下面是详情:
WARNING: CPU: 1 PID: 1593 at kernel/module.c:1108 module_put+0x58/0x60
Modules linked in: sys_config(O)

CPU: 1 PID: 1593 Comm: insmod Tainted: G O 4.9.37 #4
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
task: ffffffc040c64800 task.stack: ffffffc04170c000
PC is at module_put+0x58/0x60
LR is at do_init_module+0xd8/0x1b4
pc : [] lr : [] pstate: 80000005
sp : ffffffc04170fcd0
x29: ffffffc04170fcd0 x28: 0000000000000124
x27: ffffff8008daf000 x26: ffffff80081051f0
x25: 0000000000000001 x24: ffffffc03fec21c8
x23: ffffff80007304d0 x22: ffffffc03fec2300
x21: 0000000000000000 x20: ffffff80089a4000
x19: ffffff8000730480 x18: ffffffc04170fc20
x17: 00000000004ebb18 x16: ffffff8008108a38
x15: 00003402034e190b x14: 0000000000000000
x13: 0000000000000006 x12: 0000000000000004
x11: 0101010101010101 x10: 0000000000000004
x9 : 0000000000000000 x8 : 0000000000001da3
x7 : ffffffc03fec2800 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000
x3 : 0000000000000000 x2 : 0000000000000000
x1 : ffffffffffffffff x0 : ffffff8000730480

—-[ end trace c265ca185b08781e ]—-
Call trace:
Exception stack(0xffffffc04170faf0 to 0xffffffc04170fc20)
fae0: ffffff8000730480 0000007fffffffff
fb00: ffffffc04170fcd0 ffffff8008105008 0000000080000005 000000000000003d
fb20: ffffff8008daf000 0000000000000124 ffffffc04170fb60 ffffff8008162648
fb40: ffffff8008e60000 0000000004040404 ffffffc04170fb60 ffffff80081626a8
fb60: ffffffc04170fb90 ffffff80081627fc ffffff8000730700 0000000004040404
fb80: 0000000000000000 0000000000000007 ffffffc04170fba0 ffffff8008096ac4
fba0: ffffff8000730480 ffffffffffffffff 0000000000000000 0000000000000000
fbc0: 0000000000000000 0000000000000000 0000000000000000 ffffffc03fec2800
fbe0: 0000000000001da3 0000000000000000 0000000000000004 0101010101010101
fc00: 0000000000000004 0000000000000006 0000000000000000 00003402034e190b
[] module_put+0x58/0x60
[] load_module+0x1adc/0x1f90
[] SyS_finit_module+0xd8/0xe8
[] el0_svc_naked+0x34/0x38
Unable to handle kernel paging request at virtual address ffffff800072ffc8
Mem abort info:
ESR = 0x96000007
Exception class = DABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
Data abort info:
ISV = 0, ISS = 0x00000007
CM = 0, WnR = 0
pgd = ffffffc03fd8e000
[ffffff800072ffc8] pgd=0000000080658003, pud=0000000080658003
, *pmd=0000000000000000
Internal error: Oops: 96000007 [#1] SMP
Modules linked in: sys_config(O)
CPU: 1 PID: 1595 Comm: insmod Tainted: G W O 4.9.37 #4
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
task: ffffffc040e9d400 task.stack: ffffffc040f80000
PC is at mod_tree_insert+0xa8/0xf8
LR is at mod_tree_insert+0x84/0xf8
pc : [] lr : [] pstate: 20000005
sp : ffffffc040f83cd0
x29: ffffffc040f83cd0 x28: ffffff80089a44e0
x27: ffffff80089a4508 x26: ffffff800873b000
x25: ffffff8008e97270 x24: 0000000000000000
x23: ffffff8008e972b0 x22: ffffff80007422a0
x21: ffffff8008986000 x20: ffffff8000742298
x19: ffffff8008986b80 x18: 0000000000000000
x17: 00000000004ebb18 x16: ffffff8008108a38
x15: 0000000000000000 x14: 73696765725f7375
x13: 6200656c75646f6d x12: 0000000000000010
x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
x9 : fefefefefefefeff x8 : 7f7f7f7f7f7f7f7f
x7 : fefefefefeff6668 x6 : ffffff8000730638
x5 : ffffff8000735000 x4 : ffffff8000730010
x3 : ffffff8000730008 x2 : ffffff8000730640
x1 : ffffff8000730000 x0 : ffffff80007422b8

Process insmod (pid: 1595, stack limit = 0xffffffc040f80020)
Stack: (0xffffffc040f83cd0 to 0xffffffc040f84000)
3cc0: ffffffc040f83d00 ffffff80081073fc
3ce0: ffffffc040f83e58 ffffff8000742118 ffffff8000742100 ffffff80089a4000
3d00: ffffffc040f83e10 ffffff8008108b10 0000000000000000 0000000000000003
3d20: 00000000004ed010 0000007f7ce52324 0000000080000000 0000000000000015
3d40: 0000000000000123 0000000000000111 ffffff8008732000 ffffffc040f80000
3d60: ffffffc040f83d90 ffffff800817d468 0000000000000000 ffffffc0405e1600
3d80: ffffffc040f83d90 0000000000026330 ffffff8008849b40 ffffff8008e7e758
3da0: ffffffc000000713 00000000004ed010 ffffffc040f83e50 ffffffc040f83e48
3dc0: 000000007fffffff 0000000000000003 ffffffc040f83e10 ffffff8008108ac8
3de0: 0000000000000000 0000000000000003 00000000004ed010 0000007f7ce52324
3e00: 0000000080000000 0000000000000015 0000000000000000 ffffff8008082f40
3e20: fffffffffffffeee 00000000004ed010 00000000ffffffff ffffff8008175320
3e40: 0000000000000003 0000000000026330 ffffff8008e71000 ffffff8008e71000
3e60: 0000000000026330 ffffff8008e96b30 ffffff8008e969f8 ffffff8008e896f0
3e80: 000000000000d600 0000000000012778 0000000000000000 0000000000000000
3ea0: 000000000000ea18 0000001e0000001d 0000000000000018 0000000000000013
3ec0: 0000000000000003 00000000004ed010 0000000000000000 0000000040100401
3ee0: 0141014000000000 6f6d796e6f6e613d 000000000000001d 000000000000001d
3f00: 0000000000000111 7f7f7f7fffffffff 0101010101010101 0000000000000020
3f20: 3030303034367830 4d303235332c3030 0000000000000000 0000000000000720
3f40: 0000007f7ce52300 00000000004ebb18 0000000000000000 0000007fdad62dde
3f60: 00000000004ed010 0000000000000003 0000007fdad62588 0000007fdad62dde
3f80: 0000000000000005 0000000000000000 00000000004eb000 0000000000000000
3fa0: 0000000000000000 0000007fdad62450 0000000000423fb0 0000007fdad62310
3fc0: 0000007f7ce52324 0000000080000000 0000000000000003 0000000000000111
3fe0: 0000000000000000 0000000000000000 e1e0e3e2e5e4e7e6 efeeedecebeae9e8
Call trace:
Exception stack(0xffffffc040f83b00 to 0xffffffc040f83c30)
3b00: ffffff8008986b80 0000007fffffffff ffffffc040f83cd0 ffffff8008106268
3b20: 000000000000001f 0000000000000040 00000000024002c0 ffffffc0405e16a0
3b40: 0000000000000000 0000000100000000 ffffffc040f83c80 ffffff8008162a90
3b60: 000000000000000e ffffffc0402cad80 ffffff80089e4d00 00000000024002c0
3b80: 00000000ffffffff 0000000000400000 00000000024000c0 ffffffc0402cae80
3ba0: ffffff80007422b8 ffffff8000730000 ffffff8000730640 ffffff8000730008
3bc0: ffffff8000730010 ffffff8000735000 ffffff8000730638 fefefefefeff6668
3be0: 7f7f7f7f7f7f7f7f fefefefefefefeff 7f7f7f7f7f7f7f7f 0101010101010101
3c00: 0000000000000010 6200656c75646f6d 73696765725f7375 0000000000000000
3c20: ffffff8008108a38 00000000004ebb18
[] __mod_tree_insert+0xa8/0xf8
[] load_module+0xb24/0x1f90
[] SyS_finit_module+0xd8/0xe8
[] el0_svc_naked+0x34/0x38
Code: d2800006 91008280 91004262 14000006 (f85c8022)
—-[ end trace c265ca185b08781f ]—-
Kernel panic - not syncing: Fatal exception
SMP: stopping secondary CPUs
Kernel Offset: disabled
Memory Limit: 1024 MB
—-[ end Kernel panic - not syncing: Fatal exception

我来回答
1564
0
0
回答
3个
易百纳技术社区
途行者阿杜 发布于2021-08-04 18:12:10
给我一个支点,让我撬动地球~

看描述,你的版本有点乱,先统一到一个版本上

0
易百纳技术社区
qeerk 发布于2022-07-26 19:47:43

楼主的问题解决了吗?我运行gpu sample也碰到这种问题了,加载驱动导致内核异常了

0
易百纳技术社区
mylx2010 发布于2022-07-27 17:39:28

一般两种方法:

  1. 确认好编译链
  2. 重编ko
0

Markdown 语法

  • 加粗 **内容**
  • 斜体 *内容*
  • 删除线 ~~内容~~
  • 引用 > 引用内容
  • 代码 `代码`
  • 代码块 ```编程语言↵代码```
  • 链接 [链接标题](url)
  • 无序列表 - 内容
  • 有序列表 1. 内容
  • 缩进 内容
  • 图片 ![alt](url)

Markdown 语法

  • 加粗 **内容**
  • 斜体 *内容*
  • 删除线 ~~内容~~
  • 引用 > 引用内容
  • 代码 `代码`
  • 代码块 ```编程语言↵代码```
  • 链接 [链接标题](url)
  • 无序列表 - 内容
  • 有序列表 1. 内容
  • 缩进 内容
  • 图片 ![alt](url)
+ 添加网盘链接/附件
或将文件直接拖到这里
悬赏:
EBC
网盘
* 网盘链接:
* 提取码:
悬赏:
EBC
Loading...
易百纳技术社区
确定要删除此文章、专栏、评论吗?
确定
取消
易百纳技术社区
易百纳技术社区
在专栏模块发布专栏,可获得其他E友的打赏
易百纳技术社区
回答悬赏问答,被题主采纳后即可获得悬赏金
易百纳技术社区
在上传资料时,有价值的资料可设置为付费资源
易百纳技术社区
达到一定金额,收益即可提现~
收益也可用来充值ebc,下载资料、兑换礼品更容易
易百纳技术社区
活动规则
  • 1.周任务为周期性任务,每周周一00:00刷新,上周完成的任务不会累计到本周,本周需要从头开始任务,当前任务完成后才可以完成下一个任务
  • 2.发布的专栏与资料需要与平台的板块有相关性,禁止注水,专栏/资料任务以审核通过的篇数为准
  • 3.任务完成后,现金奖励直接打款到微信账户;EBC/收益将自动发放到个人账户,可前往“我的钱包”查看;其他奖励请联系客服兑换
  • 4.每周最后三个任务将会有以下奖品掉落:社区热卖开发板、小米音响、视频年度会员、京东卡、华为手机等等
易百纳技术社区
升级提醒
易百纳技术社区

恭喜您由入门

社区送出礼品一份

请填写您的收件地址,礼品将在3个工作日寄出

易百纳技术社区