From owner-freebsd-net@freebsd.org Wed Aug 24 23:04:51 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62635BC5B57 for ; Wed, 24 Aug 2016 23:04:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3BDBA145A for ; Wed, 24 Aug 2016 23:04:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 37A74BC5B56; Wed, 24 Aug 2016 23:04:51 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37498BC5B55 for ; Wed, 24 Aug 2016 23:04:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFB6D1459; Wed, 24 Aug 2016 23:04:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id e63so240216306ith.1; Wed, 24 Aug 2016 16:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Yg4GRSMsxDuaRspSRKE4yVASROkxinjKFvin5STo+Is=; b=wRLMDSGiYhPDk9YeAPjv2ab0WUxPKfS2hfScn59w3cCy+l/R6zm+PauestBA8//NsZ hXut9zso89Uys3a29p7citO+NPdXUk38oGs5I07K3PDKNMimUJdIaUu00e8o659ldfVk TDuoCUQXJOT22jP21mjhs178IVXUUKzN+3/JKsKZ9yRhYjjxEjRio9YyGZOY3i9pzrUR lYi4SY8kt5Sqr2a7qkrXIF5I8Uw99ZN6b+J22VdDpJpfvRCTV7cucbnyXSKIhuU9Z1ma TJ9sasiJyR41UHHazd5NF8hjTM3qlYHjjemSv2Ke76N5+VoDupmNmC8OKi59JAK4MwI4 zOBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Yg4GRSMsxDuaRspSRKE4yVASROkxinjKFvin5STo+Is=; b=Qe/vGIYCULkrFyTUgvAZ5z5IHF6sK8SQo3jRQwy/kXCK7ybHoNiEdTdSoPYne1HsB7 x2JrXJ4DextkGsU4cbhYfvOFLerMEE9ddaUTVVkFBYNkDaD0TcBWkrievegDl4CZ25R5 UczLdR54qruAmGH6Wrf8l/vIG/MI6zwztQFhajL+74FXeSxKRS3RPi3c3WV2Sohqf+rc hY7wwwZsz8OdWXestZ4GL1rSufahAEdextnyDR1MTpEn6EBTYHQ3aCdNugmxd9og9xG3 rQqMTH0RZ+pWrS7hP6xNp1/qrrVRVnWgQi99zA3KnJy1yJ1fD0dsOG1sJIitkhhPZYxZ bMUw== X-Gm-Message-State: AEkoouvvpwvLQbylJtn15hQoe098mWGSAFl1LRLIGWrcjGrdYXavoaRSXvIK0S+KiimOHfGoGqZg7Ha5rmwQ4g== X-Received: by 10.36.239.197 with SMTP id i188mr1449496ith.71.1472079889925; Wed, 24 Aug 2016 16:04:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Wed, 24 Aug 2016 16:04:48 -0700 (PDT) In-Reply-To: References: <20160824190352.GK19112@FreeBSD.org> <20160824194557.GM19112@FreeBSD.org> From: Adrian Chadd Date: Wed, 24 Aug 2016 16:04:48 -0700 Message-ID: Subject: Re: iwn(4) association issues in 11-Stable (and maybe RC) To: Kevin Oberman Cc: Glen Barber , FreeBSD Net , Andriy Voskoboinyk , =?UTF-8?Q?Vin=C3=ADcius_Zavam?= Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 23:04:51 -0000 IWN_DEBUG worked, it's 'dev.iwn.0.debug', not 'debug.iwn.0.debug'. My bad. Make sure you build the module by doing 'buildkernel', not 'cd sys/modules/iwn && make', as (because reasons I want to grr) we don't enforce that people put in a path to their kernel config .h directory, so it defaults to "some arbitrary options". -a On 24 August 2016 at 15:42, Kevin Oberman wrote: > On Wed, Aug 24, 2016 at 12:45 PM, Glen Barber wrote: >> >> On Wed, Aug 24, 2016 at 12:20:57PM -0700, Kevin Oberman wrote: >> > >> > On Wed, Aug 24, 2016 at 12:03 PM, Glen Barber wrote: >> > >> > > On Wed, Aug 24, 2016 at 11:55:13AM -0700, Kevin Oberman wrote: >> > > > Not working right. I do see 802.11 messages but nothing from iwn. >> > > > Rebuilt with: >> > > > options IEEE80211_DEBUG >> > > > options IWN_DEBUG >> > > > >> > > > [...] >> > > > >> > > > Any idea what is going on? >> > > >> > > Your original email mentions 11.0-BETA4. Are you still running >> > > stable/11? If so, could you please update to r304715? If running >> > > releng/11.0, the matching commit is r304719. >> > > >> > >> > Since my initial post I have updated to r304734 (running 11-STABLE). I >> > did >> > that before rebuilding my kernel with the DEBUG options as it was >> > already >> > three weeks old. So this does not seem to have fixed the issue. >> >> Dumb question, but with reason. >> >> Does ifconfig(8) actually show wlan0 'UP'? >> >> I'm asking this because I'm seeing something strange locally on one >> machine. >> >> Glen > > > I have stopped and started the network repeatedly using both my home router > and my hot-spot and I can't get it to fail. It associates the first time > every time. I'm about ready to chalk up my one failure with the new kernel > as a fluke. I'll continue testing later today, but this one may be resolved. > > I'll also rebuild my kernel without the debug options just in case the > slight timing change had some impact on this. > > Thanks to both Glen and Adrian for helping me look into this. Still have no > idea why IWN_DEBUG didn't seem to work. > -- > R. Kevin Oberman, Network Engineer > E-mail: kob6558@gmail.com