I.MX6 Kernel BUG at include/linux/netdevice.h:520!
/***************************************************************************
* I.MX6 Kernel BUG at include/linux/netdevice.h:520!
* 声明:
* 导致这个问题的原因是对应网卡控制器上的phy已经被移除。
*
* 2015-12-19 晴 南山平山村 曾剑锋
**************************************************************************/ 一、内核错误:
......
Warning: `zygote' uses 32-bit capabilities (legacy support in use)
Request_suspend_state: wakeup (->) at (-- ::31.557669337 UTC)
Eth0: no PHY, assuming direct connection to switch
PHY : not found
Eth0: could not attach to PHY
Acc_open
Acc_release
Ehci_fsl_bus_resume begins, Host
Ehci_fsl_bus_resume ends, Host
Ehci_fsl_bus_resume begins, DR
Ehci_fsl_bus_suspend begins, Host
Ehci_fsl_bus_suspend ends, Host
Binder: release : transaction in, still active
Binder: send failed reply for transaction to :
Binder: release : transaction in, still active
Binder: send failed reply for transaction to :
Binder: send failed reply for transaction to :
Binder: send failed reply for transaction to :
Binder: send failed reply for transaction to :
Binder: : transaction failed , size -
Binder: : transaction failed , size -
Alarm_release: clear alarm, pending
Alarm_release: clear alarm, pending
Request_suspend_state: wakeup (->) at (-- ::40.666946005 UTC)
Init: untracked pid exited
Init: untracked pid exited
Init: untracked pid exited
Request_suspend_state: wakeup (->) at (-- ::44.811172672 UTC)
Kernel BUG at include/linux/netdevice.h:!
Unable to handle kernel NULL pointer dereference at virtual address
Pgd = d0494000
[] *pgd=
Internal error: Oops: [#] PREEMPT SMP
Modules linked in:
CPU: Not tainted (3.0. #)
PC is at __bug+0x1c/0x28
LR is at __bug+0x18/0x28
Pc : [<c004efec>] lr : [<c004efe8>] psr:
Sp : d01ebdf8 ip : c09527d0 fp :
R10: d01ea000 r9 : d4149ae0 r8 :
R7 : d45f2044 r6 : r5 : c06f5f88 r4 : d45f2000
R3 : r2 : r1 : d5ac5a00 r0 :
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 2049404a DAC: PC: 0xc004ef6c:
Ef6c e1a04000 e24dd010 e590003c eb01c8db e3500000 0594003c 0a00000d e2841034
Ef8c e594002c e891000e e88d000f ea000003 e59d000c eb01c8d1 e3500000 0a000006
Efac e1a0000d eb000eac e3500000 aafffff7 e3a00000 e28dd010 e8bd8010 e59d000c
Efcc eafffffb e92d4008 e1a03000 e1a02001 e59f0010 e1a01003 eb1998f3 e3a03000
Efec e5833000 eafffffe c0830ff8 e3010014 e30012e1 e92d4008 e34c0083 ebfffff0
F00c e1a01000 e301002c e92d4008 e34c0083 eb1998e5 e3010014 e30012c5 e34c0083
F02c ebffffe7 e92d4008 e1a02000 e1a03001 e301004c e1a0100e e34c0083 eb1998da
F04c e3010014 e3001299 e34c0083 ebffffdc e92d4ff0 e24dd06c e1a06002 e1a08000
...... 二、解决方案:
. 导致的原因是网卡的phy已经被移除造成的;
. 注释arch/arm/mach-mx6/board-mx6q_sabresd.c网卡注册:
//imx6_init_fec(fec_data);
I.MX6 Kernel BUG at include/linux/netdevice.h:520!的更多相关文章
- 用ioctl获取无线网络信息 /usr//include/linux/wireless.h
1.UNIX Network Programming环境搭建 Unix NetWork Programming――环境搭建(解决unp.h等源码编译问题) http://blog.csdn.net/a ...
- KVM源代码解读:linux-3.17.4\include\linux\kvm_host.h
#ifndef __KVM_HOST_H #define __KVM_HOST_H /* * This work is licensed under the terms of the GNU GPL, ...
- (笔记)Linux下的准确延时,#include <linux/delay.h>调用出错
在编写应用层程序时,有时需要延时一下,这个时候该怎么办呢? 在内核代码中,我们经常会看到这样的头文件使用#include <linux/delay.h>,心想着直接调用这个就可以了吧!可是 ...
- include/linux/tasks.h
#ifndef _LINUX_TASKS_H#define _LINUX_TASKS_H /* * This is the maximum nr of tasks - change it if you ...
- ././include/linux/kconfig.h:4:32: fatal error: generated/autoconf.h: No such file or directory 解决办法
我在编写内核驱动模块的时候报了一个非常奇怪的错误,如下图: 在目录下看了一下确实没有发现这个文件,感觉很奇怪,因为我记得之前编译模块是没有错误的,所以不可能是我代码写的有问题. 查阅了资料很多说要清除 ...
- KVM源代码解读:linux-3.17.4\include\uapi\linux\kvm.h
#ifndef __LINUX_KVM_H #define __LINUX_KVM_H /* * Userspace interface for /dev/kvm - kernel based vir ...
- Linux内核线程kernel thread详解--Linux进程的管理与调度(十)
内核线程 为什么需要内核线程 Linux内核可以看作一个服务进程(管理软硬件资源,响应用户进程的种种合理以及不合理的请求). 内核需要多个执行流并行,为了防止可能的阻塞,支持多线程是必要的. 内核线程 ...
- Linux内核线程kernel thread详解--Linux进程的管理与调度(十)【转】
转自:http://blog.csdn.net/gatieme/article/details/51589205 日期 内核版本 架构 作者 GitHub CSDN 2016-06-02 Linux- ...
- linux/module.h: No such file or directory 内核模块编译过程
1.缺少Linux kernel头文件 To install just the headers in Ubuntu: sudo apt-get install linux-headers-$(unam ...
随机推荐
- JSON 中JsonConfig的使用(转)
我们通常对一个Json串和Java对象进行互转时,经常会有选择性的过滤掉一些属性值,而json-lib包中的JsonConfig为我们提供了这种 功能,具体实现方法有以下几种.(1)建立JsonCon ...
- Nagios监控mysql主从复制
因为公司的nagios用了很久监控项目很多,也在zabbix迁移中,也就先临时用nagios监控mysql主从了 mysql> show slave status\G 查看其输出,即可判定主从复 ...
- windows下Redis主从复制配置(报错:Invalid argument during startup: unknown conf file parameter : slaveof)
主从复制配置中的遇到的异常: Invalid argument during startup: unknown conf file parameter : slaveof 把Redis文件夹复制两份 ...
- Sql Server数据库链接字符串参数说明
DataSource,//要连接到的 SQL Server 实例的名称或网络地址 FailoverPartner,//在主服务器停机时要连接到的伙伴服务 ...
- jar包中使用log4j2不起作用
某程序中有使用到log4j2,将该程序打包成jar,使用以下命令执行时,发现log4j不输出 java -cp Tool.jar com.zhen.nameOnce.Log4jTest 且报以下错误 ...
- C语言一些总结
预处理#include<stdio.h>:头文件. stdio.h 标准输入输出. string.h 字符串预处理,. int main()主函数,返回的是int整型, return 0; ...
- 转 : CSS Modules详解及React中实践
https://zhuanlan.zhihu.com/p/20495964 CSS 是前端领域中进化最慢的一块.由于 ES2015/2016 的快速普及和 Babel/Webpack 等工具的迅猛发展 ...
- Memory Manager surface area changes in SQL Server 2012
here were various changes to memory related DMVs, DBCC memory status, and Perfmon counters in SQL Se ...
- ctci1.4
; ; ; i < len ; i++) ; +]; ; i < len; i++){ '; } ...
- 15个Android通用流行框架大全
1. 缓存 DiskLruCache Java实现基于LRU的磁盘缓存 2.图片加载 Android Universal Image Loader 一个强大的加载,缓存,展示图片的库 Picass ...