[mythtv-users] Kernel Crash when starting up in au0828-video.c line 895

Devin Heitmueller dheitmueller at kernellabs.com
Thu Jun 28 03:27:09 UTC 2012


On Wed, Apr 11, 2012 at 9:36 AM, jrh <jharbestonus at gmail.com> wrote:
>
> On Apr 9, 2012, at 7:48 PM, Larry Finger wrote:
>
>> On 04/09/2012 06:01 PM, jrh wrote:
>>>
>>> On Apr 8, 2012, at 10:36 PM, Larry Finger wrote:
>>>
>>>> On 04/08/2012 04:38 PM, jrh wrote:
>>>>
>>>> As you have seen, someone did not like my patch. That frequently happens when you try to touch a new area of the kernel. Thus, we need to find the real bug before any patch is likely to be accepted.
>>>>
>>>> To help debug the problem, I have prepared a new version of the patch. This one will still remove the BUG_ON, but it will also dump the stack whenever the code gets or frees AU0828_RESOURCE_VIDEO. I hope this shows where the imbalance occurs.
>>>>
>>>> Larry
>>>> <au0828_fix.txt>
>>>
>>> Larry, et al,
>>>
>>> I replied to you via email with the logs from the above patch.
>>>
>>> Hopefully it will shed some light.
>>>
>>> Regards!
>>
>> I am not sure why it happens, but AU0828_RESOURCE_VIDEO is freed 3 times in the segment you posted and never assigned. It will take a while, but I will see if I can prepare a patch to help us.
>>
>> I'm glad you were able to compile the revised patch. I hope we have as much success in making the driver work.
>>
>> Larry
>>
>>
>
> Sounds like a plan!

FYI:  the problem in the au0828 driver has been identified and a fix
is pending to go upstream.

http://git.kernellabs.com/?p=dheitmueller/cx23885_fixes.git;a=commit;h=226d020ff1b944f115cb075766cdeb29938431b0

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com


More information about the mythtv-users mailing list