From owner-freebsd-current@freebsd.org Tue Sep 18 11:54:07 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 7D8C2109BED1 for ; Tue, 18 Sep 2018 11:54:07 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EEA978CFCF for ; Tue, 18 Sep 2018 11:54:06 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x42c.google.com with SMTP id z96-v6so1769857wrb.8 for ; Tue, 18 Sep 2018 04:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JI3hz4Ycf9KzTpfNSCmZ01BTjF0A55UEOIKpzYSjy+o=; b=FmxU9t7JQkfnJ3ljiCpoNcu31++prwvS5TMpN3QxW1uSDDGWDw4YnngR1kiHvOWtbr XooeXHF3AdrtAwbGUy88cKDWEZgT5cBYow2OgE1k5yYwBUeYun3So0GaR6GyyDDT0QKf spaST0V7bfyFOlibgYYv+AX7iBHlMv5O6k6D+b9N0LsFqTh2buHSBeixBa4BixfBMNrj ZyMnwZ4Y7X51z/lm3PW49gyO+v5IZcjO98aWVh1SrJQZiH1l2FWucx637F3z3d5BuD3q CE2IfhLELthemGBi7c5rFeoe6PUAL5V4NTNvMnDecRdklwbPMUHebc/EqxUhN0u5c03Y MBLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JI3hz4Ycf9KzTpfNSCmZ01BTjF0A55UEOIKpzYSjy+o=; b=kbhZIoa7lgCToKI1YvMj4q5EjhQqugZ6ADR/PU2SMxUNDHqi6VsLjq667J6hb5jRJA wpGyDHE06r0nU1Eps7+o/JrrfZYhftGDWpsntU2hsRJyLQr9imZP9gHbpRnpkItE1r3i Nk7zqB+nWFMbtEJA9B/NQbHgqFbnkHJ9V8TeRvq6O0tynb0PhquFfx5MNMIZAdg6NWhN tyvL+cpv/GuRqdGESF0N1anFxgolWTUeK0rCawBeEkRWl9Q6qRq8eJk5sUOpiXveibOs BiM8PSRxktThM5vFOlfT1Wywx88IBP64fbC0XaDLTIC3/0DyeD3bXqo4hOAZUPL+AiFh 4Gzw== X-Gm-Message-State: APzg51ABM3JLGmi/OwOChKNIUdcFqYrMiitrIkEji9WKdDQ23RgFXkJr xbVG2M7SEl3CexWZfNoi0TmoOA0Fn9NkkdgVVkG/kzFd X-Google-Smtp-Source: ANB0Vdb9V9heEMI3UQnxhZHfwDOewgaTjP8IMAEz8+QG6ETHMogCvf5WI9p4VbO9xCgIgw7dOzPWFcFDd608qt68o/w= X-Received: by 2002:adf:fa4d:: with SMTP id y13-v6mr24026441wrr.155.1537271645564; Tue, 18 Sep 2018 04:54:05 -0700 (PDT) MIME-Version: 1.0 References: <4309D3E5-A2C2-450E-8C35-D3603E4A6080@cs.huji.ac.il> In-Reply-To: From: Johannes Lundberg Date: Tue, 18 Sep 2018 12:53:28 +0100 Message-ID: Subject: Re: usb rtwn not loaded properly at boot To: freebsd-current Cc: Warner Losh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Tue, 18 Sep 2018 11:54:07 -0000 On Tue, Sep 18, 2018 at 10:03 AM Johannes Lundberg wrote: > > > On Tue, Sep 18, 2018 at 9:43 AM Johannes Lundberg > wrote: > >> >> >> On Tue, Sep 18, 2018 at 9:39 AM Daniel Braniss >> wrote: >> >>> >>> >>> > On 18 Sep 2018, at 10:32, Johannes Lundberg >>> wrote: >>> > >>> > On Tue, Sep 18, 2018 at 9:27 AM Yuri Pankov wrote= : >>> > >>> >> Johannes Lundberg wrote: >>> >>> Hi >>> >>> >>> >>> I have (with 12-ALPHA5) >>> >>> >>> >>> /boot/loader.conf >>> >>> rtwn_load=3D"YES" >>> >>> if_urtw_usb_load=3D"YES" >>> >> >>> >> rtwn(4) thinks this should be if_rtwn_usb_load=3D"YES". >>> >> >>> > >>> > Ah yes. Sorry about that. I still suffer confusion from the rename. >>> > Still, it doesn't change anything since if_rtwn_usb was loaded anyway= . >>> > >>> > >>> >>> /etc/rc.conf >>> >>> wlans_rtwn0=3D"wlan0" >>> >>> ifconfig_wlan0=3D"WPA DHCP" >>> >>> >>> >>> but still after boot only lo0 exists and all modules are loaded. >>> >>> >>> >>> Manually running >>> >>> ifconfig wlan0 create wlandev rtwn0 >>> >>> sets up the interface correctly. >>> >>> >>> >>> In my kernel config I have >>> >>> MODULES_OVERRIDE=3D"....usb rtwn_usb rtwn ...." >>> >>> >>> >>> I'm pretty sure this has worked before... Any clues? >>> >> >>> >>> >>> devd is not calling netif! >>> try running =E2=80=99service netif start=E2=80=99 and see what happens. >>> >> >> Yep that enables wlan0! >> >> > With wlan0 up and running, unplug and re-plug the wifi adapter will creat= e > rtwn0 device but no wlan0. > Firmware was missing so I added rtwnfw to MODULES_OVERRIDE but it makes n= o > difference for this problem. > > (cc: imp) Here's devd output: https://gist.github.com/johalun/c9383ff03cb29e12c3f4978e06ca6413 Not sure how to interpret this but it looks like it fails to match rtwn0 at https://gist.github.com/johalun/c9383ff03cb29e12c3f4978e06ca6413#file-gistf= ile1-txt-L761 >>> danny >>> >>> > _______________________________________________ >>> > freebsd-current@freebsd.org mailing list >>> > https://lists.freebsd.org/mailman/listinfo/freebsd-current >>> > To unsubscribe, send any mail to " >>> freebsd-current-unsubscribe@freebsd.org" >>> >>>