/***************************************************************************
* 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!的更多相关文章

  1. 用ioctl获取无线网络信息 /usr//include/linux/wireless.h

    1.UNIX Network Programming环境搭建 Unix NetWork Programming――环境搭建(解决unp.h等源码编译问题) http://blog.csdn.net/a ...

  2. 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, ...

  3. (笔记)Linux下的准确延时,#include <linux/delay.h>调用出错

    在编写应用层程序时,有时需要延时一下,这个时候该怎么办呢? 在内核代码中,我们经常会看到这样的头文件使用#include <linux/delay.h>,心想着直接调用这个就可以了吧!可是 ...

  4. include/linux/tasks.h

    #ifndef _LINUX_TASKS_H#define _LINUX_TASKS_H /* * This is the maximum nr of tasks - change it if you ...

  5. ././include/linux/kconfig.h:4:32: fatal error: generated/autoconf.h: No such file or directory 解决办法

    我在编写内核驱动模块的时候报了一个非常奇怪的错误,如下图: 在目录下看了一下确实没有发现这个文件,感觉很奇怪,因为我记得之前编译模块是没有错误的,所以不可能是我代码写的有问题. 查阅了资料很多说要清除 ...

  6. 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 ...

  7. Linux内核线程kernel thread详解--Linux进程的管理与调度(十)

    内核线程 为什么需要内核线程 Linux内核可以看作一个服务进程(管理软硬件资源,响应用户进程的种种合理以及不合理的请求). 内核需要多个执行流并行,为了防止可能的阻塞,支持多线程是必要的. 内核线程 ...

  8. Linux内核线程kernel thread详解--Linux进程的管理与调度(十)【转】

    转自:http://blog.csdn.net/gatieme/article/details/51589205 日期 内核版本 架构 作者 GitHub CSDN 2016-06-02 Linux- ...

  9. 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 ...

随机推荐

  1. What is OWIN? A Beginners Guide

    http://www.codedigest.com/posts/1/what-is-owin-a-beginners-guide http://owin.org/html/spec/owin-1.0. ...

  2. Linux 动态链接库包含静态链接库的方法

    今天老司机们在讨论一个编译问题  A是一个静态库  C是一个动态库  B是运行程序,能不能将A打包到C 然后B只需要链接C 就可以了. 这个问题我以前在出来zlib库版本冲突的时候有点印象,所以写了个 ...

  3. 使用@Named注解绑定多个实现(java,scala)

    版权申明:转载请注明出处. 文章来源:http://bigdataer.net/?p=330 排版乱?请移步原文获得更好的阅读体验 1.背景 最近项目中使用了guice作为依赖注入的框架.碰到一个如下 ...

  4. session.资料

    1. HttpSessionListener https://www.cnblogs.com/diewufeixian/p/4221747.html 2. 3. 4. 5.

  5. HAproxy的安装配置及动静分离

    /////////////////////////////目录//////////////////////////////////////////一.安装HAproxy二.编写HAproxy启动脚本三 ...

  6. 使用bootstrap时碰到问题$(...).modal is not a function

    我出现这个问题是,因为bootstrap没有正确引入. 除了bootstrap的路径需要被正确引入外,它引入时还要放在jquery.js后面,否则也会报这个错误.

  7. 开源 E-ChartSdk 的使用方法

    SVN 源码地址:http://code.taobao.org/svn/keshihua-echarts/ 1.1.如何声明 var sdk = new ChartSdk(); 1.2.加载JS中的图 ...

  8. 真正在线编辑的在线web编辑器

    最近正在研究开发一款在线web编辑器架构,这是一款真正傻瓜式的web编辑器,可以在正常浏览页面的情况进行编辑,经过测试,对于一般网页页面来说非常好用方便,操作更简单. 一般的在线web编辑器虽说提供了 ...

  9. ubuntu 16.04 配置远程连接

    1.XDMCP远程连接 vi /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf 添加 greeter-show-manual-login=true [X ...

  10. Error:Cannot access first() element from an empty List

    解决方案: bintray版本问题,修改为: classpath 'com.novoda:bintray-release:0.3.4' 如下: buildscript { repositories { ...