2009-08-07 10:30:04     trunk kernel panics with vrec|vplay on BF548-Ezkit. Please help

Document created by Aaronwu Employee on Aug 16, 2013
Version 1Show Document
  • View in full screen mode

2009-08-07 10:30:04     trunk kernel panics with vrec|vplay on BF548-Ezkit. Please help

Felix Lazarev (UNITED STATES)

Message: 78511   

 

I\'ve compiled kernel with default configurations for BF548EZKit. it panics with strange error as soon as i\'m trying to play/record any sound. Here\'s a dump.

 

 

 

root:/> vrec

 

External Memory Addressing Error

 

Kernel OOPS in progress

 

HW Error context

 

CURRENT PROCESS:

 

COMM=vrec PID=229

 

CPU = 0

 

TEXT = 0x03494000-0x03496870        DATA = 0x03497870-0x03497bc4

 

BSS = 0x03497bc4-0x002a0000  USER-STACK = 0x002bfec0

 

 

 

return address: [0x08000000]; contents of:

 

0x07ffffe0:  ????  ????  ????  ????  ????  ????  ????  ????

 

0x07fffff0:  ????  ????  ????  ????  ????  ????  ????  ????

 

0x08000000: [????] ????  ????  ????  ????  ????  ????  ????

 

0x08000010:  ????  ????  ????  ????  ????  ????  ????  ????

 

 

 

ADSP-BF549-0.0 525(MHz CCLK) 131(MHz SCLK) (mpu off)

 

