From owner-freebsd-current@freebsd.org Wed Sep 19 08:35:50 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 CDBDB1093CC9 for ; Wed, 19 Sep 2018 08:35:49 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 3662F77670 for ; Wed, 19 Sep 2018 08:35:49 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wm1-x32a.google.com with SMTP id f21-v6so5274938wmc.5 for ; Wed, 19 Sep 2018 01:35:49 -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=ZOt3xJl61ClqLvZQF5qLFp7taZTTYLVxn1Q6ohj95zg=; b=m/wy6fCnCNmszJbdaL5zL5NwTqz2719Tvyp6x6MLcKucHGV3F9Aaaj22HpHAyTf0q/ Ao6/LpIjJOp0KOcyK+mH7AX4L2EG60w4nb3JYBRoEfzbmUi+n4x8+BAwFyeb1WtxJW50 ddiy2RDdV4ZZpmKklDwUlvHobBo1mL9PfNMZN9E3d+gV9EscuDun0KbtI2cnXC1lqO4Y bF7HdPJy0IuA2Sxi3iEEPKmFrM4Wdkv4PXlLJoYardQjRIxwGZFgXzom29QOgBH8NEtC YWcjnSiLz30WLsnNP89dOdswwba9oxfsZE2CrJmtONudWrmU714swP0/waarIPInyrsu 7KuA== 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=ZOt3xJl61ClqLvZQF5qLFp7taZTTYLVxn1Q6ohj95zg=; b=XTlOUUedd4NB3nt6yD7JHf+2Gv2gMLsXxi6gg90prUvS91RPBw1HzgIIiPXeCOtyM2 lEsH6Ucp40xXsjkba2YMyPmUZ7zzFeGLVSmFh2GoraeY0+OX9jhsJ/LlVZMROXso1Bzf stHWUNqm+j8Y5HFy06JKE+CPubigvd/EEZE+Iw8U/nKBQk4jWzHFaS2df/gQyiqkigqF i/2570i44yj7zcBovxaYhimnokhT2X1rm8eiQohXPDf0JqSWpF90gWqs8TRgob07/bTW 8XQvgbfIqQ4TD1vyrGn4s6/XAh7/9Gp3qnYRJwtxawI6tbXdFRdz2C6/suxMned5ByWO WSMA== X-Gm-Message-State: APzg51AxQ+V+51y2Td/N3MkmwxQ3ai98RmCor/B913omUJMzg3TERrQO /lRLMYHvXuH0oJ5so1fkhbVnTSmfG1F1R8SLjLQ= X-Google-Smtp-Source: ANB0VdZEJSwqGL92csc+c7Ia1ep+2XgsZP/lStpHW8eHdhk6CHUfzJ1CabehGChr1c+9zEJS5RW8BUzpqiA3EUtY+X0= X-Received: by 2002:a1c:780c:: with SMTP id t12-v6mr18501362wmc.133.1537346147813; Wed, 19 Sep 2018 01:35:47 -0700 (PDT) MIME-Version: 1.0 References: <4309D3E5-A2C2-450E-8C35-D3603E4A6080@cs.huji.ac.il> In-Reply-To: From: Johannes Lundberg Date: Wed, 19 Sep 2018 09:35:09 +0100 Message-ID: Subject: Re: usb rtwn not loaded properly at boot To: doctorwhoguy@gmail.com Cc: freebsd-current 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 08:35:50 -0000 On Wed, Sep 19, 2018 at 1:40 AM Patrick McMunn wrote: > I filed a bug about this issue: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231441 I have > encountered > 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 al= l > network connections? > It looks like the regexps are messed up. In this case none of those wifi and scsi driver would do what's intended. https://gist.github.com/johalun/c9383ff03cb29e12c3f4978e06ca6413#file-gistf= ile1-txt-L761-L762 > > 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 renam= e. > > >>> > 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 happ= ens. > > >>> > > >> > > >> 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 mak= es > > 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 rtwn= 0 > 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" > > > > > -- > Patrick McMunn > > - Learn more about the Catholic Faith: http://www.catholic.com/ > - Pray with the Church: http://www.universalis.com/ > _______________________________________________ > 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= " >