none
Audio Driver Issue RRS feed

  • Question

  • Hi All,

    Thank You for reading the post.

    I am adding the below ICLASS for Audio driver to perform power management.

    "IClass"=multi_sz:"{A32942B7-920C-486b-B0E6-92A702A99B35}"    

    With that addition I am seeing data abort.

    Exception 'Data Abort' (4): Thread-Id=02940002(pth=9b5a5000), Proc-Id=00400002(pprc=8001a308) 'NK.EXE', VM-active=02360002(pprc=9fce2d60) 'udevice.exe'
    PC=c0c75384(omap3_wavedev.dll+0x00005384) RA=c02640a4(devmgr.dll+0x000040a4) SP=d2adfc60, BVA=00000004
    Exception 'Raised Exception' (-1): Thread-Id=02940002(pth=9b5a5000), Proc-Id=00400002(pprc=8001a308) 'NK.EXE', VM-active=02360002(pprc=9fce2d60) 'udevice.exe'
    PC=c003bc40(k.coredll.dll+0x0001bc40) RA=912152c8(kernel.dll+0x000062c8) SP=d2adf4f0, BVA=ffffffff
    Exception 'Data Abort' (4): Thread-Id=02960002(pth=9b5a5264), Proc-Id=00400002(pprc=8001a308) 'NK.EXE', VM-active=00400002(pprc=8001a308) 'NK.EXE'
    PC=c0c75384(omap3_wavedev.dll+0x00005384) RA=c02640a4(devmgr.dll+0x000040a4) SP=d2aefc60, BVA=00000004
    Exception 'Raised Exception' (-1): Thread-Id=02960002(pth=9b5a5264), Proc-Id=00400002(pprc=8001a308) 'NK.EXE', VM-active=00400002(pprc=8001a308) 'NK.EXE'
    PC=c003bc40(k.coredll.dll+0x0001bc40) RA=912152c8(kernel.dll+0x000062c8) SP=d2aef4f0, BVA=ffffffff

    Any suggestions on tracing which is causing this issue?

    Regards,

    GSR

    Wednesday, February 20, 2013 4:44 AM

All replies

  • Hi GSR,

    you can go through following links for getting more clue about Data Abort:

    Link 1 and Nice Example with explanation

    Hope this helps..

    Wednesday, February 20, 2013 5:51 AM
  • It is not because of adding IClass value, but because of IClass the device is entering into the power saving mode.

    The audio driver "omap3_wavedev" is executing some instruction causing the data abort.

    And it is under the device power state code.

    Debug and try to find the code location.

    The above link would be helpful in achieving it.

    --- Misbah


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    Wednesday, February 20, 2013 6:23 AM
  • Hi Deepak,

    Thanks for the reply. 

    The second blog uses RA for calculating source of data abort. So do I need to check in omap3_wavedev.dll or devmgr.dll?

    I see that after adding ICLASS we are seeing this data abort. When data abort occurs I see in WAV_IOControl, dwCode is 0x00000001 and uMsg=(dec)0.

    Please let us know any more suggestions.

    Regards,

    GSR

    Wednesday, February 20, 2013 6:36 AM
  • When system goes to different power state "WAV_IOControl" will be called by the power manger with control code for power state.

    While executing the IoControl having specific control code for power management, its giving exception.

    Check if the problem is in "process_PowerManagementMessage()" function ???

    Enable the debug messages for better debugging... in audiomgr.cpp and wavemain.cpp files.

    Hope this may help.

    --- Misbah


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    Wednesday, February 20, 2013 7:44 AM
  • Hi GSR,

    There are four dll's in your debug output as i can see. But it all starts from omap3_wavedev.dll so I'd suggest you to look into omap3_wavedev.map file and trace the function which is creating this abort. The .map files can be found in release directory. Additionally, if you don't get any meaningful result from there, you can look into devmgr.map file or other map files corresponding to the dlls in your debug output.

    Also, you can try what @Misbah is suggesting.

    Happy Debugging!!

    Wednesday, February 20, 2013 8:40 AM