/***************************************************************************
* 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. svn常用维护命令

    公司版本管理同时用的svn和gitlab,有互补作用 这边写一写慢慢积累自己用过的svn常用维护 查看版本范围之间的变化: [root@192-168-2-82 mnt]# svn log -r 45 ...

  2. GDPR或使全球域名whois信息被隐藏

    什么是GDPR? GDPR 全称为 General Data Protection Regulation,是欧盟 2016 年 4 月通过的一项通用数据保护条例(或称“一般数据保护法案”),是 199 ...

  3. linux一键安装mysql脚本

    #!/bin/sh if [ -s /etc/my.cnf ];then rm -rf /etc/my.cnf fi echo "------------------------------ ...

  4. 《Think in Java》(十四)类型信息

    简介 RTTI,RunTime Type Information,运行时类型信息.Java 在运行时识别对象和类的信息主要有两种方式:一种是"传统的"RTTI,它假定我们在编译时已 ...

  5. Swift 4.1 正式发布,新增更多泛型特性支持

    Swift 4.1 兼容 4.0,并做了一些改进,其中大部分通过了 Swift Evolution 流程.此次发布,包含了对核心语言的更新,包括新增更多对泛型的支持.新的构建选项,以及对 Swift ...

  6. django实现图片上传后自动修改尺寸并保存修改后的图到数据库和本地文件系统

    图片上传首先要是设置settings.py文件(与静态文件设置类似) MEDIA_ROOT = os.path.join(BASE_DIR,'media')MEDIA_URL = '/media/' ...

  7. css 权威指南笔记

    部分属性选择: 选择class 属性中包含warning的元素 [class~="warning"]{font-weight:bold} 子串匹配属性选择器: 在现代浏览器中得到支 ...

  8. LInux50个基本命令

    cd:(切换)vim:(创建文件)   vi:编辑文件bc:(计算器)quit:退出计算器mkdir:(创建目录)   mkdir -p:递归建立目录rmdir:(删除目录)arch:(显示处理器X8 ...

  9. 玲珑oj 1028 贪心

    http://www.ifrog.cc/acm/problem/1028 很有趣的一道题,求从n个数里挑出不同的两个,使得他俩'|','&','^'后的值尽量大,求这个最大的结果. 求最大的异 ...

  10. EasyUI validType属性

    /** * 包含easyui的扩展和常用的方法 * * @author * * @version 20120806 */ var wjc = $.extend({}, wjc);/* 定义全局对象,类 ...