Re: 2.6.23-rc2: WARNING: at kernel/irq/resend.c:70 check_irq_resend()
From: Jean-Baptiste Vignaud
Date: Fri Aug 10 2007 - 08:28:04 EST
see below
> arch/i386/kernel/io_apic.c | 3 ++-
> arch/x86_64/kernel/genapic.c | 3 ++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
>
> Index: linux/arch/i386/kernel/io_apic.c
> ===================================================================
> --- linux.orig/arch/i386/kernel/io_apic.c
> +++ linux/arch/i386/kernel/io_apic.c
> @@ -735,7 +735,8 @@ void fastcall send_IPI_self(int vector)
> * Wait for idle.
> */
> apic_wait_icr_idle();
> - cfg = APIC_DM_FIXED | APIC_DEST_SELF | vector | APIC_DEST_LOGICAL;
> + cfg = APIC_DM_FIXED | APIC_DEST_SELF | vector | APIC_DEST_LOGICAL |
> + APIC_INT_LEVELTRIG;
> /*
> * Send the IPI. The write to APIC_ICR fires this off.
> */
> Index: linux/arch/x86_64/kernel/genapic.c
> ===================================================================
> --- linux.orig/arch/x86_64/kernel/genapic.c
> +++ linux/arch/x86_64/kernel/genapic.c
> @@ -62,5 +62,6 @@ void __init setup_apic_routing(void)
>
> void send_IPI_self(int vector)
> {
> - __send_IPI_shortcut(APIC_DEST_SELF, vector, APIC_DEST_PHYSICAL);
> + __send_IPI_shortcut(APIC_DEST_SELF, vector, APIC_DEST_PHYSICAL |
> + APIC_INT_LEVELTRIG);
> }
>
clean 2.6.23-rc1 with this patch :
Aug 10 14:12:09 loki kernel: NETDEV WATCHDOG: eth2: transmit timed out
Aug 10 14:12:09 loki kernel: eth2: transmit timed out, tx_status 00 status e601.
Aug 10 14:12:09 loki kernel: diagnostics: net 0ccc media 8880 dma 0000003a fifo 8000
Aug 10 14:12:09 loki kernel: eth2: Interrupt posted but not delivered -- IRQ blocked by another device?
Aug 10 14:12:09 loki kernel: Flags; bus-master 1, dirty 231829(5) current 231829(5)
Aug 10 14:12:09 loki kernel: Transmit list 00000000 vs. ffff81007eaad520.
Aug 10 14:12:09 loki kernel: 0: @ffff81007eaad200 length 80000115 status 0c010115
Aug 10 14:12:09 loki kernel: 1: @ffff81007eaad2a0 length 8000005c status 0c01005c
Aug 10 14:12:09 loki kernel: 2: @ffff81007eaad340 length 8000002a status 0001002a
Aug 10 14:12:09 loki kernel: 3: @ffff81007eaad3e0 length 8000002a status 8001002a
Aug 10 14:12:09 loki kernel: 4: @ffff81007eaad480 length 8000005c status 8c01005c
Aug 10 14:12:09 loki kernel: 5: @ffff81007eaad520 length 80000042 status 00010042
Aug 10 14:12:09 loki kernel: 6: @ffff81007eaad5c0 length 8000007b status 0001007b
Aug 10 14:12:09 loki kernel: 7: @ffff81007eaad660 length 8000002a status 0001002a
Aug 10 14:12:09 loki kernel: 8: @ffff81007eaad700 length 8000002a status 0001002a
Aug 10 14:12:09 loki kernel: 9: @ffff81007eaad7a0 length 8000002a status 0001002a
Aug 10 14:12:09 loki kernel: 10: @ffff81007eaad840 length 8000002a status 0001002a
Aug 10 14:12:09 loki kernel: 11: @ffff81007eaad8e0 length 8000002a status 0001002a
Aug 10 14:12:09 loki kernel: 12: @ffff81007eaad980 length 8000002a status 0001002a
Aug 10 14:12:09 loki kernel: 13: @ffff81007eaada20 length 8000002a status 0001002a
Aug 10 14:12:09 loki kernel: 14: @ffff81007eaadac0 length 8000002a status 0001002a
Aug 10 14:12:09 loki kernel: 15: @ffff81007eaadb60 length 8000002a status 0001002a
I did not had to wait too long for this to occurs (1-2 minutes).
Jb
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html