ifconfig: SIOCSIFFLAGS: Resource temporarily unavailable

Russell McManus russell.mcmanus@msdw.com
Wed Jan 5 09:32:23 2000


I'm trying to configure a Compaq AP400 box with dual 500 MHz Pentium
IIIs with an Intel 82557 EtherPro100.  The trouble is that ifconfig
exits with SIOCSIFFLAGS, and I haven't been able to figure out how to
resolve the problem.  I'm running Debian slink, kernel 2.0.36.  I've
got an entry in /etc/conf.modules like this:

alias eth0 eepro100

When I run modprobe, the card seems to be there.  Maybe I have a
conflict with the PnP Sound card in the box?  After reading lots of
stuff, this is the only thing that strikes me as a possible problem.

Thanks for any ideas,
-russ


Here is the contents of and output from /etc/rc.d/network:

#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
IPADDR=xxx.xx.xxx.xxx
NETMASK=xxx.xxx.xxx.xxx
NETWORK=xxx.xx.xxx.xxx
BROADCAST=xxx.xx.xxx.xxx
GATEWAY=xxx.xx.xxx.xxx
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add -net ${NETWORK}
[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1

SIOCSIFFLAGS: Resource temporarily unavailable
SIOCADDRT: Network is unreachable
SIOCADDRT: Network is unreachable


Here is the output of the diagnostic program from Donald Becker:

russepc:~/compile# ./eepro100-diag
eepro100-diag.c:v1.01 7/8/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Intel 82557 EtherExpressPro100B adapter at 0x5400.
 Use '-a' or '-aa' to show device registers,
     '-e' to show EEPROM contents, -ee for parsed contents,
  or '-m' or '-mm' to show MII management registers.
russepc:~/compile# ./eepro100-diag -a
eepro100-diag.c:v1.01 7/8/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Intel 82557 EtherExpressPro100B adapter at 0x5400.
i82557 chip registers at 0x5400:
  00000000 00000000 00000000 00080002 10000000 00000000
  No interrupt sources are pending.
   The transmit unit state is 'Idle'.
   The receive unit state is 'Idle'.
  This status is unusual for an activated interface.
russepc:~/compile# ./eepro100-diag -m
eepro100-diag.c:v1.01 7/8/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Intel 82557 EtherExpressPro100B adapter at 0x5400.
 MII PHY #1 transceiver registers:
  3000 7829 02a8 0150 05e1 0021 0000 ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  0400 0000 0001 0000 0000 0000 0000 0000
  0000 0000 0000 0000 ffff ffff ffff ffff.
russepc:~/compile# ./eepro100-diag -e
eepro100-diag.c:v1.01 7/8/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Intel 82557 EtherExpressPro100B adapter at 0x5400.
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:50:8B:35:B1:3D.
  Receiver lock-up bug exists. (The driver work-around *is* implemented.)
  Board assembly 695327-001, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.



Here is output from dmesg:

Memory: sized by int13 0e801h
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fa000
pcibios_init : BIOS32 Service Directory entry at 0xe0000
pcibios_init : PCI BIOS revision 2.10 entry at 0xe125b
Probing PCI hardware.
Calibrating delay loop.. ok - 498.07 BogoMIPS
Memory: 256440k/262144k available (1136k kernel code, 384k reserved, 4184k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.36 (root@gondor) (gcc version 2.7.2.3) #2 Sun Feb 21 15:55:27 EST 1999
Starting kswapd v 1.4.2.2 
Real Time Clock Driver v1.09
tpqic02: Runtime config, $Revision: 0.4.1.5 $, $Date: 1994/10/29 02:46:13 $
tpqic02: DMA buffers: 20 blocks, at address 0x282600 (0x28254c)
Ramdisk driver initialized : 16 ramdisks of 4096K size
loop: registered device at major 7
ide: i82371 PIIX (Triton) on PCI bus 0 function 161
    ide0: BM-DMA at 0x5440-0x5447
    ide1: BM-DMA at 0x5448-0x544f
hda: WDC AC310000D, 9541MB w/1966kB Cache, CHS=1022/240/63, UDMA
hdc: COMPAQ CR-589, ATAPI CDROM drive
hdd: Maxtor 82100A4, 2014MB w/256kB Cache, CHS=4092/16/63, DMA
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
ncr53c8xx: at PCI bus 0, device 11, function 0
ncr53c8xx: PCI_CACHE_LINE_SIZE not set, features based on CACHE LINE SIZE not used.
ncr53c8xx: 53c875 detected 
ncr53c875-0: rev=0x04, base=0x52200000, io_port=0x5000, irq=11
ncr53c875-0: ID 7, Fast-20, Parity Checking
ncr53c875-0: on-board RAM at 0x52100000
ncr53c875-0: restart (scsi reset).
ncr53c875-0: copying script fragments into the on-board RAM ...
Failed initialization of WD-7000 SCSI card!
scsi0 : ncr53c8xx - revision 2.5f.1
scsi : 1 host.
scsi : detected total.
Partition check:
 hda: hda1 hda3
 hdd: [PTBL] [1023/64/63] hdd1 < hdd5 > hdd2
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 130748k swap-space (priority -1)
Module inserted $Id: cdrom.c,v 0.8 1996/08/10 10:52:11 david Exp $
eepro100.c:v0.99B 4/7/98 Donald Becker linux-eepro100@cesdis.gsfc.nasa.gov
eepro100.c:v0.99B 4/7/98 Donald Becker linux-eepro100@cesdis.gsfc.nasa.gov
eth0: OEM i82557/i82558 10/100 Ethernet at 0x5400, 00:50:8B:35:B1:3D, IRQ 11.
  Board assembly 695327-001, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x24c9f043).
  Receiver lock-up workaround activated.
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
VFS: Disk change detected on device 02:00



--
Ask not for whom the <CONTROL-G> tolls.

-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-eepro100-request@beowulf.org