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

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 15 Dec 2009 11:25:45 -0500
On Tuesday 15 December 2009 12:19:12 am Thierry Herbelot wrote:
> Le Monday 14 December 2009, John Baldwin a écrit :
> > On Friday 11 December 2009 12:15:27 am Thierry Herbelot wrote:
> > > Hello,
> > >
> > > I'm seeing a panic in my latest -Current kernel (config file == GENERIC
> > > minus INVARIANTS, WITNESS and SMP). The machine is an older notebook,
> > > with a PCMCIA network card.
> >
> > Can you try reverting the recent change to sys/dev/pci/pci.c to use
> > resource_list_reserve() just to narrow down if that is the cause?
> 
> Hello,
> 
> If I revert this commit, the kernel does boot correctly :
> 
> 308,309c308,309
> <      $FreeBSD: src/sys/dev/pci/pci.c,v 1.390 2009/11/25 20:50:43 thompsa Exp 
> $
> <      $FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.60 2009/05/20 22:00:39 imp Exp 
> $
> ---
> >      $FreeBSD: src/sys/dev/pci/pci.c,v 1.392 2009/12/10 01:01:53 jkim Exp $
> >      $FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.61 2009/12/10 01:01:53 jkim Exp 
> $
> (the diff is an extract from the change in the idents between the last working 
> kernel and the next, non-working one)
> 
> This commit seems to be about processing ACPI tables : maybe my notebook has a 
> some bad ACPI data ?

This delta includes two changes to pci.c (1.391 and 1.392).  Can you try moving
it up so that it applies just 1.391 of pci.c?

-- 
John Baldwin
Received on Tue Dec 15 2009 - 15:43:10 UTC

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