Date: Sun, 31 Mar 2019 14:06:27 +1100 From: Stephen Hocking <stephen.hocking@gmail.com> To: Mark Johnston <markj@freebsd.org> 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: <CA%2BxzKjBNQXT9CwVcyuhUdO0OGGAkvKuBZA%2BrKsN39jGGd=mtCQ@mail.gmail.com> In-Reply-To: <20190330172039.GB32034@raichu> References: <CA%2BxzKjAUCAc=EowSZOtyPvO7JqXMNWNRqP9fg6NnBbQEoEn2Pw@mail.gmail.com> <20190330172039.GB32034@raichu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mark, FreeBSD didn't create an interface for it when it was plugged in before rebooting. This box also has another USB NIC plugged in, an elderly 10/100 one, which is what is presenting as ue0. The box does see it when it's plugged in prior to powering on (cold start), but not on a reboot (warm start) Warm start dmesg & kldstat: ---<<BOOT>>--- Copyright (c) 1992-2018 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-RELEASE-p3 GENERIC amd64 FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) VT(efifb): resolution 1024x768 CPU: Intel(R) Celeron(R) CPU N3000 @ 1.04GHz (1040.03-MHz K8-class CPU) Origin="GenuineIntel" Id=0x406c3 Family=0x6 Model=0x4c Stepping=3 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 7895498752 (7529 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <ALASKA A M I > WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) random: unblocking device. Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 128/32 (20181003/tbfadt-748) ioapic0 <Version 2.0> irqs 0-114 on motherboard Launching APs: 1 Timecounter "TSC" frequency 1040034554 Hz quality 1000 random: entropy device external interface kbd1 at kbdmux0 netmap: loaded module [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0xffffffff810f9770, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" nexus0 efirtc0: <EFI Realtime Clock> on motherboard efirtc0: registered as a time-of-day clock, resolution 1.000000s cryptosoft0: <software crypto> on motherboard acpi0: <> on motherboard acpi0: Power Button (fixed) unknown: I/O range not supported cpu0: <ACPI CPU> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0x90000000-0x90ffffff,0x80000000-0x8fffffff irq 16 at device 2.0 on pci0 vgapci0: Boot video device ahci0: <AHCI SATA controller> port 0xf060-0xf07f mem 0x91415000-0x914157ff irq 19 at device 19.0 on pci0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier not supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 xhci0: <Intel Braswell USB 3.0 controller> mem 0x91400000-0x9140ffff irq 20 at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: <encrypt/decrypt> at device 26.0 (no driver attached) hdac0: <Intel (0x2284) HDA Controller> mem 0x91410000-0x91413fff irq 22 at device 27.0 on pci0 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <network> at device 0.0 (no driver attached) pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0 pci2: <ACPI PCI bus> on pcib2 re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0x91204000-0x91204fff,0x91200000-0x91203fff irq 17 at device 0.0 on pci2 re0: Using 1 MSI-X message re0: Chip rev. 0x4c000000 re0: MAC rev. 0x00000000 miibus0: <MII bus> on re0 rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 1 on miibus0 rgephy0: 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 re0: Using defaults for TSO: 65518/35/2048 re0: Ethernet address: dc:fe:07:e1:23:ee re0: netmap queues/slots: TX 1/256, RX 1/256 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. est0: <Enhanced SpeedStep Frequency Control> on cpu0 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec hdacc0: <Realtek ALC283 HDA CODEC> at cad 0 on hdac0 hdaa0: <Realtek ALC283 Audio Function Group> at nid 1 on hdacc0 pcm0: <Realtek ALC283 (Front Analog Headphones)> at nid 33 on hdaa0 hdacc1: <Intel (0x2883) HDA CODEC> at cad 2 on hdac0 hdaa1: <Intel (0x2883) Audio Function Group> at nid 1 on hdacc1 pcm1: <Intel (0x2883) (HDMI/DP 8ch)> at nid 5 on hdaa1 pcm2: <Intel (0x2883) (HDMI/DP 8ch)> at nid 6 on hdaa1 pcm3: <Intel (0x2883) (HDMI/DP 8ch)> at nid 7 on hdaa1 ugen0.1: <0x8086 XHCI root HUB> at usbus0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <KINGSTON SUV500120G 003056RI> ACS-4 ATA SATA 3.x device ada0: Serial Number 50026B76829A6BF4 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 114473MB (234441648 512 byte sectors) uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 Trying to mount root from zfs:zroot/ROOT/default []... Root mount waiting for: usbus0 uhub0: 13 ports with 13 removable, self powered Root mount waiting for: usbus0 ugen0.2: <DM9601 USB NIC DM9601 USB NIC> at usbus0 Root mount waiting for: usbus0 ugen0.3: <vendor 0x1a40 USB 2.0 Hub> at usbus0 uhub1 on uhub0 uhub1: <vendor 0x1a40 USB 2.0 Hub, class 9/0, rev 2.00/1.11, addr 2> on usbus0 uhub1: 4 ports with 4 removable, self powered Root mount waiting for: usbus0 ugen0.4: <No brand 4 Port KVMSwicther> at usbus0 ukbd0 on uhub1 ukbd0: <Keyboard> on usbus0 kbd2 at ukbd0 Root mount waiting for: usbus0 ugen0.5: <vendor 0x04d9 USB Keyboard> at usbus0 ukbd1 on uhub1 ukbd1: <vendor 0x04d9 USB Keyboard, class 0/0, rev 1.10/3.10, addr 4> on usbus0 kbd3 at ukbd1 ugen0.6: <Cirque Corporation USB GlidePoint> at usbus0 Root mount waiting for: usbus0 ugen0.7: <Realtek Bluetooth Radio> at usbus0 lo0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP udav0 on uhub0 udav0: <DM9601 USB NIC DM9601 USB NIC, class 0/0, rev 1.10/1.01, addr 1> on usbus0 miibus1: <MII bus> on udav0 ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus1 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: <USB Ethernet> on udav0 ue0: Ethernet address: 00:60:6e:00:f1:51 uhid0 on uhub1 uhid0: <Mouse> on usbus0 device_attach: uhid0 attach returned 12 uhid0 on uhub1 uhid0: <vendor 0x04d9 USB Keyboard, class 0/0, rev 1.10/3.10, addr 4> on usbus0 uhid1 on uhub1 uhid1: <Mouse> on usbus0 device_attach: uhid1 attach returned 12 ums0 on uhub1 ums0: <EndPoint1 Interrupt Pipe> on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 uhid1 on uhub1 uhid1: <Mouse> on usbus0 device_attach: uhid1 attach returned 12 ubt0 on uhub0 ubt0: <Bluetooth Radio> on usbus0 ue0: link state changed to DOWN ue0: link state changed to UP WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() pflog0: promiscuous mode enabled Security policy loaded: MAC/ntpd (mac_ntpd) tun0: link state changed to UP ue0: promiscuous mode enabled Id Refs Address Size Name 1 48 0xffffffff80200000 243cd00 kernel 2 1 0xffffffff8263d000 3a9a10 zfs.ko 3 2 0xffffffff829e7000 a4f0 opensolaris.ko 4 1 0xffffffff82f11000 1cc0 if_udav.ko 5 1 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 Here's the dmesg & kldstat after a cold start: ---<<BOOT>>--- Copyright (c) 1992-2018 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-RELEASE-p3 GENERIC amd64 FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) VT(efifb): resolution 1024x768 CPU: Intel(R) Celeron(R) CPU N3000 @ 1.04GHz (1040.04-MHz K8-class CPU) Origin="GenuineIntel" Id=0x406c3 Family=0x6 Model=0x4c Stepping=3 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 7895498752 (7529 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <ALASKA A M I > WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) random: unblocking device. Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 128/32 (20181003/tbfadt-748) ioapic0 <Version 2.0> irqs 0-114 on motherboard Launching APs: 1 Timecounter "TSC" frequency 1040037141 Hz quality 1000 random: entropy device external interface kbd1 at kbdmux0 netmap: loaded module [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0xffffffff810f9770, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" nexus0 efirtc0: <EFI Realtime Clock> on motherboard efirtc0: registered as a time-of-day clock, resolution 1.000000s cryptosoft0: <software crypto> on motherboard acpi0: <> on motherboard acpi0: Power Button (fixed) unknown: I/O range not supported cpu0: <ACPI CPU> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0x90000000-0x90ffffff,0x80000000-0x8fffffff irq 16 at device 2.0 on pci0 vgapci0: Boot video device ahci0: <AHCI SATA controller> port 0xf060-0xf07f mem 0x91415000-0x914157ff irq 19 at device 19.0 on pci0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier not supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 xhci0: <Intel Braswell USB 3.0 controller> mem 0x91400000-0x9140ffff irq 20 at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: <encrypt/decrypt> at device 26.0 (no driver attached) hdac0: <Intel (0x2284) HDA Controller> mem 0x91410000-0x91413fff irq 22 at device 27.0 on pci0 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <network> at device 0.0 (no driver attached) pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0 pci2: <ACPI PCI bus> on pcib2 re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0x91204000-0x91204fff,0x91200000-0x91203fff irq 17 at device 0.0 on pci2 re0: Using 1 MSI-X message re0: Chip rev. 0x4c000000 re0: MAC rev. 0x00000000 miibus0: <MII bus> on re0 rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 1 on miibus0 rgephy0: 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 re0: Using defaults for TSO: 65518/35/2048 re0: Ethernet address: dc:fe:07:e1:23:ee re0: netmap queues/slots: TX 1/256, RX 1/256 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. est0: <Enhanced SpeedStep Frequency Control> on cpu0 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec hdacc0: <Realtek ALC283 HDA CODEC> at cad 0 on hdac0 hdaa0: <Realtek ALC283 Audio Function Group> at nid 1 on hdacc0 pcm0: <Realtek ALC283 (Front Analog Headphones)> at nid 33 on hdaa0 hdacc1: <Intel (0x2883) HDA CODEC> at cad 2 on hdac0 hdaa1: <Intel (0x2883) Audio Function Group> at nid 1 on hdacc1 pcm1: <Intel (0x2883) (HDMI/DP 8ch)> at nid 5 on hdaa1 pcm2: <Intel (0x2883) (HDMI/DP 8ch)> at nid 6 on hdaa1 pcm3: <Intel (0x2883) (HDMI/DP 8ch)> at nid 7 on hdaa1 ugen0.1: <0x8086 XHCI root HUB> at usbus0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <KINGSTON SUV500120G 003056RI> ACS-4 ATA SATA 3.x device ada0: Serial Number 50026B76829A6BF4 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 114473MB (234441648 512 byte sectors) uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 Trying to mount root from zfs:zroot/ROOT/default []... Root mount waiting for: usbus0 uhub0: 13 ports with 13 removable, self powered Root mount waiting for: usbus0 ugen0.2: <DM9601 USB NIC DM9601 USB NIC> at usbus0 Root mount waiting for: usbus0 ugen0.3: <vendor 0x1a40 USB 2.0 Hub> at usbus0 uhub1 on uhub0 uhub1: <vendor 0x1a40 USB 2.0 Hub, class 9/0, rev 2.00/1.11, addr 2> on usbus0 uhub1: 4 ports with 4 removable, self powered Root mount waiting for: usbus0 ugen0.4: <No brand 4 Port KVMSwicther> at usbus0 ukbd0 on uhub1 ukbd0: <Keyboard> on usbus0 kbd2 at ukbd0 Root mount waiting for: usbus0 ugen0.5: <vendor 0x04d9 USB Keyboard> at usbus0 ukbd1 on uhub1 ukbd1: <vendor 0x04d9 USB Keyboard, class 0/0, rev 1.10/3.10, addr 4> on usbus0 kbd3 at ukbd1 ugen0.6: <Cirque Corporation USB GlidePoint> at usbus0 Root mount waiting for: usbus0 ugen0.7: <Realtek Bluetooth Radio> at usbus0 Root mount waiting for: usbus0 ugen0.8: <ASIX Elec. Corp. AX88179> at usbus0 lo0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP udav0 on uhub0 udav0: <DM9601 USB NIC DM9601 USB NIC, class 0/0, rev 1.10/1.01, addr 1> on usbus0 miibus1: <MII bus> on udav0 ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus1 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: <USB Ethernet> on udav0 ue0: Ethernet address: 00:60:6e:00:f1:51 uhid0 on uhub1 uhid0: <Mouse> on usbus0 device_attach: uhid0 attach returned 12 uhid0 on uhub1 uhid0: <vendor 0x04d9 USB Keyboard, class 0/0, rev 1.10/3.10, addr 4> on usbus0 uhid1 on uhub1 uhid1: <Mouse> on usbus0 device_attach: uhid1 attach returned 12 ums0 on uhub1 ums0: <EndPoint1 Interrupt Pipe> on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 uhid1 on uhub1 uhid1: <Mouse> on usbus0 device_attach: uhid1 attach returned 12 ubt0 on uhub0 ubt0: <Bluetooth Radio> on 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 ue0: link state changed to DOWN ue0: link state changed to UP WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() ue1: link state changed to DOWN pflog0: promiscuous mode enabled Security policy loaded: MAC/ntpd (mac_ntpd) tun0: link state changed to UP ue0: promiscuous mode enabled 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 2260 if_axge.ko 13 1 0xffffffff82f37000 cd40 ng_l2cap.ko 14 1 0xffffffff82f44000 1b9c0 ng_btsocket.ko 15 1 0xffffffff82f60000 2190 ng_socket.ko 16 1 0xffffffff82f63000 9f0 pflog.ko 17 1 0xffffffff82f64000 326f8 pf.ko 18 1 0xffffffff82f97000 acf mac_ntpd.ko On Sun, 31 Mar 2019 at 04:20, Mark Johnston <markj@freebsd.org> wrote: > 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. > -- "I and the public know what all schoolchildren learn Those to whom evil is done Do evil in return" W.H. Auden, "September 1, 1939"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BxzKjBNQXT9CwVcyuhUdO0OGGAkvKuBZA%2BrKsN39jGGd=mtCQ>