seymour

seymour

0个粉丝

10

问答

0

专栏

0

资料

seymour  发布于  2017-09-01 09:57:48
采纳率 0%
10个问答
5259

Hi3516 驱动崩溃

 
请教下各位,
Hi3516进行编码时,老是出现kernel内存溢出,空指针。

Unable to handle kernel paging request at virtual address d0008008
pgd = ce5cc000
[d0008008] *pgd=00000000
Internal error: Oops: 805 [#1] ARM
Modules linked in: adv7611drv(O) hi_mipi(O) hi3516a_adec(O) hi3516a_aenc(O) hi3516a_ao(O) hi3516a_ai(O) hi3516a_aio(O) acodec(O) gpioi2cdrv(O) hi3516a_ive(O) hi3516a_vda(O) hi3516a_jpege(O) hi3516a_h265e(O) hi3516a_h264e(O) hi3516a_chnl(O) hi3516a_venc(O) hi3516a_rc(O) hifb(O) hi3516a_vou(O) hi3516a_vpss(O) hi3516a_viu(O) hi3516a_isp(O) hi3516a_vgs(O) hi3516a_region(O) hi3516a_tde(O) hi3516a_sys(O) hi3516a_base(O) hi_media(O) mmz(O) [last unloaded: adv7611drv]
CPU: 0    Tainted: G           O  (3.4.35 #9)
PC is at VGS_GetJobFromFreeList+0x50/0xa8 [hi3516a_vgs]
LR is at 0xd0008008
pc : []    lr : []    psr: a0000193
sp : ced179b8  ip : 00100100  fp : ced179d4
r10: 60000193  r9 : 00000000  r8 : 00000007
r7 : ced17a58  r6 : d08b8000  r5 : d08e9e58  r4 : d08e9ee4
r3 : d08e9e58  r2 : 00019818  r1 : 00200200  r0 : d08b8000
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c53c7d  Table: 8e5cc059  DAC: 00000015


Unable to handle kernel paging request at virtual address d0003e78
pgd = ceffc000
[d0003e78] *pgd=00000000
Internal error: Oops: 805 [#1] ARM
Modules linked in: adv7611drv(O) hi_mipi(O) hi3516a_adec(O) hi3516a_aenc(O) hi3516a_ao(O) hi3516a_ai(O) hi3516a_aio(O) acodec(O) gpioi2cdrv(O) hi3516a_ive(O) hi3516a_vda(O) hi3516a_jpege(O) hi3516a_h265e(O) hi3516a_h264e(O) hi3516a_chnl(O) hi3516a_venc(O) hi3516a_rc(O) hifb(O) hi3516a_vou(O) hi3516a_vpss(O) hi3516a_viu(O) hi3516a_isp(O) hi3516a_vgs(O) hi3516a_region(O) hi3516a_tde(O) hi3516a_sys(O) hi3516a_base(O) hi_media(O) mmz(O)
CPU: 0    Tainted: G           O  (3.4.35 #9)
PC is at VGS_DrvPutTaskToJob+0x1c/0x30 [hi3516a_vgs]
LR is at VGS_DrvCommPrepareHWInfo+0xac/0x140 [hi3516a_vgs]
pc : []    lr : []    psr: 00000193
sp : c059d620  ip : c059d630  fp : c059d62c
r10: bf1f9568  r9 : d08ec054  r8 : d08e86e0
r7 : d09005f4  r6 : 00000000  r5 : d0873e6c  r4 : d08e86e0
r3 : d0003e78  r2 : d0873e78  r1 : d0873e6c  r0 : d09005f4
Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 8effc059  DAC: 00000015


Unable to handle kernel paging request at virtual address 00200200
pgd = c0004000
[00200200] *pgd=00000000
Internal error: Oops: 817 [#2] ARM
Modules linked in: adv7611drv(O) hi_mipi(O) hi3516a_adec(O) hi3516a_aenc(O) hi3516a_ao(O) hi3516a_ai(O) hi3516a_aio(O) acodec(O) gpioi2cdrv(O) hi3516a_ive(O) hi3516a_vda(O) hi3516a_jpege(O) hi3516a_h265e(O) hi3516a_h264e(O) hi3516a_chnl(O) hi3516a_venc(O) hi3516a_rc(O) hifb(O) hi3516a_vou(O) hi3516a_vpss(O) hi3516a_viu(O) hi3516a_isp(O) hi3516a_vgs(O) hi3516a_region(O) hi3516a_tde(O) hi3516a_sys(O) hi3516a_base(O) hi_media(O) mmz(O) [last unloaded: adv7611drv]
CPU: 0    Tainted: G      D    O  (3.4.35 #9)
PC is at VB_GetBlkByPoolId+0x110/0x230 [hi3516a_base]
LR is at 0x200200


这是kernel虚拟地址分配
Memory: 256MB = 256MB total
Memory: 253788k/253788k available, 8356k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc0578000   (5568 kB)
      .init : 0xc0578000 - 0xc059a7dc   ( 138 kB)
      .data : 0xc059c000 - 0xc05cc800   ( 194 kB)
       .bss : 0xc05cc824 - 0xc05eb9e0   ( 125 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:128

HDMI芯片是adv7611, 7611的驱动会影响吗?
麻烦大家指点一下!
我来回答
回答10个
时间排序
认可量排序

yang1372073

0个粉丝

19

问答

0

专栏

2

资料

yang1372073 2017-09-04 10:03:52
认可0
内存分配有问题吧?
setenv bootargs 'mem=256M console=ttyAMA0,115200 root=/dev/mtdblock3 rootfstype=squashfs mtdparts=hi_sfc:512K(env),512K(uboot),3M(kernel),6M(rootfs),6M(app) ramdisk_size=0XC00000'
setenv 'bootcmd sf probe 0;sf read 0x82000000 0x100000 0x300000;bootm 0x82000000'
saveenv

seymour

0个粉丝

10

问答

0

专栏

0

资料

seymour 2017-09-04 14:08:42
认可0
之前的板子没出现这样的问题, 现在调试手板。现在板子,添加了一个wifi模块和更换了HDMI芯片。我用海思那个demo程序也会出现这样的问题。各种奔溃。今天还出现在gmac驱动上。
WARNING: at drivers/net/ethernet/hieth-gmac/ctrl.c:358 higmac_check_tx_err+0x64/0xb8()
TX ERR: desc1=0x8f00a580, desc2=0x75a88058,desc4=0x43c, desc5=0x200
Modules linked in: adv7611drv(O) hi_mipi(O) hi3516a_adec(O) hi3516a_aenc(O) hi3516a_ao(O) hi3516a_ai(O) hi3516a_aio(O) acodec(O) gpioi2cdrv(O) hi3516a_ive(O) hi3516a_vda(O) hi3516a_jpege(O) hi3516a_h265e(O) hi3516a_h264e(O) hi3516a_chnl(O) hi3516a_venc(O) hi3516a_rc(O) hifb(O) hi3516a_vou(O) hi3516a_vpss(O) hi3516a_viu(O) hi3516a_isp(O) hi3516a_vgs(O) hi3516a_region(O) hi3516a_tde(O) hi3516a_sys(O) hi3516a_base(O) hi_media(O) mmz(O)
Backtrace:
[] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c)
r6:c02f81cc r5:00000009 r4:c059dd70 r3:c05a8900
[] (dump_stack+0x0/0x1c) from [] (warn_slowpath_common+0x5c/0x6c)
[] (warn_slowpath_common+0x0/0x6c) from [] (warn_slowpath_fmt+0x38/0x40)
r8:00000010 r7:cfb6b6a8 r6:ffddc560 r5:cf9c0bc0 r4:ffddc560
r3:00000009
[] (warn_slowpath_fmt+0x0/0x40) from [] (higmac_check_tx_err+0x64/0xb8)
r3:8f00a580 r2:c0545bc4
[] (higmac_check_tx_err+0x0/0xb8) from [] (higmac_xmit_release_gso+0x17c/0x188)
r5:cfb6b6a8 r4:ffddc560
[] (higmac_xmit_release_gso+0x0/0x188) from [] (higmac_xmit_release_skb+0x10c/0x260)
[] (higmac_xmit_release_skb+0x0/0x260) from [] (higmac_bfproc_recv+0x2c/0x314)
[] (higmac_bfproc_recv+0x0/0x314) from [] (tasklet_action+0x74/0xc4)
[] (tasklet_action+0x0/0xc4) from [] (__do_softirq+0xc8/0x15c)
r7:c05d49c0 r6:c05d49dc r5:00000018 r4:00000001
[] (__do_softirq+0x0/0x15c) from [] (irq_exit+0x54/0x5c)
[] (irq_exit+0x0/0x5c) from [] (handle_IRQ+0x44/0x8c)
[] (handle_IRQ+0x0/0x8c) from [] (gic_handle_irq+0x30/0x58)
r6:c059df30 r5:fe402000 r4:c05a4050 r3:00000039
[] (gic_handle_irq+0x0/0x58) from [] (__irq_svc+0x40/0x50)
Exception stack(0xc059df30 to 0xc059df78)
df20:                                     00000000 00000000 00000000 00000000
df40: c059c000 c05cd0c8 c059c000 c05a7648 c059c000 410fc075 00000000 c059df84
df60: c059df88 c059df78 c000f1fc c000f200 60000013 ffffffff
r6:ffffffff r5:60000013 r4:c000f200 r3:c000f1fc
[] (default_idle+0x0/0x38) from [] (cpu_idle+0x7c/0xb8)
[] (cpu_idle+0x0/0xb8) from [] (rest_init+0x74/0x78)
r8:80004059 r7:c07ec900 r6:ffffffff r5:c05a4000 r4:c05a4650
r3:00000000
[] (rest_init+0x0/0x78) from [] (start_kernel+0x2d0/0x2dc)
[] (start_kernel+0x0/0x2dc) from [<80008040>] (0x80008040)
---[ end trace 4394f3d1f4a4cde0 ]---
higmac_check_tx_err,364: sg_desc word[0]=0xfeca
higmac_check_tx_err,364: sg_desc word[1]=0x0
higmac_check_tx_err,364: sg_desc word[2]=0x8edd8a9e
higmac_check_tx_err,364: sg_desc word[3]=0x42
higmac_check_tx_err,364: sg_desc word[4]=0x86fac000
higmac_check_tx_err,364: sg_desc word[5]=0x1000
higmac_check_tx_err,364: sg_desc word[6]=0x86fad000
higmac_check_tx_err,364: sg_desc word[7]=0x1000

mengxp

0个粉丝

18

问答

0

专栏

1

资料

mengxp 2017-09-04 15:50:53
认可0
DDR总大小 mmz分配情况 说明一下?

seymour

0个粉丝

10

问答

0

专栏

0

资料

seymour 2017-09-04 16:03:27
认可0
mem=256M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:1M(boot),3M(kernel),27M(rootfs)
总大小是1G,
SNS_TYPE=bt1120        # sensor type

mem_total=1024;          # 512M, total mem
mem_start=0x80000000;   # phy mem start

os_mem_size=256;         # 64M, os mem
mmz_start=0x90000000;   # mmz start addr
mmz_size=768M

seymour

0个粉丝

10

问答

0

专栏

0

资料

seymour 2017-09-05 14:38:42
认可0
更新奔溃日志;
================vpss 0 debug info=============
===debug info from 0000-0100===
0000 :  040c0001  00000000  0000000e  00000000
0010 :  0437077f  00000000  00000000  00000000
0020 :  93b74880  93d6ec80  07800780  80000000
0030 :  a4861000  a4861010  a4861020  a4aa5160
0040 :  07800780  a4f2d400  a4f2d400  000001e0
0050 :  00000000  00000000  00000000  00000000
0060 :  00000000  00000000  00000000  00000000
0070 :  00000000  00000000  00000000  00000000
0080 :  00000000  00000000  00000000  00000000
0090 :  00000000  00000000  00000000  00000000
00a0 :  00000000  00000000  00000000  00000000
00b0 :  00000000  00000000  00000000  00000001
00c0 :  a4bc7200  a4bc7210  a4bc7220  a4e0b360
00d0 :  07800780  00000000  1fff1fff  00000000
00e0 :  00000000  00000000  00000000  00000000
00f0 :  00000000  1fff1fff  00000000  00000000
===debug info from 0100-0200===
0100 :  00000000  00000000  00000000  00000000
0110 :  1fff1fff  00000000  00000000  00000000
0120 :  00000000  00000000  00000000  0400077f
0130 :  00000000  00000000  92a9e600  92c98a00
0140 :  07800780  00000000  00000000  00000000
0150 :  00000000  00000000  00000000  00000000
0160 :  00000000  00000000  00000000  00000000
0170 :  00000000  00000000  00000000  00000000
0180 :  0437077f  00000000  00000000  00000000
0190 :  00000000  00000000  00000000  00000000
01a0 :  00000000  0fff0fff  00000000  0fff0fff
01b0 :  00000000  0fff0fff  00000000  00000000
01c0 :  00000000  00000000  00000000  00000000
01d0 :  00000000  00000000  00000000  00000000
01e0 :  00000000  00000000  00000000  00000000
01f0 :  00000000  00000000  00000000  00000007
===debug info from 0200-0300===
0200 :  00000000  00000000  00000000  00000000
0210 :  00000000  00000000  00000000  00000000
0220 :  00000000  00000000  00000000  00000000
0230 :  00000000  00000000  00000000  00000000
0240 :  a4f77000  00000000  a4f77600  00000000
0250 :  00000000  a4f76a00  00000000  00000000
0260 :  00000000  00000000  00000000  00000000
0270 :  00000000  00000000  00000000  00000000
0280 :  00000000  00000000  00000000  00000000
0290 :  00000000  00000000  00000000  00000000
02a0 :  00000000  00000000  00000000  00000000
02b0 :  00000000  00000000  00000000  00000000
02c0 :  00000000  00000000  00000000  00000000
02d0 :  00000000  00000000  00000000  00000000
02e0 :  00000000  00000000  00000000  00000000
02f0 :  00000000  00000000  00000000  00000000
===debug info from 0300-0320===
0300 :  00000000  00000000  00000000  00000000
0310 :  00000001  07006466  00000000  ffffffff


Kernel panic - not syncing:
ASSERT failed at:
  >File name: /home/pub/platform_ipc/mpp/code/mkp/../arch/hi3516a/hal/vpss/vpss_drv.c
  >Function : VPSS_DRV_IsWrongInt
  >Line No. : 4066
  >Condition: 0

chenglei

0个粉丝

13

问答

0

专栏

0

资料

chenglei 2017-10-27 08:49:24
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=63416&ptid=23347]seymour 发表于 2017-9-5 14:38[/url]
更新奔溃日志;
================vpss 0 debug info=============
===debug info from 0000-0100===
[/quote]

你好。你的问题解决了吗?我这边也遇到此类问题。

seymour

0个粉丝

10

问答

0

专栏

0

资料

seymour 2017-11-09 10:55:22
认可0
我的感觉是板子问题, 有块板,系统起来就崩溃

chenglei

0个粉丝

13

问答

0

专栏

0

资料

chenglei 2017-11-09 13:29:50
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=80537&ptid=23347]seymour 发表于 2017-11-9 10:55[/url]
我的感觉是板子问题, 有块板,系统起来就崩溃[/quote]

会是DDR问题吗?你的DDR是什么型号的?

chenglei

0个粉丝

13

问答

0

专栏

0

资料

chenglei 2017-11-09 13:31:39
认可0
DDR 频率多少?

seymour

0个粉丝

10

问答

0

专栏

0

资料

seymour 2018-01-09 11:02:00
认可0
这是板子问题, 旧不会出现这样的问题。 新板有规律性的出现这样的问题。
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区