Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: uvm panic at boot



> 
> On Jan 23, 2011, at 5:34 PM, bch%methodlogic.net@localhost wrote:
> 
> > On Fri, Jan 21, 2011 at 11:28:15AM -0700, Sverre Froyen wrote:
> >>> On Fri, Jan 21, 2011 at 09:21:19AM -0700, Sverre Froyen wrote:
> >>>> I see a similar failure:
> >>> I filed ticket other day, but have not seen any response.
> >>> 
> >>> http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44417
> >> 
> >> I found your PR right after I posted my message.
> > 
> > 
> > I did some bisecting  and have traced the problem (on my machine) to
> > src/sys/uvm/uvm_pglist.c v.1.52, which I see is the same conclusion
> > Sverre reached below.
> 
> Did you pick up the fix to uvm_pglist,c (is uvm_pglist.c 1.56)?

I retried with -current from today with options DEBUG, DIAGNOSTIC
and options PGALLOC_VERBOSE.

The crash still happens at boot but is different now:

pgalloc: ce7c0000..ce7c0000
pgalloc: simple 1 pgs from psi 1
got 0 pgs
pgalloc: simple 1 pgs from psi 4
got 0 pgs
pgalloc: simple 1 pgs from psi 2
got 1 pgs
pgalloc: ce7c1000..ce7c1000
pgalloc: simple 1 pgs from psi 1
got 0 pgs
pgalloc: simple 1 pgs from psi 4
got 0 pgs
pgalloc: simple 1 pgs from psi 2
got 1 pgs
pgalloc: ce7c2000..ce7c2000
pgalloc: simple 1 pgs from psi 1
got 0 pgs
pgalloc: simple 1 pgs from psi 4
panic: 0xcff01 10 (0xa) <= 0xcff00 - 0xcfef7 (0x9)

ddb{0}> bt
breakpoint()
panic()
uvm_pglistalloc+0xbec
_bus_dmamem_alloc_range+0x74
_bus_dmamem_alloc+0x49
usb_block_allocmem+0xff
usb_allocmem+0x3c
ehci_alloc_sqh+0x66
ehci_init+0x3ba
ehci_pci_attach+0x3d6
config_attach_loc+0x16c
pci_probe_device+0x2e8
pci_enumerate_bus+0x139
pcirescan+0x48
pciattach+0x17b
config_attach_loc+0x16c
mp_pci_scan+0xa5
mainbus_attach+0x36a
config_attach_loc+0x16c
cpu_configrue+0x26
main+0x226


Home | Main Index | Thread Index | Old Index