Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 12:53:28 +0100
From:      Johannes Lundberg <johalun0@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>
Subject:   Re: usb rtwn not loaded properly at boot
Message-ID:  <CAECmPwu7Sjs1Uqw%2B=TzROBbPPx1zc4erzhSSMijw0un-BrdhBw@mail.gmail.com>
In-Reply-To: <CAECmPwvjPw669EbGsR6tYe6Vy56-3yacw4pe%2Bvkv65qVttkMRA@mail.gmail.com>
References:  <CAECmPws3ctfyU8Pbt9p1kQ63cBN=-=5S11quVcCoZC3jdH0wGw@mail.gmail.com> <e5560e98-5895-0ae4-8239-c9178ea9982b@yuripv.net> <CAECmPwuCEuyzykKMv9_Y=YDv9wpizHdURnXAqsDGJfQrasK2Wg@mail.gmail.com> <4309D3E5-A2C2-450E-8C35-D3603E4A6080@cs.huji.ac.il> <CAECmPwuyOPJ6VUo-5q1zrpZ4aZVmb8emShbXuwj=DfPEMbdqMw@mail.gmail.com> <CAECmPwvjPw669EbGsR6tYe6Vy56-3yacw4pe%2Bvkv65qVttkMRA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 18, 2018 at 10:03 AM Johannes Lundberg <johalun0@gmail.com>
wrote:

>
>
> On Tue, Sep 18, 2018 at 9:43 AM Johannes Lundberg <johalun0@gmail.com>
> wrote:
>
>>
>>
>> On Tue, Sep 18, 2018 at 9:39 AM Daniel Braniss <danny@cs.huji.ac.il>
>> wrote:
>>
>>>
>>>
>>> > On 18 Sep 2018, at 10:32, Johannes Lundberg <johalun0@gmail.com>
>>> wrote:
>>> >
>>> > On Tue, Sep 18, 2018 at 9:27 AM Yuri Pankov <yuripv@yuripv.net> 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"
>>>
>>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwu7Sjs1Uqw%2B=TzROBbPPx1zc4erzhSSMijw0un-BrdhBw>