From owner-freebsd-hackers@freebsd.org Wed Apr 11 21:22:19 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F0F8F92B5C for ; Wed, 11 Apr 2018 21:22:19 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wr0-x22e.google.com (mail-wr0-x22e.google.com [IPv6:2a00:1450:400c:c0c::22e]) (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 1F12C83B03 for ; Wed, 11 Apr 2018 21:22:18 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wr0-x22e.google.com with SMTP id o3so3109281wri.2 for ; Wed, 11 Apr 2018 14:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=cV2y7b317iEhbenJWoLx+yfm83gTHiCoZmiHvbKXAAA=; b=XmUkgh1bQv4U7gOeu67BiDwkrwSuZHabAQRW17GZ30C/OwaBQu5F8XV0/k+zZC/Pd+ ibBUAclmiHwC1mwwtkrYN1FyZioiHrwYFrufR6kNjPxqWQyTe9BOgFROXnRl+zOOruzq hQSEGjnXAk54Dn/bV6aaaS48gqJI8ciUDUjX9Bc2uBQXUnZEsgaUay/of4R3hNHIpXgu E//ZSF7Yp9oVichJk8YDdehsGUyWDh1EAqlBFdW/Jzu9J6mFDjVB4YAv6pIvtox6NWJm mB9x6A3bxsS9Ffx0/jMD/Bu4oZYNG2iWim6fjUATKadFCgfsSPLHUX6BJPZbQ4T0vdw/ Dc2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=cV2y7b317iEhbenJWoLx+yfm83gTHiCoZmiHvbKXAAA=; b=NbMLfrDaGeQWs2zaVoYhoAkoynKvLrr/WVd0MELqOLjQAXXNaXkWt+aO7zD0MfPKN4 1p5DDNJl0on8XNFEfGF948ZWl9qfHJy1uWVcl/1R++Lbb7EaWSGkQGSXLlaHooqwbAu0 w0m6lMdhBdar9VXEUe6XjnDey6s0Aam+NxhU+2JFlesgxfpT/94ZKaeJS24SNmTFnq2/ Y2Nxe1CNOmpgI7aucoKEAf529Zf0akMjpRW84Lokx3gzHI0lAI/XoA28T1wg+AC5Cz8m O8REOuKd3x3cNAKgr5qy4dKJ7WhEH/xOseemmMVvqkqeHt9OkbTszQGp0jwtvgRo977r erUg== X-Gm-Message-State: ALQs6tDQyE7Op1SyWWB+vIiez4sAjnVYgROrrNqL/j2d+bVRUazpP8wo YYtF7PBDnu1NLcrWGO5GYBDOO9brje0= X-Google-Smtp-Source: AIpwx48VvHKoELvdCAWo7C1ykcM9p096vPb0B4O4QaA0/MEHNi2TMnXcLo1LAHmiJRC3ltYHVw9tcw== X-Received: by 10.223.164.150 with SMTP id g22mr2449979wrb.53.1523481737542; Wed, 11 Apr 2018 14:22:17 -0700 (PDT) Received: from [10.10.1.111] ([185.97.61.1]) by smtp.gmail.com with ESMTPSA id c14sm3105013wmi.28.2018.04.11.14.22.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 14:22:16 -0700 (PDT) Subject: Re: Realtek re(4) driver To: freebsd-hackers@freebsd.org References: <201804111801.w3BI1D9x028952@pdx.rh.CN85.dnsmgr.net> <90c5e785-1e73-0bcc-2e36-24cabce74c71@systella.fr> From: Steven Hartland Message-ID: <0466ec9d-b517-bee1-fa5f-b23ed56e7d36@multiplay.co.uk> Date: Wed, 11 Apr 2018 22:22:16 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <90c5e785-1e73-0bcc-2e36-24cabce74c71@systella.fr> Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 21:22:19 -0000 On 11/04/2018 22:01, BERTRAND Joël wrote: > Rodney W. Grimes a écrit : >> SO if you want to submit your pciconf -lv, >> PLEASE include the dmesg output for the device. > I don't know if it's enough as I cannot reboot with FreeBSD officiel > driver. I use Realtek one : > > Mar 24 21:35:06 pythagore kernel: re0: Controller> port 0xe000-0xe0ff mem > 0xf7d00000-0xf7d00fff,0xf0000000-0xf0003fff irq 19 at device 0.0 on pci2 > Mar 24 21:35:06 pythagore kernel: re0: Using Memory Mapping! > Mar 24 21:35:06 pythagore kernel: re0: Using 1 MSI-X message > Mar 24 21:35:06 pythagore kernel: re0: version:1.94.01 > Mar 24 21:35:06 pythagore kernel: re0: Ethernet address: d8:cb:8a:7d:10:59 > Mar 24 21:35:06 pythagore kernel: re0: Ethernet address: d8:cb:8a:7d:10:59 > Mar 24 21:35:06 pythagore kernel: re0: link state changed to UP > > This adapter doesn't work as expected on diskless workstation with > kernel driver. No problem with Realtek driver. > > re0@pci0:2:0:0: class=0x020000 card=0x78511462 chip=0x816810ec rev=0x0c > hdr=0x00 > vendor = 'Realtek Semiconductor Co., Ltd.' > device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller' > class = network > subclass = ethernet > I know you said you couldn't do this, but it may well be very useful to compare this to the output when using the built in FreeBSD driver as it may highlight a key difference. I'm thinking given the ages of the Realtek driver we could be looking at a different operational mode, different MSI-X count etc. Here's some other links with potentially relevant info: https://forums.freebsd.org/threads/replacing-realtek-re-driver.55861/ https://unixblogger.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/     Regards     Steve