From owner-freebsd-current@freebsd.org Wed Jul 4 14:27:18 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 49703103BFDA for ; Wed, 4 Jul 2018 14:27:18 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) 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 D804F7F14A for ; Wed, 4 Jul 2018 14:27:17 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: by mailman.ysv.freebsd.org (Postfix) id 98041103BFD4; Wed, 4 Jul 2018 14:27:17 +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 866F2103BFD3 for ; Wed, 4 Jul 2018 14:27:17 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CEF6A7F145; Wed, 4 Jul 2018 14:27:16 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w64ERFux043254; Wed, 4 Jul 2018 07:27:15 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w64ERDHh043253; Wed, 4 Jul 2018 07:27:13 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201807041427.w64ERDHh043253@pdx.rh.CN85.dnsmgr.net> Subject: Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more In-Reply-To: <4ec7b3bc-ab63-ae8d-bc21-4b01d9053c8e@rawbw.com> To: Yuri Date: Wed, 4 Jul 2018 07:27:13 -0700 (PDT) CC: Sean Bruno , lev@freebsd.org, current X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 14:27:18 -0000 [ Charset UTF-8 unsupported, converting... ] > On 07/03/18 18:13, Rodney W. Grimes wrote: > > Do you get the same failure condition if you use the > > wpa_supplicant from the base system? > > > Same failure with the base wpa_supplicant. > > Creating wlan0 by hand helps, but this should happen automatically. > restarting devd service also helps. > > > I think wlan0 creation happens before wpa_supplicant due to the > instruction 'wlans_run0="wlan0"'. > > Something changed in /etc/network.subr or /etc/rc.d/netif or in devd or > its configuration. Devd/devmatch is one of the largest changes recently, it could be something in that code path. Do you get the if_run.ko module loaded? What does kldstat show immediately after boot and before you try to "fix" anything with ifconfig. > It definitely did create the run0 interface before, and now it doesn't. I wonder if the kernel module is no longer loading... -- Rod Grimes rgrimes@freebsd.org