Re: Panic in a recent kernel (cardbus/pci related ?)

From: Wojciech A. Koszek <wkoszek_at_freebsd.org>
Date: Thu, 31 Dec 2009 01:15:56 +0100
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.

-- 
Wojciech A. Koszek
wkoszek_at_FreeBSD.org
http://FreeBSD.czest.pl/~wkoszek/
Received on Wed Dec 30 2009 - 23:02:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC