Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2012 08:07:19 GMT
From:      Rick Richard <rick@sloservers.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/173182: usbus appears as a network device
Message-ID:  <201210290807.q9T87JDY032547@red.freebsd.org>
Resent-Message-ID: <201210290810.q9T8A2gK091967@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173182
>Category:       usb
>Synopsis:       usbus appears as a network device
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 29 08:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Rick Richard
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD thinking2 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
A change, apparently in later FBSD 8.x and in FBSD 9.x, causes usbus[0-n] devices to appear as network devices.  They do not show up in ifconfig -a but the do show up in netstat -i.

This causes a slowdown and errors at startup when both ifconfig_DEFAULT="DHCP" and synchronous_dhclient="YES" are set in rc.conf:

usbus0: not found
exiting.
Starting Network: usbus0.
usbus1: not found
exiting.
Starting Network: usbus1.

etc.

This has been mentioned in various places:
http://lists.freebsd.org/pipermail/freebsd-current/2011-October/028752.html

http://freebsd.1045724.n5.nabble.com/stable-9-usbus-entries-in-network-namespace-td5615804.html

http://permalink.gmane.org/gmane.os.freebsd.current/129625

http://freebsd.1045724.n5.nabble.com/Prevent-starting-network-on-usbus-td5142292.html

etc.
>How-To-Repeat:
edit /etc/rc.conf and add
ifconfig_DEFAULT="DHCP"
synchronous_dhclient="YES"

restart and observe errors at startup or manually produce the problem by executing
/etc/rc.d/netif start usbus0
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210290807.q9T87JDY032547>