LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Ethernet error message "Eth0: no resouce"

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Ethernet error message "Eth0: no resouce"
From: Derek Glidden <dglidden@xxxxxxxxxxxxxxx>
Date: Fri, 20 Apr 2001 17:30:10 -0400
Kim Le wrote:
> 
> Hi All,
> 
> I am getting error message "Eth0: no resource" when trying to do stress test
> on linux 2.4.3.  Could anyone give me a hint on what is the reason.  Thanks
> in advance for any help.

Let me guess - you are using Intel EEPro100 cards right?  (The full
error message would be "card reports no resources")

This is a fairly well-known bug in the eepro100 driver that refuses to
be fixed.  (I have a whole rant about that, let's just say that the
in-kernel driver maintainers leave the bug in for reasons of
"correctness", whatever that means, and explain that if you want drivers
that actually work then you can get them elsewhere than in the
'official' kernel source...)

It happens most frequently during extreme load on the cards, although
you can also often cause a fairly fatal (often panics the kernel)
version of the message to start appearing by bringing interfaces up and
down repeatedly.

You can often avoid it by increasing the 'txfifo' and 'rxfifo'
parameters to the eepro100 module.  I've been able to permanently avoid
it on 2.2 kernels by grabbing Donald Becker's eepro100 replacement
driver modules from http://www.scyld.com/network/ but I don't believe
these work on 2.4 kernels.

If you're *not* using EEPro100 cards, then I'm afraid I'm utterly
clueless but you might see if the appropriate driver has similar
parameters as the eepro 'txfifo' and 'rxfifo' params you can tweak.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#!/usr/bin/perl -w
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map
{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;
$t^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)
[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h=5;$_=unxb24,join
"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d
>>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*
8^$q<<6))<<9,$_=$t[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}
print+x"C*",@a}';s/x/pack+/g;eval 

usage: qrpff 153 2 8 105 225 < /mnt/dvd/VOB_FILENAME \
    | extract_mpeg2 | mpeg2dec - 

http://www.eff.org/                    http://www.opendvd.org/ 
         http://www.cs.cmu.edu/~dst/DeCSS/Gallery/


<Prev in Thread] Current Thread [Next in Thread>