From nobody@FreeBSD.org  Sat Oct 20 04:28:07 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3137E996
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 Oct 2012 04:28:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id F2F678FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 Oct 2012 04:28:06 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9K4S60M019335
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 Oct 2012 04:28:06 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q9K4S6SM019307;
	Sat, 20 Oct 2012 04:28:06 GMT
	(envelope-from nobody)
Message-Id: <201210200428.q9K4S6SM019307@red.freebsd.org>
Date: Sat, 20 Oct 2012 04:28:06 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [ixgb,ixgbe] does not properly determine link-state for 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         172895
>Category:       kern
>Synopsis:       [ixgb] [ixgbe] do not properly determine link-state
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-net
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 20 04:30:01 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Feb 03 22:31:13 UTC 2013
>Originator:     Garrett Cooper
>Release:        9.1-PRERELEASE
>Organization:
EMC Isilon
>Environment:
FreeBSD bf049.west.isilon.com 9.1-RC1 FreeBSD 9.1-RC1 #0: Sat Oct 20 02:15:11 PDT 2012     root@bf049.west.isilon.com:/usr/obj/usr/src/sys/ISI-GENERIC  amd64
>Description:
When kldload'ing the kernel modules for if_ixgb or ixgbe, I noticed that
it doesn't properly change the interface state from inactive to active
state (and in fact it seems to think the link is down as opposed to up).
If I manually ifconfig up the interface, then it starts passing traffic.

From dmesg...

ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.8> port 0xef8
0-0xef9f mem 0xfae00000-0xfaefffff,0xfadfc000-0xfadfffff irq 26 at device 0.0 on
 pci7
ix0: Using MSIX interrupts with 9 vectors
ix0: RX Descriptors exceed system mbuf max, using default instead!
ix0: Ethernet address: 00:1b:21:88:51:c4
ix0: PCI Express Bus: Speed 5.0Gb/s Width x8
ix1: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.8> port 0xef4
0-0xef5f mem 0xfac00000-0xfacfffff,0xfabfc000-0xfabfffff irq 25 at device 0.1 on
 pci7
ix1: Using MSIX interrupts with 9 vectors
ix1: RX Descriptors exceed system mbuf max, using default instead!
ix1: Ethernet address: 00:1b:21:88:51:c5
ix1: PCI Express Bus: Speed 5.0Gb/s Width x8

From pciconf -lv...

ix0@pci0:7:0:0: class=0x020000 card=0x000c8086 chip=0x10fb8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
    class      = network
    subclass   = ethernet
ix1@pci0:7:0:1: class=0x020000 card=0x000c8086 chip=0x10fb8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
    class      = network
    subclass   = ethernet
>How-To-Repeat:
1. Boot the 9.1-RC2 livecd.
2. Boot into Live CD mode.
3. kldload if_ixgb.
4. ifconfig will show that the interfaces are not active.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Oct 22 01:24:47 UTC 2012 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172895 
>Unformatted:
