Current-Users archive

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

Re: kernel panic on a cold start amd64.



Now I can reproduce it persistent.
Kernel panic on a network bridge with a msk interface hasn't connection.

Do I need open a new bug? Or it can be fixed easy?
The main reason is:
msk0: watchdog timeout
from source:

void
msk_watchdog(struct ifnet *ifp)
{
[...]
                        /* XXX Resets both ports; we shouldn't do that. */
                        msk_reset(sc_if->sk_softc);
                        msk_init(ifp);
[...]
}


From /var/log/messages:
May 27 13:59:19 bmoy /netbsd: msk0: watchdog timeout
May 27 13:59:19 bmoy /netbsd: panic: kernel diagnostic assertion 
"(!cpu_intr_p() && !cpu_softintr_p()) || (pc->pc_pool.pr_ipl != IPL_NONE || 
cold || panicstr != NULL)" failed: file 
"/home/builds/ab/HEAD/src/sys/kern/subr_pool.c", line 2210 pool 'vmmpepl' is 
IPL_NONE, but called from interrup
May 27 13:59:19 bmoy /netbsd: cpu0: Begin traceback...
May 27 13:59:19 bmoy /netbsd: vpanic() at netbsd:vpanic+0x13c
May 27 13:59:19 bmoy /netbsd: kern_assert() at netbsd:kern_assert+0x4f
May 27 13:59:19 bmoy /netbsd: pool_cache_get_paddr() at 
netbsd:pool_cache_get_paddr+0x12c
May 27 13:59:19 bmoy /netbsd: uvm_mapent_alloc.isra.2() at 
netbsd:uvm_mapent_alloc.isra.2+0x20
May 27 13:59:19 bmoy /netbsd: uvm_map_clip_start() at 
netbsd:uvm_map_clip_start+0x1b
May 27 13:59:19 bmoy /netbsd: uvm_unmap_remove() at 
netbsd:uvm_unmap_remove+0x2fe
May 27 13:59:19 bmoy /netbsd: uvm_unmap1() at netbsd:uvm_unmap1+0x35
May 27 13:59:19 bmoy /netbsd: _bus_dmamap_destroy.isra.11() at 
netbsd:_bus_dmamap_destroy.isra.11+0x41
May 27 13:59:19 bmoy /netbsd: msk_stop() at netbsd:msk_stop+0x3f4
May 27 13:59:19 bmoy /netbsd: msk_init() at netbsd:msk_init+0x35
May 27 13:59:19 bmoy /netbsd: if_slowtimo() at netbsd:if_slowtimo+0x46
May 27 13:59:19 bmoy /netbsd: callout_softclock() at 
netbsd:callout_softclock+0x392
May 27 13:59:19 bmoy /netbsd: softint_dispatch() at netbsd:softint_dispatch+0xd3
May 27 13:59:19 bmoy /netbsd: DDB lost frame for netbsd:Xsoftintr+0x4f, trying 
0xfffffe810e932ff0
May 27 13:59:19 bmoy /netbsd: Xsoftintr() at netbsd:Xsoftintr+0x4f
May 27 13:59:19 bmoy /netbsd: --- interrupt ---
May 27 13:59:19 bmoy /netbsd: 0:
May 27 13:59:19 bmoy /netbsd: cpu0: End traceback...
May 27 13:59:19 bmoy /netbsd:
May 27 13:59:19 bmoy /netbsd: dumping to dev 0,1 (offset=4197039, size=2096926):
May 27 13:59:19 bmoy /netbsd: dump Copyright (c) 1996, 1997, 1998, 1999, 2000, 
2001, 2002, 2003, 2004, 2005,
May 27 13:59:19 bmoy /netbsd:    2006, 2007, 2008, 2009, 2010, 2011, 2012, 
2013, 2014
May 27 13:59:19 bmoy /netbsd:    The NetBSD Foundation, Inc.  All rights 
reserved.
May 27 13:59:19 bmoy /netbsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
May 27 13:59:19 bmoy /netbsd:    The Regents of the University of California.  
All rights reserved.
May 27 13:59:19 bmoy /netbsd:




On 25.05.2014 23:55, Ilia Zykov wrote:
> But it is five years old the testing machine and can has hardware degradation.
> 
> Crash version 6.99.42, image version 6.99.42.
> System panicked: kernel diagnostic assertion "(!cpu_intr_p() && 
> !cpu_softintr_p()) || (pc->pc_pool.pr_ipl != IPL_NONE || cold || panicstr != 
> NULL)" failed: file "/home/builds/ab/HEAD/src/sys/kern/subr_pool.c", line 
> 2210 pool 'vmmpepl' is IPL_NONE, but called from interrup
> Backtrace from time of crash is available.
> crash> bt
> _KERNEL_OPT_NARCNET() at 0
> ?() at fffffe822c8c4cf8
> vpanic() at vpanic+0x145
> kern_assert() at kern_assert+0x4f
> pool_cache_get_paddr() at pool_cache_get_paddr+0x12c
> uvm_mapent_alloc.isra.2() at uvm_mapent_alloc.isra.2+0x20
> uvm_map_clip_start() at uvm_map_clip_start+0x1b
> uvm_unmap_remove() at uvm_unmap_remove+0x2fe
> uvm_unmap1() at uvm_unmap1+0x35
> _bus_dmamap_destroy.isra.11() at _bus_dmamap_destroy.isra.11+0x41
> msk_stop() at msk_stop+0x3f4
> msk_init() at msk_init+0x35
> if_slowtimo() at if_slowtimo+0x46
> callout_softclock() at callout_softclock+0x392
> softint_dispatch() at softint_dispatch+0xd3
> DDB lost frame for Xsoftintr+0x4f, trying 0xfffffe810e932ff0
> Xsoftintr() at Xsoftintr+0x4f
> --- interrupt ---
> 0:
> crash> exit
> 
> 6.99.42 NetBSD 6.99.42 (GENERIC) #0: Thu May 22 20:16:12 UTC 2014  
> builds%b2.netbsd.org@localhost:/home/builds/ab/HEAD/amd64/201405221850Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/GENERIC
>  amd64
> 
> Ilia.
> 



Home | Main Index | Thread Index | Old Index