From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 31 11:03:04 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DA151065670 for ; Fri, 31 Aug 2012 11:03:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5A3448FC08 for ; Fri, 31 Aug 2012 11:03:03 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so4691730pbb.13 for ; Fri, 31 Aug 2012 04:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uIPA0JxOub0ueqJYu4qHDR87sHd5eNEIXrT+nti7wHM=; b=tP/mAQEljdhDkGp3lqG8irIMZZJCkxAi4CO+B8oCdU58a53geu9Uq/IPY7WzXD9hgu 2xyA4uTdCJBDZY0AcjQvpLcymTPe8ZZGzLqEzvVDityixxXKiw0MYdX3YJ1WZ5Vg0Vcs FFm7002ZbB/pv7AlhqyWVxtp9d/AnvsOWBhYCkC7Ah1MMFVrmRNXJQkZgmubhPfBznGz cAXQMwMV/rkEOT5boWx2AqLIj9j+QdYlpGJHWWp6xOfnMpQdprwIp5Km58xDEP7tBH7O gZWXJJk74DsFg4klUpmM1XnCiYNUwQR2RTIxhEVq6Ibk2Q8nAzT5rApE4YLu1Q7dygj+ ReMw== MIME-Version: 1.0 Received: by 10.68.138.169 with SMTP id qr9mr16872033pbb.27.1346410983779; Fri, 31 Aug 2012 04:03:03 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Fri, 31 Aug 2012 04:03:03 -0700 (PDT) In-Reply-To: <20120831113417.5afd0479@kaa.mimar.rs> References: <20120829130824.490de430@kaa.mimar.rs> <20120829210823.01164bc0@kaa.mimar.rs> <20120830081410.48bde4dd@kaa.mimar.rs> <20120830161134.1cc8aa4b@kaa.mimar.rs> <20120831113417.5afd0479@kaa.mimar.rs> Date: Fri, 31 Aug 2012 04:03:03 -0700 X-Google-Sender-Auth: J3dxEMIjOegLSw5mEFF1xRDUQ_I Message-ID: From: Adrian Chadd To: =?UTF-8?B?TWFya28gQ3VwYcSH?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: ar9285 on 9-stable reboots X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 11:03:04 -0000 Ok. There's a bug on -9 which causes an ou of bounds address access and write if the RX descriptor receive antenna is wrong. I wonder if i's that. File a PR and I'll throw patches at you to try. :) Adrian On 31 August 2012 02:34, Marko Cupa=C4=87 wrote: > There is no 9 anymore :) > > I got hang again, first I lost IP address, and when doing ifconfig > wlan0 destroy computer just froze, taking no input from keyboard, had > to power it off. > > I noticed this has something to do with virtualbox, when using virtual > machine with bridged network. I see messages: > > -- > wlan0: promiscuous mode enabled > wlan0: link state changed to DOWN > wlan0: link state changed to UP > wlan0: promiscuous mode disabled > -- > > Last time when I lost IP address, I shut down virtualbox VM, and after > that ifconfig wlan0 destroy && ifconfig wlan0 create wlandev ath0 > brought me back ip address without a hang. > > So the things are getting more complicated... > > On Thu, 30 Aug 2012 08:15:18 -0700 > Adrian Chadd wrote: > >> .ok. Disable bgscan on 9. >> >> Adrian >> On Aug 30, 2012 7:11 AM, "Marko Cupa=C4=87" wrot= e: >> >> > On Thu, 30 Aug 2012 08:14:10 +0200 >> > Marko Cupa=C4=87 wrote: >> > >> > > On Wed, 29 Aug 2012 22:01:38 -0700 >> > > Adrian Chadd wrote: >> > > >> > > > On 29 August 2012 12:08, Marko Cupa=C4=87 >> > > > wrote: >> > > > >> > > > > I could give -HEAD a spin, although I rather wouldn't as this >> > > > > is my work laptop which i spent 2 month customizing (openbox >> > > > > and all). I am afraid -HEAD could maybe fix my wifi, but >> > > > > bring me much many other problems. >> > > > >> > > > Are you able to just setup a separate partition? >> > > > >> > > > > I do not see kernel panic, it just instantly resets. Do I >> > > > > need to set dumpdev to something other than "NO" in rc.conf? >> > > > >> > > > I've no idea what's going on; but I haven't really played with >> > > > ath(4) on 64 bit hardware all that much. People keep telling me >> > > > it works fine though. >> > > > >> > > > Would you be able to setup a -HEAD partition and try it out? >> > > > >> > > > >> > > > >> > > > Adrian >> > > >> > > OK, I am going to rebuild world today and see if there are >> > > any improvements. Will keep you updated. BTW laptop is ASUS N53J. >> > > >> > > Marko >> > >> > I am writing this from -HEAD. Since last 4 hours I did not have any >> > hangs. I see new messages related to ath: >> > >> > http://pastebin.com/nQng8yjJ >> > >> > Marko >> > >