Re: kernel panic with snd_hda "panic: Duplicate free of item 0xffffff00025f8c00 from zone 0xffffff00b697d400(1024)"

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Sun, 29 Mar 2009 15:25:40 +0300
Lawrence Stewart wrote:
> Alexander Motin wrote:
>> I can't reproduce neither "Invalid corb size (0)" error, nor the crash 
>> in case of it. I have tried to simulate that error, but system handled 
>> it correctly. But I have INVARIANTS disabled on my system.
>>
>> Can you try to disable MSI?
> 
> Setting hw.pci.enable_msix=0 and hw.pci.enable_msi=0 at the loader 
> prompt made no difference.

It could also be done with hint.hdac.0.msi=0.

>> Can you try to move hdac_irq_alloc() call after hdac_rirb_init() in 
>> hdac_attach()? May be interrupt shots while something is not yet 
>> initialized?
> 
> Running with the following patch made no difference either.
> 
> Any other ideas I could try?

I have none. I haven't changed anything significant last time, except 
enabling MSI. You can try to investigate both problems: original 
"Invalid corb size (0)" and the consequent crash. As I have said, I 
can't reproduce none of them. Try to put some debug printfs inside 
hdac_get_capabilities(), may be it give some new clues.

-- 
Alexander Motin
Received on Sun Mar 29 2009 - 10:25:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC