From owner-freebsd-stable@FreeBSD.ORG Mon Mar 9 05:02:10 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B7F81065722; Mon, 9 Mar 2009 05:02:10 +0000 (UTC) (envelope-from g.stone-tolcher@its.uq.edu.au) Received: from mailhub3.uq.edu.au (mailhub3.uq.edu.au [130.102.148.131]) by mx1.freebsd.org (Postfix) with ESMTP id B66EA8FC1C; Mon, 9 Mar 2009 05:02:09 +0000 (UTC) (envelope-from g.stone-tolcher@its.uq.edu.au) Received: from smtp4.uq.edu.au (smtp4.uq.edu.au [130.102.128.19]) by mailhub3.uq.edu.au (8.13.8/8.13.8) with ESMTP id n294pfDE023951; Mon, 9 Mar 2009 14:51:41 +1000 Received: from uqexav01.soe.uq.edu.au (uqexav01.soe.uq.edu.au [130.102.4.248]) by smtp4.uq.edu.au (8.13.8/8.13.8) with ESMTP id n294pftO029794; Mon, 9 Mar 2009 14:51:41 +1000 Received: from UQEXMB1.soe.uq.edu.au ([130.102.4.217]) by uqexav01.soe.uq.edu.au with Microsoft SMTPSVC(6.0.3790.1830); Mon, 9 Mar 2009 14:51:40 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 9 Mar 2009 14:51:41 +1000 Message-ID: <93D48C8BEA0F954FA6569C8A853EF79C02CE62E0@UQEXMB1.soe.uq.edu.au> In-reply-to: <20090308023642.GB1531@michelle.cdnetworks.co.kr> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD 7.1 Breaks re and rl Network Interface Drivers Thread-Index: AcmflyQHogUN3Sv8Sk6pBJlrFmxxYQA12jzQ References: <8dfae1c10901070639x67945324jeeecfcac647d7976@mail.gmail.com><200901191833.51320.jkim@FreeBSD.org><20090120024519.GB79785@cdnetworks.co.kr><200903071717.57915.ianjhart@ntlworld.com> <20090308023642.GB1531@michelle.cdnetworks.co.kr> From: "Gavin Stone-Tolcher" To: , "ian j hart" X-OriginalArrivalTime: 09 Mar 2009 04:51:40.0953 (UTC) FILETIME=[BCB60090:01C9A072] X-UQ-FilterTime: 1236574301 X-Scanned-By: MIMEDefang 2.58 on UQ Mailhub on 130.102.148.131 Cc: freebsd-stable@freebsd.org, Sascha Holzleiter , Jung-uk Kim Subject: RE: FreeBSD 7.1 Breaks re and rl Network Interface Drivers X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 05:02:10 -0000 > Have you tried re(4) in HEAD? > I had one report that re(4) in HEAD still does not fix the issue so > I posted a possible workaround for that. Unfortunately he didn't > report back so I don't know whether it was right workaround or not.=20 > If re(4) in HEAD does not fix the issue, would you try attached > patch and let me know how it goes? Hi, Just some more feedback on your patch. I have a Jetway J7F4K1G2E board with dual embedded=20 RealteK RTL8110SC. I tried using the 19 January 2009 jkim=20 patches: > > > > http://people.freebsd.org/~jkim/re/re.stable2.diff And also tried using what I believe are same changes he made to HEAD via if_re.c, if_rl.c and if_rlreg.h(187483), and still had issues with the controllers at system startup. I have been using your patch above originally proffered on=20 Feb 13 since Feb 18 and the system has been working fine=20 since then.=20 controllers: re0@pci0:0:9:0: class=3D0x020000 card=3D0x10ec16f3 chip=3D0x816710ec = rev=3D0x10 hdr=3D0x00 vendor =3D 'Realtek Semiconductor' device =3D 'RTL8169/8110 Family Gigabit Ethernet NIC' class =3D network subclass =3D ethernet re1@pci0:0:11:0: class=3D0x020000 card=3D0x10ec16f3 = chip=3D0x816710ec rev=3D0x10 hdr=3D0x00 vendor =3D 'Realtek Semiconductor' device =3D 'RTL8169/8110 Family Gigabit Ethernet NIC' class =3D network subclass =3D ethernet re0: port 0xf000-0xf0ff mem 0xfdfff000-0xfdfff0ff irq 18 at device 9.0 on pci0 re0: Chip rev. 0x18000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:30:18:a6:26:ff re0: [FILTER] re1: port 0xf200-0xf2ff mem 0xfdffe000-0xfdffe0ff irq 19 at device 11.0 on pci0 re1: Chip rev. 0x18000000 re1: MAC rev. 0x00000000 miibus1: on re1 rgephy1: PHY 1 on miibus1 rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re1: Ethernet address: 00:30:18:a6:27:00 re1: [FILTER] Cheers, Gavin Stone-Tolcher g.stone-tolcher@its.uq.edu.au Incident Response Team Information Technology Services The University of Queensland Phone: +61 7 336 54407 Queensland 4072 AUSTRALIA Fax,: +61 7 336 57539