nodototao

nodototao

0个粉丝

3

问答

0

专栏

0

资料

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

Hi3559a加载ko驱动失败,求助

 

第一次使用的是,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

我来回答
回答3个
时间排序
认可量排序

david

11个粉丝

42

问答

28

专栏

58

资料

david 2021-08-04 18:12:10
认可0

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

qeerk

0个粉丝

0

问答

0

专栏

0

资料

qeerk 2022-07-26 19:47:43
认可0

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

mylx2010

5个粉丝

6

问答

1

专栏

4

资料

mylx2010 2022-07-27 17:39:28
认可0

一般两种方法:

  1. 确认好编译链
  2. 重编ko
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区