Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 09:11:01 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org, Weongyo Jeong <weongyo@freebsd.org>
Cc:        Lucius Windschuh <lwindschuh@googlemail.com>
Subject:   Re: Panics and potential memory corruption when pulling out a uath device
Message-ID:  <200905190911.01576.hselasky@c2i.net>
In-Reply-To: <20090519044941.GC42412@weongyo.cdnetworks.kr>
References:  <90a5caac0905171354k6e7c008eye18bd69aa543eaa6@mail.gmail.com> <90a5caac0905181508m7024377as8d70c89694a21e26@mail.gmail.com> <20090519044941.GC42412@weongyo.cdnetworks.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 19 May 2009, Weongyo Jeong wrote:
> On Tue, May 19, 2009 at 12:08:45AM +0200, Lucius Windschuh wrote:
> > 2009/5/18 Hans Petter Selasky <hselasky@c2i.net>:
> > > Regarding the first panic, there seems to be a detach race in both upgt
> > > and uath, which is not USB related. Try this patch:
> > >
> > > http://perforce.freebsd.org/chv.cgi?CH=162250
> >
> > This fixes not only the first panic.
> > I can't provoke any panic by pulling out the active device. Thanks.
>
> Could you please test with this patch that is slightly different with
> Hans's patch?  It try to unsetup after stopping the device.
>
> If no problems I'd commit it.
>
> regards,
> Weongyo Jeong

Hi,

I had added the wrong ID to the driver. Now it seems to almost work. What does 
the following error code mean? When I run wpa_cli I see some valid scan 
results. I have not tried to associate yet.

uath0: could not set channel, error 55
uath0: uath_cmdsend: empty inactive queue
uath0: could not set channel, error 55
uath0: uath_cmdsend: empty inactive queue
uath0: could not set channel, error 55
uath0: uath_cmdsend: empty inactive queue
uath0: could not set channel, error 55
uath0: uath_cmdsend: empty inactive queue
uath0: could not set channel, error 55
uath0: uath_cmdsend: empty inactive queue
uath0: could not set channel, error 55
uath0: uath_cmdsend: empty inactive queue
uath0: could not set channel, error 55
uath0: uath_cmdsend: empty inactive queue
uath0: could not set channel, error 55

--HPS



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