From owner-freebsd-smp@FreeBSD.ORG Tue Dec 1 22:21:45 2009 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2254C106566C; Tue, 1 Dec 2009 22:21:45 +0000 (UTC) (envelope-from toksravi@gmail.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id E05EE8FC14; Tue, 1 Dec 2009 22:21:44 +0000 (UTC) Received: by pxi38 with SMTP id 38so212348pxi.28 for ; Tue, 01 Dec 2009 14:21:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=rRur2puWWyKT05Vkmo/m/lhMqYhre+5KROXc1ApOUUA=; b=YFag+A0bNE4bs6S6eIPlQHcTiKywrTjYcL2dDNEEfbe3IiVm28wson9HPEg7nhd2kc U9Mt/0AH45A8NOws4qEf2NBflewjqmSRDGg1BzaSlojaj0eovfpaBKIjYAODy89XzwQ8 VsiWU2tL7rYD1jGIR7m9P7/H5TdkpgcblwJ7k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=sYT0aXbFsulkm6Zq1mZ5t8724C5ENcZ68/vLaQRCD4H8utS0HRQrc12xXcTyK/ow91 fEkmvb2T6JNV6JL2KrKnRynLmR8WWI4j8VNhvzxj6/zZ9npQIuQeuDbxco5Wb2tpvkF5 WLWGh2IPN77R8hNYtgJm6tfhe30qOp3KjSrYk= MIME-Version: 1.0 Received: by 10.142.60.3 with SMTP id i3mr705192wfa.147.1259704806828; Tue, 01 Dec 2009 14:00:06 -0800 (PST) Date: Tue, 1 Dec 2009 14:00:06 -0800 Message-ID: From: Ravi Shankar To: freebsd-smp@freebsd.org X-Mailman-Approved-At: Tue, 01 Dec 2009 22:28:31 +0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, freebsd-drivers@freebsd.org Subject: Regarding enabling IOAPIC on Intel Dual core processor based boards having Broadcom controller X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2009 22:21:45 -0000 Hi, We are using Freebsd6.2 bases OS on our LV 5200 Series Intel Dual Core Xeo= n bases processor(Wolfdale-DP-ULV). In the carrier board hosting the processo= r we have BCM5703 controller. Currently we are using only one core in 32 bit mode and planning to use dua= l core where we need to enable IOAPIC. When IOAPIC is not enabled I see the bcm/bge driver is attached to IRQ10 and everything works fine, but when I enable IOAPIC I still see the boot msgs show that bge is attached to irq10 but the Broadcom controller does not come up. I found interrupt storm on irq17 ( remember without IOAPIC enable there are not IRQ assignments beyond IRQ16),looks like the controller is interrupting on 17 while driver waits o= n 10. When I stop and loader and assign it manually using config command "set hw.pci8.9.INTA.irq=3D=9417=94" , everything works fine. Would be great if s= ome one can throw some light on this IRQ mapping when IOAPIC is enabled and possibl= e fix ( Software or BIOS?) Thanks, Ravi --=20 Thanks, Ravi "The most influential person who will talk to you all day is you, so you should be very careful about what you say to you!" From owner-freebsd-smp@FreeBSD.ORG Wed Dec 2 15:03:30 2009 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53966106566C for ; Wed, 2 Dec 2009 15:03:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2531D8FC16 for ; Wed, 2 Dec 2009 15:03:30 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id CFC5D46B17; Wed, 2 Dec 2009 10:03:29 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 4A1228A01F; Wed, 2 Dec 2009 10:03:28 -0500 (EST) From: John Baldwin To: Ravi Shankar Date: Wed, 2 Dec 2009 09:39:28 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Message-Id: <200912020939.28152.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 02 Dec 2009 10:03:29 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-smp@freebsd.org Subject: Re: Regarding enabling IOAPIC on Intel Dual core processor based boards having Broadcom controller X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 15:03:30 -0000 On Tuesday 01 December 2009 5:00:06 pm Ravi Shankar wrote: > Hi, >=20 > We are using Freebsd6.2 bases OS on our LV 5200 Series Intel Dual Core X= eon > bases processor(Wolfdale-DP-ULV). In the carrier board hosting the proces= sor > we have BCM5703 controller. > Currently we are using only one core in 32 bit mode and planning to use d= ual > core where we need to enable IOAPIC. When IOAPIC is not enabled I see the > bcm/bge driver is attached to IRQ10 and everything works fine, but when I > enable IOAPIC I still see the boot msgs show that bge is attached to irq10 > but the Broadcom controller does not come up. I found interrupt storm on > irq17 ( remember without IOAPIC enable there are not IRQ assignments beyo= nd > IRQ16),looks like the controller is interrupting on 17 while driver waits= on > 10. >=20 > When I stop and loader and assign it manually using config command "set > hw.pci8.9.INTA.irq=3D=9417=94" , everything works fine. Would be great if= some one > can throw some light on this IRQ mapping when IOAPIC is enabled and possi= ble > fix ( Software or BIOS?) This sounds like a BIOS issue. Are you using ACPI? If so, can you provide= =20 the output of 'acpidump -t' along with a dmesg? If you aren't using ACPI, = can=20 you provide the output of 'mptable' along with a dmesg? =2D-=20 John Baldwin