Skip to contentSkip to conversation

3c59x: shared interrupt problem

DISCUSSION Gerhard Pircher 5 participants 13 messages Mar 9, 2009 – Apr 21, 2009 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi!

Large network transfers fail on my machine (with kernel versions

Quoted 1 line

v2.6.26) with the kernel oops below. eth0 (3c59x driver) normally

shares its IRQ line with 3 OHCI USB ports (IRQ 7), as the excerpt of /proc/interrupt shows. Removing USB support from the kernel makes it work again. I wasn't able to do a full git bisect run yet, as v2.6.27 didn't produce a bootable kernel image for my machine. The machine is an AmigaOne PowerPC G4 with an onboard 3c920 network chip.

Any idea?

best regards,

Gerhard

PS: Please put me on CC:, as I'm not subscribed to this mailing list.

/proc/interrupts:
CPU0

  1:       1648   i8259     Level     i8042
  5:          0   i8259     Level     uhci_hcd:usb4, uhci_hcd:usb5
  6:          4   i8259     Level     floppy
  7:     236520   i8259     Level     ohci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3, eth0
  8:          2   i8259     Level     rtc0
  9:          0   i8259     Level     eth2
 12:        117   i8259     Level     i8042
 14:       8277   i8259     Level     ide0
 15:      17559   i8259     Level     ide1

BAD: 1

Kernel log:
Badness at net/sched/sch_generic.c:226
NIP: c0250118 LR: c0250118 CTR: c0013020
REGS: efffde90 TRAP: 0700 Not tainted (2.6.29-rc6)
MSR: 00029032 <EE,ME,CE,IR,DR> CR: 42024024 XER: 00000000
TASK = c03915a0[0] 'swapper' THREAD: c03b2000
GPR00: c0250118 efffdf40 c03915a0 00000035 00008a62 ffffffff ffffffff 00000000
GPR08: 00000000 c03c0000 00008a62 c0393104 22024042 00000000 0ffd5900 0080044c
GPR16: 00000001 ffffffff 00000000 007ffc00 0ffd3158 0f0689b0 0ffff220 007ffbc0
GPR24: 00000000 00000000 0000000a 00000004 efffc000 c024ffb0 00000100 ef847000 NIP [c0250118] dev_watchdog+0x168/0x244
LR [c0250118] dev_watchdog+0x168/0x244

Call Trace:
[efffdf40] [c0250118] dev_watchdog+0x168/0x244 (unreliable)
[efffdfa0] [c002f564] run_timer_softirq+0x12c/0x1b4
[efffdfd0] [c002ab0c] __do_softirq+0x6c/0x108
[efffdff0] [c0011ef0] call_do_softirq+0x14/0x24
[c03b3e90] [c0006c30] do_softirq+0x64/0x88
[c03b3eb0] [c002a968] irq_exit+0x38/0x7c
[c03b3ec0] [c000f634] timer_interrupt+0x138/0x150
[c03b3ee0] [c0012bd4] ret_from_except+0x0/0x14
--- Exception: 901 at cpu_idle+0xa4/0xec
    LR = cpu_idle+0x98/0xec
[c03b3fa0] [c0009f38] cpu_idle+0x4c/0xec (unreliable)
[c03b3fb0] [c0297214] __got2_end+0x58/0x68
[c03b3fc0] [c03637e4] start_kernel+0x28c/0x2a0

[c03b3ff0] [0000380c] 0x380c
Instruction dump:
80099d6c 2f800000 40be0038 38810008 7fe3fb78 38a00040 4bfee811 7fe4fb78 7c651b78 3c60c034 3863f264 4bdd6005 <0fe00000> 38000001 3d20c03c 90099d6c
eth0: transmit timed out, tx_status 00 status e601.
diagnostics: net 0ccc media 8880 dma 0000003a fifo 0000
eth0: Interrupt posted but not delivered -- IRQ blocked by another device?
Flags; bus-master 1, dirty 16(0) current 16(0)
Transmit list 00000000 vs. f101a200.

  0: @f101a200  length 80000156 status 00010156
  1: @f101a2a0  length 80000156 status 00010156
  2: @f101a340  length 80000156 status 00010156
  3: @f101a3e0  length 80000156 status 00010156
  4: @f101a480  length 80000156 status 00010156
  5: @f101a520  length 80000156 status 00010156
  6: @f101a5c0  length 80000156 status 00010156
  7: @f101a660  length 80000156 status 00010156
  8: @f101a700  length 8000003c status 0001003c
  9: @f101a7a0  length 8000003c status 0001003c
  10: @f101a840  length 8000003c status 0001003c
  11: @f101a8e0  length 8000003c status 0001003c
  12: @f101a980  length 8000003c status 0001003c
  13: @f101aa20  length 8000003c status 0001003c
  14: @f101aac0  length 80000036 status 80010036
  15: @f101ab60  length 800000f5 status 8c0100f5

