From owner-freebsd-stable@FreeBSD.ORG Tue Aug 20 18:49:15 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 97FD1D9 for ; Tue, 20 Aug 2013 18:49:15 +0000 (UTC) (envelope-from tj@archlinux.us) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8A223FC for ; Tue, 20 Aug 2013 18:49:14 +0000 (UTC) Received: by mail-ve0-f182.google.com with SMTP id m1so661389ves.27 for ; Tue, 20 Aug 2013 11:49:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=n3ekO+dnRx3MCo3rojPiIeSQSPRaa8xoZL9NAOyf5Q4=; b=bFRebDFCKRbpaWyZ4bmsxzK+bapwESaFdGvNehse8ajZXs7I/uCZgczvtQbY/+uSGv ndKNKOTZgYjsOYz227QOd+e2IMo6Q6wdEQBfaNGHokoIBPoM+gPBF40IdcdjTb7TcoD8 yTvHa8ianhfP2ocrAUvk1GD+Xsdj3DJvOXivJ9bnqGpLs+nMamSpoSxXNv20Izs/Cck6 tDNcyF12PNcv1zFLWb2dM9iBgUSTL9puEO+hKsaANB9JgQFxgQ8KWQ/ySU2hM1Y/uahV cEpIbQme5Y+y7IvsEXsbEC7Bw2Ii6R5/SWTwfieWLrrTF/O9P8eAZtxy869XqneB3hBf 7MPg== X-Gm-Message-State: ALoCoQkurtqZZG8MdwToYxLWaKqlG6HTqNxgh9hta/64u1AfWazkk8tV6RAGvhmvj0XKC1PSxptC MIME-Version: 1.0 X-Received: by 10.220.47.10 with SMTP id l10mr1205742vcf.32.1377023107416; Tue, 20 Aug 2013 11:25:07 -0700 (PDT) Received: by 10.52.227.40 with HTTP; Tue, 20 Aug 2013 11:25:07 -0700 (PDT) Received: by 10.52.227.40 with HTTP; Tue, 20 Aug 2013 11:25:07 -0700 (PDT) In-Reply-To: References: <20130818121916.GA55695@tahoe.tj-h.info> <20130819054501.GA92991@tahoe.tj-h.info> <20130819133000.GA1404@tahoe.tj-h.info> Date: Tue, 20 Aug 2013 23:55:07 +0530 Message-ID: Subject: Re: [ATH] 9.2-PRERELEASE and wlan0 device disconnection From: Tj To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Aug 2013 18:49:15 -0000 Hmm yea will try that and let you know. Switching to -head though...maybe that'll make it better. I have to say though..wow this driver's come a long way in a year. Thanks for all the work... -Tj On Aug 19, 2013 8:58 PM, "Adrian Chadd" wrote: > Hi, > > Please just do it manually for now. > > # ifconfig wlan0 > # ifconfig wlan0 create wlandev ath0 > # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf & > # dhclient wlan0 > > .. see what happens. > > > > -adrian > > > > On 19 August 2013 06:30, Tj Hariharan wrote: > >> On Mon, Aug 19, 2013 at 11:15:32AM +0530, Tj Hariharan wrote: >> > O never mind, it still happens, though obviously more intermittently, >> > since I didn't notice anything odd for almost an entire day. A few more >> > things this time though: >> > >> > a. It IS intermittent, there seems to be very little pattern to this, >> > except that it seems to be more likely to happen when/if I am using the >> > internet more and actively (e.g. youtube etc rather than just let a few >> > small internet using things run). >> > >> > b. There seems to be an extra line in the error logs: >> > >> > "Aug 19 10:53:47 tahoe dhclient[79063]: ioctl(SIOCGIFFLAGS) on >> > wlan0: Operation not permitted" >> >> > On Sun, Aug 18, 2013 at 09:02:41AM -0700, Adrian Chadd wrote: >> > > good to know! >> > > >> > > >> > > >> > > >> > > -adrian >> > > >> > > >> > > On 18 August 2013 05:19, Tj Hariharan wrote: >> > > >> > > > Ok so, at the time I was using r254246. Just this afternoon, I >> realised >> > > > there were quite a few commits after that. I am now on r254444 and >> > > > everything seems to be working fine, i.e. no more wlan0 dying >> randomly. >> > > > I have no idea what is causing this, though. (the r254246 was from >> > > > installing from a download of 9.2 dvd). >> > > > On Sat, Aug 17, 2013 at 09:49:49PM -0700, Adrian Chadd wrote: >> > > > > Hi! >> > > > > >> > > > > I'm not sure what could've caused this! Not much has changed in >> the >> > > > > wireless stack and ath driver between 9.1 and 9.2. Would you be >> able to >> > > > > work through different svn versions of stable/9 between 9.1 and >> 9.2 to >> > > > > narrow down when things broke? >> > > > > >> > > > > It may be something other than the wifi driver/stack. >> > > > > >> > > > > Thanks! >> > > > > >> > > > > >> > > > > -adrian >> > > > > >> > > > > >> > > > > >> > > > > On 17 August 2013 05:12, Tj wrote: >> > > > > >> > > > > > (Sorry emailed from wrong address, re emailing) >> > > > > > >> > > > > > Hi, I just upgraded to 9.2-PRERELEASE from 9.1-RELEASE, I have >> not had >> > > > this >> > > > > > problem before with any version of freebsd however. I have an >> ATHEROS >> > > > card >> > > > > > (AR928X according to pciconf), things go fine except every few >> > > > > > minutes/hours (randomly) I get the following >> > > > > > http://bpaste.net/show/123755/ type >> > > > > > of error, and the network is no longer connected, however, >> beyond the >> > > > fact >> > > > > > that I can't even reach my router there's no obvious other >> sign, I.e >> > > > > > ifconfig still shows a valid output with ip address etc as if >> it were >> > > > still >> > > > > > connected. Restarting the netif service fixes it, until it >> happens >> > > > again - >> > > > > > which it does in a short while (though sometimes I have to >> restart >> > > > netif >> > > > > > twice). >> > > > > > >> > > > > > As I said, this happened just as I upgraded from 9.1 to 9.2. >> Anyone >> > > > have >> > > > > > any idea what's causing this? >> > > > > > >> > > > > > -Tj Hariharan >> > > > > > _______________________________________________ >> > > > > > freebsd-stable@freebsd.org mailing list >> > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> > > > > > To unsubscribe, send any mail to " >> > > > freebsd-stable-unsubscribe@freebsd.org" >> > > > > > >> > > > >> > > > -- >> > > > Tejas (Tj) Hariharan >> > > > Email: tj@archlinux.us >> > > > >> > >> >> >> Okay it's gotten MUCH worse now. netif can no longer be stopped without >> a reboot when "wlan0" craps out. (As I mentioned a restart usually fixes >> things). While trying to stop netif attempts to destroy the wlan0 >> interface, which fails - which, as it turns out is where the "ioctl: >> operation not permitted error" error comes from I think. >> -- >> Tj Hariharan >> Email: Tj@archlinux.us >> > >