Package: linux-image-2.6.26-1-openvz-amd64
Version: 2.6.26-13
With the following snippet in /etc/network/interfaces I get a backtrace in
the kernel, although it works on another machine with the same image (also
same architecture):
auto sit0
iface sit0 inet6 v4tunnel
address 2002:4e2e:6774::1
netmask 16
gateway ::192.88.99.1
endpoint 192.88.99.1
local 78.46.103.116
up ip link set mtu 1480 dev sit1
The failure is visible in userland as follows:
tanaris:~# ifup sit0
ioctl: No such device
Failed to bring up sit0.
The backtrace:
[87792.025658] kobject_add_internal failed for sit0 with -EEXIST, don't try to register things with the same name in the same directory.
[87792.025670] Pid: 16220, comm: modprobe Not tainted 2.6.26-1-openvz-amd64 #1
[87792.025677]
[87792.025678] Call Trace:
[87792.025698] [<ffffffff8030f33d>] kobject_add_internal+0x13f/0x17e
[87792.027044] [<ffffffff8030f77a>] kobject_add+0x74/0x7c
[87792.027053] [<ffffffff803f55fb>] __devinet_sysctl_register+0xde/0x114
[87792.027067] [<ffffffff8029b410>] cache_grow+0x1cc/0x262
[87792.027077] [<ffffffff8030f194>] kobject_get+0x12/0x17
[87792.027084] [<ffffffff8037730d>] get_device+0x17/0x1f
[87792.027092] [<ffffffff8037792e>] device_add+0x9b/0x53f
[87792.027100] [<ffffffff8030ef86>] kobject_init_internal+0x12/0x2c
[87792.027111] [<ffffffff803b1015>] register_netdevice+0x282/0x358
[87792.027119] [<ffffffff803b1124>] register_netdev+0x39/0x46
[87792.027128] [<ffffffffa0432309>] :sit:sit_init_net+0xc5/0xe6
[87792.027138] [<ffffffff803adad9>] register_pernet_operations+0x39/0xc5
[87792.027148] [<ffffffff803ade14>] register_pernet_gen_device+0x57/0x95
[87792.027158] [<ffffffffa011004c>] :sit:sit_init+0x4c/0x67
[87792.027166] [<ffffffff8025da65>] sys_init_module+0x190e/0x1aa4
[87792.028519] [<ffffffff803b0d93>] register_netdevice+0x0/0x358
[87792.028545] [<ffffffff8020bffa>] system_call_after_swapgs+0x8a/0x8f
[87792.028558]
The following, slightly different snippet also fails for the same reason:
iface sixxs inet6 v4tunnel
address 2001:6f8:900:1a4::2
netmask 64
endpoint 212.224.0.188
ttl 64
up ip link set mtu 1480 dev sixxs
up ip route add default via 2001:6f8:900:1a4::1 dev sixxs
This is an OpenVZ host. IPsec is enabled, too and created a tun device.
But that's both the same on the other server, too.
Kind regards,
Philipp Kern
--
.'`. Philipp Kern Debian Developer
: :' : http://philkern.de Release Assistant
`. `' xmpp

hil@0x539.de Stable Release Manager
`- finger pkern/key@db.debian.org