eth0: Resetting the Tx ring pointer.

Signature · 1 line
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
#1 lore raw
Quoted 11 lines · On Mon, 09 Mar 2009 23:42:53 +0100 "Gerhard Pircher" <[email protected]>…

Hi!

Large network transfers fail on my machine (with kernel versions

Quoted 1 line

v2.6.26) with the kernel oops below. eth0 (3c59x driver) normally

shares its IRQ line with 3 OHCI USB ports (IRQ 7), as the excerpt of /proc/interrupt shows. Removing USB support from the kernel makes it work again. I wasn't able to do a full git bisect run yet, as v2.6.27 didn't produce a bootable kernel image for my machine. The machine is an AmigaOne PowerPC G4 with an onboard 3c920 network chip.

Any idea?

Does this help, it looks like boomerang_interrupt was not doing shared irq stuff correctly.

drivers/net/3c59x.c +3 -1
@@ -2301,6 +2301,7 @@ boomerang_interrupt(int irq, void *dev_i
 	void __iomem *ioaddr;
 	int status;
 	int work_done = max_interrupt_work;
+	int handled = 0;
 
 	ioaddr = vp->ioaddr;
 
@@ -2323,6 +2324,7 @@ boomerang_interrupt(int irq, void *dev_i
 			printk(KERN_DEBUG "boomerang_interrupt(1): status = 0xffff\n");
 		goto handler_exit;
 	}
+	handled = 1;
 
 	if (status & IntReq) {
 		status |= vp->deferred;
@@ -2417,7 +2419,7 @@ boomerang_interrupt(int irq, void *dev_i
 			   dev->name, status);
 handler_exit:
 	spin_unlock(&vp->lock);
-	return IRQ_HANDLED;
+	return IRQ_RETVAL(handled);
 }
 
 static int vortex_rx(struct net_device *dev)
#2 lore raw
Quoted 38 lines · Stephen Hemminger
Quoted 11 lines · On Mon, 09 Mar 2009 23:42:53 +0100 "Gerhard Pircher" <[email protected]>…

Hi!

Large network transfers fail on my machine (with kernel versions

Quoted 1 line

v2.6.26) with the kernel oops below. eth0 (3c59x driver) normally

shares its IRQ line with 3 OHCI USB ports (IRQ 7), as the excerpt of /proc/interrupt shows. Removing USB support from the kernel makes it work again. I wasn't able to do a full git bisect run yet, as v2.6.27 didn't produce a bootable kernel image for my machine. The machine is an AmigaOne PowerPC G4 with an onboard 3c920 network chip.

Any idea?

Does this help, it looks like boomerang_interrupt was not doing shared irq stuff correctly.

drivers/net/3c59x.c +2 -0
@@ -2301,6 +2301,7 @@ boomerang_interrupt(int irq, void *dev_i
 	void __iomem *ioaddr;
 	int status;
 	int work_done = max_interrupt_work;
+	int handled = 0;
 
 	ioaddr = vp->ioaddr;
 
@@ -2323,6 +2324,7 @@ boomerang_interrupt(int irq, void *dev_i
 			printk(KERN_DEBUG "boomerang_interrupt(1): status = 0xffff\n");
 		goto handler_exit;
 	}
+	handled = 1;
 
 	if (status & IntReq) {
 		status |= vp->deferred;

drivers/net/3c59x.c boomerang_interrupt(int irq, void *dev_i · line 2425

Quoted 8 lines
drivers/net/3c59x.c +1 -1
@@ -2417,7 +2419,7 @@ boomerang_interrupt(int irq, void *dev_i
 			   dev->name, status);
 handler_exit:
 	spin_unlock(&vp->lock);
-	return IRQ_HANDLED;
+	return IRQ_RETVAL(handled);
 }
 
 static int vortex_rx(struct net_device *dev)

This basically reverts a patch from akpm (bitkeeper cset 1.1046.95.8) This patch was to workaround lots of "nobody cared" warnings generated by boomerang_interrupt().
I added Andrew to the Cc, perhaps he can remember some details on this.

Steffen

#3 lore raw
Quoted 45 lines · On Tue, 10 Mar 2009 09:16:28 +0100 Steffen Klassert…
Quoted 44 lines · Stephen Hemminger
Quoted 11 lines · On Mon, 09 Mar 2009 23:42:53 +0100 "Gerhard Pircher" <[email protected]>…

Hi!

Large network transfers fail on my machine (with kernel versions

Quoted 1 line

v2.6.26) with the kernel oops below. eth0 (3c59x driver) normally

shares its IRQ line with 3 OHCI USB ports (IRQ 7), as the excerpt of /proc/interrupt shows. Removing USB support from the kernel makes it work again. I wasn't able to do a full git bisect run yet, as v2.6.27 didn't produce a bootable kernel image for my machine. The machine is an AmigaOne PowerPC G4 with an onboard 3c920 network chip.

Any idea?

Does this help, it looks like boomerang_interrupt was not doing shared irq stuff correctly.

drivers/net/3c59x.c +3 -1
@@ -2301,6 +2301,7 @@ boomerang_interrupt(int irq, void *dev_i
 	void __iomem *ioaddr;
 	int status;
 	int work_done = max_interrupt_work;
+	int handled = 0;
 
 	ioaddr = vp->ioaddr;
 
@@ -2323,6 +2324,7 @@ boomerang_interrupt(int irq, void *dev_i
 			printk(KERN_DEBUG "boomerang_interrupt(1): status = 0xffff\n");
 		goto handler_exit;
 	}
+	handled = 1;
 
 	if (status & IntReq) {
 		status |= vp->deferred;
@@ -2417,7 +2419,7 @@ boomerang_interrupt(int irq, void *dev_i
 			   dev->name, status);
 handler_exit:
 	spin_unlock(&vp->lock);
-	return IRQ_HANDLED;
+	return IRQ_RETVAL(handled);
 }
 
Quoted 8 lines

drivers/net/3c59x.c boomerang_interrupt(int irq, void *dev_i · line 2425

Quoted 2 lines
drivers/net/3c59x.c +0 -0
 static int vortex_rx(struct net_device *dev)

This basically reverts a patch from akpm (bitkeeper cset 1.1046.95.8) This patch was to workaround lots of "nobody cared" warnings generated by boomerang_interrupt().
I added Andrew to the Cc, perhaps he can remember some details on this.

Beats me. Do you havea full copy of that patch, including changelog?

Thanks.

#4 lore raw
Quoted 9 lines · Andrew Morton
Quoted 6 lines

This basically reverts a patch from akpm (bitkeeper cset 1.1046.95.8) This patch was to workaround lots of "nobody cared" warnings generated by boomerang_interrupt().
I added Andrew to the Cc, perhaps he can remember some details on this.

Beats me. Do you havea full copy of that patch, including changelog?

It was this one:

#### ChangeSet ####

2003-05-19 10:27:49-07:00, [email protected] 
  [PATCH] 3c59x irqreturn fix

Apparently boomerang_interrupt() is generating lots of "nobody cared" warnings - one per packet it seems. Frankly, I don't have a clue why.

These are ancient cards and the driver is otherwise stable, so just change it to return IRQ_HANDLED and move on...

==== drivers/net/3c59x.c ====

2003-05-17 14:09:34-07:00, [email protected] +2 -7
  3c59x irqreturn fix
drivers/net/3c59x.c +2 -7
@@ -2321,7 +2321,6 @@ boomerang_interrupt(int irq, void *dev_i
 	long ioaddr;
 	int status;
 	int work_done = max_interrupt_work;
-	int handled;
 
 	ioaddr = dev->base_addr;
 
@@ -2336,18 +2335,14 @@ boomerang_interrupt(int irq, void *dev_i
 	if (vortex_debug > 6)
 		printk(KERN_DEBUG "boomerang_interrupt. status=0x%4x\n", status);
 
-	if ((status & IntLatch) == 0) {
-		handled = 0;
+	if ((status & IntLatch) == 0)
 		goto handler_exit;		/* No interrupt: shared IRQs can cause this */
-	}
 
 	if (status == 0xffff) {		/* h/w no longer present (hotplug)? */
 		if (vortex_debug > 1)
 			printk(KERN_DEBUG "boomerang_interrupt(1): status = 0xffff\n");
-		handled = 0;
 		goto handler_exit;
 	}
-	handled = 1;
 
 	if (status & IntReq) {
 		status |= vp->deferred;
@@ -2442,7 +2437,7 @@ boomerang_interrupt(int irq, void *dev_i
 			   dev->name, status);
 handler_exit:
 	spin_unlock(&vp->lock);
-	return IRQ_RETVAL(handled);
+	return IRQ_HANDLED;
 }
 
 static int vortex_rx(struct net_device *dev)
maintainer
#5 lore raw

From: Steffen Klassert <[email protected]>
Date: Wed, 11 Mar 2009 12:38:15 +0100

Quoted 14 lines · Andrew Morton
Quoted 9 lines
Quoted 6 lines

This basically reverts a patch from akpm (bitkeeper cset 1.1046.95.8) This patch was to workaround lots of "nobody cared" warnings generated by boomerang_interrupt().
I added Andrew to the Cc, perhaps he can remember some details on this.

Beats me. Do you havea full copy of that patch, including changelog?

It was this one:

#### ChangeSet ####

Quoted 8 lines
2003-05-19 10:27:49-07:00, [email protected] 
  [PATCH] 3c59x irqreturn fix

Apparently boomerang_interrupt() is generating lots of "nobody cared" warnings - one per packet it seems. Frankly, I don't have a clue why.

These are ancient cards and the driver is otherwise stable, so just change it to return IRQ_HANDLED and move on...

So basically it's a band-aid because we didn't investigate why this happens.

I think we should put the change in, and then look into things properly if users report this issue again.

The code there right now is just completely wrong when the 3c59x interrupt is shared with another device.

#6 lore raw
Quoted 7 lines · David Miller
Quoted 7 lines

#### ChangeSet ####

2003-05-19 10:27:49-07:00, [email protected] 
  [PATCH] 3c59x irqreturn fix

Apparently boomerang_interrupt() is generating lots of "nobody cared" warnings - one per packet it seems. Frankly, I don't have a clue why.

Quoted 9 lines
Quoted 2 lines

These are ancient cards and the driver is otherwise stable, so just change it to return IRQ_HANDLED and move on...

So basically it's a band-aid because we didn't investigate why this happens.

I think we should put the change in, and then look into things properly if users report this issue again.

Gerhard reported at least one of these "nobody cared" messages at shutdown after applying this change. He wanted to provide us with further informations about this issue next week. Best would be to put it in together with a fix. So I would suggest to wait, perhaps we can fix it with his informations.

Quoted 2 lines

The code there right now is just completely wrong when the 3c59x interrupt is shared with another device.

Indeed.

maintainer
#7 lore raw

From: Steffen Klassert <[email protected]>
Date: Sat, 14 Mar 2009 15:08:41 +0100

Quoted 4 lines

Gerhard reported at least one of these "nobody cared" messages at shutdown after applying this change. He wanted to provide us with further informations about this issue next week. Best would be to put it in together with a fix. So I would suggest to wait, perhaps we can fix it with his informations.

Fair enough.

#8 lore raw
In reply to Steffen Klassert

-------- Original-Nachricht --------

Quoted 25 lines

Datum: Sat, 14 Mar 2009 15:08:41 +0100
Von: Steffen Klassert <[email protected]>
An: David Miller <[email protected]>
CC: [email protected], [email protected], [email protected], [email protected]
Betreff: Re: 3c59x: shared interrupt problem

Quoted 8 lines · David Miller
Quoted 8 lines

#### ChangeSet ####

2003-05-19 10:27:49-07:00, [email protected] 
  [PATCH] 3c59x irqreturn fix

Apparently boomerang_interrupt() is generating lots of "nobody cared" warnings - one per packet it seems. Frankly, I don't have a clue why.

Quoted 9 lines
Quoted 2 lines

These are ancient cards and the driver is otherwise stable, so just change it to return IRQ_HANDLED and move on...

So basically it's a band-aid because we didn't investigate why this happens.

I think we should put the change in, and then look into things properly if users report this issue again.

Quoted 6 lines

Gerhard reported at least one of these "nobody cared" messages at shutdown after applying this change. He wanted to provide us with further informations about this issue next week. Best would be to put it in together with a fix.
So I would suggest to wait, perhaps we can fix it with his informations.

Okay, here's a small status update in order to show that I'm really doing something. :)
Increasing the value of vortex_debug doesn't really help. It slows down the network transfer too much to trigger the bug. Does somebody know where to insert some printks in the driver to get a useful debug output?
Bisecting shows that even v2.6.26-rc1 fails. But I have a v2.6.27-rc7 image that works fine!? Looks like I have to put more effort in bisecting.

Gerhard

Signature · 1 line
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw
Quoted 8 lines · Gerhard Pircher
Quoted 5 lines

This basically reverts a patch from akpm (bitkeeper cset 1.1046.95.8) This patch was to workaround lots of "nobody cared" warnings generated by boomerang_interrupt().
I added Andrew to the Cc, perhaps he can remember some details on this.

I'm afraid this patch didn't fix the problem. I'm using scp to copy a big ISO file from my PC to the AmigaOne and the network transfer still stalls. I made a photo from the kernel oops printed out during shutdown.

Your photo shows exactly such a "nobody cared" warning that Andrew wanted to get rid of with his patch.

Quoted 3 lines

BTW: shouldn't the driver use vortex_interrupt() to handle interrupts for a 3c920?

It depends on the content of your NIC's eeprom which ISR the driver will use. If your NIC is full bus master capable boomerang_interrupt() will be used, if not vortex_interrupt() will be used. As far as I know the 3c920 is of "tornado" type, so it should be full bus master capable.

Your first report showed dnComplete as a pending interrupt source. Since the driver uses tx_interrupt_mitigation, this happens just if the tx ring is full. Could you please test the patch below? This disables tx_interrupt_mitigation, so the dnComplete interrupt will be triggered with every packet.

drivers/net/3c59x.c +1 -1
index b2563d3..c45c400 100644
@@ -60,7 +60,7 @@ static int watchdog = 5000;
  * of possible Tx stalls if the system is blocking interrupts
  * somewhere else.  Undefine this to disable.
  */
-#define tx_interrupt_mitigation 1
+#define tx_interrupt_mitigation 0
 
 /* Put out somewhat more debugging messages. (0: no msg, 1 minimal .. 6). */
 #define vortex_debug debug
#11 lore raw
In reply to Gerhard Pircher
Quoted 52 lines · Gerhard Pircher

Kernel log:
Badness at net/sched/sch_generic.c:226
NIP: c0250118 LR: c0250118 CTR: c0013020
REGS: efffde90 TRAP: 0700 Not tainted (2.6.29-rc6)
MSR: 00029032 <EE,ME,CE,IR,DR> CR: 42024024 XER: 00000000
TASK = c03915a0[0] 'swapper' THREAD: c03b2000
GPR00: c0250118 efffdf40 c03915a0 00000035 00008a62 ffffffff ffffffff 00000000
GPR08: 00000000 c03c0000 00008a62 c0393104 22024042 00000000 0ffd5900 0080044c
GPR16: 00000001 ffffffff 00000000 007ffc00 0ffd3158 0f0689b0 0ffff220 007ffbc0
GPR24: 00000000 00000000 0000000a 00000004 efffc000 c024ffb0 00000100 ef847000 NIP [c0250118] dev_watchdog+0x168/0x244
LR [c0250118] dev_watchdog+0x168/0x244

Call Trace:
[efffdf40] [c0250118] dev_watchdog+0x168/0x244 (unreliable)
[efffdfa0] [c002f564] run_timer_softirq+0x12c/0x1b4
[efffdfd0] [c002ab0c] __do_softirq+0x6c/0x108
[efffdff0] [c0011ef0] call_do_softirq+0x14/0x24
[c03b3e90] [c0006c30] do_softirq+0x64/0x88
[c03b3eb0] [c002a968] irq_exit+0x38/0x7c
[c03b3ec0] [c000f634] timer_interrupt+0x138/0x150
[c03b3ee0] [c0012bd4] ret_from_except+0x0/0x14
--- Exception: 901 at cpu_idle+0xa4/0xec
    LR = cpu_idle+0x98/0xec
[c03b3fa0] [c0009f38] cpu_idle+0x4c/0xec (unreliable)
[c03b3fb0] [c0297214] __got2_end+0x58/0x68
[c03b3fc0] [c03637e4] start_kernel+0x28c/0x2a0

[c03b3ff0] [0000380c] 0x380c
Instruction dump:
80099d6c 2f800000 40be0038 38810008 7fe3fb78 38a00040 4bfee811 7fe4fb78 7c651b78 3c60c034 3863f264 4bdd6005 <0fe00000> 38000001 3d20c03c 90099d6c
eth0: transmit timed out, tx_status 00 status e601.
diagnostics: net 0ccc media 8880 dma 0000003a fifo 0000
eth0: Interrupt posted but not delivered -- IRQ blocked by another device?
Flags; bus-master 1, dirty 16(0) current 16(0)
Transmit list 00000000 vs. f101a200.

  0: @f101a200  length 80000156 status 00010156
  1: @f101a2a0  length 80000156 status 00010156
  2: @f101a340  length 80000156 status 00010156
  3: @f101a3e0  length 80000156 status 00010156
  4: @f101a480  length 80000156 status 00010156
  5: @f101a520  length 80000156 status 00010156
  6: @f101a5c0  length 80000156 status 00010156
  7: @f101a660  length 80000156 status 00010156
  8: @f101a700  length 8000003c status 0001003c
  9: @f101a7a0  length 8000003c status 0001003c
  10: @f101a840  length 8000003c status 0001003c
  11: @f101a8e0  length 8000003c status 0001003c
  12: @f101a980  length 8000003c status 0001003c
  13: @f101aa20  length 8000003c status 0001003c
  14: @f101aac0  length 80000036 status 80010036
  15: @f101ab60  length 800000f5 status 8c0100f5
Quoted 2 lines

eth0: Resetting the Tx ring pointer.

Do you see these messages always when your network hangs and does the network recover after such a hang? Could you please send the output of 'tc -s qdisc show' after a network hang?

#12 lore raw

-------- Original-Nachricht --------

Quoted 62 lines

Datum: Fri, 27 Mar 2009 08:59:37 +0100
Von: Steffen Klassert <[email protected]>
An: Gerhard Pircher <[email protected]>
CC: [email protected]
Betreff: Re: 3c59x: shared interrupt problem

Quoted 52 lines · Gerhard Pircher

Kernel log:
Badness at net/sched/sch_generic.c:226
NIP: c0250118 LR: c0250118 CTR: c0013020
REGS: efffde90 TRAP: 0700 Not tainted (2.6.29-rc6)
MSR: 00029032 <EE,ME,CE,IR,DR> CR: 42024024 XER: 00000000
TASK = c03915a0[0] 'swapper' THREAD: c03b2000
GPR00: c0250118 efffdf40 c03915a0 00000035 00008a62 ffffffff ffffffff 00000000
GPR08: 00000000 c03c0000 00008a62 c0393104 22024042 00000000 0ffd5900 0080044c
GPR16: 00000001 ffffffff 00000000 007ffc00 0ffd3158 0f0689b0 0ffff220 007ffbc0
GPR24: 00000000 00000000 0000000a 00000004 efffc000 c024ffb0 00000100 ef847000 NIP [c0250118] dev_watchdog+0x168/0x244
LR [c0250118] dev_watchdog+0x168/0x244

Call Trace:
[efffdf40] [c0250118] dev_watchdog+0x168/0x244 (unreliable)
[efffdfa0] [c002f564] run_timer_softirq+0x12c/0x1b4
[efffdfd0] [c002ab0c] __do_softirq+0x6c/0x108
[efffdff0] [c0011ef0] call_do_softirq+0x14/0x24
[c03b3e90] [c0006c30] do_softirq+0x64/0x88
[c03b3eb0] [c002a968] irq_exit+0x38/0x7c
[c03b3ec0] [c000f634] timer_interrupt+0x138/0x150
[c03b3ee0] [c0012bd4] ret_from_except+0x0/0x14
--- Exception: 901 at cpu_idle+0xa4/0xec
    LR = cpu_idle+0x98/0xec
[c03b3fa0] [c0009f38] cpu_idle+0x4c/0xec (unreliable)
[c03b3fb0] [c0297214] __got2_end+0x58/0x68
[c03b3fc0] [c03637e4] start_kernel+0x28c/0x2a0

[c03b3ff0] [0000380c] 0x380c
Instruction dump:
80099d6c 2f800000 40be0038 38810008 7fe3fb78 38a00040 4bfee811 7fe4fb78 7c651b78 3c60c034 3863f264 4bdd6005 <0fe00000> 38000001 3d20c03c 90099d6c
eth0: transmit timed out, tx_status 00 status e601.
diagnostics: net 0ccc media 8880 dma 0000003a fifo 0000
eth0: Interrupt posted but not delivered -- IRQ blocked by another device?
Flags; bus-master 1, dirty 16(0) current 16(0)
Transmit list 00000000 vs. f101a200.

  0: @f101a200  length 80000156 status 00010156
  1: @f101a2a0  length 80000156 status 00010156
  2: @f101a340  length 80000156 status 00010156
  3: @f101a3e0  length 80000156 status 00010156
  4: @f101a480  length 80000156 status 00010156
  5: @f101a520  length 80000156 status 00010156
  6: @f101a5c0  length 80000156 status 00010156
  7: @f101a660  length 80000156 status 00010156
  8: @f101a700  length 8000003c status 0001003c
  9: @f101a7a0  length 8000003c status 0001003c
  10: @f101a840  length 8000003c status 0001003c
  11: @f101a8e0  length 8000003c status 0001003c
  12: @f101a980  length 8000003c status 0001003c
  13: @f101aa20  length 8000003c status 0001003c
  14: @f101aac0  length 80000036 status 80010036
  15: @f101ab60  length 800000f5 status 8c0100f5
Quoted 2 lines

eth0: Resetting the Tx ring pointer.

Quoted 3 lines

Do you see these messages always when your network hangs and does the network recover after such a hang? Could you please send the output of 'tc -s qdisc show' after a network hang?

IIRC I only got this message once during shutdown. Normally only "IRQ 7 nobody cared" messages with a stacktrace of the interrupt handlers are printed out with newer kernels (>=2.6.26) (see the screenshots I made). Older kernels don't print out any messages at all. Also the network never recovers after a bad interrupt is reported in /proc/interrupts.
I'm far away from my machine for the next three weeks, so I can't send you the output until then.
So far I could narrow down the problem to kernel versions v2.6.19 till 2.6.23-rc9. Bisecting is getting harder now, because either arch/ppc doesn't work anymore for PPC32 or my platform patches for arch/powerpc do not apply.

regards,

Gerhard

Signature · 6 lines
--
-- Dipl. Ing. (FH) Gerhard Pircher
-- E-mail : [email protected]
--

Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
#13 lore raw
In reply to Steffen Klassert

-------- Original-Nachricht --------

Quoted 9 lines

Datum: Fri, 27 Mar 2009 08:59:37 +0100
Von: Steffen Klassert <[email protected]>
An: Gerhard Pircher <[email protected]>
CC: [email protected]
Betreff: Re: 3c59x: shared interrupt problem

Do you see these messages always when your network hangs and does the network recover after such a hang? Could you please send the output of 'tc -s qdisc show' after a network hang?

Sorry for the delay! Here's the output of tc after a network hang.

qdisc pfifo_fast 0: dev eth0 root bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
Sent 4633909 bytes 64766 pkt (dropped 0, overlimits 0 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0

regards,

Gerhard

Signature · 1 line
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01