/***************************************************************************
* 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. Swift学习笔记 - URL编码encode与解码decode

    使用swift有一段时间了,api的变换造成了很多困扰,下面是关于url编码和解码问题的解决方案 在Swift中URL编码 在Swift中URL编码用到的是String的方法 func addingP ...

  2. MySQL INSERT语句

    insert的语法 INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO] tbl_name [(col_name,...)] ...

  3. python sort dict 总结

    python中的dict是不能排序的,只有对dict的representation进行排序,例如list或者tuple 排序肯定会用到sorted函数,那么我们就来讲一下sorted函数. sorte ...

  4. 随机数的生成 - rand(), srand()

    2017-08-20  17:43:29 writer:pprp 我们采用随机数可以对我们的算法进行大数据检验 /* name : 简单的随机数生成算法 writer : pprp declare : ...

  5. caohaha's stuff

    2017-08-20 11:12:29 writer:pprpCCPC预选赛水平太菜了,去不了了 这个是一个找规律的题目,题意一开始也很难理解 题意描述: 给你一个数,比如说1,在一个坐标系中你需要用 ...

  6. 使用lock锁或Monitor.Enter的目的

    锁定的目的:由于多个线程 并行/并发 处理同一个“数据对象”(比如:在其它线程的某个地方发生了Clear.Add.Remove.Change等操作),导致“数据对象”不断变化,没法用了,所以,为了保证 ...

  7. 常数PK系列汇总

    常数PK系列说明: 在AC的情况下得分=\(\sum_{i=1}^{10}{1000-runtime\_on\_point_i}\) RE会显示UKE UPD:之前的数据太水,导致好多题都在9000分 ...

  8. 【Demo】jQuery 设置简单的分页

    功能描述: (1)设定起始页位置和每页的大小: (2)绑定自定义的分页事件,在事件中隐藏当前页不需要显示的行: (3)为表格添加页链接: (4)绑定链接的单击事件,在事件中触发表格分页事件. 效果图: ...

  9. ffmpeg播放RTSP的一点优化

    简单记录一下最近使用ffmpeg播放RTSP做的一点参数优化. 先做如下定义: AVDictionary* options = NULL; 1.画质优化 原生的ffmpeg参数在对1920x1080的 ...

  10. python入门-简单的文件备份程序

    由于备份的需要,需要经常备份一些重要的文件,但是又不能逐个比较,所以就度了一下,找到了这篇博文,在此表示感谢,下面是python3版的写法,其中有一些改变,重要的改变之处作出了简要注释,完整注释请参考 ...