NetBSD Problem Report #52771
From www@NetBSD.org Wed Nov 29 06:42:47 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 34A757A187
for <gnats-bugs@gnats.NetBSD.org>; Wed, 29 Nov 2017 06:42:47 +0000 (UTC)
Message-Id: <20171129064245.E41447A1E7@mollari.NetBSD.org>
Date: Wed, 29 Nov 2017 06:42:45 +0000 (UTC)
From: uebayasi@gmail.com
Reply-To: uebayasi@gmail.com
To: gnats-bugs@NetBSD.org
Subject: vioif(4) panics caused by ifconfig down/up
X-Send-Pr-Version: www-1.0
>Number: 52771
>Category: kern
>Synopsis: vioif(4) panics caused by ifconfig down/up
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 29 06:45:00 +0000 2017
>Originator: Masao Uebayashi
>Release: NetBSD 8.0_BETA
>Organization:
Earth
>Environment:
NetBSD xxx.xxx.xxx 8.0_BETA NetBSD 8.0_BETA (GENERIC.201711211410Z) amd64
>Description:
I have been doing `ifconfig vioif0 down; ifconfig vioif0 up` periodically to work around vioif(4) stall (at least on netbsd-7). (Not sure this is still the case on netbsd-8.)
I've got 2 panics after installed NetBSD 8.0_BETA. Those two have exact same back traces:
crash> bt
_KERNEL_OPT_NARCNET() at 0
?() at fffffe80035d8018
vpanic() at vpanic+0x149
snprintf() at snprintf
bus_dmamap_create() at bus_dmamap_create
vioif_rx_deq_locked() at vioif_rx_deq_locked+0x148
vioif_stop() at vioif_stop+0xa1
vioif_init() at vioif_init+0x1e
vioif_ioctl() at vioif_ioctl+0x2f
doifioctl() at doifioctl+0x77b
soo_ioctl() at soo_ioctl+0x2b5
sys_ioctl() at sys_ioctl+0x101
syscall() at syscall+0x1d8
--- syscall (number 54) ---
72687e8feeea:
crash>
>How-To-Repeat:
Repeat `ifconfig vioifN down; ifconfig vioifN up` on an active system.
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.