On my machine the Rankie USB ethernet adapter sometimes stops working, usually after a period of inactivity. The following messages appear in the log:
ure0: usb errors on rx: IOERROR uhid0 detached uhidev0 detached ugen0 detached sd1 detached scsibus2 detached umass0 detached sd2 detached scsibus3 detached umass1 detached wskbd1: disconnecting from wsdisplay0 wskbd1 detached ukbd0 detached uhidev1 detached wsmouse1 detached ums0 detached uhid1 detached uhid2 detached uhid3 detached uhid4 detached uhidev2 detached wskbd2: disconnecting from wsdisplay0 wskbd2 detached ukbd1 detached uhidev3 detached wsmouse2 detached ums1 detached uhid5 detached uhid6 detached uhid7 detached uhidev4 detached uhid8 detached uhid9 detached uhid10 detached uhid11 detached uhidev5 detached uhub2 detached rgephy0 detached ure0 detached ucom0 detached uticom0 detached uhub1 detached uhub1 at uhub0 port 1 configuration 1 interface 0 "Texas Instruments product 0x8142" rev 2.10/1.00 addr 2 uhidev0 at uhub1 port 1 configuration 1 interface 1 "Texas Instruments Inc. Texas Instruments USB Billboard Device" rev 2.01/1.00 addr 3 uhidev0: iclass 3/0 uhid0 at uhidev0: input=64, output=64, feature=2 ugen0 at uhub1 port 1 configuration 1 "Texas Instruments Inc. Texas Instruments USB Billboard Device" rev 2.01/1.00 addr 3 uhub2 at uhub1 port 2 configuration 1 interface 0 "Generic 4-Port USB 2.0 Hub" rev 2.10/1.21 addr 4 umass0 at uhub2 port 1 configuration 1 interface 0 "Sony MRW-S1" rev 2.10/0.04 addr 5 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: <Sony, MRW-S1, 1.00> SCSI4 0/direct removable serial.054c0c5d000000000004 sd1: 29520MB, 512 bytes/sector, 60456960 sectors umass1 at uhub2 port 2 configuration 1 interface 0 "Seagate Expansion" rev 2.10/0.00 addr 6 umass1: using SCSI over Bulk-Only scsibus3 at umass1: 2 targets, initiator 0 xhci0: wrong trb index (-51337728) max is 255 xhci0: wrong trb index (-51337728) max is 255 xhci0: wrong trb index (-51337728) max is 255 xhci0: wrong trb index (-51337728) max is 255 xhci0: wrong trb index (-51337728) max is 255 xhci0: wrong trb index (-51337728) max is 255 WARNING !wm_changed failed at /usr/src/sys/dev/pci/drm/i915/intel_pm.c:3609 WARNING !wm_changed failed at /usr/src/sys/dev/pci/drm/i915/intel_pm.c:3609 This is the adapter: (https://www.amazon.com/Rankie-Network-Adapter-Gigabit-White/dp/B01N3K0N43 It is attached to the monitor, which serves as a USB hub. There is another USB hub with a hard disk, an SD card, reader, keyboard and mouse attached to it. What might cause this? Is there a way to get more details than just "IOERROR"? Thanks Full dmesg: OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17037766656 (16248MB) avail mem = 16514322432 (15749MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xeb350 (31 entries) bios0: vendor American Megatrends Inc. version "UX390UAK.312" date 04/25/2017 bios0: ASUSTeK COMPUTER INC. UX390UAK acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ECDT MCFG FIDT SSDT MSDM SSDT HPET UEFI SSDT LPIT WSMT SSDT SSDT DBGP DBG2 BGRT DMAR TPM2 acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 2594.97 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 23MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 2593.92 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 2593.92 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 2593.92 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins acpiec0 at acpi0 acpimcfg0 at acpi0 addr 0xf0000000, bus 0-127 acpihpet0 at acpi0: 23999999 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG0) acpiprt2 at acpi0: bus -1 (PEG1) acpiprt3 at acpi0: bus -1 (PEG2) acpiprt4 at acpi0: bus 3 (RP09) acpiprt5 at acpi0: bus -1 (RP10) acpiprt6 at acpi0: bus -1 (RP11) acpiprt7 at acpi0: bus -1 (RP12) acpiprt8 at acpi0: bus -1 (RP13) acpiprt9 at acpi0: bus 1 (RP01) acpiprt10 at acpi0: bus -1 (RP02) acpiprt11 at acpi0: bus -1 (RP03) acpiprt12 at acpi0: bus -1 (RP04) acpiprt13 at acpi0: bus -1 (RP05) acpiprt14 at acpi0: bus 2 (RP06) acpiprt15 at acpi0: bus -1 (RP07) acpiprt16 at acpi0: bus -1 (RP08) acpiprt17 at acpi0: bus -1 (RP17) acpiprt18 at acpi0: bus -1 (RP18) acpiprt19 at acpi0: bus -1 (RP19) acpiprt20 at acpi0: bus -1 (RP20) acpiprt21 at acpi0: bus -1 (RP14) acpiprt22 at acpi0: bus -1 (RP15) acpiprt23 at acpi0: bus -1 (RP16) acpiec at acpi0 not configured acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: WRST acpipwrres1 at acpi0: WRST acpipwrres2 at acpi0: WRST acpipwrres3 at acpi0: WRST acpipwrres4 at acpi0: WRST acpipwrres5 at acpi0: WRST acpipwrres6 at acpi0: WRST acpipwrres7 at acpi0: WRST acpipwrres8 at acpi0: WRST acpipwrres9 at acpi0: WRST acpipwrres10 at acpi0: WRST acpipwrres11 at acpi0: WRST acpipwrres12 at acpi0: WRST acpipwrres13 at acpi0: WRST acpipwrres14 at acpi0: WRST acpipwrres15 at acpi0: WRST acpipwrres16 at acpi0: WRST acpipwrres17 at acpi0: WRST acpipwrres18 at acpi0: WRST acpipwrres19 at acpi0: WRST acpitz0 at acpi0: critical temperature is 103 degC "INT3F0D" at acpi0 not configured acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID_ acpibat0 at acpi0: BAT0 model "ASUS Battery" serial type LIon oem "ASUSTeK" "INT3403" at acpi0 not configured "INT3403" at acpi0 not configured "INT3403" at acpi0 not configured "INT3403" at acpi0 not configured "ATK3001" at acpi0 not configured "ELAN1301" at acpi0 not configured acpibtn1 at acpi0: SLPB "INT33A1" at acpi0 not configured acpibtn2 at acpi0: PWRB "MSFT0101" at acpi0 not configured "PNP0C14" at acpi0 not configured "ATK4002" at acpi0 not configured "INT3400" at acpi0 not configured "INT340E" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: Enhanced SpeedStep 2594 MHz: speeds: 2701, 2700, 2600, 2500, 2400, 2200, 2000, 1800, 1600, 1500, 1300, 1100, 800, 700, 600, 400 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 7G Host" rev 0x02 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 620" rev 0x02 drm0 at inteldrm0 inteldrm0: msi error: [drm:pid0:i915_firmware_load_error_print] *ERROR* failed to load firmware i915/kbl_dmc_ver1.bin (-22) inteldrm0: 1920x1080, 32bpp error: [drm:pid0:intel_dp_link_training_clock_recovery] *ERROR* too many voltage retries, give up WARNING !wm_changed failed at /usr/src/sys/dev/pci/drm/i915/intel_pm.c:3609 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel Core 6G Thermal" rev 0x02 at pci0 dev 4 function 0 not configured xhci0 at pci0 dev 20 function 0 "Intel 100 Series xHCI" rev 0x21: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 pchtemp0 at pci0 dev 20 function 2 "Intel 100 Series Thermal" rev 0x21 dwiic0 at pci0 dev 21 function 0 "Intel 100 Series I2C" rev 0x21: apic 2 int 16 iic0 at dwiic0 dwiic1 at pci0 dev 21 function 1 "Intel 100 Series I2C" rev 0x21: apic 2 int 17 iic1 at dwiic1 ihidev0 at iic1 addr 0x15 (polling), vendor 0x4f3 product 0x3035, ELAN1301 ihidev0: 11 report ids imt0 at ihidev0: clickpad, 5 contacts wsmouse0 at imt0 mux 0 "Intel 100 Series MEI" rev 0x21 at pci0 dev 22 function 0 not configured ppb0 at pci0 dev 28 function 0 "Intel 100 Series PCIE" rev 0xf1 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 5 "Intel 100 Series PCIE" rev 0xf1: msi pci2 at ppb1 bus 2 iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 8260" rev 0x3a, msi ppb2 at pci0 dev 29 function 0 "Intel 100 Series PCIE" rev 0xf1: msi pci3 at ppb2 bus 3 nvme0 at pci3 dev 0 function 0 vendor "Toshiba", unknown product 0x010f rev 0x01: msi, NVMe 1.1 nvme0: THNSN5512GPU7 TOSHIBA, firmware 57XA4104, serial Y63S108UT7DV scsibus1 at nvme0: 1 targets sd0 at scsibus1 targ 0 lun 0: <NVMe, THNSN5512GPU7 TO, 57XA> SCSI4 0/direct fixed sd0: 488386MB, 512 bytes/sector, 1000215216 sectors pcib0 at pci0 dev 31 function 0 "Intel 200 Series LPC" rev 0x21 "Intel 100 Series PMC" rev 0x21 at pci0 dev 31 function 2 not configured azalia0 at pci0 dev 31 function 3 "Intel 200 Series HD Audio" rev 0x21: msi azalia0: codecs: Realtek/0x0295, Intel/0x280b, using Realtek/0x0295 audio0 at azalia0 ichiic0 at pci0 dev 31 function 4 "Intel 100 Series SMBus" rev 0x21: apic 2 int 16 iic2 at ichiic0 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: VMX/EPT efifb at mainbus0 not configured uhub1 at uhub0 port 1 configuration 1 interface 0 "Texas Instruments product 0x8142" rev 2.10/1.00 addr 2 uhidev0 at uhub1 port 1 configuration 1 interface 1 "Texas Instruments Inc. Texas Instruments USB Billboard Device" rev 2.01/1.00 addr 3 uhidev0: iclass 3/0 uhid0 at uhidev0: input=64, output=64, feature=2 ugen0 at uhub1 port 1 configuration 1 "Texas Instruments Inc. Texas Instruments USB Billboard Device" rev 2.01/1.00 addr 3 uhub2 at uhub1 port 2 configuration 1 interface 0 "Generic 4-Port USB 2.0 Hub" rev 2.10/1.21 addr 4 umass0 at uhub2 port 1 configuration 1 interface 0 "Sony MRW-S1" rev 2.10/0.04 addr 5 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: <Sony, MRW-S1, 1.00> SCSI4 0/direct removable serial.054c0c5d000000000004 sd1: 29520MB, 512 bytes/sector, 60456960 sectors umass1 at uhub2 port 2 configuration 1 interface 0 "Seagate Expansion" rev 2.10/0.00 addr 6 umass1: using SCSI over Bulk-Only scsibus3 at umass1: 2 targets, initiator 0 sd2 at scsibus3 targ 1 lun 0: <Seagate, Expansion, 9300> SCSI4 0/direct fixed sd2: 3815447MB, 512 bytes/sector, 7814037167 sectors uhidev1 at uhub2 port 3 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/29.01 addr 7 uhidev1: iclass 3/1 ukbd0 at uhidev1: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev2 at uhub2 port 3 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/29.01 addr 7 uhidev2: iclass 3/1, 17 report ids ums0 at uhidev2 reportid 2: 16 buttons, Z and W dir wsmouse1 at ums0 mux 0 uhid1 at uhidev2 reportid 3: input=4, output=0, feature=0 uhid2 at uhidev2 reportid 4: input=1, output=0, feature=0 uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0 uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0 uhidev3 at uhub2 port 4 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/12.03 addr 8 uhidev3: iclass 3/1 ukbd1 at uhidev3: 8 variable keys, 6 key codes wskbd2 at ukbd1 mux 1 wskbd2: connecting to wsdisplay0 uhidev4 at uhub2 port 4 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/12.03 addr 8 uhidev4: iclass 3/1, 8 report ids ums1 at uhidev4 reportid 2: 16 buttons, Z and W dir wsmouse2 at ums1 mux 0 uhid5 at uhidev4 reportid 3: input=4, output=0, feature=0 uhid6 at uhidev4 reportid 4: input=1, output=0, feature=0 uhid7 at uhidev4 reportid 8: input=1, output=0, feature=0 uhidev5 at uhub2 port 4 configuration 1 interface 2 "Logitech USB Receiver" rev 2.00/12.03 addr 8 uhidev5: iclass 3/0, 33 report ids uhid8 at uhidev5 reportid 16: input=6, output=6, feature=0 uhid9 at uhidev5 reportid 17: input=19, output=19, feature=0 uhid10 at uhidev5 reportid 32: input=14, output=14, feature=0 uhid11 at uhidev5 reportid 33: input=31, output=31, feature=0 ure0 at uhub1 port 3 configuration 1 interface 0 "Realtek USB 10/100/1000 LAN" rev 2.10/30.00 addr 9 ure0: ver 5c30, address a0:ce:c8:17:eb:5d rgephy0 at ure0 phy 0: RTL8251 PHY, rev. 0 uticom0 at uhub1 port 4 "UART2USB adapter TUSB3410 Boot Device" rev 1.10/0.01 addr 10 vscsi0 at root scsibus4 at vscsi0: 256 targets softraid0 at root scsibus5 at softraid0: 256 targets sd3 at scsibus5 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed sd3: 488385MB, 512 bytes/sector, 1000213601 sectors root on sd3a (10c44a106d849295.a) swap on sd3b dump on sd3b iwm0: hw rev 0x200, fw ver 16.242414.0, address a0:c5:89:44:6a:e2 ucom0 at uticom0 WARNING !wm_changed failed at /usr/src/sys/dev/pci/drm/i915/intel_pm.c:3609