Package: kernel-image-2.6.9-1-686 Version: 2.6.9-3 Kernel module ipip does not has the `used' mark, even if it's necessary. As result, user(root) can rmmod it, while ipip tunnels still exists, so ifconfig crashes. On the other hand, 2.4.x kernels marks ipip module as used: Here is the transcript:
2.4.27: ~# lsmod | grep ipip ~# iptunnel ls ~# iptunnel add mode ipip local 10.0.0.14 remote 10.0.0.1 ~# lsmod | grep ipip ipip 7072 1 (autoclean) ~# rmmod ipip ipip: Device or resource busy 2.6.9: ~# lsmod | grep ipip ~# ifconfig eth0 Link encap:Ethernet HWaddr 00:04:61:4D:63:8C inet addr:10.0.0.14 Bcast:10.255.255.255 Mask:255.255.255.0 inet6 addr: fe80::204:61ff:fe4d:638c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11000730 errors:0 dropped:0 overruns:0 frame:0 TX packets:15054777 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3690217319 (3.4 GiB) TX bytes:502053761 (478.7 MiB) Interrupt:209 Base address:0xc000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:7795835 errors:0 dropped:0 overruns:0 frame:0 TX packets:7795835 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:596016686 (568.4 MiB) TX bytes:596016686 (568.4 MiB) ~# iptunnel ls sit0: ipv6/ip remote any local any ttl 64 nopmtudisc ~# iptunnel add mode ipip local 10.0.0.14 remote 10.0.0.1 ~# iptunnel ls sit0: ipv6/ip remote any local any ttl 64 nopmtudisc tunl0: ip/ip remote any local any ttl inherit nopmtudisc tunl1: ip/ip remote 10.0.0.1 local 10.0.0.14 ttl inherit ~# lsmod | grep ipip ipip 10596 0 xfrm4_tunnel 3844 1 ipip ~# rmmod ipip ~# ifconfig Segmentation fault ~# modprobe ipip ~# iptunnel del tunl1 ~# rmmod ipip ~# ifconfig eth0 Link encap:Ethernet HWaddr 00:04:61:4D:63:8C inet addr:10.0.0.14 Bcast:10.255.255.255 Mask:255.255.255.0 inet6 addr: fe80::204:61ff:fe4d:638c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11001008 errors:0 dropped:0 overruns:0 frame:0 TX packets:15054937 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3690263066 (3.4 GiB) TX bytes:502066911 (478.8 MiB) Interrupt:209 Base address:0xc000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:7795964 errors:0 dropped:0 overruns:0 frame:0 TX packets:7795964 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:596057611 (568.4 MiB) TX bytes:596057611 (568.4 MiB) -- WBR, Alexander A. Vlasov Gala.Net System Administrator +38(039)2476081 nic-hdl: ZULU-UANIC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]