Date: Fri, 2 Nov 2018 22:15:30 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r340086 - head/sbin/devd Message-ID: <201811022215.wA2MFUl2097382@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Fri Nov 2 22:15:30 2018 New Revision: 340086 URL: https://svnweb.freebsd.org/changeset/base/340086 Log: Document r226775: tell why we omit usbus[0-9]+ tcpdump can capture packet traces from the usb bus. usbus[0-9] are registered as ifnet devices so this can work. When these devices come up, devd was trying to run pccard_ether on those interfaces, which didn't exist and generated an error. Modified: head/sbin/devd/devd.conf Modified: head/sbin/devd/devd.conf ============================================================================== --- head/sbin/devd/devd.conf Fri Nov 2 22:12:30 2018 (r340085) +++ head/sbin/devd/devd.conf Fri Nov 2 22:15:30 2018 (r340086) @@ -33,7 +33,9 @@ options { # # Configure the interface on attach. Due to a historical accident, this -# script is called pccard_ether. +# script is called pccard_ether. We omit the usbus devices because those +# devices are assocaited with the USB Bus and provide a tcpdump point +# to capture USB packets. # # NB: DETACH events are ignored; the kernel should handle all cleanup # (routes, arp cache). Beware of races against immediate create
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811022215.wA2MFUl2097382>