From owner-freebsd-stable@FreeBSD.ORG Fri May 14 12:14:04 2010 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 EAB2C106567D for ; Fri, 14 May 2010 12:14:03 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D26208FC14 for ; Fri, 14 May 2010 12:14:02 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA04818; Fri, 14 May 2010 15:13:58 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4BED3E85.5000803@icyb.net.ua> Date: Fri, 14 May 2010 15:13:57 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100319) MIME-Version: 1.0 To: Chris Buechler References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable , net@freebsd.org Subject: Re: regression in dc(4) from 7.2 to RELENG_8 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: Fri, 14 May 2010 12:14:04 -0000 on 14/05/2010 09:42 Chris Buechler said the following: > one of our users has reported a regression in dc(4) on RELENG_8, the > cards work fine on 7.2 and previous versions, but no longer function at > all with RELENG_8 as of about a week ago. > http://forum.pfsense.org/index.php/topic,24964.msg129488.html#msg129488 Perhaps this might be a cardbus issue (or even a more general issue) rather than a dc(4) issue. But first please try this patch reversed: --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -331,7 +331,6 @@ static driver_t dc_driver = { static devclass_t dc_devclass; -DRIVER_MODULE(dc, cardbus, dc_driver, dc_devclass, 0, 0); DRIVER_MODULE(dc, pci, dc_driver, dc_devclass, 0, 0); DRIVER_MODULE(miibus, dc, miibus_driver, miibus_devclass, 0, 0); > dmesg from it working, from 7.2: > cbb0: at device 11.0 on pci0 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb0: [ITHREAD] > cbb1: at device 11.1 on pci0 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > cbb1: [ITHREAD] > dc0: port 0x1080-0x10ff mem > 0x88000000-0x880007ff,0x88001000-0x880017ff irq 11 at device 0.0 on > cardbus0 > miibus1: on dc0 > tdkphy0: PHY 0 on miibus1 > tdkphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > dc0: Ethernet address: 00:xx:xx:xx:xx:56 > dc0: [ITHREAD] > dc1: port 0x1100-0x117f mem > 0x88002000-0x880027ff,0x88003000-0x880037ff irq 11 at device 0.0 on > cardbus1 > miibus2: on dc1 > tdkphy1: PHY 0 on miibus2 > tdkphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > dc1: Ethernet address: 00:xx:xx:xx:xx:66 > dc1: [ITHREAD] > > Not working, RELENG_8: > cbb0: at device 11.0 on pci0 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb0: [FILTER] > cbb1: at device 11.1 on pci0 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > cbb1: [FILTER] > cardbus0: Unable to allocate resource to read CIS. > cardbus0: Unable to allocate resources for CIS > cardbus0: Unable to allocate resource to read CIS. > cardbus0: Unable to allocate resources for CIS > dc0: port 0x1080-0x10ff mem > 0x88000000-0x880007ff,0x88001000-0x880017ff irq 11 at device 0.0 on > cardbus0 > dc0: No station address in CIS! > device_attach: dc0 attach returned 6 > cardbus1: Unable to allocate resource to read CIS. > cardbus1: Unable to allocate resources for CIS > cardbus1: Unable to allocate resource to read CIS. > cardbus1: Unable to allocate resources for CIS > dc1: port 0x1080-0x10ff mem > 0x88002000-0x880027ff,0x88003000-0x880037ff irq 11 at device 0.0 on > cardbus1 > dc1: No station address in CIS! > device_attach: dc1 attach returned 6 > > > We can apply patches to our builds for this person and others to test > and confirm the fix, before it's committed into FreeBSD. > > Chris > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Andriy Gapon