Re: [2.2.15] "kernel: eth0: card reports no resources"

From: Andrey Savochkin (saw@saw.sw.com.sg)
Date: Tue May 09 2000 - 21:43:02 EST


Hello,

On Tue, May 09, 2000 at 03:00:02PM -0400, Benjamin C.R. LaHaise wrote:
> On Tue, 9 May 2000, [ISO-8859-1] Jerry Lundström wrote:
>
> > I get the "kernel: eth0: card reports no resources" about every
> > 30 mins.
>
> This means that at some point during an interrupt, the driver was unable
> to allocate memory for a receive buffer. If your system is under a heavy
> VM load, that's certainly possible -- what kind of load is the system
> under when these messages occur? A workaround for this could be to
> increase the values in /proc/sys/vm/freepages, but if kswapd isn't keeping
> up with the load (ie, it's not too heavy a load), it might need some more
> tweaking.

It may also be a spurious report.
It's proven that some hardware sets the corresponding bit in the status flag
without any good reason (or at least I don't know reasons for these cases).
When the allocation fails the driver should also report something like
"can't fill rx buffer".

So, if you see packet losts and network stalls it is the allocation
problem. If you don't see visible problems, just ignore the messages.

Best regards
                                        Andrey V.
                                        Savochkin

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



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:15 EST