From owner-freebsd-drivers@FreeBSD.ORG Tue Dec 1 22:21:45 2009 Return-Path: Delivered-To: freebsd-drivers@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:06 +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-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD 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!"