Marco Dieckhoff <(E-Mail Removed)> writes:
|> On 2004-09-11, James Kanze <(E-Mail Removed)> wrote:
|> > I've recently installed Mandrake 10 on a newe HP system (with an
|> > Athlon X/3000 64 bit as CPU, 512 MB memory). The system is meant
|> > to serve as a router, so I added a second Internet card. Anytime
|> > there is any traffic on the second card, however, the system
|> > hangs.
|> > I"m using the 8139too module which came with the card as a driver.
|> > I tried downloading the rtl8139 module, but I can't get it to
|> > compile.
|> > The funny thing is that the problem only seems to be present when
|> > the X Window manager is active. As a simple test, I do a ping -f
|> > 192.168.100.245 (a machine on the second network) -- this runs
|> > forever (well, hours at least) without a problem if I boot in
|> > secure mode, without the window manager, but hangs in 2 or 3
|> > seconds if the Window manager is running.
|> > Does anyone have any idea where I could start looking.
|> First have a look at the interrupts in /proc/interrupts
|> I suspect your seconds cards shares an irq with something used by
|> X, e.g. graphics or mouse.
Bingo. I sort of suspected something of the sort, but I had no idea
where to look to find out. (It's been some twenty years since I last
programmed at that level.) It shares an interrupt with the nvidia
graphics card, which definitly isn't a good thing.
However, now I'm really worried, because a number of other things share
other interrupts. The output of "cat /proc/interrupts" is:
CPU0
0: 10063881 IO-APIC-edge timer
1: 29379 IO-APIC-edge i8042
2: 0 XT-PIC cascade
3: 0 IO-APIC-edge ehci_hcd
5: 1028992 IO-APIC-edge ohci_hcd, ohci1394, eth0
8: 1 IO-APIC-edge rtc
10: 108479 IO-APIC-edge ohci_hcd, NVidia nForce3
11: 622478 IO-APIC-edge eth1, nvidia
12: 105094 IO-APIC-edge i8042
14: 30014 IO-APIC-edge ide0
15: 208673 IO-APIC-edge ide1
NMI: 0
LOC: 10064070
ERR: 0
MIS: 0
Interrupts 5,10 and 11 all seem shared. About the only difference I can
see is that for 5 and 10, everything sharing is on the mother board.
But can it be normal that eth0 shares interrupts with what I think are
my USB controllers or the firewire? (Eth0 is the nForce3 MCP Networking
Adapter on my motherboard.) Maybe it's just working because by chance
I'm not using those ports at present. (I've got a printer on a USB
port, but maybe that's the ehci, which looks OK.)
|> Or get some other cards. The 8139 is a piece of crap. Try Intel
|> Pro/100 or 3com 3c905, used cards costs around 5 Euro/$.
|> Thinking of it, don't waste time looking at the interrupts and buy
|> some Intels
Even new, they shouldn't be that expensive.
Still, I'd be curious as to how to configure the interrupts anyway.
Just in case the other "conflicts" cause problems in the future.
--
James Kanze
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France +33 (0)1 30 23 00 34