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.(msk0 and bridge problem).



On 27.05.2014 16:09, Ilia Zykov wrote:
> 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);
> [...]
> }
> 
Hello.
Now it's happening if the msk0(Marvell Yukon 88E8056 (ethernet network, 
revision 0x12)) 
inside the bridge and hasn't a patch cord connection.
Maybe I had configured the bridge wrong?

NetBSD 6.99.47 NetBSD 6.99.47 (GENERIC.201407150020Z)

cat /etc/ifconfig.bridge0 
 create
 !brconfig $int add msk0 add re0 up
cat /etc/ifconfig.msk0
 up
cat /etc/ifconfig.re0
 up

Dhcpcd works on the re0 interface normal.
cat /etc/rc.conf
 ...
 dhcpcd=YES
 dhcpcd_flags="-4"
 ...
cat /etc/dhcpcd.conf
 ...
 allowinterfaces re*


crash -M work/core
Crash version 6.99.47, image version 6.99.47.
System panicked: kernel diagnostic assertion "(!cpu_intr_p() && 
!cpu_softintr_p()) || (pc->pc_pool.pr_ipl != IPL_NONE || cold || panicstr != 
NULL)" failed: file "/home/source/ab/HEAD/src/sys/kern/subr_pool.c", line 2211 
pool 'vmmpepl' is IPL_NONE, but called from interrup
Backtrace from time of crash is available.
crash> bt
_KERNEL_OPT_NARCNET() at 0
?() at fffffe822fbc8510
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 0xfffffe810e930ff0
Xsoftintr() at Xsoftintr+0x4f
--- interrupt ---
0:

Ilia.



Home | Main Index | Thread Index | Old Index