Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Too much work at interrupts

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2003, 02:48 PM
Default Too much work at interrupts



Hi,

I'm trying to set up a box using the trinux-distribution on a advantech
PCM-5862E board. This board has a RTL8139-Chip onboard. When I enable the
ethernet-interface using ifconfig I receive a error-message:

"eth0: Too much work at interrupt, IntrStatus=0x0001".

A ping to/from another address in the network fails in both directions.

"cat /proc/interrupts | grep eth0 " doesn't show any interrupts-problems:

--- cut ---
11: 744 XT-PIC: eth0
--- cut ---

This problem only happens while the pc is attached to the network :-?


What can I do now?

ciao
Detlef

--
remove ".nospam" if you want to reply via email


Detlef Jockheck
Reply With Quote
  #2  
Old 10-22-2003, 03:39 AM
TCS
Guest
 
Posts: n/a
Default Re: Too much work at interrupts

On Tue, 21 Oct 2003 15:48:13 +0200, Detlef Jockheck <(E-Mail Removed)> wrote:
>Hi,


>I'm trying to set up a box using the trinux-distribution on a advantech
>PCM-5862E board. This board has a RTL8139-Chip onboard. When I enable the
>ethernet-interface using ifconfig I receive a error-message:


>"eth0: Too much work at interrupt, IntrStatus=0x0001".


>A ping to/from another address in the network fails in both directions.


>"cat /proc/interrupts | grep eth0 " doesn't show any interrupts-problems:


>--- cut ---
>11: 744 XT-PIC: eth0
>--- cut ---


>This problem only happens while the pc is attached to the network :-?



>What can I do now?


replace the card?
Reply With Quote
  #3  
Old 10-22-2003, 07:42 PM
Detlef Jockheck
Guest
 
Posts: n/a
Default Re: Too much work at interrupts

On 22 Oct 2003 02:39:35 GMT, TCS <The-Central-(E-Mail Removed)>
wrote:
> replace the card?

Yes that would help, but there's only on pci-slot which I need for other
purposes. The ethernet interface I'm trying to configure is a
onboard-device.
Btw: I've inserted another network card that works fine, but I would like
to configure the onboard-one.

ciao
Detlef

--
remove ".nospam" from address if you want to write a mail-reply
Reply With Quote
  #4  
Old 10-22-2003, 11:11 PM
Steve Wolfe
Guest
 
Posts: n/a
Default Re: Too much work at interrupts

> I'm trying to set up a box using the trinux-distribution on a advantech
> PCM-5862E board. This board has a RTL8139-Chip onboard. When I enable

the
> ethernet-interface using ifconfig I receive a error-message:
>
> "eth0: Too much work at interrupt, IntrStatus=0x0001".
>
> A ping to/from another address in the network fails in both directions.
>
> "cat /proc/interrupts | grep eth0 " doesn't show any

interrupts-problems:
>
> --- cut ---
> 11: 744 XT-PIC: eth0
> --- cut ---
>
> This problem only happens while the pc is attached to the network :-?
>
>
> What can I do now?


You could try searching groups.google.com to see what others have done
for the problem. Searching for "linux too much work interrupt" gave some
good information, and searching for "linux too much work interrupt 8139"
turned up even more specific information.

To make it short, the RTL8139 is pretty much the least-featured piece of
hardware that can be called an Ethernet controller, which makes it low in
price - which is why you see it used so often. The error message you see
is caused when a high number of packets are received very quickly (usually
very small packets), and the driver can't handle a packet quickly enough.
The driver *should* still work after that.

Now, the only references I've seen to that happening were on relatively
old hardware, like the original Pentium processers, which it looks like
you've got. A combination of a relatively weak CPU and a very weak
network card aren't a good match! Your possible solutions are (a) use a
better NIC, (b) use a more modern processer, or (c) use NAPI.

You say that it occurs when there's very little on the network, but I'll
bet that if you actually watched the traffic at the times it happens,
you'd see bursts of tiny packets.

steve


Reply With Quote
  #5  
Old 10-23-2003, 03:18 PM
Andy Furniss
Guest
 
Posts: n/a
Default Re: Too much work at interrupts

Detlef Jockheck wrote:

> Hi,
>
> I'm trying to set up a box using the trinux-distribution on a advantech
> PCM-5862E board. This board has a RTL8139-Chip onboard. When I enable the
> ethernet-interface using ifconfig I receive a error-message:
>
> "eth0: Too much work at interrupt, IntrStatus=0x0001".
>
> A ping to/from another address in the network fails in both directions.
>
> "cat /proc/interrupts | grep eth0 " doesn't show any interrupts-problems:
>
> --- cut ---
> 11: 744 XT-PIC: eth0
> --- cut ---
>
> This problem only happens while the pc is attached to the network :-?
>
>
> What can I do now?
>
> ciao
> Detlef


In addition to what steve said you could.

Try a different distro/kernel.

There is a setting that can be tweaked in -

/drivers/net/8139too.c find max_interrupt_work and increase.

Andy.

Reply With Quote
Reply

Tags
interrupts, work

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.