[alsa-devel] [PATCH v2 12/12] ASoC: SOF: Intel: hda-codec: fix memory allocation
Pierre-Louis Bossart
pierre-louis.bossart at linux.intel.com
Thu May 23 13:35:05 CEST 2019
On 5/23/19 3:24 AM, Yang, Libin wrote:
> Hi Takashi,
>
>
>>> -----Original Message-----
>>> From: Takashi Iwai [mailto:tiwai at suse.de]
>>> Sent: Thursday, May 23, 2019 4:16 PM
>>> To: Yang, Libin <libin.yang at intel.com>
>>> Cc: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>; alsa-
>>> devel at alsa-project.org; broonie at kernel.org
>>> Subject: Re: [alsa-devel] [PATCH v2 12/12] ASoC: SOF: Intel: hda-codec:
>>> fix memory allocation
>>>
>>> On Thu, 23 May 2019 10:03:03 +0200,
>>> Yang, Libin wrote:
>>>>
>>>> Please let me describe the issue here.
>>>>
>>>> The test case is:
>>>> 1) Unload module with script "sudo ./sof_remove.sh" ,
>>>> 2) reload module with script "sudo ./sof_insert.sh"
>>>>
>>>> After several rounds of removing and inserting kernel modules, system
>>>> will complain like below:
>>>> "BUG: unable to handle kernel paging request at 000000292a282031"
>>>
>>> Did you try some kernel debug options? It might show what went wrong.
>>
>> No, I haven't. I'm not sure which options I can use for this case. Could you
>> please give me some suggestions?
>
> BTW: I have enabled DEBUG_DEVRES. Are there any other options I can try?
There are already a set of kconfig fragments for debug, see
https://github.com/thesofproject/kconfig and select memory-debug-defconfig.
I guess I will need to require this test in the SOF CI, I really don't
get how this issue was not seen earlier. Gah.
More information about the Alsa-devel
mailing list