Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-13 Thread Pete Wright
On 07/12/2018 21:15, Yuri wrote: On 07/12/18 13:38, Pete Wright wrote: sorry if i missed something (don't see details in the bug report) - is the issue that the run(4) kernel module is not being loaded? is there an error when the system attempts to load the kernel module in the dmesg

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-13 Thread Yuri Pankov
Yuri Pankov wrote: Yuri wrote: On 07/03/18 12:45, Yuri wrote: I updated the laptop to r335884 last night, and 'service wpa_supplicant start wlan0' doesn't succeed any more. kernel is supposed to create the network interface 'run0', but it doesn't. This is the immediate reason why

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-13 Thread Yuri Pankov
Yuri wrote: On 07/03/18 12:45, Yuri wrote: I updated the laptop to r335884 last night, and 'service wpa_supplicant start wlan0' doesn't succeed any more. kernel is supposed to create the network interface 'run0', but it doesn't. This is the immediate reason why wpa_supplicant fails. The

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-12 Thread Yuri
On 07/12/18 13:38, Pete Wright wrote: sorry if i missed something (don't see details in the bug report) - is the issue that the run(4) kernel module is not being loaded? is there an error when the system attempts to load the kernel module in the dmesg buffer?  if it is not being loaded

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-12 Thread Pete Wright
On 07/12/2018 12:25, Yuri wrote: On 07/03/18 12:45, Yuri wrote: I updated the laptop to r335884 last night, and 'service wpa_supplicant start wlan0' doesn't succeed any more. kernel is supposed to create the network interface 'run0', but it doesn't. This is the immediate reason why

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-12 Thread Yuri
On 07/03/18 12:45, Yuri wrote: I updated the laptop to r335884 last night, and 'service wpa_supplicant start wlan0' doesn't succeed any more. kernel is supposed to create the network interface 'run0', but it doesn't. This is the immediate reason why wpa_supplicant fails. The non-creation of

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-04 Thread Kevin Oberman
On Wed, Jul 4, 2018 at 12:17 PM, Warner Losh wrote: > > > On Wed, Jul 4, 2018, 2:13 PM Kevin Oberman wrote: > >> On Wed, Jul 4, 2018 at 11:49 AM, Yuri wrote: >> >> > On 07/04/18 07:27, Rodney W. Grimes wrote: >> > >> >> Devd/devmatch is one of the largest changes recently, >> >> it could be

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-04 Thread Kevin Oberman
On Wed, Jul 4, 2018 at 12:06 PM, Yuri wrote: > On 07/04/18 12:00, Rodney W. Grimes wrote: > >> Just for fun to see if this can clear up your issue add >> if_run_load="YES" >> to /boot/loader.conf >> > > > This doesn't help. In the presence of preloaded if_run.ko wpa_supplicant > still

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-04 Thread Warner Losh
On Wed, Jul 4, 2018, 2:13 PM Kevin Oberman wrote: > On Wed, Jul 4, 2018 at 11:49 AM, Yuri wrote: > > > On 07/04/18 07:27, Rodney W. Grimes wrote: > > > >> Devd/devmatch is one of the largest changes recently, > >> it could be something in that code path. > >> > >> Do you get the if_run.ko

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-04 Thread Kevin Oberman
On Wed, Jul 4, 2018 at 11:49 AM, Yuri wrote: > On 07/04/18 07:27, Rodney W. Grimes wrote: > >> Devd/devmatch is one of the largest changes recently, >> it could be something in that code path. >> >> Do you get the if_run.ko module loaded? What does kldstat show >> immediately after boot and

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-04 Thread Yuri
On 07/04/18 12:00, Rodney W. Grimes wrote: Just for fun to see if this can clear up your issue add if_run_load="YES" to /boot/loader.conf This doesn't help. In the presence of preloaded if_run.ko wpa_supplicant still can't initialize wlan0. Yuri

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-04 Thread Rodney W. Grimes
> On 07/04/18 07:27, Rodney W. Grimes wrote: > > Devd/devmatch is one of the largest changes recently, > > it could be something in that code path. > > > > Do you get the if_run.ko module loaded? What does kldstat show > > immediately after boot and before you try to "fix" anything with > >

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-04 Thread Yuri
On 07/04/18 07:27, Rodney W. Grimes wrote: Devd/devmatch is one of the largest changes recently, it could be something in that code path. Do you get the if_run.ko module loaded? What does kldstat show immediately after boot and before you try to "fix" anything with ifconfig. It definitely

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-04 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On 07/03/18 18:13, Rodney W. Grimes wrote: > > Do you get the same failure condition if you use the > > wpa_supplicant from the base system? > > > Same failure with the base wpa_supplicant. > > Creating wlan0 by hand helps, but this should happen

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-04 Thread Yuri
On 07/03/18 18:13, Rodney W. Grimes wrote: Do you get the same failure condition if you use the wpa_supplicant from the base system? Same failure with the base wpa_supplicant. Creating wlan0 by hand helps, but this should happen automatically. restarting devd service also helps. I think

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-03 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On 07/03/18 15:29, Rodney W. Grimes wrote: > >>> wpa_supplicant_program="/usr/local/sbin/wpa_supplicant" > > ^^ > > > > What wpa_supplicant is this? > > The normal system one lives in /sbin. > > It's installed by

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-03 Thread Yuri
On 07/03/18 15:29, Rodney W. Grimes wrote: wpa_supplicant_program="/usr/local/sbin/wpa_supplicant" ^^ What wpa_supplicant is this? The normal system one lives in /sbin. It's installed by the package wpa_supplicant-2.6_2 from security/wpa_supplicant. It

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-03 Thread Rodney W. Grimes
> On 07/03/18 14:32, Yuri wrote: > > > > > > rc.conf has: > > > > wlans_iwn0="wlan0" > > > > ifconfig_wlan0="WPA DHCP" > > > > wpa_supplicant_enable="YES" > > > > wpa_supplicant_program="/usr/local/sbin/wpa_supplicant" ^^ What wpa_supplicant is this? The normal

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-03 Thread Yuri
On 07/03/18 14:32, Yuri wrote: rc.conf has: wlans_iwn0="wlan0" ifconfig_wlan0="WPA DHCP" wpa_supplicant_enable="YES" wpa_supplicant_program="/usr/local/sbin/wpa_supplicant" This got mixed up. rc.conf has: wlans_run0="wlan0" ifconfig_wlan0="WPA SYNCDHCP" wpa_supplicant_enable="YES"

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-03 Thread Yuri
On 07/03/18 13:54, Sean Bruno wrote: Yuri: If you're still having trouble, dump your rc.conf entries for your wireless. Mine looks like this at the moment with iwn(4): wlans_iwn0="wlan0" ifconfig_wlan0="WPA DHCP" seam Thank you, Sean! rc.conf has: wlans_iwn0="wlan0"

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-03 Thread Sean Bruno
On 07/03/18 13:53, Yuri wrote: > On 07/03/18 12:50, Lev Serebryakov wrote: >>   No, it isn't. >> >>   >> https://lists.freebsd.org/pipermail/freebsd-wireless/2016-October/007232.html >> >> >>   I don't know, why is it not mentioned in UPDATING:-( > > > I may be mistaken about the interface

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-03 Thread Yuri
On 07/03/18 12:50, Lev Serebryakov wrote: No, it isn't. https://lists.freebsd.org/pipermail/freebsd-wireless/2016-October/007232.html I don't know, why is it not mentioned in UPDATING:-( I may be mistaken about the interface creation. But regardless of the cause, WiFi doesn't work

Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-03 Thread Lev Serebryakov
On 03.07.2018 22:45, Yuri wrote: > I updated the laptop to r335884 last night, and 'service wpa_supplicant > start wlan0' doesn't succeed any more. > > kernel is supposed to create the network interface 'run0', but it > doesn't. This is the immediate reason why wpa_supplicant fails. > > The

[regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

2018-07-03 Thread Yuri
I updated the laptop to r335884 last night, and 'service wpa_supplicant start wlan0' doesn't succeed any more. kernel is supposed to create the network interface 'run0', but it doesn't. This is the immediate reason why wpa_supplicant fails. The non-creation of 'run0' is a regression. I don't