NetBSD Problem Report #46328
From root@test.ziaspace.com Fri Apr 13 06:40:13 2012
Return-Path: <root@test.ziaspace.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 20E2763BBEC
for <gnats-bugs@gnats.NetBSD.org>; Fri, 13 Apr 2012 06:40:13 +0000 (UTC)
Message-Id: <20120413064021.6F7C336492CF@test.ziaspace.com>
Date: Thu, 12 Apr 2012 23:40:21 -0700 (PDT)
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@gnats.NetBSD.org
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)
>Organization:
>Environment:
System: NetBSD test.ziaspace.com 6.0_BETA NetBSD 6.0_BETA (GENERIC) #0: Thu Apr 12 20:17:08 PDT 2012 john@test.ziaspace.com:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
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*.
>How-To-Repeat:
Switch ethernet interface into and out of promiscuous mode.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: port-amd64-maintainer->kern-bug-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sat, 14 Apr 2012 05:40:48 +0000
Responsible-Changed-Why:
assume MI until proven otherwise
From: "Jukka Ruohonen" <jruoho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
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 t_tcpdump.sh
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 \
src/tests/usr.sbin/tcpdump/t_tcpdump.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/46328 (Switching into and out of promiscuous mode causes
lockup)
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
2.7.1.
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.
Dave
>Unformatted:
(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.