init suspiciously returned 19, it should follow 0/-En解决思路
来源:互联网 发布:sql 二次查询 编辑:程序博客网 时间:2024/05/16 12:31
问题描述:在调试linux 内核的过程中,加载内核的时候,遇到了这样的一个错误:
sys_init_module: 'CC2500'->init suspiciously returned 19, it should follow 0/-En
sys_init_module: loading module anyway...
Backtrace:
[<c0035270>] (dump_backtrace+0x0/0x10c) from [<c039847c>] (dump_stack+0x18/0x1c)
r7:00000000 r6:bf0461f4 r5:00000013 r4:0000592c
[<c0398464>] (dump_stack+0x0/0x1c) from [<c0070530>] (sys_init_module+0x194/0x2)
[<c007039c>] (sys_init_module+0x0/0x204) from [<c0030f20>] (ret_fast_syscall+0x)
r7:00000080 r6:bedcbd08 r5:00000000 r4:4001d838
检查模块也没有什么大的错误,为什么会出现这个问题呢?
经过阅读错误,并且上网查找,证明是初始化模块的过程中,没有返回值(第一行不写了么:sys_init_module: 'CC2500'->init suspiciously returned 19, it should follow 0/-En)
因此,在初始化的最后加上 return 0就好了
)
sys_init_module: 'CC2500'->init suspiciously returned 19, it should follow 0/-En
sys_init_module: loading module anyway...
Backtrace:
[<c0035270>] (dump_backtrace+0x0/0x10c) from [<c039847c>] (dump_stack+0x18/0x1c)
r7:00000000 r6:bf0461f4 r5:00000013 r4:0000592c
[<c0398464>] (dump_stack+0x0/0x1c) from [<c0070530>] (sys_init_module+0x194/0x2)
[<c007039c>] (sys_init_module+0x0/0x204) from [<c0030f20>] (ret_fast_syscall+0x)
r7:00000080 r6:bedcbd08 r5:00000000 r4:4001d838
检查模块也没有什么大的错误,为什么会出现这个问题呢?
经过阅读错误,并且上网查找,证明是初始化模块的过程中,没有返回值(第一行不写了么:sys_init_module: 'CC2500'->init suspiciously returned 19, it should follow 0/-En)
因此,在初始化的最后加上 return 0就好了
)
- init suspiciously returned 19, it should follow 0/-En解决思路
- init suspiciously returned 19, it should follow 0/-En解决思路
- init suspiciously returned 1, it should follow 0/-E convention
- sys_init_module: 'client555'->init suspiciously returned 1024, it should follow 0/-E convention
- ko驱动加载时候提示init suspiciously returned 20, it should follow 0/-E convention
- 当“山寨文化”风行网络,我们是追捧还是打杀? Simulated Culture is largely emerging on the internet, and should we follow or force it our?
- QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0
- Should it Matter
- should it matter
- 15 Awesome Web Design Blogs Every Web Designer Should Follow
- 15 Awesome Web Design Blogs Every Web Designer Should Follow
- Plugin 'InnoDB' init function returned error
- MySQL Plugin 'InnoDB' init function returned error
- mysql Plugin 'InnoDB' init function returned error
- INIT:Id "x" respawning too fast,disabled for 5 minutes解决思路
- INIT:Id "x" respawning too fast,disabled for 5 minutes解决思路
- INIT:Id "x" respawning too fast,disabled for 5 minutes解决思路
- INIT:Id "x" respawning too fast,disabled for 5 minutes解决思路
- 乔布斯背后的苹果九虎将:才华横溢又极端忠诚
- 输入一行问题
- 《那些年啊,那些事——一个程序员的奋斗史》——43
- 第4章 MVC模式 — 精通MVC 3 框架
- 格式操纵符输出九九乘法表
- init suspiciously returned 19, it should follow 0/-En解决思路
- 第5章 基本语言特性 — 精通MVC 3 框架
- sql 操作
- 链表实现约瑟夫环问题
- 第6章 MVC基本工具 — 精通MVC 3 框架
- 二叉树的前序、中序、后序非递归算法
- 第7章 SportsStore:一个真实的应用程序 — 精通MVC 3 框架
- Response返回中文乱码的解决方法
- 对象引用前加const报错:不能将“this”指针从“const a”转换为“a