NetBSD Problem Report #50155

From he@smistad.uninett.no  Wed Aug 19 08:39:34 2015
Return-Path: <he@smistad.uninett.no>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 73955A5B2E
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Aug 2015 08:39:34 +0000 (UTC)
Message-Id: <20150819083930.5A0383D0B5@smistad.uninett.no>
Date: Wed, 19 Aug 2015 10:39:30 +0200 (CEST)
From: he@uninett.no
Reply-To: he@uninett.no
To: gnats-bugs@gnats.NetBSD.org
Subject: bnx driver is missing SIOCINITIFADDR ioctl support
X-Send-Pr-Version: 3.95

>Number:         50155
>Category:       kern
>Synopsis:       bnx driver is missing SIOCINITIFADDR ioctl support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 19 08:40:00 +0000 2015
>Originator:     Havard Eidnes
>Release:        NetBSD 6.1.5_PATCH
>Organization:
	UNINETT AS
>Environment:
System: NetBSD floke.uninett.no 6.1.5_PATCH NetBSD 6.1.5_PATCH (GENERIC) #2: Tue Feb  3 18:28:18 CET 2015  he@floke.uninett.no:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	With reference to the discussion at

	http://mail-index.netbsd.org/current-users/2015/07/30/msg027806.html

	and the follow-up by Manuel Bouyer, it looks like the cause of
	this problem is that the bnx driver is missing support for the
	SIOCINITIFADDR, which the agr driver uses.

	Bonding two wm interfaces together works with now special
	handwaves, and that driver does indeed support the
	SIOCINITIFADDR ioctl.

>How-To-Repeat:
	Try to bond together two bnx interfaces without doing anything
	to align the MAC addresses of the two before.

	Watch one of the interfaces not being accepted by the remote
	end because the source MAC ends up different from the other
	one.

>Fix:
	No suggested fix submitted for now.

	A possible workaround is to use ifconfig to set the MAC
	address identically on two bnx interfaces you want to bond
	together with agr, and it is then rumoured that agr will work
	as intended across the two interfaces.

	ifconfig uses the SIOCALIFADDR ioctl.

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