From owner-freebsd-current@freebsd.org Wed Sep 19 00:38:21 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 8F89F10ACE85 for ; Wed, 19 Sep 2018 00:38:21 +0000 (UTC) (envelope-from doctorwhoguy@gmail.com) Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (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 02C738AB34 for ; Wed, 19 Sep 2018 00:38:21 +0000 (UTC) (envelope-from doctorwhoguy@gmail.com) Received: by mail-io1-xd42.google.com with SMTP id q5-v6so3107554iop.3 for ; Tue, 18 Sep 2018 17:38:20 -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; bh=pNCrC8MI4/TPFWJ5R35gDSNcuj6EYFFhSGLxudRYybA=; b=FJqABE3lK3hK5V66HZ9YiFL+1O4UrdSA/Ow/G0LhIg+MGJNXKe1aOUBqvkHrKRDX+B oTp7Q/o5dcRM7w2s4d8bSqkRxIZ00gzEot7SwsODsgYAV8rFjuaOC8umDcCiqI7KfCxa VlMXTfHP7IFBAHOnjPQoUkB9TrN3Z/UmVF+Dhj7kV4maFwkSHHyOYKztY7vM6qB04QaX 7aI6n6fETsmCYX0h62vogoROvBtFnEA7L6qmeEErmhIChPrGLI+PdPucrjT9gIekTWop 3n6o72ActQ0fZE4pYbd4X2Ppv6O29Y2h4rfqC8GPF2KrUQKRVqgHWmH7D+IiSs7WzNd3 6Vcw== 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; bh=pNCrC8MI4/TPFWJ5R35gDSNcuj6EYFFhSGLxudRYybA=; b=nGIbDgJ8wuCfWQcHf6oIuEt6z76NtoV0uuOczZBL4+Yn150yttumM4HuL3nit8IvRQ VYc1Eqvarwmmv/+OpzV/xiYFT1lpF0NNixwlhOOPrQoGXsxX+0K/6YsNEyDmua9ZXN7i cLDmcpK0UGLTH2d406GAsv2VewHx1dSUrsAvv4nmBPCkKinpabfiG5aNudUigI3OqFMs W+UbroU2zcS3ainzcOZIL9Ue/pgFUeZuGFQGf4oZpjWXP7K68X6344OrhBhooeiIl/VH /YXBJhQaPl9EA6waATB7oZroNjEoxIot7ifCjI3E9AVTein1v7nMgmR7NYNuHbzey4wr yZXw== X-Gm-Message-State: APzg51CtXT2KxAhz0lGgLHAuUIU5KKNRlTDUCT+wXrDMwDtd23BnycxA 5YHfs/Lauc508h1niALQK4Sbx+oUVBF2S/CK9sJZqutQ X-Google-Smtp-Source: ANB0VdYe9iPLlICzBlxp3ycww4ua8z3Uqi/SJZ6mjXMHtJj/VkcOiyJ1xq59FPSiKNfEET/1kWUObbVFV18rWF5zWn8= X-Received: by 2002:a6b:6702:: with SMTP id b2-v6mr26075242ioc.22.1537317500013; Tue, 18 Sep 2018 17:38:20 -0700 (PDT) MIME-Version: 1.0 References: <4309D3E5-A2C2-450E-8C35-D3603E4A6080@cs.huji.ac.il> In-Reply-To: From: Patrick McMunn Date: Tue, 18 Sep 2018 19:38:08 -0500 Message-ID: Subject: Re: usb rtwn not loaded properly at boot To: freebsd-current@freebsd.org 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: Wed, 19 Sep 2018 00:38:21 -0000 I filed a bug about this issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231441 I have encounter= ed it with the run USB wireless driver. I haven't tested it with ethernet. Does this issue only affect wireless devices, only certain drivers, or all network connections? On Tue, Sep 18, 2018 at 6:55 AM Johannes Lundberg wrote: > 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 happen= s. > >>> > >> > >> Yep that enables wlan0! > >> > >> > > With wlan0 up and running, unplug and re-plug the wifi adapter will > create > > rtwn0 device but no wlan0. > > Firmware was missing so I added rtwnfw to MODULES_OVERRIDE but it makes > no > > 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-gis= tfile1-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" > >>> > >>> > _______________________________________________ > 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= " > --=20 Patrick McMunn - Learn more about the Catholic Faith: http://www.catholic.com/ - Pray with the Church: http://www.universalis.com/