netdev
[Top] [All Lists]

IPv6: if sitX used, and take eth down, infinite errors

To: <netdev@xxxxxxxxxxx>
Subject: IPv6: if sitX used, and take eth down, infinite errors
From: Pekka Savola <pekkas@xxxxxxxxxx>
Date: Sat, 3 Mar 2001 19:09:53 +0200 (EET)
Sender: owner-netdev@xxxxxxxxxxx
Hello all,

Using the latest Red Hat Linux Rawhide kernel, based on 2.4.1acX.

In short:

 If using IPv6 tunneling, don't ever run 'ifdown eth0' when a tunnel
 is up unless you want to reset your box.

 To reproduce:

 1. boot as normal
 2. enable a sit ipv6 tunnel to somewhere, at this point eth0 will also have
 ipv6 address configured automatically
 3. take down ethernet interface with 'ifdown eth0'
 4. rmmod eepro100 (or whatever your eth driver is)
 [this is very nasty if you have a cron job to remove unused modules..]

 Now, your screen fills up with:

 unregister_netdevice: waiting for eth0 to become free. Usage count = 2

 'ifconfig', 'insmod' etc. will all freeze.  You can't reboot because at the
 last stage of reboot the kernel keeps hanging to that message.
 The only thing you can do is reset.

 FWIW, this also happens when I boot to single user-mode, ifup eth0, ifup
 sit1 and do the steps above (no network daemons running).

Ideas?  About to try USAGI soonish to see if this is a problem there too.

Please Cc:.
-- 
Pekka Savola                  "Tell me of difficulties surmounted,
Netcore Oy                    not those you stumble over and fall"
Systems. Networks. Security.   -- Robert Jordan: A Crown of Swords



<Prev in Thread] Current Thread [Next in Thread>
  • IPv6: if sitX used, and take eth down, infinite errors, Pekka Savola <=