Re: edac_core: crashes on shutdown

Borislav Petkov
2010-12-02T17:08:16Z

On Thu, Dec 02, 2010 at 12:02:52PM -0500, Florian Mickler wrote:
> On Thu, 02 Dec 2010 17:21:12 +0100
> Tobias Karnat <tobias.karnat@googlemail.com> wrote:
>
> > Am Donnerstag, den 02.12.2010, 16:21 +0100 schrieb Borislav Petkov:
> > > Well, thanks for the photos. I don't have an idea what might cause this
> > > workqueue corruption I'm seeing, all reg/unreg paths look ok. The only
> > > change that came in between .35 and .36.1 I can think of being relevant
> > > is 00740c58541b6087d78418cebca1fcb86dc6077d. You could try backing that
> > > one out to see whether it fixes the issue.
> >
> > Yes, reverting this fixed the issue!
> >
> > But why?
> >
> > -Tobias
> >
> >
>
> It doesnt work because op_state is set to OP_OFFLINE in edac_mc_del_mc
> before calling edac_mc_workq_teardown. Or am I seeing things?

Good observation Florian, see my other mail I just sent.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632