5321
- 收藏
- 点赞
- 分享
- 举报
【已解决】linux内核启动时加载stmmac驱动时出现错误!!
本帖最后由 goodman 于 2016-4-12 21:23 编辑
内核启动时加载stmmac驱动出现断错误,打印出oops信息如下:
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3b2c000
[00000000] *pgd=83b31831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] SMP
Modules linked in: stmmac(+)
CPU: 1 Not tainted (3.0.8 #1)
PC is at register_netdevice+0x64/0x450
LR is at 0x30687465
pc : [] lr : [<30687465>] psr: 60000013
sp : c3a8fd00 ip : 0000001c fp : c3a8fd24
r10: 00000000 r9 : bf012420 r8 : bf011cf8
r7 : c38d53a0 r6 : c38d5000 r5 : 00000000 r4 : c38d5000
r3 : 00000000 r2 : 00000000 r1 : c3a8fca0 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 83b2c04a DAC: 00000015
。。。。。
。。。。
。。。。。
Backtrace:
[] (register_netdevice+0x0/0x450) from [] (register_netdev+0x1c/0x2c)
r7:c38d53a0 r6:c38d5000 r5:bf011d98 r4:c38d5000
[] (register_netdev+0x0/0x2c) from [] (stmmac_dvr_probe+0x344/0xa94 [stmmac])
r4:00000000 r3:00000000
[] (stmmac_dvr_probe+0x0/0xa94 [stmmac]) from [] (platform_drv_probe+0x20/0x24)
[] (platform_drv_probe+0x0/0x24) from [] (driver_probe_device+0x84/0x180)
[] (driver_probe_device+0x0/0x180) from [] (__driver_attach+0x94/0x98)
r8:00000000 r7:c0326d60 r6:bf011dd4 r5:bf011d0c r4:bf011da0
r3:c0328160
[] (__driver_attach+0x0/0x98) from [] (bus_for_each_dev+0x68/0x94)
r6:c3a8fdf0 r5:00000000 r4:bf011d0c r3:c385403c
[] (bus_for_each_dev+0x0/0x94) from [] (driver_attach+0x24/0x28)
r7:00000000 r6:c39d5ba0 r5:c05f6500 r4:bf011d0c
[] (driver_attach+0x0/0x28) from [] (bus_add_driver+0x1fc/0x2c8)
[] (bus_add_driver+0x0/0x2c8) from [] (driver_register+0x80/0x194)
[] (driver_register+0x0/0x194) from [] (platform_driver_register+0x58/0x60)
r8:00000000 r7:bf027000 r6:00000000 r5:bf0122e4 r4:00000000
r3:00000000
[] (platform_driver_register+0x0/0x60) from [] (stmmac_init_module+0x50/0x7c [stmmac])
[] (stmmac_init_module+0x0/0x7c [stmmac]) from [] (do_one_initcall+0x3c/0x18c)
r4:c0606520 r3:c3a8e000
[] (do_one_initcall+0x0/0x18c) from [] (sys_init_module+0xa0/0x13f4)
r9:c3a8ff1c r8:00000000 r7:00000000 r6:00000000 r5:bf0122e4
r4:00000000
[] (sys_init_module+0x0/0x13f4) from [] (ret_fast_syscall+0x0/0x30)
Code: ebffffc6 e2505000 ba000048 e59420d8 (e5923000)
---[ end trace 5e5ec44edc41680f ]---
Segmentation fault
sdk内核中驱动部分没动过,怎么会出现操作非法内存的错误呢,把那个操作注释掉后面还会出现类似错误,不知道咋回事?
内核启动时加载stmmac驱动出现断错误,打印出oops信息如下:
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3b2c000
[00000000] *pgd=83b31831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] SMP
Modules linked in: stmmac(+)
CPU: 1 Not tainted (3.0.8 #1)
PC is at register_netdevice+0x64/0x450
LR is at 0x30687465
pc : [
sp : c3a8fd00 ip : 0000001c fp : c3a8fd24
r10: 00000000 r9 : bf012420 r8 : bf011cf8
r7 : c38d53a0 r6 : c38d5000 r5 : 00000000 r4 : c38d5000
r3 : 00000000 r2 : 00000000 r1 : c3a8fca0 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 83b2c04a DAC: 00000015
。。。。。
。。。。
。。。。。
Backtrace:
[
r7:c38d53a0 r6:c38d5000 r5:bf011d98 r4:c38d5000
[
r4:00000000 r3:00000000
[
[
[
r8:00000000 r7:c0326d60 r6:bf011dd4 r5:bf011d0c r4:bf011da0
r3:c0328160
[
r6:c3a8fdf0 r5:00000000 r4:bf011d0c r3:c385403c
[
r7:00000000 r6:c39d5ba0 r5:c05f6500 r4:bf011d0c
[
[
[
r8:00000000 r7:bf027000 r6:00000000 r5:bf0122e4 r4:00000000
r3:00000000
[
[
r4:c0606520 r3:c3a8e000
[
r9:c3a8ff1c r8:00000000 r7:00000000 r6:00000000 r5:bf0122e4
r4:00000000
[
Code: ebffffc6 e2505000 ba000048 e59420d8 (e5923000)
---[ end trace 5e5ec44edc41680f ]---
Segmentation fault
sdk内核中驱动部分没动过,怎么会出现操作非法内存的错误呢,把那个操作注释掉后面还会出现类似错误,不知道咋回事?
我来回答
回答2个
时间排序
认可量排序
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-08-12 09:33:28
-
2016-08-08 10:41:49
-
2020-11-20 12:18:15
-
2015-11-30 13:41:56
-
2020-07-08 11:29:20
-
2020-03-31 10:00:14
-
2019-01-16 15:20:36
-
2019-01-04 13:46:15
-
2017-04-27 19:23:23
-
2016-11-04 09:38:18
-
2018-07-24 10:28:21
-
2020-10-09 14:04:21
-
2022-12-15 10:36:11
-
2018-11-28 14:47:27
-
2022-10-18 09:47:47
-
2014-10-20 10:16:51
-
2019-08-27 19:58:04
-
2020-04-15 14:24:20
-
2016-05-16 14:13:03
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认