Re: r287197: wlan interfaces aren't brought up at boot or u

2015-09-01 Thread Gleb Smirnoff
  Idwer,

  can you please subscribe to this bug?

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202784

And getting involved with debugging is much appreciated.

-- 
Totus tuus, Glebius.
___
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: r287197: wlan interfaces aren't brought up at boot or u

2015-08-29 Thread Oleg V. Nauman
On Saturday 29 August 2015 15:53:31 Gleb Smirnoff wrote:
> On Sat, Aug 29, 2015 at 12:56:39PM +0300, Oleg V. Nauman wrote:
> O> On Saturday 29 August 2015 11:02:02 Gleb Smirnoff wrote:
> O> > On Sat, Aug 29, 2015 at 01:19:40AM +0200, Idwer Vollering wrote:
> O> > I> Manually running 'service netif restart' works around this.
> O> > I>
> O> > I> /etc/network.subr and /etc/rc.d/netif have been updated by
> mergemaster O> > I> -p and mergemaster -iF
> O> > I>
> O> > I> I can provide the, rather lengthy, output of 'sh -x /etc/rc.d/netif
> O> > I> restart' when required.
> O> > I>
> O> > I> Note that I'm not subscribed to freebsd-current.
> O> >
> O> > Yes, please provide 'sh -x /etc/rc.d/netif restart'.
> O> >
> O> > And please also check the revisions of your files:
> O> >
> O> > # ident /etc/rc.d/netif /etc/network.subr
> O>
> O>  I have faced the same issue today. wlan interface is not  brought up at
> boot, O> sh -x /etc/rc.d/netif restart does the trick.
> 
> Have you got any error or strange messages during boot?

 No

Aug 29 17:38:32 asus kernel: Trying to mount root from ufs:/dev/ada0s1a 
[rw]...
Aug 29 17:38:32 asus kernel: re0: link state changed to DOWN
Aug 29 17:38:32 asus kernel: run0:  on usbus0
Aug 29 17:38:32 asus kernel: run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 
(MIMO 1T1R), address 00:26:5a:0a:cb:fa
Aug 29 17:38:34 asus kernel: re0: link state changed to UP
Aug 29 17:38:36 asus kernel: font8x16
Aug 29 17:38:37 asus kernel: blanktime allscreens.

sh /etc/rc.d/netif restart issued

Aug 29 17:40:26 asus kernel: ifa_del_loopback_route: deletion failed: 3
Aug 29 17:40:27 asus kernel: wlan1: Ethernet address: 00:26:5a:0a:cb:fa
Aug 29 17:40:27 asus kernel: re0: link state changed to DOWN
Aug 29 17:40:28 asus kernel: run0: firmware RT2870 ver. 0.33 loaded
Aug 29 17:40:30 asus kernel: re0: link state changed to UP
Aug 29 17:40:32 asus kernel: wlan1: link state changed to UP


> 
> What does net.wlan.devices sysctl say?

# sysctl net.wlan.devices
net.wlan.devices: run0
# sh /etc/rc.d/netif restart >/dev/null
wlan1: no link ... got link
DHCPREQUEST on wlan1 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.102 -- renewal in 3600 seconds.
# sysctl net.wlan.devices
net.wlan.devices: run0

 
 
___
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: r287197: wlan interfaces aren't brought up at boot or u

2015-08-29 Thread Idwer Vollering
2015-08-29 14:53 GMT+02:00 Gleb Smirnoff :
> On Sat, Aug 29, 2015 at 12:56:39PM +0300, Oleg V. Nauman wrote:
> O> On Saturday 29 August 2015 11:02:02 Gleb Smirnoff wrote:
> O> > On Sat, Aug 29, 2015 at 01:19:40AM +0200, Idwer Vollering wrote:
> O> > I> Manually running 'service netif restart' works around this.
> O> > I>
> O> > I> /etc/network.subr and /etc/rc.d/netif have been updated by mergemaster
> O> > I> -p and mergemaster -iF
> O> > I>
> O> > I> I can provide the, rather lengthy, output of 'sh -x /etc/rc.d/netif
> O> > I> restart' when required.
> O> > I>
> O> > I> Note that I'm not subscribed to freebsd-current.
> O> >
> O> > Yes, please provide 'sh -x /etc/rc.d/netif restart'.
> O> >
> O> > And please also check the revisions of your files:
> O> >
> O> > # ident /etc/rc.d/netif /etc/network.subr
> O>
> O>  I have faced the same issue today. wlan interface is not  brought up at 
> boot,
> O> sh -x /etc/rc.d/netif restart does the trick.
>
> Have you got any error or strange messages during boot?

