Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-11 Thread Dominique Goncalves
Hi,

2011/4/8 Ingo Flaschberger i...@xip.at:
 Hi,

 # ifconfig vlan5 create
 # ifconfig vlan5 192.168.13.16/32
 # ifconfig vlan5 down
 # ifconfig vlan5 up

 Ok, I reproduced the error and I just submitted a problem report
  PR/156278

 can you check if this patch helps:
 kern/150481

Yes, with patch applied no more error. Apparently, it was not commited
to -STABLE.

Regards.


 Kind regards,
        Ingo Flaschberger

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




-- 
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-08 Thread Dominique Goncalves
Hi

2011/4/6 Sergey Kandaurov pluk...@gmail.com:
 On 6 April 2011 11:35, Dominique Goncalves
 dominique.goncal...@gmail.com wrote:
 Hi,

 I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros
 9280 (mini pci card) as an access point using hostapd, so far it works
 . Sometimes I need to disable wireless with ifconfig wlan0 down but
 each times I run ifconfig wlan0 up, the kernel produces this error

 ifa_add_loopback_route: insertion failed

 is this a problem ? or maybe there is a better way to disable/enable 
 wireless ?


 I see this too with a dumb test:

 vlan5: flags=8003UP,BROADCAST,MULTICAST metric 0 mtu 1500
        ether 00:00:00:00:00:00
        inet6 fe80::21a:64ff:fe68:d005%vlan5 prefixlen 64 scopeid 0xa
        inet 192.168.13.13 netmask 0x broadcast 192.168.13.13
        nd6 options=3PERFORMNUD,ACCEPT_RTADV
        vlan: 0 parent interface: none

 On 8.1 ifconfig vlan5 up gives:
 ifa_add_loopback_route: insertion failed

I guess I need to submit a PR.

What step did you used to reproduce the problem ? I tried (on 8.2) to
create a vlan but was not able to reproduce the error.


 On head ifconfig vlan5 down gives:
 interface address is missing from cache = 0  in delete

 --
 wbr,
 pluknet


Regards.

-- 
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-08 Thread Sergey Kandaurov
On 8 April 2011 18:10, Dominique Goncalves
dominique.goncal...@gmail.com wrote:
 Hi

 2011/4/6 Sergey Kandaurov pluk...@gmail.com:
 On 6 April 2011 11:35, Dominique Goncalves
 dominique.goncal...@gmail.com wrote:
 Hi,

 I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros
 9280 (mini pci card) as an access point using hostapd, so far it works
 . Sometimes I need to disable wireless with ifconfig wlan0 down but
 each times I run ifconfig wlan0 up, the kernel produces this error

 ifa_add_loopback_route: insertion failed

 is this a problem ? or maybe there is a better way to disable/enable 
 wireless ?


 I see this too with a dumb test:

 vlan5: flags=8003UP,BROADCAST,MULTICAST metric 0 mtu 1500
        ether 00:00:00:00:00:00
        inet6 fe80::21a:64ff:fe68:d005%vlan5 prefixlen 64 scopeid 0xa
        inet 192.168.13.13 netmask 0x broadcast 192.168.13.13
        nd6 options=3PERFORMNUD,ACCEPT_RTADV
        vlan: 0 parent interface: none

 On 8.1 ifconfig vlan5 up gives:
 ifa_add_loopback_route: insertion failed

 I guess I need to submit a PR.

 What step did you used to reproduce the problem ? I tried (on 8.2) to
 create a vlan but was not able to reproduce the error.

Here it is.

# ifconfig vlan5 create
# ifconfig vlan5 192.168.13.16/32
# ifconfig vlan5 down
# ifconfig vlan5 up

