From owner-freebsd-net@FreeBSD.ORG Fri Feb 13 16:10:03 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 273E9D30 for ; Fri, 13 Feb 2015 16:10:03 +0000 (UTC) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC2022B6 for ; Fri, 13 Feb 2015 16:10:02 +0000 (UTC) Received: by iecar1 with SMTP id ar1so20590337iec.11 for ; Fri, 13 Feb 2015 08:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ms6Kw84DFNv5/NjGGEqnzy0RFjmQ99Xk+eKUMSi0gAo=; b=p56Lh0RLxx/O7m2C8Md1IHc9crexAExnFTvS3IgEhgxHkOTc8vxFtclBVoJkhxfXe0 R99uq/b+w2ELEjIsvP99SMA9dW9xlCRl0g9gJGdsTnyDnDehVHsLajgfcaX3DiK2oly7 OiO+aJ49LS1u/ZADcOcvvq+cyo2LkTGOTdVz35FaVOTxpWzh0hlv1AgYH+ctv9Zku0PR crgbZ09BKxjH+qaSsH9e84WswRPp9JaSaI8IX4xRF4DIkhHVfx9fDa2+tHBljjfjY+aL Avuwpm5MRdRKtQdycVw7z6ruF3H87vOcs47UovwR2DFFgE78K8ePbCp+NyAHH0uTiFy7 0hXw== X-Received: by 10.42.159.129 with SMTP id l1mr13166019icx.15.1423843796496; Fri, 13 Feb 2015 08:09:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.107.138 with HTTP; Fri, 13 Feb 2015 08:09:36 -0800 (PST) In-Reply-To: References: From: Luca Pizzamiglio Date: Fri, 13 Feb 2015 17:09:36 +0100 Message-ID: Subject: Fwd: pcie Realtek 8168G issues (re driver) To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 16:10:03 -0000 Hi, I'm Luca, I've some issues using a PCIe Realtek Ethernet board: re0@pci0:3:0:0: class=0x020000 card=0x012310ec chip=0x816810ec rev=0x0c hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller' class = network subclass = ethernet bar [10] = type I/O Port, range 32, base 0x1000, size 256, enabled bar [18] = type Memory, range 64, base 0x90500000, size 4096, enabled bar [20] = type Prefetchable Memory, range 64, base 0x90400000, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 05[50] = MSI supports 1 message, 64 bit cap 10[70] = PCI-Express 2 endpoint IRQ 1 max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) cap 11[b0] = MSI-X supports 4 messages Table in map 0x20[0x0], PBA in map 0x20[0x800] cap 03[d0] = VPD ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected ecap 0002[140] = VC 1 max VC0 ecap 0003[160] = Serial 1 01000000684ce000 ecap 0018[170] = LTR 1 Rx and Tx don't work. After some minutes the interface is activated I get kernel panic. I've already tried to disable MSIx and MSI. It seems a DMA problem, rx fill the 256 descriptors and the nothing else until the panic. netstat -s shows now new packets. I filled a bug report with more infos: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197535 could someone kindly pointing some ideas? Best regards, Luca