[alsa-devel] snd_array_free - snd: bad kfree when HDA reconfig
Raymond Yau
superquad.vortex2 at gmail.com
Wed Sep 14 02:04:46 CEST 2011
2011/9/12 Takashi Iwai <tiwai at suse.de>:
> At Fri, 2 Sep 2011 15:16:28 +0800,
> Raymond Yau wrote:
>>
>> These errors "snd: bad kfree" occur when reconfig HDA from model
>> "6stack-dig-fp" to "auto" and vice versa
>
> Doesn't this happen when you unload the device, right?
These errors "snd: bad kfree" also happen when unload and reload the driver
rmmod snd-hda-intel
insmod snd-hda-inteel
> And, it happens when writing to /sys/class/sound/hwC0D0/clear?
>
>> Is "HD-Audio reconfiguration" still experimental ?
>
> Somehow yet, but mostly it worked for me :)
>
I just use hda reconfig to change the model="auto" to "6stack-dig-fp"
and vice versa
This mean that I need to implement "Independent HP" switch which allow
user to change the topology if this feature is still experimental
>
>> ALSA hda_hwdep.c:220: hda-codec: reconfiguring
>> snd: bad kfree (called from f8be4636)
>
> Hmm, this is a magic check in external alsa-driver builds.
> I guess it's just a bug there -- the override of krealloc() is
> missing.
>
> Does the patch below (to alsa-driver tree) fix the problem?
>
Do I need to specify any option and run configure script again ?
alsa-driver compiled without error but fail to loaded and complain
ksize undefined symbol
More information about the Alsa-devel
mailing list