From owner-freebsd-current@FreeBSD.ORG Thu Dec 31 15:25:55 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8F841065676; Thu, 31 Dec 2009 15:25:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 79BDC8FC1A; Thu, 31 Dec 2009 15:25:55 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 0854C46B0D; Thu, 31 Dec 2009 10:25:55 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 883358A01B; Thu, 31 Dec 2009 10:25:42 -0500 (EST) From: John Baldwin To: "M. Warner Losh" Date: Thu, 31 Dec 2009 09:58:46 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <20091230173351.GV77520@FreeBSD.org> <20091231001556.GW77520@FreeBSD.org> <20091230.171445.886714142421743359.imp@bsdimp.com> In-Reply-To: <20091230.171445.886714142421743359.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912310958.46605.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 31 Dec 2009 10:25:42 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: thierry.herbelot@free.fr, wkoszek@freebsd.org, current@freebsd.org Subject: Re: Panic in a recent kernel (cardbus/pci related ?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 15:25:55 -0000 On Wednesday 30 December 2009 7:14:45 pm M. Warner Losh wrote: > In message: <20091231001556.GW77520@FreeBSD.org> > "Wojciech A. Koszek" writes: > : On Wed, Dec 30, 2009 at 01:04:53PM -0500, John Baldwin wrote: > : > On Wednesday 30 December 2009 12:33:51 pm Wojciech A. Koszek wrote: > : > > On Wed, Dec 30, 2009 at 10:25:56AM -0500, John Baldwin wrote: > : > > > On Wednesday 30 December 2009 9:28:33 am John Baldwin wrote: > : > > > > On Friday 11 December 2009 12:15:27 am Thierry Herbelot wrote: > : > > > > > Hello, > : > > > > > > : > > > : > > [..] > : > > > : > > > : > > Hi John, > : > > > : > > And I have applied your patch against src/sys/.... This is what I got when my > : > > Atheros-based CardBus WiFi card got inserted: > : > > > : > > http://people.freebsd.org/~wkoszek/traces/cb.jpg > : > > : > I had a typo. Change the 'bus_generic_activate_resource()' in > : > pci_deactivate_resource() in pci.c to bus_generic_deactivate_resource(). > : > > : > : Not only your latest commits fix all cardbus(4) issues I have experienced with > : my Cardbus card on CURRENT... Several days ago I have acquired Cardbus<->LPT > : adapter and modified puc(4) so that it recognizes it. However, ppc_puc_probe() > : present in ppc_puc.c from ppc(4) was never getting called... I just saw > : ppc_acpi_probe() and ppc_pci_probe() being executed. > : > : In the fresh build of a kernel I have suddently seen a printf() that I've put > : there. > > Yea, but the cardbus with CIS in ROM is still kinda borked. My Xircom > card hits that problem :( Hmm, and does it work prior to all the resource_list_reserve() changes if you fix the cardbus_cis.c code that tries to clear the decoding bit? -- John Baldwin