-- 
wbr,
pluknet
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-08 Thread Dominique Goncalves
2011/4/8 Sergey Kandaurov pluk...@gmail.com:
 On 8 April 2011 18:10, Dominique Goncalves
 dominique.goncal...@gmail.com wrote:
 Hi

 2011/4/6 Sergey Kandaurov pluk...@gmail.com:
 On 6 April 2011 11:35, Dominique Goncalves
 dominique.goncal...@gmail.com wrote:
 Hi,

 I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros
 9280 (mini pci card) as an access point using hostapd, so far it works
 . Sometimes I need to disable wireless with ifconfig wlan0 down but
 each times I run ifconfig wlan0 up, the kernel produces this error

 ifa_add_loopback_route: insertion failed

 is this a problem ? or maybe there is a better way to disable/enable 
 wireless ?


 I see this too with a dumb test:

 vlan5: flags=8003UP,BROADCAST,MULTICAST metric 0 mtu 1500
        ether 00:00:00:00:00:00
        inet6 fe80::21a:64ff:fe68:d005%vlan5 prefixlen 64 scopeid 0xa
        inet 192.168.13.13 netmask 0x broadcast 192.168.13.13
        nd6 options=3PERFORMNUD,ACCEPT_RTADV
        vlan: 0 parent interface: none

 On 8.1 ifconfig vlan5 up gives:
 ifa_add_loopback_route: insertion failed

 I guess I need to submit a PR.

 What step did you used to reproduce the problem ? I tried (on 8.2) to
 create a vlan but was not able to reproduce the error.

 Here it is.

 # ifconfig vlan5 create
 # ifconfig vlan5 192.168.13.16/32
 # ifconfig vlan5 down
 # ifconfig vlan5 up

Ok, I reproduced the error and I just submitted a problem report  PR/156278

 --
 wbr,
 pluknet




-- 
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-08 Thread Ingo Flaschberger

Hi,


# ifconfig vlan5 create
# ifconfig vlan5 192.168.13.16/32
# ifconfig vlan5 down
# ifconfig vlan5 up


Ok, I reproduced the error and I just submitted a problem report  PR/156278


can you check if this patch helps:
kern/150481

Kind regards,
Ingo Flaschberger

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


ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-06 Thread Dominique Goncalves
Hi,

I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros
9280 (mini pci card) as an access point using hostapd, so far it works
. Sometimes I need to disable wireless with ifconfig wlan0 down but
each times I run ifconfig wlan0 up, the kernel produces this error

ifa_add_loopback_route: insertion failed

is this a problem ? or maybe there is a better way to disable/enable wireless ?

TIA,
Regards.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-06 Thread Sergey Kandaurov
On 6 April 2011 11:35, Dominique Goncalves
dominique.goncal...@gmail.com wrote:
 Hi,

 I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros
 9280 (mini pci card) as an access point using hostapd, so far it works
 . Sometimes I need to disable wireless with ifconfig wlan0 down but
 each times I run ifconfig wlan0 up, the kernel produces this error

 ifa_add_loopback_route: insertion failed

 is this a problem ? or maybe there is a better way to disable/enable wireless 
 ?


I see this too with a dumb test:

vlan5: flags=8003UP,BROADCAST,MULTICAST metric 0 mtu 1500
ether 00:00:00:00:00:00
inet6 fe80::21a:64ff:fe68:d005%vlan5 prefixlen 64 scopeid 0xa
inet 192.168.13.13 netmask 0x broadcast 192.168.13.13
nd6 options=3PERFORMNUD,ACCEPT_RTADV
vlan: 0 parent interface: none

On 8.1 ifconfig vlan5 up gives:
ifa_add_loopback_route: insertion failed

On head ifconfig vlan5 down gives:
interface address is missing from cache = 0  in delete

-- 
wbr,
pluknet
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-06 Thread Sergey Kandaurov
On 6 April 2011 15:05, Sergey Kandaurov pluk...@gmail.com wrote:
 On 6 April 2011 11:35, Dominique Goncalves
 dominique.goncal...@gmail.com wrote:
 Hi,

 I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros
 9280 (mini pci card) as an access point using hostapd, so far it works
 . Sometimes I need to disable wireless with ifconfig wlan0 down but
 each times I run ifconfig wlan0 up, the kernel produces this error

 ifa_add_loopback_route: insertion failed

 is this a problem ? or maybe there is a better way to disable/enable 
 wireless ?


 I see this too with a dumb test:

 vlan5: flags=8003UP,BROADCAST,MULTICAST metric 0 mtu 1500
        ether 00:00:00:00:00:00
        inet6 fe80::21a:64ff:fe68:d005%vlan5 prefixlen 64 scopeid 0xa
        inet 192.168.13.13 netmask 0x broadcast 192.168.13.13
        nd6 options=3PERFORMNUD,ACCEPT_RTADV
        vlan: 0 parent interface: none

 On 8.1 ifconfig vlan5 up gives:
 ifa_add_loopback_route: insertion failed

 On head ifconfig vlan5 down gives:
 interface address is missing from cache = 0  in delete


On more thing:
on head ifconfig vlan5 destroy gives:
if_delmulti_ifma: ifnet 0xfe006b38c000 disappeared


-- 
wbr,
pluknet
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org