[#3890] loading snd-ad1981 crashes after 2.6.24 update

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

[#3890] loading snd-ad1981 crashes after 2.6.24 update

Submitted By: Mike Frysinger

Open Date

2008-02-11 10:29:53     Close Date

2008-02-22 01:01:46

Priority:

Medium     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: loading snd-ad1981 crashes after 2.6.24 update

Details:

 

root:/> modprobe snd-ad1981

ASoC version 0.13.1

AD1980 SoC Audio Codec

asoc: AC97 <-> bf5xx-ac97 mapping ok

AD1980 AC97 reset failed

AC97 link error

NULL pointer access (probably)

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=insmod PID=144

TEXT = 0x00180000-0x001cc20c  DATA = 0x00d9c20c-0x00d9f8b8

BSS = 0x00d9f8b8-0x00da0000   USER-STACK = 0x00dbfe60

 

return address: [0x037d007c]; contents of:

0x037d0050:  6005  9161  0c41  1827  e12a  004c  5b51  a0a8

0x037d0060:  0c00  1821  0000  0000  a30f  0c07  1425  e50a

0x037d0070:  001c  e14b  0000  6000  e10b  4cac [af92] 5e92

0x037d0080:  304a  917a  4f09  e412  0024  b0f7  0063  917a

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00000027  IPEND: 8030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x27

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

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

  logical irq  12 mapped  : <0x00d30ee4> { :snd_soc_bf5xx_ac97:_sport_config_tx_dma + 0x108 }

  logical irq  13 mapped  : <0x00d30f4c> { :snd_soc_bf5xx_ac97:_sport_config_tx_dma + 0x170 }

  logical irq  18 mapped  : <0x00095168> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  19 mapped  : <0x00094f54> { _bfin_serial_dma_tx_int + 0x0 }

  logical irq  24 mapped  : <0x0009e0f4> { _bf537mac_interrupt + 0x0 }

  logical irq  45 mapped  : <0x00d30fb8> { :snd_soc_bf5xx_ac97:_sport_config_tx_dma + 0x1dc }

RETE: <0x00000000> { _run_init_process + 0xfffff000 }

RETN: <0x00d6dc0c> /* unknown address */

RETX: <0x037d007c> /* unknown address */

RETS: <0x00d80bd0> { :snd_pcm:_snd_pcm_attach_substream + 0x4b4 }

PC  : <0x037d007c> /* unknown address */

DCPLB_FAULT_ADDR: <0x00000038> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x037d007c> /* unknown address */

 

PROCESSOR STATE:

R0 : 00000000    R1 : 000000b8    R2 : 00024000    R3 : 0000001f

R4 : 00d9a000    R5 : 00000000    R6 : 00000000    R7 : 00000000

P0 : 008df140    P1 : 0378d080    P2 : 00000000    P3 : 00004cac

P4 : 008d8eb8    P5 : 0378d0cc    FP : 00d33000    SP : 00d6db30

LB0: 00083d5a    LT0: 00083d52    LC0: 00000000

LB1: 008d0afa    LT1: 008d0ae0    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 000000c2

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00d29cfc

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

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

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

USP : 00dbfce0  ASTAT: 02003025

 

Hardware Trace:

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

     Source : <0xffa0076c> { _exception_to_level5 + 0xb4 }

   1 Target : <0xffa006b8> { _exception_to_level5 + 0x0 }

     Source : <0xffa00614> { _ex_trap_c + 0x5c }

   2 Target : <0xffa005b8> { _ex_trap_c + 0x0 }

     Source : <0xffa00442> { _ex_workaround_261 + 0x22 }

   3 Target : <0xffa00420> { _ex_workaround_261 + 0x0 }

     Source : <0xffa0080c> { _trap + 0x28 }

   4 Target : <0xffa007e4> { _trap + 0x0 }

     Source : <0xffa0055a> { _bfin_return_from_exception + 0xe }

   5 Target : <0xffa0054c> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa00432> { _ex_workaround_261 + 0x12 }

   6 Target : <0xffa00420> { _ex_workaround_261 + 0x0 }

     Source : <0xffa0080c> { _trap + 0x28 }

   7 Target : <0xffa007e4> { _trap + 0x0 }

     Source : <0x037d0078> /* unknown address */

   8 Target : <0x037d0038> /* unknown address */

     Source : <0x00d80bce> { :snd_pcm:_snd_pcm_attach_substream + 0x4b2 }

   9 Target : <0x00d80bbc> { :snd_pcm:_snd_pcm_attach_substream + 0x4a0 }

     Source : <0x00d80bb0> { :snd_pcm:_snd_pcm_attach_substream + 0x494 }

  10 Target : <0x00d80b9c> { :snd_pcm:_snd_pcm_attach_substream + 0x480 }

     Source : <0x00d80c18> { :snd_pcm:_snd_pcm_attach_substream + 0x4fc }

  11 Target : <0x00d80c0c> { :snd_pcm:_snd_pcm_attach_substream + 0x4f0 }

     Source : <0x00d2c6a0> { :snd:_snd_device_free + 0x5c }

  12 Target : <0x00d2c678> { :snd:_snd_device_free + 0x34 }

     Source : <0x00d2c664> { :snd:_snd_device_free + 0x20 }

  13 Target : <0x00d2c660> { :snd:_snd_device_free + 0x1c }

     Source : <0x00d2c66c> { :snd:_snd_device_free + 0x28 }

  14 Target : <0x00d2c668> { :snd:_snd_device_free + 0x24 }

     Source : <0x00d2c65e> { :snd:_snd_device_free + 0x1a }

  15 Target : <0x00d2c644> { :snd:_snd_device_free + 0x0 }

     Source : <0x00d2c736> { :snd:_snd_device_free_all + 0x4e }

Stack from 00d6db10:

        0000000a ffa00770 0015d728 0015d728 0015d724 000121b4 001545e4 00154580

        037d007c 00008030 00000027 00000000 00d6dc0c 037d007c 037d007c 00d80bd0

        00000000 02003025 008d0afa 00083d5a 008d0ae0 00083d52 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00d29cfc 000000c2 00dbfce0 00d33000 0378d0cc 008d8eb8

 

Call Trace:

[<00004cac>] _dma_free_coherent+0x0/0xa8

[<00d9a000>] 0xd9a000

[<00024000>] _unqueue_me+0x8c/0xa4

[<00d9a060>] 0xd9a060

[<00d80bd0>] _snd_pcm_attach_substream+0x4b4/0x500 [snd_pcm]

[<00001000>] _run_init_process+0x0/0x18

[<00001fff>] _get_sclk+0xb/0x58

[<0000e058>] _printk+0x0/0x18

[<00d2c6a2>] _snd_device_free+0x5e/0xa4 [snd]

[<0000e058>] _printk+0x0/0x18

[<00d2c644>] _snd_device_free+0x0/0xa4 [snd]

[<00001000>] _run_init_process+0x0/0x18

[<0000ffff>] _do_wait+0x5f3/0x9e8

[<00d2c738>] _snd_device_free_all+0x50/0x58 [snd]

[<00d9a060>] 0xd9a060

[<00100080>] _mutex_lock+0xc/0x40

[<00d2872a>] _snd_card_locked+0x76/0x128 [snd]

[<00d2c6e8>] _snd_device_free_all+0x0/0x58 [snd]

[<00d293a6>] _snd_card_free+0x96/0xa0 [snd]

[<000ffb48>] _cond_resched+0x34/0x38

[<008d0b0c>] _snd_soc_free_pcms+0x60/0xa8 [snd_soc_core]

[<0000e058>] _printk+0x0/0x18

[<0000e058>] _printk+0x0/0x18

[<00d9a000>] 0xd9a000

[<00d9a054>] 0xd9a054

[<00d9a276>] 0xd9a276

[<00d9a000>] 0xd9a000

[<008d181c>] _snd_soc_info_enum_double+0x394/0x4a4 [snd_soc_core]

[<00097bdc>] _driver_sysfs_add+0x44/0x64

[<00097cd6>] _driver_probe_device+0x7a/0x17c

[<0009705e>] _bus_for_each_drv+0x42/0x68

[<00097056>] _bus_for_each_drv+0x3a/0x68

[<00097dd8>] ___device_attach+0x0/0x4

[<00097e94>] _device_attach+0x94/0xb0

[<00097dd8>] ___device_attach+0x0/0x4

[<00096fd2>] _bus_attach_device+0x46/0x90

[<000961fe>] _device_add+0x3be/0x4f8

[<00096204>] _device_add+0x3c4/0x4f8

[<0007fcf2>] _kobject_init+0x26/0x3c

[<00099500>] _platform_device_add+0xe4/0x160

[<0009965e>] _platform_device_alloc+0x3e/0x60

[<009fb386>] _init_module+0x46/0x78 [snd_ad1981]

[<0002821e>] _sys_init_module+0xe3a/0x1198

[<00028262>] _sys_init_module+0xe7e/0x1198

[<000274a4>] _sys_init_module+0xc0/0x1198

[<00001000>] _run_init_process+0x0/0x18

[<000273e4>] _sys_init_module+0x0/0x1198

[<00008000>] _l1sram_free+0x18/0x34

 

Modules linked in: snd_ad1981 snd_soc_bf5xx snd_soc_ad1980 snd_soc_core snd_pcm snd_timer snd_page_alloc ac97_bus snd soundcore snd_soc_bf5xx_ac97

Kernel panic - not syncing: Kernel exception                                                                                                                                      

 

Follow-ups

 

--- Mike Frysinger                                           2008-02-22 01:01:46

seems to have been fixed somewhere along the line

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes