From owner-freebsd-current@FreeBSD.ORG Tue Dec 4 18:07:35 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49A7C369 for ; Tue, 4 Dec 2012 18:07:35 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by mx1.freebsd.org (Postfix) with ESMTP id E6A6C8FC08 for ; Tue, 4 Dec 2012 18:07:34 +0000 (UTC) Received: by mail-vb0-f45.google.com with SMTP id p1so3855610vbi.18 for ; Tue, 04 Dec 2012 10:07:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8ZyxUMrrgZD/AKtMZ3bNHew8P4gelLEOGO98pExfb8Q=; b=1DpjmHg5zD1Tgs2h4iJ0cPq3I0y+rHOlS3Vc+J+XkSkyGwCZ/7OvYloYiH94eV5JRY CFYiaNE4QMNz/VuGHQdQ6q4twp3w2BDxzZuG7uc846Lwj4nOpAK2wo/KK74qh1tJUus1 M/Urm5KlXS5EcUwfr4D19M/ubyFJJD0Pu/gq+Vc392Jyc8oaQ5I+uvT9fKTF65R4hU8/ rReETtRKmIscYWxwPpufzG/apPA9H98IsjzmJE8/wivktXQ5BBDQL14SYvSqiPawMAiZ 4R5brL2V1rfyxWg6i9aPiBkVadNTJ0+tV0mjJcZbySQ/YMQe55H4m01zMR5UpoQdL9EP C62g== MIME-Version: 1.0 Received: by 10.52.16.229 with SMTP id j5mr10735222vdd.111.1354644454241; Tue, 04 Dec 2012 10:07:34 -0800 (PST) Received: by 10.220.50.6 with HTTP; Tue, 4 Dec 2012 10:07:34 -0800 (PST) In-Reply-To: References: Date: Tue, 4 Dec 2012 10:07:34 -0800 Message-ID: Subject: Re: ixgbe(4) and SFP+ (un)supported module From: Jack Vogel To: Ian FREISLICH Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 18:07:35 -0000 Look again closely, AFBR-703SDZ-IN2 and AFBR-703SDDZ-IN1 are supported, AFBR-703SDZ-IN is not. Jack On Tue, Dec 4, 2012 at 3:47 AM, Ian FREISLICH wrote: > Hi > > I've just had this card installed in our servers: > > ix0@pci0:12:0:0: class=0x020000 card=0x7a118086 chip=0x10fb8086 > rev=0x01 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82599EB 10-Gigabit SFI/SFP+ Network Connection' > class = network > subclass = ethernet > cap 01[40] = powerspec 3 supports D0 D3 current D0 > cap 05[50] = MSI supports 1 message, 64 bit, vector masks > cap 11[70] = MSI-X supports 64 messages in map 0x20 enabled > cap 10[a0] = PCI-Express 2 endpoint max data 512(512) FLR link x8(x8) > speed 2.5(5.0) > cap 03[e0] = VPD > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected > ecap 0003[140] = Serial 1 90e2baffff2b92e8 > ecap 000e[150] = ARI 1 > ecap 0010[160] = SRIOV 1 > > Which yielded the following error initializing the driver: > > ix0: port > 0xbcc > ix0: Using MSIX interrupts with 9 vectors > ix0: Unsupported SFP+ Module > device_attach: ix0 attach returned 5 > ix0: port > 0xbce > ix0: Using MSIX interrupts with 9 vectors > ix0: Unsupported SFP+ Module > device_attach: ix0 attach returned 5 > ix0: port > 0xbcc > ix0: Using MSIX interrupts with 9 vectors > ix0: Unsupported SFP+ Module > device_attach: ix0 attach returned 5 > ix0: port > 0xbce > ix0: Using MSIX interrupts with 9 vectors > ix0: Unsupported SFP+ Module > device_attach: ix0 attach returned 5 > > The README in /usr/src/sys/dev/ixgbe claims that the module we have, > AFBR-703SDZ-IN is supported. I had to make the following change > to get the driver to attach. I get the feeling it's not the > correct fix however: > > [firewall2.jnb1] /usr/src/sys/dev/ixgbe # svn diff > Index: ixgbe_phy.c > =================================================================== > --- ixgbe_phy.c (revision 243808) > +++ ixgbe_phy.c (working copy) > @@ -955,7 +955,7 @@ > u8 oui_bytes[3] = {0, 0, 0}; > u8 cable_tech = 0; > u8 cable_spec = 0; > - u16 enforce_sfp = 0; > + u16 enforce_sfp = 1; > > DEBUGFUNC("ixgbe_identify_sfp_module_generic"); > > Ian > > -- > Ian Freislich > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >