From owner-freebsd-drivers@FreeBSD.ORG Mon Nov 30 16:43:48 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 9A9BF1065670 for ; Mon, 30 Nov 2009 16:43:48 +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 6D8D48FC12 for ; Mon, 30 Nov 2009 16:43:48 +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 2250346B03; Mon, 30 Nov 2009 11:43:48 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 48EFF8A021; Mon, 30 Nov 2009 11:43:47 -0500 (EST) From: John Baldwin To: freebsd-drivers@freebsd.org Date: Mon, 30 Nov 2009 11:02:09 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <75E1A2A7D185F841A975979B0906BBA671F9B39870@AVEXMB1.qlogic.org> In-Reply-To: <75E1A2A7D185F841A975979B0906BBA671F9B39870@AVEXMB1.qlogic.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200911301102.09677.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 30 Nov 2009 11:43:47 -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: Subject: Re: dev/ixgb and dev/ixgbe 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: Mon, 30 Nov 2009 16:43:48 -0000 On Tuesday 24 November 2009 4:23:53 pm David Somayajulu wrote: > Hi All, > I would really appreciate if someone can help me understand the difference > between the above drivers from Intel. Is one of them for older hardware ? I believe the short version is that ixgb(4) supports PCI-X 10gb adapters and ixgbe(4) supports PCI-express 10gb adapters. -- John Baldwin From owner-freebsd-drivers@FreeBSD.ORG Mon Nov 30 19:02:41 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 3CAB7106566B for ; Mon, 30 Nov 2009 19:02:41 +0000 (UTC) (envelope-from david.somayajulu@qlogic.com) Received: from avexch1.qlogic.com (avexch1.qlogic.com [198.70.193.115]) by mx1.freebsd.org (Postfix) with ESMTP id 021908FC19 for ; Mon, 30 Nov 2009 19:02:40 +0000 (UTC) Received: from avexcashub1.qlogic.org ([10.1.4.112]) by avexch1.qlogic.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 30 Nov 2009 11:01:21 -0800 Received: from avexcashub2.qlogic.org (10.1.4.116) by avexcashub1.qlogic.org (10.1.4.161) with Microsoft SMTP Server (TLS) id 8.1.375.2; Mon, 30 Nov 2009 11:01:21 -0800 Received: from avexmb1.qlogic.org ([fe80::9526:ffe6:33fc:cbe3]) by avexcashub2.qlogic.org ([::1]) with mapi; Mon, 30 Nov 2009 11:01:21 -0800 From: David Somayajulu To: John Baldwin , "freebsd-drivers@freebsd.org" Date: Mon, 30 Nov 2009 11:02:39 -0800 Thread-Topic: dev/ixgb and dev/ixgbe Thread-Index: Acpx3BzNKlZumAixRLOvUN/bIenvtAAE0gQw Message-ID: <75E1A2A7D185F841A975979B0906BBA671F9B39A80@AVEXMB1.qlogic.org> References: <75E1A2A7D185F841A975979B0906BBA671F9B39870@AVEXMB1.qlogic.org> <200911301102.09677.jhb@freebsd.org> In-Reply-To: <200911301102.09677.jhb@freebsd.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 30 Nov 2009 19:01:21.0976 (UTC) FILETIME=[81A64380:01CA71EF] Cc: Subject: RE: dev/ixgb and dev/ixgbe 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: Mon, 30 Nov 2009 19:02:41 -0000 Appreciate all your responses. Thanks david S. -----Original Message----- From: John Baldwin [mailto:jhb@freebsd.org]=20 Sent: Monday, November 30, 2009 8:02 AM To: freebsd-drivers@freebsd.org Cc: David Somayajulu Subject: Re: dev/ixgb and dev/ixgbe On Tuesday 24 November 2009 4:23:53 pm David Somayajulu wrote: > Hi All, > I would really appreciate if someone can help me understand the differenc= e > between the above drivers from Intel. Is one of them for older hardware ? I believe the short version is that ixgb(4) supports PCI-X 10gb adapters an= d ixgbe(4) supports PCI-express 10gb adapters. --=20 John Baldwin 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!" From owner-freebsd-drivers@FreeBSD.ORG Tue Dec 1 23:41:50 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 013911065670 for ; Tue, 1 Dec 2009 23:41:50 +0000 (UTC) (envelope-from ksravi76@yahoo.com) Received: from web33202.mail.mud.yahoo.com (web33202.mail.mud.yahoo.com [209.191.69.150]) by mx1.freebsd.org (Postfix) with SMTP id B35B18FC0C for ; Tue, 1 Dec 2009 23:41:49 +0000 (UTC) Received: (qmail 45172 invoked by uid 60001); 1 Dec 2009 23:15:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1259709308; bh=OxhHpSep4R0lkgS7jQrApLsa3kxs7twzbza79zhSZzg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vx9YiXGktDk38CkoGRJwv0ktL2kJssd71pcHSwZUY9OuYeenThmL1X8dn42tWdVhc5WBoymUB/Gx2sKemhxfX1IKlWp+9BVko1LFj420JjoOZelLdYM/vu9mxO1HhWYEOfFWlImyNjq4PzB6TgBCE9kuRoPO3xJk3m2OpFM/UiI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UDI7fNxcMK+5agLtSANDKhq4GXDwN5OWY4VOU60bJY0vhKxiPcaPQIyDJ1MsUNDKv/3DrapchfFCCxR5yUTt1qKtP/DAAFnzv5VznXFOhSw1UJkx8jogN2I+wOFY7/L3IC38qWWhnOlFGSBN8JIszcTuMwY6o/bI8zscAejzNSw=; Message-ID: <113217.44923.qm@web33202.mail.mud.yahoo.com> X-YMail-OSG: OnJXCScVM1k5mXKlFuzAO.Cdj_3UzoAliWoY0k2plKfvLH39YK0Lwb1IbexwB7eRKReIwYzs4JetQecA.1yDRzCywsC65saGqtTNU7zhQRIulTy88BDvM30o_qTyyYi.TfwaTSylg4PrHyHQJMUX4z51dF3AWIXFcjgACkfhi91ZSjTPYAwWiq0hbiiDQb.TswUl9Di_EBsD9DDjbd2z.SAJ0Queir5dZD37qfAKV8b6UzJIgOlSiAeWvwGM6egrC5mHHR.sSC.XpyZdLAwhC0OnuXctAwEXUQWEQAfT_E3Av_1sTK_9XTqBuL08DDw.ALksoXtEx.kKZEhNBXpN.Ag- Received: from [66.129.224.36] by web33202.mail.mud.yahoo.com via HTTP; Tue, 01 Dec 2009 15:15:07 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.8.100.260964 Date: Tue, 1 Dec 2009 15:15:07 -0800 (PST) From: Ravi Shankar To: freebsd-drivers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 23:41:50 -0000 > Hi, >=20 > We are using Freebsd6.2 bases OS on our LV 5200 Series > Intel Dual Core Xeon bases processor(Wolfdale-DP-ULV). In > the carrier board hosting the processor we have BCM5703 > controller. > Currently we are using only one core in 32 bit mode and > planning to use dual 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 on 10. >=20 > =C2=A0 When I stop and loader and assign it manually using > config command "set hw.pci8.9.INTA.irq=3D=E2=80=9D17=E2=80=9D" , > everything works fine. Would be great if some one can throw > some light on this IRQ mapping when IOAPIC is enabled and > possible fix ( Software or BIOS?) >=20 > NOTE: Other devices ( Intel controller (em driver)) are > working fine only this BCM5703 is having issues with IOAPIC >=20 > Thanks, > Ravi >=20 >=20 >=20 > =0A=0A=0A