Re: usb rtwn not loaded properly at boot

2018-09-19 Thread Johannes Lundberg
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=231441 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 all
> 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-gistfile1-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="YES"
> > >>> >>> if_urtw_usb_load="YES"
> > >>> >>
> > >>> >> rtwn(4) thinks this should be if_rtwn_usb_load="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="wlan0"
> > >>> >>> ifconfig_wlan0="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="usb rtwn_usb rtwn "
> > >>> >>>
> > >>> >>> I'm pretty sure this has worked before... Any clues?
> > >>> >>
> > >>>
> > >>>
> > >>> devd is not calling netif!
> > >>> try running ’service netif start’ and see what happens.
> > >>>
> > >>
> > >> 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-gistfile1-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-unsubscr...@freebsd.org"
> > >>>
> > >>>
> > ___
> > freebsd-current@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "
> freebsd-current-unsubscr...@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-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Patrick McMunn
I filed a bug about this issue:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231441 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 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="YES"
> >>> >>> if_urtw_usb_load="YES"
> >>> >>
> >>> >> rtwn(4) thinks this should be if_rtwn_usb_load="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="wlan0"
> >>> >>> ifconfig_wlan0="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="usb rtwn_usb rtwn "
> >>> >>>
> >>> >>> I'm pretty sure this has worked before... Any clues?
> >>> >>
> >>>
> >>>
> >>> devd is not calling netif!
> >>> try running ’service netif start’ and see what happens.
> >>>
> >>
> >> 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-gistfile1-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-unsubscr...@freebsd.org"
> >>>
> >>>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@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-unsubscr...@freebsd.org"


Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
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="YES"
>>> >>> if_urtw_usb_load="YES"
>>> >>
>>> >> rtwn(4) thinks this should be if_rtwn_usb_load="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="wlan0"
>>> >>> ifconfig_wlan0="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="usb rtwn_usb rtwn "
>>> >>>
>>> >>> I'm pretty sure this has worked before... Any clues?
>>> >>
>>>
>>>
>>> devd is not calling netif!
>>> try running ’service netif start’ and see what happens.
>>>
>>
>> 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-gistfile1-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-unsubscr...@freebsd.org"
>>>
>>>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
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="YES"
>> >>> if_urtw_usb_load="YES"
>> >>
>> >> rtwn(4) thinks this should be if_rtwn_usb_load="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="wlan0"
>> >>> ifconfig_wlan0="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="usb rtwn_usb rtwn "
>> >>>
>> >>> I'm pretty sure this has worked before... Any clues?
>> >>
>>
>>
>> devd is not calling netif!
>> try running ’service netif start’ and see what happens.
>>
>
> 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.


>> danny
>>
>> > ___
>> > freebsd-current@freebsd.org mailing list
>> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> > To unsubscribe, send any mail to "
>> freebsd-current-unsubscr...@freebsd.org"
>>
>>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
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="YES"
> >>> if_urtw_usb_load="YES"
> >>
> >> rtwn(4) thinks this should be if_rtwn_usb_load="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="wlan0"
> >>> ifconfig_wlan0="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="usb rtwn_usb rtwn "
> >>>
> >>> I'm pretty sure this has worked before... Any clues?
> >>
>
>
> devd is not calling netif!
> try running ’service netif start’ and see what happens.
>

Yep that enables wlan0!


> danny
>
> > ___
> > freebsd-current@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "
> freebsd-current-unsubscr...@freebsd.org"
>
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Yuri Pankov

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="YES"
if_urtw_usb_load="YES"


rtwn(4) thinks this should be if_rtwn_usb_load="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.


OK, just making sure.

My guess based on experience with iwm where I need to specify both 
if_iwm_load="YES" *and* iwm8265fw_load="YES" would be explicitly loading 
the firmware you need from loader.conf.



/etc/rc.conf
wlans_rtwn0="wlan0"
ifconfig_wlan0="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="usb rtwn_usb rtwn "

I'm pretty sure this has worked before... Any clues?


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Daniel Braniss


> 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="YES"
>>> if_urtw_usb_load="YES"
>> 
>> rtwn(4) thinks this should be if_rtwn_usb_load="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="wlan0"
>>> ifconfig_wlan0="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="usb rtwn_usb rtwn "
>>> 
>>> I'm pretty sure this has worked before... Any clues?
>> 


devd is not calling netif!
try running ’service netif start’ and see what happens.

danny

> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
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="YES"
> > if_urtw_usb_load="YES"
>
> rtwn(4) thinks this should be if_rtwn_usb_load="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="wlan0"
> > ifconfig_wlan0="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="usb rtwn_usb rtwn "
> >
> > I'm pretty sure this has worked before... Any clues?
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Yuri Pankov

Johannes Lundberg wrote:

Hi

I have (with 12-ALPHA5)

/boot/loader.conf
rtwn_load="YES"
if_urtw_usb_load="YES"


rtwn(4) thinks this should be if_rtwn_usb_load="YES".


/etc/rc.conf
wlans_rtwn0="wlan0"
ifconfig_wlan0="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="usb rtwn_usb rtwn "

I'm pretty sure this has worked before... Any clues?

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
Hi

I have (with 12-ALPHA5)

/boot/loader.conf
rtwn_load="YES"
if_urtw_usb_load="YES"

/etc/rc.conf
wlans_rtwn0="wlan0"
ifconfig_wlan0="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="usb rtwn_usb rtwn "

I'm pretty sure this has worked before... Any clues?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"