>Synopsis: ure(4) hangs on dhcp >Category: kernel >Environment: System : OpenBSD 7.5 Details : OpenBSD 7.5 (GENERIC.MP) #82: Wed Mar 20 15:48:40 MDT 2024 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64 Machine : amd64 >Description: If a ure(4) is set UP, running dhcpleasectl(8) on the interface will result in no lease and an error to dmesg. The ure(4) device being used is the framework laptop ethernet expansion card: https://frame.work/products/ethernet-expansion-card >How-To-Repeat: # cat /etc/hostname.ure0 up # dhcpleasectl ure0 .......... ure0 [Init] # dmesg [...] ure0: usb error on tx: IN_PROGRESS usb_insert_transfer: xfer=0xfffffd88aeed6c08 not free >Fix: Setting ure0 DOWN first and running dhcpleasectl sometimes creates a lease and otherwise functions as intended, though I can't get this to work consistently. # ifconfig ure0 down # dhcpleasectl ure0 . ure0 [Bound] inet x.x.x.x netmask 255.255.255.0 default gateway x.x.x.x nameservers x.x.x.x lease 24 hours dhcp server x.x.x.x dmesg: OpenBSD 7.5 (GENERIC.MP) #82: Wed Mar 20 15:48:40 MDT 2024 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 34116136960 (32535MB) avail mem = 33060737024 (31529MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x439e2000 (51 entries) bios0: vendor INSYDE Corp. version "03.10" date 07/19/2022 bios0: Framework Laptop efi0 at bios0: UEFI 2.7 efi0: INSYDE Corp. rev 0x310 acpi0 at bios0: ACPI 6.1 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI SSDT SSDT SSDT SSDT SSDT SSDT TPM2 SSDT NHLT SSDT LPIT WSMT SSDT SSDT DBGP DBG2 ECDT HPET APIC MCFG SSDT DMAR SSDT FPDT PTDT BGRT acpi0: wakeup devices PEG0(S4) PEGP(S4) PEGP(S4) PEGP(S4) XHCI(S4) XDCI(S4) HDAS(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpihpet0 at acpi0: 19200000 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4689.19 MHz, 06-8c-01, patch 000000b6 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,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,SRBDS_CTRL,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,FBSDP_NO,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 20-way L2 cache, 12MB 64b/line 12-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 38MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4689.20 MHz, 06-8c-01, patch 000000b6 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,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,SRBDS_CTRL,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,FBSDP_NO,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu1: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 20-way L2 cache, 12MB 64b/line 12-way L3 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4090.58 MHz, 06-8c-01, patch 000000b6 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,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,SRBDS_CTRL,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,FBSDP_NO,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu2: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 20-way L2 cache, 12MB 64b/line 12-way L3 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4090.60 MHz, 06-8c-01, patch 000000b6 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,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,SRBDS_CTRL,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,FBSDP_NO,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu3: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 20-way L2 cache, 12MB 64b/line 12-way L3 cache cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xc0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PC00) acpiprt1 at acpi0: bus 1 (PEG0) acpiprt2 at acpi0: bus -1 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus -1 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus -1 (RP09) acpiprt11 at acpi0: bus 170 (RP10) acpiprt12 at acpi0: bus -1 (RP11) acpiprt13 at acpi0: bus -1 (RP12) acpiprt14 at acpi0: bus -1 (RP13) acpiprt15 at acpi0: bus -1 (RP14) acpiprt16 at acpi0: bus -1 (RP15) acpiprt17 at acpi0: bus -1 (RP16) acpiprt18 at acpi0: bus -1 (RP17) acpiprt19 at acpi0: bus -1 (RP18) acpiprt20 at acpi0: bus -1 (RP19) acpiprt21 at acpi0: bus -1 (RP20) acpiprt22 at acpi0: bus -1 (RP21) acpiprt23 at acpi0: bus -1 (RP22) acpiprt24 at acpi0: bus -1 (RP23) acpiprt25 at acpi0: bus -1 (RP24) acpiprt26 at acpi0: bus 2 (TRP0) acpiprt27 at acpi0: bus 44 (TRP1) acpiprt28 at acpi0: bus 86 (TRP2) acpiprt29 at acpi0: bus 128 (TRP3) acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001 acpibtn0 at acpi0: LID0 "INTC1043" at acpi0 not configured "INTC1043" at acpi0 not configured acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model "f" serial 4 type LION oem "0" "FRMW0001" at acpi0 not configured "PIXA3854" at acpi0 not configured "SONY488A" at acpi0 not configured pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000 0xfd6a0000/0x10000 0xfd690000/0x10000 irq 14, 360 pins "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "INT33A1" at acpi0 not configured acpibtn1 at acpi0: PWRB(wakeup) "INTC1040" at acpi0 not configured tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x00fc1050 rev 0x1 "USBC000" at acpi0 not configured acpipwrres0 at acpi0: PXP_, resource for PEG0, PEGP acpipwrres1 at acpi0: PXP_, resource for RP04 acpipwrres2 at acpi0: PXP_, resource for RP05 acpipwrres3 at acpi0: PXP_, resource for RP08 acpipwrres4 at acpi0: PXP_, resource for RP09, PXSX acpipwrres5 at acpi0: WRST acpipwrres6 at acpi0: DRST acpipwrres7 at acpi0: V0PR acpipwrres8 at acpi0: V1PR acpipwrres9 at acpi0: V2PR acpipwrres10 at acpi0: PXTC acpipwrres11 at acpi0: PTPL acpipwrres12 at acpi0: PXTC acpipwrres13 at acpi0: PXTC acpipwrres14 at acpi0: WRST acpipwrres15 at acpi0: TBT0, resource for TDM0, TRP0, TRP1 acpipwrres16 at acpi0: TBT1, resource for TDM1, TRP2, TRP3 acpipwrres17 at acpi0: D3C_, resource for TXHC, TDM0, TDM1, TRP0, TRP1, TRP2, TRP3 acpipwrres18 at acpi0: PAUD, resource for HDAS acpicpu0 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 210 degC acpipwrres19 at acpi0: PIN_ acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F acpivout1 at acpivideo0: DD2F cpu0: Enhanced SpeedStep 4689 MHz: speeds: 2701, 2700, 2600, 2500, 2300, 2100, 1900, 1700, 1600, 1400, 1200, 1100, 900, 700, 600, 400 MHz pci0 at mainbus0 bus 0 0:31:5: mem address conflict 0xfe010000/0x1000 pchb0 at pci0 dev 0 function 0 "Intel Core 11G Host" rev 0x01 inteldrm0 at pci0 dev 2 function 0 "Intel Xe Graphics" rev 0x01 drm0 at inteldrm0 inteldrm0: msi, TIGERLAKE, gen 12 "Intel Core 11G DTT" rev 0x01 at pci0 dev 4 function 0 not configured ppb0 at pci0 dev 6 function 0 "Intel Core 11G PCIE" rev 0x01: msi pci1 at ppb0 bus 1 nvme0 at pci1 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, NVMe 1.3 nvme0: Samsung SSD 970 EVO 250GB, firmware 2B2QEXE7, serial S465NB0K585848E scsibus1 at nvme0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q> sd0: 238475MB, 512 bytes/sector, 488397168 sectors ppb1 at pci0 dev 7 function 0 "Intel Core 11G PCIE" rev 0x01: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 7 function 1 "Intel Core 11G PCIE" rev 0x01: msi pci3 at ppb2 bus 44 ppb3 at pci0 dev 7 function 2 "Intel Core 11G PCIE" rev 0x01: msi pci4 at ppb3 bus 86 ppb4 at pci0 dev 7 function 3 "Intel Core 11G PCIE" rev 0x01: msi pci5 at ppb4 bus 128 "Intel Core 11G GNA" rev 0x01 at pci0 dev 8 function 0 not configured "Intel Core 11G SRAM" rev 0x01 at pci0 dev 10 function 0 not configured xhci0 at pci0 dev 13 function 0 "Intel Core 11G xHCI" rev 0x01: msi, xHCI 1.20 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 "Intel Core 11G TBT" rev 0x01 at pci0 dev 13 function 2 not configured "Intel Core 11G TBT" rev 0x01 at pci0 dev 13 function 3 not configured "Intel 500 Series ISH" rev 0x20 at pci0 dev 18 function 0 not configured xhci1 at pci0 dev 20 function 0 "Intel 500 Series xHCI" rev 0x20: msi, xHCI 1.20 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel 500 Series Shared SRAM" rev 0x20 at pci0 dev 20 function 2 not configured dwiic0 at pci0 dev 21 function 0 "Intel 500 Series I2C" rev 0x20: apic 2 int 27 iic0 at dwiic0 dwiic1 at pci0 dev 21 function 1 "Intel 500 Series I2C" rev 0x20: apic 2 int 40 iic1 at dwiic1 ihidev0 at iic1 addr 0x50 gpio 335, vendor 0x32ac product 0x6, FRMW0001 ihidev0: 2 report ids hid at ihidev0 reportid 1 not configured icc0 at ihidev0 reportid 2: 1024 usages, 20 keys, array wskbd0 at icc0 mux 1 dwiic2 at pci0 dev 21 function 3 "Intel 500 Series I2C" rev 0x20: apic 2 int 30 iic2 at dwiic2 ihidev1 at iic2 addr 0x2c gpio 3, vendor 0x93a product 0x274, PIXA3854 ihidev1: 67 report ids imt0 at ihidev1: clickpad, 5 contacts wsmouse0 at imt0 mux 0 ims0 at ihidev1 reportid 2: 2 buttons wsmouse1 at ims0 mux 0 hid at ihidev1 reportid 4 not configured hid at ihidev1 reportid 5 not configured hid at ihidev1 reportid 7 not configured hid at ihidev1 reportid 8 not configured hid at ihidev1 reportid 65 not configured hid at ihidev1 reportid 66 not configured hid at ihidev1 reportid 67 not configured "Intel 500 Series HECI" rev 0x20 at pci0 dev 22 function 0 not configured ppb5 at pci0 dev 29 function 0 "Intel 500 Series PCIE" rev 0x20: msi pci6 at ppb5 bus 170 iwx0 at pci6 dev 0 function 0 "Intel Wi-Fi 6 AX210" rev 0x1a, msix pcib0 at pci0 dev 31 function 0 "Intel 500 Series eSPI" rev 0x20 azalia0 at pci0 dev 31 function 3 "Intel 500 Series HD Audio" rev 0x20: msi azalia0: codecs: IDT 92HD95, Intel/0x2812, using IDT 92HD95 audio0 at azalia0 ichiic0 at pci0 dev 31 function 4 "Intel 500 Series SMBus" rev 0x20: apic 2 int 16 iic3 at ichiic0 spdmem0 at iic3 addr 0x50: 16GB DDR4 SDRAM PC4-25600 SO-DIMM spdmem1 at iic3 addr 0x52: 16GB DDR4 SDRAM PC4-25600 SO-DIMM "Intel 500 Series SPI" rev 0x20 at pci0 dev 31 function 5 not configured isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd1 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: VMX/EPT efifb at mainbus0 not configured ure0 at uhub0 port 2 configuration 1 interface 0 "Realtek USB 10/100/1G/2.5G LAN" rev 3.20/31.04 addr 2 ure0: RTL8156B (0x7410), address 9c:bf:0d:00:56:4f umass0 at uhub1 port 4 configuration 1 interface 0 "SMI Corporation USB DISK" rev 2.10/11.00 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: <SMI, USB DISK, 1100> removable serial.090c3350000000015055 uvideo0 at uhub1 port 7 configuration 1 interface 0 "Generic Laptop Camera" rev 2.01/0.21 addr 3 video0 at uvideo0 ugen0 at uhub1 port 9 "Goodix Technology Co., Ltd. Goodix USB2.0 MISC" rev 2.00/1.00 addr 4 ugen1 at uhub1 port 10 "Intel Bluetooth" rev 2.01/0.00 addr 5 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (3c6905d2260afe09.a) swap on sd0b dump on sd0b inteldrm0: 2256x1504, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd1 wskbd0: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) iwx0: hw rev 0x420, fw 77.f92b5fed.0, pnvm 181407b3, address a0:b3:39:fe:c5:db usbdevs: Controller /dev/usb0: addr 01: 8086:0000 Intel, xHCI root hub super speed, self powered, config 1, rev 1.00 driver: uhub0 addr 02: 0bda:8156 Realtek, USB 10/100/1G/2.5G LAN super speed, power 64 mA, config 1, rev 31.04, iSerial 4013000001 driver: ure0 Controller /dev/usb1: addr 01: 8086:0000 Intel, xHCI root hub super speed, self powered, config 1, rev 1.00 driver: uhub1 addr 02: 090c:3350 SMI Corporation, USB DISK high speed, power 500 mA, config 1, rev 11.00, iSerial AA00000000015055 driver: umass0 addr 03: 0bda:5634 Generic, Laptop Camera high speed, power 300 mA, config 1, rev 0.21, iSerial 200901010001 driver: uvideo0 addr 04: 27c6:609c Goodix Technology Co., Ltd., Goodix USB2.0 MISC full speed, power 100 mA, config 1, rev 1.00, iSerial UID401F220B_XXXX_MOC_B0 driver: ugen0 addr 05: 8087:0032 Intel, Bluetooth full speed, self powered, config 1, rev 0.00 driver: ugen1