Linux version 2.6.30.3-ADI-2010R1-pre-svn7086 (felix@feldell) (gcc version 4.1.9

 

 

 

SEQUENCER STATUS:               Not tainted

 

SEQSTAT: 0000c03f  IPEND: 8030  IMASK: 0000  SYSCFG: 0006

 

  Global Interrupts Disabled (IPEND[4])

 

  Peripheral interrupts masked off

 

  Kernel interrupts masked off

 

  HWERRCAUSE: 0x3

 

  EBIU Error Reason  : 0x0088

 

  EBIU Error Address : 0x08000000

 

  EXCAUSE   : 0x3f

 

  interrupts disabled

 

  physical IVG5 asserted : <0xffa00c08> { _evt_ivhw + 0x0 }

 

  physical IVG15 asserted : <0xffa00f04> { _evt_system_call + 0x0 }

 

  logical irq   6 mapped  : <0xffa00368> { _timer_interrupt + 0x0 }

 

  logical irq  10 mapped  : <0x0011d210> { _err_handler + 0x0 }

 

  logical irq  14 mapped  : <0x000fcb1c> { _bfin_rtc_interrupt + 0x0 }

 

  logical irq  16 mapped  : <0x0011c490> { _rx_handler + 0x0 }

 

  logical irq  17 mapped  : <0x0011c42c> { _tx_handler + 0x0 }

 

  logical irq  48 mapped  : <0x000c5cd0> { _bfin_serial_dma_rx_int + 0x0 }

 

  logical irq  49 mapped  : <0x000c60e4> { _bfin_serial_dma_tx_int + 0x0 }

 

  logical irq  82 mapped  : <0x000f57b4> { _blackfin_interrupt + 0x0 }

 

  logical irq  85 mapped  : <0x000f881c> { _dma_controller_irq + 0x0 }

 

  logical irq 175 mapped  : <0x000de250> { _smsc911x_irqhandler + 0x0 }

 

RETE: <0x00000000> /* Maybe null pointer? */

 

RETN: <0x03480000> [ /bin/busybox + 0x4e000 ]

 

RETX: <0x00c0ebb6> [ /lib/libc.so.0 + 0xebb6 ]

 

RETS: <0x00118c5e> { _soc_pcm_open + 0x6e }

 

PC  : <0x08000000> /* kernel dynamic memory */

 

 

 

PROCESSOR STATE:

 

R0 : 03da05a0    R1 : 00214860    R2 : 00000000    R3 : 00000000

 

R4 : 00214d00    R5 : 00214b6c    R6 : 00214d7c    R7 : 00000000

 

P0 : 03da1df8    P1 : 00000144    P2 : 08000000    P3 : 00214be8

 

P4 : 00214860    P5 : 03da1c00    FP : 03da05a0    SP : 03493b88

 

LB0: 000b28b6    LT0: 000b28b6    LC0: 00000000

 

LB1: 0010c500    LT1: 0010c4f2    LC1: 00000002

 

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00c8d2c4

 

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 03441200

 

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

 

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

 

A0.w: 00000007   A0.x: 00000000   A1.w: 00000007   A1.x: 00000000

 

USP : 002bfdb0  ASTAT: 02003005

 

 

 

Hardware Trace:

 

   0 Target : <0x00004f5c> { _trap_c + 0x0 }

 

     Source : <0xffa00cb2> { _evt_ivhw + 0xaa } CALL pcrel

 

   1 Target : <0xffa00c94> { _evt_ivhw + 0x8c }

 

     Source : <0xffa00c86> { _evt_ivhw + 0x7e } IF !CC JUMP

 

   2 Target : <0xffa00c08> { _evt_ivhw + 0x0 }

 

     Source : <0x00118c5c> { _soc_pcm_open + 0x6c } CALL (P2)

 

   3 Target : <0x00118c44> { _soc_pcm_open + 0x54 }

 

     Source : <0x0011bb4a> { _bf5xx_pcm_open + 0x3e } RTS

 

   4 Target : <0x0011bb2c> { _bf5xx_pcm_open + 0x20 }

 

     Source : <0x0010c75a> { _snd_pcm_hw_constraint_integer + 0x2e } RTS

 

   5 Target : <0x0010c72c> { _snd_pcm_hw_constraint_integer + 0x0 }

 

     Source : <0x0011bb28> { _bf5xx_pcm_open + 0x1c } CALL pcrel

 

   6 Target : <0x0011bb24> { _bf5xx_pcm_open + 0x18 }

 

     Source : <0x00117444> { _snd_soc_set_runtime_hwparams + 0x40 } RTS

 

   7 Target : <0x00117404> { _snd_soc_set_runtime_hwparams + 0x0 }

 

     Source : <0x0011bb20> { _bf5xx_pcm_open + 0x14 } CALL pcrel

 

   8 Target : <0x0011bb0c> { _bf5xx_pcm_open + 0x0 }

 

     Source : <0x00118c42> { _soc_pcm_open + 0x52 } CALL (P2)

 

   9 Target : <0x00118c34> { _soc_pcm_open + 0x44 }

 

     Source : <0x00118e06> { _soc_pcm_open + 0x216 } JUMP.S

 

  10 Target : <0x00118e04> { _soc_pcm_open + 0x214 }

 

     Source : <0x00118c22> { _soc_pcm_open + 0x32 } IF !CC JUMP

 

  11 Target : <0x00118c1c> { _soc_pcm_open + 0x2c }

 

     Source : <0x0016c23e> { _mutex_lock + 0x3a } RTS

 

  12 Target : <0x0016c210> { _mutex_lock + 0xc }

 

     Source : <0x0016bade> { __cond_resched + 0x1a } RTS

 

  13 Target : <0x0016bac4> { __cond_resched + 0x0 }

 

     Source : <0x0016c20c> { _mutex_lock + 0x8 } CALL pcrel

 

  14 Target : <0x0016c204> { _mutex_lock + 0x0 }

 

     Source : <0x00118c18> { _soc_pcm_open + 0x28 } CALL pcrel

 

  15 Target : <0x00118bf0> { _soc_pcm_open + 0x0 }

 

     Source : <0x00108ce6> { _snd_pcm_open_substream + 0x4e } CALL (P1)

 

 

 

Kernel Stack

 

Stack info:

 

SP: [0x03493d30] <0x03493d30> /* kernel dynamic memory */

 

FP: (0x03493ec0)

 

Memory from 0x03493d30 to 03494000

 

03493d30:[00726500] 00000000  00000000  00000000  000080d0  00c7c000  03493d90

 

03493d50: 034390c0  0000ad68  03441f14  03441f14  00000000  0319a160 <000fd79e>

 

03493d70: 0319a160  00c75da4  00000001  00000003  00000003  00000024  00c75da4

 

03493d90: 0319a160 <000446ce><00044670> 034352a0  00000000  00c75da4  00000001

 

03493db0: 00000000  00000000  00000000  03494000  00000003  00c6e254 <00040bae>

 

03493dd0: 00c75da4  00044600  00000001  03dde920  ffffff9c  00c7c000  03493ea0 >

 

03493df0: 0319a160  00000005  034c18e8  00000001  00000000  00000000  00000000

 

03493e10: 0319a160  00000000  03dde920 <0004abea> 03493e40  00000000  00000000

 

03493e30: 03493e40  00000001  002bffde  002bfdb0  03df01a0  00c6e254  00c7c000

 

03493e50: 001f007c  00000101  00000001  00000000  00001000  002bfec4  00000001

 

03493e70: 03496398  00000ca4  00000000  00000000  00000005  00000001  00000000

 

03493e90: 00000001  00000000  00d2fec0  00000005  002bfdc0 <00040a6e> ffffff9c

 

03493eb0: 034c18e8  00000000  00000003  00c7c000 (00000000)<0004bd72> 03493ee4

 

03493ed0: 00000000  00000000 <00040b04> 00040aec  00000005  00000000  ffffe000

 

03493ef0: 00000001  00000000 <ffa00864> 00000000  00000000 <ffa00864> 00000000

 

03493f10: 03499148  00dff120  03496398  00000001  002bfec4  00c0d526  00008000

 

03493f30: 00000000  03494000  00c0d526  00c0d526 <03496178><ffa00f68> 02003025

 

03493f50: 00c86321  00c8578e  00c86314  00000000  00000000  00000000  00000000

 

03493f70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

 

03493f90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

 

03493fb0: 002bffde  002bfdb0  002bfdc0  03497bac  03497a20  034c18e8  034993c8

 

03493fd0: 00000005  03497bb0  03496398  002bfec4  00000001  03496398  00000000

 

03493ff0: 03496398  03496398  00000005  00000006

 

Return addresses in stack:

 

    address : <0x000fd79e> { _soundcore_open + 0x82 }

 

    address : <0x000446ce> { _chrdev_open + 0xce }

 

    address : <0x00044670> { _chrdev_open + 0x70 }

 

    address : <0x00040bae> { ___dentry_open + 0x96 }

 

    address : <0x00041946> { _nameidata_to_filp + 0x42 }

 

    address : <0x0004abea> { _do_filp_open + 0x15a }

 

    address : <0x00040a6e> { _do_sys_open + 0x3e }

 

   frame  1 : <0x0004bd72> { _do_vfs_ioctl + 0x5a }

 

    address : <0x00040b04> { _sys_open + 0x18 }

 

    address : <0xffa00864> { _system_call + 0x68 }

 

    address : <0xffa00864> { _system_call + 0x68 }

 

    address : <0x03496178> [ /bin/vrec + 0x2178 ]

 

    address : <0xffa00f68> { _evt_system_call + 0x64 }

 

Modules linked in:

 

Kernel panic - not syncing: Kernel exception

 

Hardware Trace:

 

Stack info:

 

SP: [0x03493aa0] <0x03493aa0> /* kernel dynamic memory */

 

FP: (0x03493b14)

 

Memory from 0x03493aa0 to 03494000

 

03493aa0:[001a82d4]<0000f758> 001f3b88  001a82d4  001f56be  001f56be  001f56be

 

03493ac0: 03493adc <000052ce> 03493b88  00214860  00214be8  001a81f8  03493cd8

 

03493ae0: 0000ffff  00218308  00000000  00030002  00000000  0000003f  00218308

 

03493b00: 002182fc  002182e4  00000000  00218ccc  00000000 (00000000)<000352bc>

 

03493b20: 00000000  00000001  000240d0  0000003f <00036198> 00cff8a0  00218308

 

03493b40: 00218ccc  00000000  0000ffff  002182e4  03492000  000040d0  00000000

 

03493b60: 00000000 <ffa00cb6> 03da1c00  00000000  00214d7c  00214b6c  00214d00

 

03493b80: 00000000  00218ccc  00c0ebb6  00008030  0000c03f  00000000  03480000

 

03493ba0: 08000000 <00118c5e> 03da05a0  02003005  0010c500  000b28b6  0010c4f2

 

03493bc0: 00000002  00000000  00000007  00000000  00000007  00000000  00000000

 

03493be0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

 

03493c00: 00000000  00000000  00000000  00000000  03441200  00c8d2c4  002bfdb0

 

03493c20: 03da1c00  00214860  00214be8  08000000  00000144  03da1df8  00000000

 

03493c40: 00214b6c  00214d00  00000000  00000000  00214860  03da05a0  03da05a0

 

03493c60: 00000006  00000011  0000000b  ffffffff  03493d18 <00108ce8> 03493cc8

 

03493c80: 00000004  00000000  0000001d  0319a160  03493d60  03493cc0  001ffc00

 

03493ca0: 03493ca4  03da05a0 <001135f0> 00000001  00000000 <0002e1a4> 00208230

 

03493cc0: 03493cc8  00000000  0319a160  03492000 <001145e4> 03441f08  03441e00

 

03493ce0: 00000000  00000001  03492000  03493d04  00000000  03441e00  0000ffff

 

03493d00: 03493d04  00000000  00000000  00000000  00000000  00000000  00000000

 

03493d20: 00000000  00000000  00000000  63657276  00726500  00000000  00000000

 

03493d40: 000080d0  00c7c000  03493d90  00000000  034390c0  0000ad68  03441f14

 

03493d60: 00000000  0319a160 <000fd79e> 0017afa8  0319a160  00c75da4  00000001

 

03493d80: 00000003  00000024  00c75da4  0319a160  0319a160 <000446ce><00044670>

 

03493da0: 00000000  00c75da4  00000001  03df01a0  00000000  00000000  00000000

 

03493dc0: 00000003  00c6e254 <00040bae> 0319a160  00c75da4  00044600  00000001

 

03493de0: ffffff9c  00c7c000  03493ea0 <00041946> 0319a160  00000005  034c18e8

 

03493e00: 00000000  00000000  00000000  03493e40  0319a160  00000000  03dde920 >

 

03493e20: 03493e40  00000000  00000000  00000000  03493e40  00000001  002bffde

 

03493e40: 03df01a0  00c6e254  00c7c000  034c18e8  001f007c  00000101  00000001

 

03493e60: 00001000  002bfec4  00000001  00000001  03496398  00000ca4  00000000

 

03493e80: 00000005  00000001  00000000  0319a160  00000001  00000000  00d2fec0

 

03493ea0: 002bfdc0 <00040a6e> ffffff9c  00000005  034c18e8  00000000  00000003

 

03493ec0: 00000000 <0004bd72> 03493ee4  00000000  00000000  00000000 <00040b04>

 

03493ee0: 00000005  00000000  ffffe000  002bfec4  00000001  00000000 <ffa00864>

 

03493f00: 00000000 <ffa00864> 00000000  00dff154  03499148  00dff120  03496398

 

03493f20: 002bfec4  00c0d526  00008000  00000000  00000000  03494000  00c0d526

 

03493f40:<03496178><ffa00f68> 02003025  00c8578f  00c86321  00c8578e  00c86314

 

03493f60: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

 

03493f80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

 

03493fa0: 00000000  00000000  00000000  034c18e8  002bffde  002bfdb0  002bfdc0

 

03493fc0: 03497a20  034c18e8  034993c8  00c0d50c  00000005  03497bb0  03496398

 

03493fe0: 00000001  03496398  00000000  00000000  03496398  03496398  00000005

 

Return addresses in stack:

 

    address : <0x0000f758> { _panic + 0x4c }

 

    address : <0x000052ce> { _trap_c + 0x372 }

 

   frame  1 : <0x000352bc> { _rmqueue_bulk + 0x2c }

 

    address : <0x00036198> { _buffered_rmqueue + 0x128 }

 

    address : <0xffa00cb6> { _evt_ivhw + 0xae }

 

    address : <0x00118c5e> { _soc_pcm_open + 0x6e }

 

    address : <0x00108ce8> { _snd_pcm_open_substream + 0x50 }

 

    address : <0x001135f0> { _snd_pcm_oss_open_file + 0xc4 }

 

    address : <0x0002e1a4> { ___enable_irq + 0x60 }

 

    address : <0x001145e4> { _snd_pcm_oss_open + 0x170 }

 

    address : <0x000fd79e> { _soundcore_open + 0x82 }

 

    address : <0x000446ce> { _chrdev_open + 0xce }

 

    address : <0x00044670> { _chrdev_open + 0x70 }

 

    address : <0x00040bae> { ___dentry_open + 0x96 }

 

    address : <0x00041946> { _nameidata_to_filp + 0x42 }

 

    address : <0x0004abea> { _do_filp_open + 0x15a }

 

    address : <0x00040a6e> { _do_sys_open + 0x3e }

 

    address : <0x0004bd72> { _do_vfs_ioctl + 0x5a }

 

    address : <0x00040b04> { _sys_open + 0x18 }

 

    address : <0xffa00864> { _system_call + 0x68 }

 

    address : <0xffa00864> { _system_call + 0x68 }

 

    address : <0x03496178> [ /bin/vrec + 0x2178 ]

 

    address : <0xffa00f68> { _evt_system_call + 0x64 }

 

QuoteReplyEditDelete

 

 

2009-08-07 10:39:03     trunk kernel panics with vrec|vplay on BF548-Ezkit. Please help

Michael Hennerich (GERMANY)

Message: 78515    Don't use svn trunk - It has known issues.

Pease checkout kernel from our release branch (branches/2009R1)

 

-Michael

QuoteReplyEditDelete

Attachments

    Outcomes