Problem: NIC doesn't work anymore, SIOCIFADDR-errors

From: Jonathan Brugge (jonathan_brugge@hotmail.com)
Date: Wed Feb 14 2001 - 06:00:16 EST


I've got a problem with my network. I can't get the card running, though it
worked perfectly before. Below what happens and the errors I get:
-----------------------------------
odysseus:/# ifconfig

// No active devices found.

odysseus:/# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:20:18:80:B0:95
          BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:9 Base address:0xde00
lo Link encap:Local Loopback
          LOOPBACK MTU:16192 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

// It finds eth0 and the loopback, they aren't active.

odysseus:/# ifdown eth0
ifdown: interface eth0 not configured

// Just what should happen...

odysseus:/# ifup eth0
SIOCSIFADDR: Bad file descriptor
eth0: unknown interface: Bad file descriptor
SIOCSIFNETMASK: Bad file descriptor
eth0: unknown interface: Bad file descriptor
odysseus:/# ifup lo
SIOCSIFADDR: Bad file descriptor
lo: unknown interface: Bad file descriptor
lo: unknown interface: Bad file descriptor
odysseus:/#

// This is where I loose the track. These seem to be kernel-messages, but I
can't find them in the kernel-source (looked in the kernel-subdirectory and
the net-subdirectory).
There are some other SIOC*-texts, but no SIOCSIFADDR or SIOCIFNETMASK in
those dirs.
The problem appeared after booting, everything worked perfect before.
Nothing has changed that could affect network or ethernet-card, afaik.
It's not hardware-related: the card still works in Win98SE and after placing
another card (same type), the problem still persists.
I did a kernel-recompile, but that hasn't solved it. Still the same error.
I'm running 2.4.0-prerelease.
The card is a PCI-card. It has a Winbond W89C940F-chip on it and the kernel
uses NE2k-drivers, I think.
I did a fsck on my HD, which didn't solve it either.
The light on the card blinks all the time, like there's something wrong. I
haven't looked whether it does so in Windows too.
Ifup / Ifdown version: 0.6.4-3
No messages in /var/log[syslog|messages|kern.log|ksymoops/*] about this.

Anyone who can tell me what's going on here?

Jonathan Brugge
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:23 EST