2004-10-19 16:03:17

by Lukasz Trabinski

[permalink] [raw]
Subject: unregister_netdevice 2.6.9

Hello


After shutdown/reboot :

unregister_netdevice: waiting for xxxx to become free. Usage count = 1

and still wait.

whreis xxxx is name of sit device, created via script

ip tun add mode sit xxxx local y.y.y.y remote x.x.x.x ttl 64
ip link set xxxx up
ip addr add 3FFE:eeee:xxxx::1 dev atman6



--
?T


2004-10-19 18:21:52

by YOSHIFUJI Hideaki

[permalink] [raw]
Subject: Re: unregister_netdevice 2.6.9

In article <[email protected]> (at Tue, 19 Oct 2004 17:58:58 +0200 (CEST)), Lukasz Trabinski <[email protected]> says:

> After shutdown/reboot :
>
> unregister_netdevice: waiting for xxxx to become free. Usage count = 1
:
> whreis xxxx is name of sit device, created via script

Is your box acting as router, or host?
% sysctl -a |grep ipv6|grep forwarding

What is happend if you let the interface down and delete it before
becore rebooting?

Thanks.

--
Hideaki YOSHIFUJI @ USAGI Project <[email protected]>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA

2004-10-19 19:25:58

by Lukasz Trabinski

[permalink] [raw]
Subject: Re: unregister_netdevice 2.6.9

On Wed, 20 Oct 2004, YOSHIFUJI Hideaki / ???? wrote:

> > whreis xxxx is name of sit device, created via script
>
> Is your box acting as router, or host?
> % sysctl -a |grep ipv6|grep forwarding

lt:~# sysctl -a |grep ipv6|grep forwarding
net.ipv6.conf.atman6.forwarding = 0
net.ipv6.conf.eth1.forwarding = 0
net.ipv6.conf.eth0.forwarding = 0
net.ipv6.conf.lo.forwarding = 0
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.all.forwarding = 0

atman6 is sit device, ipv6 is loaded as module.


> What is happend if you let the interface down and delete it before
> becore rebooting?

OK, if interface is down, system is rebooting correctly.

I had made tests with shutdown interfaces, but i shutdowned wrong sit
interface. :( Sorry for that.

Anyway, ipip interfaces no need to be shutdown before reboot. Is it
problem in sit_cleanup()?


--
?T