Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2012 15:32:45 -0000
From:      Alexey Dokuchaev <danfe@nsu.ru>
To:        Bernhard Schmidt <bschmidt@freebsd.org>
Cc:        stable@freebsd.org
Subject:   Re: panic with if_iwi(4) upon "netif restart"
Message-ID:  <20120619052810.GA40402@regency.nsu.ru>
Resent-Message-ID: <201207041528.q64FSHKa081974@regency.nsu.ru>
In-Reply-To: <CAAgh0_aS-7EvM1QgQzOgUF4Hqhd3w394nxw=vzB6b-e2AeUe6A@mail.gmail.com>
References:  <20120507035405.GA47351@regency.nsu.ru> <CAAgh0_aS-7EvM1QgQzOgUF4Hqhd3w394nxw=vzB6b-e2AeUe6A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 07, 2012 at 08:28:50PM +0200, Bernhard Schmidt wrote:
> On Mon, May 7, 2012 at 5:54 AM, Alexey Dokuchaev <danfe@nsu.ru> wrote:
> > Weird panic occurs to me here with iwi(4) based laptop when trying to hook
> > up to WPA-protected network with "service netif restart".  Kernel and
> > userland are not strictly in sync, with the latter lagging behind couple
> > of months, but presumably this fact should not matter on stable branch.
> 
> does "ps" in kgdb reveal multiple instances of wpa_supplicant running?
> If so, this seems to be the well known devd+netif+supplicant+newstate
> race/missing refcount.
> 
> Wanna try attached patch?

Bernhard,

Sorry it took so long to get back.  With your patch applied, I haven't
seen this panic for a while, however, double instances of wpa_supplicant
still persist.  So I think you can commit it, but underlying race remains
to be fixed.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120619052810.GA40402>