NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/50155: bnx driver is missing SIOCINITIFADDR ioctl support



>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@localhost:/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.



Home | Main Index | Thread Index | Old Index