2.2.2-ac7 / ifconfig / SIOCSIFFLAGS: Resource temporarily unavailable

Rob van Nieuwkerk (robn@verdi.et.tudelft.nl)
Mon, 15 Mar 1999 00:21:00 +0100 (CET)


I have a problem with one of my routers not configuring eth0 after a reboot
since I've switched to Linux 2.2.2-ac7 (from 2.0.36).

Debugging the network config scripts showed that it was this problem:

+ ifconfig eth0 netmask broadcast
SIOCSIFFLAGS: Resource temporarily unavailable

My "solution" is to do *exactly the same* ifconfig command after the first
one fails. Then it succeeds. Sometimes the first one *is* successful.

I have another router with the same setup that does not have this problem.

So it seems that there is some kind of timing problem that makes
the SIOCSIFFLAGS control fail temporarily.

Is this a known problem ?

My setup:
- standard Red Hat 5.2 (completely up-to-date, with all 2.2 updates
from Red Hat)
- Cyrix DX2 66, 16 MB RAM
- 3c503 Ethernet card
- 2 PPP lines (but the problem shows *before* PPP is started !)
- 2.2.2-ac7 kernel built with gcc- (on RH 5.2, 2.2.2-ac7)
- all drivers built into the kernel: no modules or kerneld
- system has always functioned flawlessly with Linux 2.0.x

Red Hat details:
I have added an extra "./ifup eth0 boot" to /etc/rc.d/init.d/network in
the "start)" section just before the "touch /var/lock/subsys/network"
This results in exactly the same ifconfig command as the one that
just failed.

Rob van Niewkerk
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu