Date: Sat, 27 Feb 2010 08:10:06 GMT From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@FreeBSD.org Subject: Re: usb/144332: Kernel compile fails when aue is enabled but not other USB ethernet drivers Message-ID: <201002270810.o1R8A69Y019868@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR usb/144332; it has been noted by GNATS. From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org Cc: "Matt D. Harris" <mdh@lpwv.org>, freebsd-gnats-submit@freebsd.org Subject: Re: usb/144332: Kernel compile fails when aue is enabled but not other USB ethernet drivers Date: Sat, 27 Feb 2010 09:06:48 +0100 On Friday 26 February 2010 23:10:36 Matt D. Harris wrote: > >Number: 144332 > >Category: usb > >Synopsis: Kernel compile fails when aue is enabled but not other USB > > ethernet drivers Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Feb 26 22:20:01 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Matt D. Harris > >Release: RELENG_8_0 as of 2010-02-26 > >Organization: > >Environment: > > FreeBSD vesper.int 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Oct 4 > 14:45:06 EDT 2008 root@vesper.int:/usr/obj/usr/src/sys/VESPER i386 > > >Description: > > When compiling the kernel (to upgrade to RELENG_8_0), the compile fails > when the only USB ethernet driver being compiled in is aue. Since I only > have an aue device, I don't normally compile in the others. Adding other > USB ethernet drivers to the kernel config fixes the issue. > > The compile fails during linking, and the functions missing are all from > sys/dev/usb/net/usb_ethernet.c which leads me to believe that for some > reason aue alone just isn't enough to get it to build/link that file, but > that some other USB ethernet drivers do cause it to be built and linked. > > >How-To-Repeat: > > > >Fix: > > I believe the fix would be to ensure that sys/dev/usb/net/usb_ethernet.c is > built and linked if any USB ethernet driver is configured into the kernel > via the kernel conf. At least one of the USB [wired] ethernet drivers > (I've enabled axe, aue, cue, kue, rue, and udav) causes it to be built and > linked, however aue alone (without axe, cue, kue, rue, and udav) does not. > > >Release-Note: > >Audit-Trail: > >Unformatted: > Hi, Thanks for reporting. I believe this issue has been fixed in 9-current and 8- stable. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002270810.o1R8A69Y019868>