Look for SIOCIFCREATE2:

# service netif restart
Stopping Network: lo0 re0.
lo0: flags=8048 metric 0 mtu 16384
options=63
nd6 options=21
groups: lo
re0: flags=8802 metric 0 mtu 1500

options=8209b
ether 
nd6 options=29
media: Ethernet autoselect (none)
status: no carrier
ifconfig: SIOCIFCREATE2: Device not configured
wlandebug: sysctl-get(net.wlan.1.debug): No such file or directory
ifconfig: SIOCIFCREATE2: File exists
Starting Network: lo0 re0.
lo0: flags=8049 metric 0 mtu 16384
options=63
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00
nd6 options=21
groups: lo
re0: flags=8802 metric 0 mtu 1500

options=8209b
ether 
nd6 options=29
media: Ethernet autoselect (none)
status: no carrier

>
> What does net.wlan.devices sysctl say?
>
> --
> Totus tuus, Glebius.
> ___
> freebsd-wirel...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-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: r287197: wlan interfaces aren't brought up at boot or u

2015-08-29 Thread Idwer Vollering
2015-08-29 14:53 GMT+02:00 Gleb Smirnoff :
> On Sat, Aug 29, 2015 at 12:56:39PM +0300, Oleg V. Nauman wrote:
> O> On Saturday 29 August 2015 11:02:02 Gleb Smirnoff wrote:
> O> > On Sat, Aug 29, 2015 at 01:19:40AM +0200, Idwer Vollering wrote:
> O> > I> Manually running 'service netif restart' works around this.
> O> > I>
> O> > I> /etc/network.subr and /etc/rc.d/netif have been updated by mergemaster
> O> > I> -p and mergemaster -iF
> O> > I>
> O> > I> I can provide the, rather lengthy, output of 'sh -x /etc/rc.d/netif
> O> > I> restart' when required.
> O> > I>
> O> > I> Note that I'm not subscribed to freebsd-current.
> O> >
> O> > Yes, please provide 'sh -x /etc/rc.d/netif restart'.
> O> >
> O> > And please also check the revisions of your files:
> O> >
> O> > # ident /etc/rc.d/netif /etc/network.subr
> O>
> O>  I have faced the same issue today. wlan interface is not  brought up at 
> boot,
> O> sh -x /etc/rc.d/netif restart does the trick.
>
> Have you got any error or strange messages during boot?
>
> What does net.wlan.devices sysctl say?

run0

However, 'ifconfig -a' only shows re0 and lo0

>
> --
> Totus tuus, Glebius.
> ___
> freebsd-wirel...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-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: r287197: wlan interfaces aren't brought up at boot or u

2015-08-29 Thread Idwer Vollering
2015-08-29 10:02 GMT+02:00 Gleb Smirnoff :
> On Sat, Aug 29, 2015 at 01:19:40AM +0200, Idwer Vollering wrote:
> I> Manually running 'service netif restart' works around this.
> I>
> I> /etc/network.subr and /etc/rc.d/netif have been updated by mergemaster
> I> -p and mergemaster -iF
> I>
> I> I can provide the, rather lengthy, output of 'sh -x /etc/rc.d/netif
> I> restart' when required.
> I>
> I> Note that I'm not subscribed to freebsd-current.
>
> Yes, please provide 'sh -x /etc/rc.d/netif restart'.

Attaching its output.

>
> And please also check the revisions of your files:
>
> # ident /etc/rc.d/netif /etc/network.subr

# ident /etc/rc.d/netif /etc/network.subr
/etc/rc.d/netif:
 $FreeBSD: head/etc/rc.d/netif 287197 2015-08-27 08:56:39Z glebius $
