init suspiciously returned 19, it should follow 0/-En解决思路
来源:互联网 发布:淘宝一键傻瓜上传软件 编辑:程序博客网 时间:2024/05/26 02:52
init suspiciously returned 19, it should follow 0/-En解决思路
问题描述:在调试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解决思路
- 小小图书馆 - 一次程序作业 - C++控制台程序
- java 多线程,android 移动开发,日语学习,各项新闻RSS吐血分享
- 什么都不懂?不用怕!
- Ubuntu 12.04 Unity 3D 失效情况打救方法~~
- 作为一个曾经看不上javascript的人,我推荐大家开始学习js
- init suspiciously returned 19, it should follow 0/-En解决思路
- vw虚拟机下CentOS6.2用锐捷xrgsu或mentohust 认证上网
- ORACLE解决登陆em状态暂挂方法
- C#中索引器的实现过程
- 嘿牛程序员_成都传智博客_讨论字符串中字符出现的次数
- IEC 61850通信协议体系介绍和分析
- MDX-IF函数或声明
- Windows 2008 R2 强制删除Cluster
- Android ApiDemos示例解析(23):App->Intents