NetBSD Problem Report #44675

From www@NetBSD.org  Thu Mar  3 22:32:54 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id EC77363B904
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  3 Mar 2011 22:32:53 +0000 (UTC)
Message-Id: <20110303223252.9E89C63B84D@www.NetBSD.org>
Date: Thu,  3 Mar 2011 22:32:52 +0000 (UTC)
From: magetoo@fastmail.fm
Reply-To: magetoo@fastmail.fm
To: gnats-bugs@NetBSD.org
Subject: Changing link level address on "tlp" card, while up, hangs machine (PCI/i386)
X-Send-Pr-Version: www-1.0

>Number:         44675
>Category:       kern
>Synopsis:       Changing link level address on "tlp" card, while up, hangs machine (PCI/i386)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 03 22:35:00 +0000 2011
>Closed-Date:    Sat Dec 19 02:36:07 +0000 2015
>Last-Modified:  Sat Dec 19 02:36:07 +0000 2015
>Originator:     Magnus Eriksson
>Release:        5.0_STABLE
>Organization:
>Environment:
NetBSD myhost 5.0_STABLE NetBSD 5.0_STABLE (MYHOST) #4: Sat Feb 20 15:39:17 CET 2010  magetoo@myhost:/obj/sys/arch/i386/compile/MYHOST i386
>Description:
Changing the link level address of the network card, while the interface is configured up, repeatably locks up my machine.

Problem occurs with at least one card which is supported by the "tlp" driver.  No other cards tested; and trying to provoke the same hang with a "tap" pseudo-device does not cause the same behaviour.

It is possible to enter ddb, but trying to get a backtrace did not work. (appears to trigger a fault in ddb, and no serial console was attached - any useful output had scrolled off screen)

However: bringing the interface down, then changing the address, and taking it back up, works as expected.
>How-To-Repeat:
ifconfig tlp0 up
ifconfig tlp0 link 02:01:01:01:01:01 active
>Fix:
Suggestion for fix: Require interfaces to not be configured "up" before changing the active link level address.

(This may be considered hiding a bug rather than fixing it, but should at least prevent lockups.)

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/44675: Changing link level address on "tlp" card, while up, hangs machine (PCI/i386)
Date: Fri, 4 Mar 2011 12:56:24 +0100

 On Thu, Mar 03, 2011 at 10:35:00PM +0000, magetoo@fastmail.fm wrote:
 > ifconfig tlp0 up
 > ifconfig tlp0 link 02:01:01:01:01:01 active

 FWIW, this works on -current.

 Martin

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 19 Dec 2015 02:36:07 +0000
State-Changed-Why:
Problem only affected -5, which is EOL.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.