From owner-freebsd-current@freebsd.org Wed Jul 4 19:22:31 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E965C10323A8 for ; Wed, 4 Jul 2018 19:22:30 +0000 (UTC) (envelope-from kob6558@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 7B9EB8F056 for ; Wed, 4 Jul 2018 19:22:30 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3D01D103239F; Wed, 4 Jul 2018 19:22:30 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 159E7103239E for ; Wed, 4 Jul 2018 19:22:30 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (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 9B3D88F051; Wed, 4 Jul 2018 19:22:29 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-vk0-x229.google.com with SMTP id d74-v6so3605344vke.10; Wed, 04 Jul 2018 12:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=w2BBhQPXwgNWKYxhlKOpclHUSbyDPU2dsI6AXkIiQ9A=; b=MMDtnvi5u9AaMh5a8RxfWuPGjiXQYOU23MekL9Vx3GNp3DqZxqVfVEY7Rja3z0aTgr tBHGkUmJOwGXxSmUdDiQwhR8vxZuL4t9JA8Hh1OMgmQbN9KvvX4xXzALbJfeakA3A8k6 r7uho1iz+NvjWLZaDdwNq2aD0y9eBnsGVFaoRRkAH2ygatrl1/N/lsDHoe1STcZTpuuS IdiZW86K89IE0UEyn+IO/H+SXUo00uu44J1xg3O7VAHFjOgMSKpiag63Xpyp95fdoosi RhFCgu3FDuyVgdMGJgMSnhSKUbioETcpueF4TRdSzz7MMzCNMUI4XghNEzCUxfm1gqr4 QJ0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=w2BBhQPXwgNWKYxhlKOpclHUSbyDPU2dsI6AXkIiQ9A=; b=WyYre3f0xeN2HiwSX1Io31NrsJNXe8WJg1Mi9zAkM1WWNKeb2YrettMRBRQhP3h8cl hG0Blml4+lKqbm2fbSvR9M8lximS2XIe3/5Ilg6eqvhQYW2QS+IN9FGr/cKz0p0ZQXFG dsfa8k0Ozx5ULcEeHwBBEC8cKtA0bhIqW4wLLYITGeI4k2CndbjT0/0DWpmxALle24Z7 eTIJJZoLHZtLKdv+rv9/CGj/ItMb3v4ObZTsIdqioB0jtdh1HpO0X2Js2TMy0ZRLoKTG PwQ8wEPh7g7EEPU6Nr/4OfzgaQO+8APs9hyr01Oiz8iPxo8nLwvJLuv2i41g1zC2me6Q kSnQ== X-Gm-Message-State: APt69E16kLE3VfVCEbvugUnQwjV/5JTAyD6z8u5JeqHcfLccfum8RAc8 p3fB2br9RBpCbqecqwSibcQQfcBeoQ/LMnFgWkQ= X-Google-Smtp-Source: AAOMgpezwcKNCS9TRIawt6Fibo3HQaCKBEcdgk8871Az09tO14g1J2zcOLM3fG9GlQCP81qXk1vVwaMvtsMdEo2IpE4= X-Received: by 2002:a1f:8093:: with SMTP id b141-v6mr1708955vkd.45.1530732148928; Wed, 04 Jul 2018 12:22:28 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 2002:a67:8f07:0:0:0:0:0 with HTTP; Wed, 4 Jul 2018 12:22:28 -0700 (PDT) In-Reply-To: <14f86d91-1550-ba3e-a71d-36364155593e@rawbw.com> References: <201807041900.w64J0QeZ044339@pdx.rh.CN85.dnsmgr.net> <14f86d91-1550-ba3e-a71d-36364155593e@rawbw.com> From: Kevin Oberman Date: Wed, 4 Jul 2018 12:22:28 -0700 X-Google-Sender-Auth: 8vKn6aL3fOeozRGjGLQCK8iVN8s Message-ID: Subject: Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more To: Yuri Cc: "Rodney W. Grimes" , Sean Bruno , Lev Serebryakov , current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2018 19:22:31 -0000 On Wed, Jul 4, 2018 at 12:06 PM, Yuri wrote: > On 07/04/18 12:00, Rodney W. Grimes wrote: > >> Just for fun to see if this can clear up your issue add >> if_run_load="YES" >> to /boot/loader.conf >> > > > This doesn't help. In the presence of preloaded if_run.ko wpa_supplicant > still can't initialize wlan0. > > > Yuri This is a shot in the dark, but I have a possibly similar issue with my Intel 6205 (iwn) card. It appears that thee is a race involving the timing of the iwn (wlan0) coming up and the start of the wpa_supplicant. I see the interface start, and aesociate but immediately go down. dhclient starts, but fails. If I kill the interface (service netif stop wlan0) and manually start it (ifconfig wlan0 up), it comes up fine. I can then start the wpa_supplicant and dhclient to get it working. From this point, it remains stable. If I just let it bounce up and down, it usually will eventually come up, but it can take some time and, on occasion it simply fails to some up unless I intervene. wlans_iwn0="wlan0" ifconfig_wlan0="WPA SYNCDHCP" -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683