/etc/network.subr:
 $FreeBSD: head/etc/network.subr 287197 2015-08-27 08:56:39Z glebius $

>
> --
> Totus tuus, Glebius.
___
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: r287197: wlan interfaces aren't brought up at boot or u

2015-08-29 Thread Gleb Smirnoff
On Sat, Aug 29, 2015 at 12:56:39PM +0300, Oleg V. Nauman wrote:
O> On Saturday 29 August 2015 11:02:02 Gleb Smirnoff wrote:
O> > On Sat, Aug 29, 2015 at 01:19:40AM +0200, Idwer Vollering wrote:
O> > I> Manually running 'service netif restart' works around this.
O> > I>
O> > I> /etc/network.subr and /etc/rc.d/netif have been updated by mergemaster
O> > I> -p and mergemaster -iF
O> > I>
O> > I> I can provide the, rather lengthy, output of 'sh -x /etc/rc.d/netif
O> > I> restart' when required.
O> > I>
O> > I> Note that I'm not subscribed to freebsd-current.
O> > 
O> > Yes, please provide 'sh -x /etc/rc.d/netif restart'.
O> > 
O> > And please also check the revisions of your files:
O> > 
O> > # ident /etc/rc.d/netif /etc/network.subr
O> 
O>  I have faced the same issue today. wlan interface is not  brought up at 
boot,
O> sh -x /etc/rc.d/netif restart does the trick.

Have you got any error or strange messages during boot?

What does net.wlan.devices sysctl say?

-- 
Totus tuus, Glebius.
___
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: r287197: wlan interfaces aren't brought up at boot or u

2015-08-29 Thread Oleg V. Nauman
On Saturday 29 August 2015 11:02:02 Gleb Smirnoff wrote:
> On Sat, Aug 29, 2015 at 01:19:40AM +0200, Idwer Vollering wrote:
> I> Manually running 'service netif restart' works around this.
> I>
> I> /etc/network.subr and /etc/rc.d/netif have been updated by mergemaster
> I> -p and mergemaster -iF
> I>
> I> I can provide the, rather lengthy, output of 'sh -x /etc/rc.d/netif
> I> restart' when required.
> I>
> I> Note that I'm not subscribed to freebsd-current.
> 
> Yes, please provide 'sh -x /etc/rc.d/netif restart'.
> 
> And please also check the revisions of your files:
> 
> # ident /etc/rc.d/netif /etc/network.subr

 I have faced the same issue today. wlan interface is not  brought up at boot,
sh -x /etc/rc.d/netif restart does the trick.


# ident  /etc/rc.d/netif /etc/network.subr
/etc/rc.d/netif:
 $FreeBSD: head/etc/rc.d/netif 287197 2015-08-27 08:56:39Z glebius $
/etc/network.subr:
 $FreeBSD: head/etc/network.subr 287197 2015-08-27 08:56:39Z glebius $


___
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: r287197: wlan interfaces aren't brought up at boot or u

2015-08-29 Thread Gleb Smirnoff
On Sat, Aug 29, 2015 at 01:19:40AM +0200, Idwer Vollering wrote:
I> Manually running 'service netif restart' works around this.
I> 
I> /etc/network.subr and /etc/rc.d/netif have been updated by mergemaster
I> -p and mergemaster -iF
I> 
I> I can provide the, rather lengthy, output of 'sh -x /etc/rc.d/netif
I> restart' when required.
I> 
I> Note that I'm not subscribed to freebsd-current.

Yes, please provide 'sh -x /etc/rc.d/netif restart'.

And please also check the revisions of your files:

# ident /etc/rc.d/netif /etc/network.subr 

-- 
Totus tuus, Glebius.
___
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"


r287197: wlan interfaces aren't brought up at boot or u

2015-08-28 Thread Idwer Vollering
Manually running 'service netif restart' works around this.

/etc/network.subr and /etc/rc.d/netif have been updated by mergemaster
-p and mergemaster -iF

I can provide the, rather lengthy, output of 'sh -x /etc/rc.d/netif
restart' when required.

Note that I'm not subscribed to freebsd-current.

Idwer
___
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"