Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2019 13:20:39 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        Stephen Hocking <stephen.hocking@gmail.com>
Cc:        freebsd-bugs@freebsd.org, freebsd-drivers@freebsd.org
Subject:   Re: USB3 AXGE Gigabit dongle not detected at boot, but detected when plugged in after boot.
Message-ID:  <20190330172039.GB32034@raichu>
In-Reply-To: <CA%2BxzKjAUCAc=EowSZOtyPvO7JqXMNWNRqP9fg6NnBbQEoEn2Pw@mail.gmail.com>
References:  <CA%2BxzKjAUCAc=EowSZOtyPvO7JqXMNWNRqP9fg6NnBbQEoEn2Pw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 30, 2019 at 11:44:55AM +1100, Stephen Hocking wrote:
> Hi all,
> 
> I have one of these dongles and was hoping to use it as a another ethernet
> interface for the NUC-based firewall I'm using. The is present in FreeBSD
> 12.
> 
> FreeBSD fwrout.crafncomp.com 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3
> GENERIC  amd64
> 
> The following comes up when I plug it in
> 
> ugen0.7: <ASIX Elec. Corp. AX88179> at usbus0
> uhid1 on uhub1
> uhid1: <Mouse> on usbus0
> device_attach: uhid1 attach returned 12
> axge0 on uhub0
> axge0: <NetworkInterface> on usbus0
> miibus2: <MII bus> on axge0
> rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 3 on miibus2
> rgephy1:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
> 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master,
> 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
> ue1: <USB Ethernet> on axge0
> ue1: Ethernet address: 00:23:55:9c:31:10
> ue1: link state changed to DOWN
> 
> The following modules are loaded:
> 
> Id Refs Address                Size Name
>  1   54 0xffffffff80200000  243cd00 kernel
>  2    1 0xffffffff8263d000   3a9a10 zfs.ko
>  3    2 0xffffffff829e7000     a4f0 opensolaris.ko
>  4    1 0xffffffff82f11000     1cc0 if_udav.ko
>  5    2 0xffffffff82f13000     1550 uether.ko
>  6    1 0xffffffff82f15000     1800 uhid.ko
>  7    1 0xffffffff82f17000     23a8 ums.ko
>  8    1 0xffffffff82f1a000     3aa0 ng_ubt.ko
>  9    5 0xffffffff82f1e000     a020 netgraph.ko
> 10    1 0xffffffff82f29000     9608 ng_hci.ko
> 11    3 0xffffffff82f33000      9c0 ng_bluetooth.ko
> 12    1 0xffffffff82f34000     cd40 ng_l2cap.ko
> 13    1 0xffffffff82f41000    1b9c0 ng_btsocket.ko
> 14    1 0xffffffff82f5d000     2190 ng_socket.ko
> 15    1 0xffffffff82f60000      9f0 pflog.ko
> 16    1 0xffffffff82f61000    326f8 pf.ko
> 17    1 0xffffffff82f94000      acf mac_ntpd.ko
> 18    1 0xffffffff82f95000     2260 if_axge.ko
> 
> I've tried preloading if_axge.ko in /boot/loader.conf, but that doesn't
> make any difference. This bug has been present since FreeBSD 11, at least.

What exactly is the bug?  FreeBSD doesn't create a network interface for
the dongle when it's plugged in before booting, or something else?
Could you provide a dmesg?

I just tried booting a server running -CURRENT with an AX88179 plugged
in and didn't observe any problems.  A ue0 interface was created and the
link was up.



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