2013-04-18 19:48:09

by Daniel Vetter

[permalink] [raw]
Subject: Re: linux-next: Tree for Apr 18 [ call-trace: drm | x86 | smp | rcu related? ]

On Thu, Apr 18, 2013 at 3:05 PM, Sedat Dilek <[email protected]> wrote:
> On Thu, Apr 18, 2013 at 10:28 AM, Stephen Rothwell <[email protected]> wrote:
>> Hi all,
>>
>> Changes since 20130417:
>>
>> New Trees: rpmsg (actually added yesterday)
>> ppc-temp (replacing powerpc for this week)
>>
>> The ceph tree gained a conflict against Linus' tree.
>>
>> The net-next tree gained a conflict against the infiniband tree.
>>
>> The usb tree gained a build failure so I used the version from
>> next-20130417.
>>
>> I added two merge fix patches after the gen-gpio tree.
>>
>> The ppc-temp tree gained a conflict against the metag tree.
>>
>> The akpm tree lost a patch that turned up elsewhere.
>>
>> ----------------------------------------------------------------------------
>>
>
> Not sure what the root-cause for this call-trace is (see screenshot).
>
> This is reproducible when running my kernel build-script (4 parallel-make-jobs).
>
> Any hints welcome!

The panic handlers in our modeset code are pretty decent fubar - they
take mutexes all over the place. So I think the backtrace you see
there is actually a secondary effect. I've looked into fixing this up,
but the issue is that drivers themselves have tons of state protected
with mutexes, which all potentially affects the panic handler. So I've
given up on that for now ...
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


2013-04-18 21:59:25

by Sedat Dilek

[permalink] [raw]
Subject: Re: linux-next: Tree for Apr 18 [ call-trace: drm | x86 | smp | rcu related? ]

On Thu, Apr 18, 2013 at 9:48 PM, Daniel Vetter <[email protected]> wrote:
> On Thu, Apr 18, 2013 at 3:05 PM, Sedat Dilek <[email protected]> wrote:
>> On Thu, Apr 18, 2013 at 10:28 AM, Stephen Rothwell <[email protected]> wrote:
>>> Hi all,
>>>
>>> Changes since 20130417:
>>>
>>> New Trees: rpmsg (actually added yesterday)
>>> ppc-temp (replacing powerpc for this week)
>>>
>>> The ceph tree gained a conflict against Linus' tree.
>>>
>>> The net-next tree gained a conflict against the infiniband tree.
>>>
>>> The usb tree gained a build failure so I used the version from
>>> next-20130417.
>>>
>>> I added two merge fix patches after the gen-gpio tree.
>>>
>>> The ppc-temp tree gained a conflict against the metag tree.
>>>
>>> The akpm tree lost a patch that turned up elsewhere.
>>>
>>> ----------------------------------------------------------------------------
>>>
>>
>> Not sure what the root-cause for this call-trace is (see screenshot).
>>
>> This is reproducible when running my kernel build-script (4 parallel-make-jobs).
>>
>> Any hints welcome!
>
> The panic handlers in our modeset code are pretty decent fubar - they
> take mutexes all over the place. So I think the backtrace you see
> there is actually a secondary effect. I've looked into fixing this up,
> but the issue is that drivers themselves have tons of state protected
> with mutexes, which all potentially affects the panic handler. So I've
> given up on that for now ...

Thanks for taking care.

On suspicion [1] I have reverted [2]... NOPE.

- Sedat -

[1] http://marc.info/?l=linux-kernel&m=136631921208895&w=2
[2] http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=5a90d1a95356de7a32acb2e5309ac579a891af8f

> -Daniel
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch

2013-04-19 10:19:13

by Sedat Dilek

[permalink] [raw]
Subject: Re: linux-next: Tree for Apr 18 [ call-trace: drm | x86 | smp | rcu related? ]

On Thu, Apr 18, 2013 at 11:59 PM, Sedat Dilek <[email protected]> wrote:
> On Thu, Apr 18, 2013 at 9:48 PM, Daniel Vetter <[email protected]> wrote:
>> On Thu, Apr 18, 2013 at 3:05 PM, Sedat Dilek <[email protected]> wrote:
>>> On Thu, Apr 18, 2013 at 10:28 AM, Stephen Rothwell <[email protected]> wrote:
>>>> Hi all,
>>>>
>>>> Changes since 20130417:
>>>>
>>>> New Trees: rpmsg (actually added yesterday)
>>>> ppc-temp (replacing powerpc for this week)
>>>>
>>>> The ceph tree gained a conflict against Linus' tree.
>>>>
>>>> The net-next tree gained a conflict against the infiniband tree.
>>>>
>>>> The usb tree gained a build failure so I used the version from
>>>> next-20130417.
>>>>
>>>> I added two merge fix patches after the gen-gpio tree.
>>>>
>>>> The ppc-temp tree gained a conflict against the metag tree.
>>>>
>>>> The akpm tree lost a patch that turned up elsewhere.
>>>>
>>>> ----------------------------------------------------------------------------
>>>>
>>>
>>> Not sure what the root-cause for this call-trace is (see screenshot).
>>>
>>> This is reproducible when running my kernel build-script (4 parallel-make-jobs).
>>>
>>> Any hints welcome!
>>
>> The panic handlers in our modeset code are pretty decent fubar - they
>> take mutexes all over the place. So I think the backtrace you see
>> there is actually a secondary effect. I've looked into fixing this up,
>> but the issue is that drivers themselves have tons of state protected
>> with mutexes, which all potentially affects the panic handler. So I've
>> given up on that for now ...
>
> Thanks for taking care.
>
> On suspicion [1] I have reverted [2]... NOPE.
>
> - Sedat -
>
> [1] http://marc.info/?l=linux-kernel&m=136631921208895&w=2
> [2] http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=5a90d1a95356de7a32acb2e5309ac579a891af8f
>

Hmmm, the issue seems to be gone with today's Linux-Next (next-20130419).
My kernel-build is still running with no call-trace...

- Sedat -

>> -Daniel
>> --
>> Daniel Vetter
>> Software Engineer, Intel Corporation
>> +41 (0) 79 365 57 48 - http://blog.ffwll.ch