From owner-freebsd-net@FreeBSD.ORG Wed Apr 17 07:26:34 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6DB69F4A for ; Wed, 17 Apr 2013 07:26:34 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx1.freebsd.org (Postfix) with ESMTP id 312EEDB for ; Wed, 17 Apr 2013 07:26:33 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id hv10so1074345vcb.23 for ; Wed, 17 Apr 2013 00:26:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=GKHscfEVxpobJdiDAGG1t78TUaHVs+cypf8XuGc3hOQ=; b=TOWY9PJV4ZyKm066WnT02tKLgxjMhNumQq+0pTX9zv/AtdoESTVuDm3Pj8Z1SvQs/i hNYodd2MAeMZnb9T32gMnXIb3ZcIwWRwfHYwRxmikzNnn5YV+gpm2Gwxlx8CxJMgLHc5 QQAnuEYdX7+kVoJSVr10JP58EVsWBRo2kUyukkre3QBpXRUHsrsJna/l8J9iSy6I2n9U /BM1D2CKBjO1UouCUIFb4vlGUCB4pwZdb2+PMMWkYmd5dNXQu3PVBgTk620EPXtotsJd SGW2FtBI+R4M2w4TCkQpfpMiiZAWTTICpDrqxC36l/pFLmNFotk2oZCUXOrxETgGKzAb 5ZvQ== MIME-Version: 1.0 X-Received: by 10.220.156.8 with SMTP id u8mr3991868vcw.24.1366183593290; Wed, 17 Apr 2013 00:26:33 -0700 (PDT) Received: by 10.220.191.7 with HTTP; Wed, 17 Apr 2013 00:26:33 -0700 (PDT) In-Reply-To: <516E4428.6060201@monkeybrains.net> References: <516E4428.6060201@monkeybrains.net> Date: Wed, 17 Apr 2013 00:26:33 -0700 Message-ID: Subject: Re: ixgbe -- how can I use unsupported SFPs? From: Jack Vogel To: "Rudy (bulk)" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 07:26:34 -0000 You are confusing an internal driver struct with sysctl, there is no ability to do what you are trying to do in the driver, well, not without your own personal hack. There has been some discussion about the issue but as of right now only validated and approved SFP hardware is supported. Jack On Tue, Apr 16, 2013 at 11:41 PM, Rudy (bulk) wrote: > > > I added to my /boot/loader.conf: > hw.ixgbe.allow_unsupported_**sfp=1 > > Yet when I reboot, I still get: > Apr 16 23:29:04 kiwi kernel: ix3: Driver, Version - 2.5.7 - STABLE/9> port 0xdf40-0xdf5f mem > 0xf8e80000-0xf8efffff,**0xf8f78000-0xf8f7bfff irq 37 at device 0.1 on pci4 > Apr 16 23:29:04 kiwi kernel: ix3: Using MSIX interrupts with 9 vectors > Apr 16 23:29:04 kiwi kernel: ix3: Unsupported SFP+ Module > Apr 16 23:29:04 kiwi kernel: device_attach: ix3 attach returned 5 > > > I was attempting to follow this advice: > http://lists.freebsd.org/**pipermail/freebsd-net/** > attachments/20100610/61a9127c/**ixgbe-sfp.obj > > > Will setting a value in the loader.conf file 'set' the > allow_unsupported_sfp bool to TRUE? Here is the code: > > # grep allow_unsupported_sfp /usr/src/sys/dev/ixgbe/* > /usr/src/sys/dev/ixgbe/ixgbe_**phy.c: if > (hw->allow_unsupported_sfp == TRUE) { > /usr/src/sys/dev/ixgbe/ixgbe_**type.h: bool allow_unsupported_sfp; > > > Advice? > > Rudy > ______________________________**_________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@**freebsd.org > " >