From owner-freebsd-net@freebsd.org Fri Sep 21 03:47:37 2018 Return-Path: Delivered-To: freebsd-net@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 35A8110B1A46 for ; Fri, 21 Sep 2018 03:47:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 C6E828C32A for ; Fri, 21 Sep 2018 03:47:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8BE9710B1A45; Fri, 21 Sep 2018 03:47:36 +0000 (UTC) Delivered-To: net@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 6A12810B1A44 for ; Fri, 21 Sep 2018 03:47:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BE328C322 for ; Fri, 21 Sep 2018 03:47:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 390E51C8F6 for ; Fri, 21 Sep 2018 03:47:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8L3lZE3092440 for ; Fri, 21 Sep 2018 03:47:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8L3lZ36092439 for net@FreeBSD.org; Fri, 21 Sep 2018 03:47:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231441] 12.0-ALPHA6 network does not start at boot Date: Fri, 21 Sep 2018 03:47:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: yuripv@yuripv.net X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: imp@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2018 03:47:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231441 --- Comment #10 from Yuri Pankov --- Apparently, I'm being stupid, and the use case here is NOT to load driver v= ia loader.conf and rather rely on devd to load it and bring up wlan interface.= To make up for my mistake, I've taken a look at the source of problem here. Looks like devd::expand_one() treats "$(var)" as a subcommand to be passed = down to shell -- this works correctly for the items in "action", but not so good= for device matching. In any case, removing parentheses from the wifi-driver-re= gex seems to work for me loading the if_run.ko, and creating wlan0: diff --git a/sbin/devd/devd.conf b/sbin/devd/devd.conf index 956a2970d436..c9deaf5dada9 100644 --- a/sbin/devd/devd.conf +++ b/sbin/devd/devd.conf @@ -19,13 +19,13 @@ options { # Setup some shorthand for regex that we use later in the file. #XXX Yes, these are gross -- imp set scsi-controller-regex - "(aac|adv|adw|aha|ahc|ahd|aic|amr|bt|ciss|dpt|\ + "aac|adv|adw|aha|ahc|ahd|aic|amr|bt|ciss|dpt|\ esp|ida|iir|ips|isp|mlx|mly|mpr|mps|mpt|ncr|ncv|nsp|stg|sym= |\ - trm)\ + trm\ [0-9]+"; set wifi-driver-regex - "(ath|bwi|bwn|ipw|iwi|iwm|iwn|malo|mwl|ral|rsu|rtwn|rum|run= |\ - uath|upgt|ural|urtw|wi|wpi|wtap|zyd)[0-9]+"; + "ath|bwi|bwn|ipw|iwi|iwm|iwn|malo|mwl|ral|rsu|rtwn|rum|run|\ + uath|upgt|ural|urtw|wi|wpi|wtap|zyd[0-9]+"; }; # Note that the attach/detach with the highest value wins, so that one can --=20 You are receiving this mail because: You are on the CC list for the bug.=