From owner-freebsd-net@freebsd.org Fri Aug 14 22:29:09 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 365949BA041 for ; Fri, 14 Aug 2015 22:29:09 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (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 0584618D4; Fri, 14 Aug 2015 22:29:09 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by igfj19 with SMTP id j19so21559586igf.1; Fri, 14 Aug 2015 15:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=kmhyzSKppligxMxYt1++QbpgyKl09gNHvRW9XulC/78=; b=ub+QdJaBp59kwVBiBNnb/Hs8gKhkl4m6Z6GTo88sXRCd/IowEpaxdVLJrUlyJuR1KG S84h93882/tfTkuZL9HSE+2KCWXMNDHc+3klJJnLzxbdLHBGfDKFcHKb0gfbpBaMeXWE MBZE23qfRgXyzxg7PUZSCNDU33SDe2fxNEM8F3NipFx1RAGnaRCZmH4RsjWUnpOwhyF7 vU+zwTwB0sfmpCx7NmyA51H3o0frtvn5MQVQKkPbJfeXwtCN0tYEgJWg8upQMSeD5qcU P9/1gY5JFfNE5Nn8XV+bLoi16IyReaMDedKu4uL18uGI/rh9FCOYduitflDKcQX461UC JzlA== MIME-Version: 1.0 X-Received: by 10.50.30.226 with SMTP id v2mr5381255igh.11.1439591348258; Fri, 14 Aug 2015 15:29:08 -0700 (PDT) Received: by 10.107.202.132 with HTTP; Fri, 14 Aug 2015 15:29:08 -0700 (PDT) Date: Fri, 14 Aug 2015 18:29:08 -0400 Message-ID: Subject: Re: RE not working on 10.2-RELEASE #0 r286731M From: Kim Culhan To: sbruno@freebsd.org Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 14 Aug 2015 22:29:09 -0000 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > On 08/14/15 13:34, Kim Culhan wrote: >> RE on 10.2-RELEASE #0 r286731M appears to pass only arp traffic. >> >> Replaced if_re.c with version from 273757, appears to work >> normally. >> >> The diff: >> >> 34c34 < __FBSDID("$FreeBSD: stable/10/sys/dev/re/if_re.c 273757 >> 2014-10-28 00:43:00Z yongari $"); --- >>> __FBSDID("$FreeBSD: releng/10.2/sys/dev/re/if_re.c 285177 >>> 2015-07-05 >> 20:16:38Z marius $"); 3198,3202d3197 < * Enable transmit and >> receive. < */ < CSR_WRITE_1(sc, RL_COMMAND, >> RL_CMD_TX_ENB|RL_CMD_RX_ENB); < < /* 3227a3223,3227 >>> /* * Enable transmit and receive. */ CSR_WRITE_1(sc, RL_COMMAND, >>> RL_CMD_TX_ENB | RL_CMD_RX_ENB); >>> >> 3251,3254d3250 < #ifdef notdef < /* Enable receiver and >> transmitter. */ < CSR_WRITE_1(sc, RL_COMMAND, >> RL_CMD_TX_ENB|RL_CMD_RX_ENB); < #endif >> >> Let me know what additional info I can provide. >> >> thanks -kim _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net To >> unsubscribe, send any mail to >> "freebsd-net-unsubscribe@freebsd.org" >> > > > I'm running -current with all changes in place, I'm not seeing the > issues noted here with my hardware. Can you post your hardware from > pciconf -lv? > > re0@pci0:3:0:0: class=0x020000 card=0x84321043 chip=0x816810ec > rev=0x06 hdr=0x00 > vendor = 'Realtek Semiconductor Co., Ltd.' > device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller' > class = network > subclass = ethernet > re1@pci0:4:5:0: class=0x020000 card=0x43021186 chip=0x43021186 > rev=0x10 hdr=0x00 > vendor = 'D-Link System Inc' > device = 'DGE-530T Gigabit Ethernet Adapter (rev.C1) [Realtek > RTL8169]' > class = network > subclass = ethernet > > > sean pciconf -lv re0@pci0:2:0:0: class=0x020000 card=0x83671043 chip=0x816810ec rev=0x02 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller' class = network subclass = ethernet re1@pci0:6:0:0: class=0x020000 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8169 PCI Gigabit Ethernet Controller' class = network subclass = ethernet re2@pci0:6:1:0: class=0x020000 card=0x4c001186 chip=0x43001186 rev=0x10 hdr=0x00 vendor = 'D-Link System Inc' device = 'DGE-528T Gigabit Ethernet Adapter' class = network subclass = ethernet The problem was noted on re2, re0 and re1 appeared to be working normally. thanks -kim