Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 15 Jun 2002 04:15:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 15 Jun 2002 04:15:12 -0400 Received: from swazi.realnet.co.sz ([196.28.7.2]:21398 "HELO netfinity.realnet.co.sz") by vger.kernel.org with SMTP id ; Sat, 15 Jun 2002 04:15:12 -0400 Date: Sat, 15 Jun 2002 09:46:30 +0200 (SAST) From: Zwane Mwaikambo X-X-Sender: zwane@netfinity.realnet.co.sz To: Ingo Molnar Cc: Linux Kernel , Linus Torvalds , Andrew Morton Subject: [PATCH][2.5] 2.5.21 deadlocks on UP (SMP kernel) w/ IOAPIC (take 2) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org With the help of Andrew Morton we tracked down the original breakage to the irq_balance_t declaration which assumes there is a cpu#1 typedef struct { unsigned int cpu; unsigned long timestamp; } ____cacheline_aligned irq_balance_t; static irq_balance_t irq_balance[NR_IRQS] __cacheline_aligned = { [ 0 ... NR_IRQS-1 ] = { 1, 0 } }; against 2.5.21, test booted on UP(SMP) w/ IOAPIC and SMP --- linux-2.5.19/arch/i386/kernel/io_apic.c.orig Fri Jun 14 17:43:20 2002 +++ linux-2.5.19/arch/i386/kernel/io_apic.c Sat Jun 15 10:07:11 2002 @@ -207,7 +207,7 @@ } ____cacheline_aligned irq_balance_t; static irq_balance_t irq_balance[NR_IRQS] __cacheline_aligned - = { [ 0 ... NR_IRQS-1 ] = { 1, 0 } }; + = { [ 0 ... NR_IRQS-1 ] = { 0, 0 } }; extern unsigned long irq_affinity [NR_IRQS]; Linus, i promise this is the last one ;) Regards, Zwane Mwaikambo -- http://function.linuxpower.ca - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/