From owner-freebsd-hardware@FreeBSD.ORG Fri Feb 13 16:07:05 2015 Return-Path: Delivered-To: freebsd-hardware@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 174B384B; Fri, 13 Feb 2015 16:07:05 +0000 (UTC) Received: from mail-ie0-f175.google.com (mail-ie0-f175.google.com [209.85.223.175]) (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 D992822E; Fri, 13 Feb 2015 16:07:01 +0000 (UTC) Received: by ierx19 with SMTP id x19so20608506ier.3; Fri, 13 Feb 2015 08:07:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=ms6Kw84DFNv5/NjGGEqnzy0RFjmQ99Xk+eKUMSi0gAo=; b=cPDdtcaVbuyKXbvtLZrNKD1gKQe+E8UFcr3cLdCRbgT3BpBMH4Vm5++SwT1Cs8mh2e m3nEGFNITw901w/9EbsbpFJjPW6U3F/Fg9sYdKhvhbQYfHH1AjEN2sYbAXPqTieuWt8o 4rV9kzk9SOZr1RInkNemA1QiWTYkjQ2DJkeorT3JyKnzlyGBtz4Qvfgxcqmd1bbjBIQy tlSpEAnXGmZ/8PHj2cuBrYNPYn0WjTl0OpULSyGjZH5R1VBnTUAdEFrRo5TYpV/q+DtL +aCUKg8QEfaGmSKqeSgGXY6egrzN6HXpaG+t+GnAGAy6yLC9aoS/sfV4yI5llghPPGic +o2A== X-Received: by 10.42.152.201 with SMTP id j9mr10678289icw.25.1423843620772; Fri, 13 Feb 2015 08:07:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.107.138 with HTTP; Fri, 13 Feb 2015 08:06:40 -0800 (PST) From: Luca Pizzamiglio Date: Fri, 13 Feb 2015 17:06:40 +0100 Message-ID: Subject: pcie Realtek 8168G issues (re driver) To: FreeBSD Current , FreeBSD Hackers , freebsd-hardware@freebsd.org, freebsd-network@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 16:07:05 -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