NetBSD Problem Report #46328

From  Fri Apr 13 06:40:13 2012
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 20E2763BBEC
	for <>; Fri, 13 Apr 2012 06:40:13 +0000 (UTC)
Message-Id: <>
Date: Thu, 12 Apr 2012 23:40:21 -0700 (PDT)
Subject: Switching into and out of promiscuous mode causes lockup
X-Send-Pr-Version: 3.95

>Number:         46328
>Category:       kern
>Synopsis:       Switching an interface into and out of promiscuous mode locks up amd64 netbsd-6 system.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 13 06:45:00 +0000 2012
>Last-Modified:  Fri Apr 07 21:10:01 +0000 2017
>Originator:     John Klos
>Release:        NetBSD 6.0_BETA (from 13-April-2012 checkout)


System: NetBSD 6.0_BETA NetBSD 6.0_BETA (GENERIC) #0: Thu Apr 12 20:17:08 PDT 2012 amd64
Architecture: x86_64
Machine: amd64

simh uses promiscuous mode. Launching and quitting simh several times will 
cause a lockup from which I cannot get into the debugger. Disabling access 
to the network interface allows me to launch and quit simh as many times 
as I like without problems. This happens on different network interfaces. 
Tried with motherboard re* and USB-ethernet aue*.

Switch ethernet interface into and out of promiscuous mode.



Responsible-Changed-From-To: port-amd64-maintainer->kern-bug-people
Responsible-Changed-When: Sat, 14 Apr 2012 05:40:48 +0000
assume MI until proven otherwise

From: "Jukka Ruohonen" <>
Subject: PR/46328 CVS commit: src
Date: Sat, 14 Apr 2012 12:21:46 +0000

 Module Name:	src
 Committed By:	jruoho
 Date:		Sat Apr 14 12:21:46 UTC 2012

 Modified Files:
 	src/distrib/sets/lists/tests: mi
 	src/etc/mtree: NetBSD.dist.tests
 	src/tests/usr.sbin: Makefile
 Added Files:
 	src/tests/usr.sbin/tcpdump: Makefile

 Log Message:
 Add a test case for PR kern/46328 (tested naively with tcpdump(8)).

 To generate a diff of this commit:
 cvs rdiff -u -r1.463 -r1.464 src/distrib/sets/lists/tests/mi
 cvs rdiff -u -r1.73 -r1.74 src/etc/mtree/NetBSD.dist.tests
 cvs rdiff -u -r1.2 -r1.3 src/tests/usr.sbin/Makefile
 cvs rdiff -u -r0 -r1.1 src/tests/usr.sbin/tcpdump/Makefile \

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "David H. Gutteridge" <>
Subject: Re: kern/46328 (Switching into and out of promiscuous mode causes
Date: Fri, 07 Apr 2017 17:06:09 -0400

 I can duplicate this reliably running amd64/7.99.67 in QEMU, when the
 emulated network card is a rtl8139 (re[4], in other words). I cannot
 duplicate it when I use vioif(4) instead. (I imagine given the choices
 QEMU offers, no one would ordinarily pick a Realtek card, so this
 isn't normally encountered.) This is on a Fedora 25 host with QEMU

 The catch is, I have to run the full test suite to trigger it. If I
 just run this particular test in isolation, it passes. If I run the
 full test suite, the system consistently hangs when it gets to this
 test, and I have to power cycle the VM. (I guess all the additional
 networking activity that occurs in prior tests somehow contributes to
 this state.)

 Not a problem for me, since I just use vioif(4), but I thought I'd
 mention it.



NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.