On Sun, Jul 12, 2026 at 12:57:56AM +0200, Scott Colby wrote: > >Synopsis: ifconfig veb -tagged doesn't work > >Category: system > >Environment: > System : OpenBSD 7.9 > Details : OpenBSD 7.9 (GENERIC.MP) #449: Wed May 6 13:17:25 MDT > 2026 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > The -tagged option to ifconfig with veb interfaces doesn't work. See > below. > Coredump is attached. > >How-To-Repeat: > # ifconfig veb1 create > # ifconfig veb1 add igc5 > # ifconfig veb1 -tagged igc5 > ifconfig: '-tagged' requires 2 arguments > # ifconfig veb1 -tagged igc5 oops > Segmentation fault (core dumped) > >Fix: > Just from looking at the relevant code: > I think the `-tagged` definition in ifconfig.c needs to be changed > from NEXTARG2 to NEXTARG. > I'm not sure what the (unused?) `int d` argument to the handling > `bridge_unset_vidmap` function is doing either. nice find. it looks like you're right about what the fix is too. i'll commit this now. cheers, dlg > > dmesg: > OpenBSD 7.9 (GENERIC.MP) #449: Wed May 6 13:17:25 MDT 2026 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 17005158400 (16217MB) > avail mem = 16462057472 (15699MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x78333000 (29 entries) > bios0: vendor 3mdeb version "Dasharo (coreboot+UEFI) v0.9.3" date 09/06/2024 > bios0: Protectli V1610 > efi0 at bios0: UEFI 2.8 > efi0: EDK II rev 0x10000 > acpi0 at bios0: ACPI 6.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SSDT MCFG TPM2 LPIT APIC SPCR DMAR HPET > acpi0: wakeup devices XHCI(S3) GLAN(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimcfg0 at acpi0 > acpimcfg0: addr 0xc0000000, bus 0-255 > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Pentium(R) Silver N6005 @ 2.00GHz, 3292.88 MHz, 06-9c-00, > patch 24000026 > cpu0: cpuid 1 > edx=bfebfbff<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> > > ecx=47f8ebbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND> > cpu0: cpuid 6 eax=110077<SENSOR,ARAT,PTS> ecx=9<EFFFREQ> > cpu0: cpuid 7.0 > ebx=2394a2c3<FSGSBASE,TSC_ADJUST,SMEP,ERMS,RDSEED,SMAP,CLFLUSHOPT,CLWB,PT,SHA> > ecx=18400124<UMIP,WAITPKG> edx=fc000400<MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD> > cpu0: cpuid a vers=5, gp=4, gpwidth=48, ff=3, ffwidth=48 > cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES> > cpu0: cpuid 80000001 edx=28100800<NXE,RDTSCP,LONG> ecx=101<LAHF,3DNOWP> > cpu0: cpuid 80000007 edx=100<ITSC> > cpu0: msr > 10a=14020c6b<IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,FB_CLEAR,GDS_NO,RFDS_CLEAR> > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line > 12-way L2 cache, 4MB 64b/line 16-way L3 cache > cpu0: smt 0, core 0, package 0, type E > 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.2.2.1.1.1, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Pentium(R) Silver N6005 @ 2.00GHz, 3292.87 MHz, 06-9c-00, > patch 24000026 > cpu1: smt 0, core 1, package 0, type E > cpu2 at mainbus0: apid 4 (application processor) > cpu2: Intel(R) Pentium(R) Silver N6005 @ 2.00GHz, 3292.87 MHz, 06-9c-00, > patch 24000026 > cpu2: smt 0, core 2, package 0, type E > cpu3 at mainbus0: apid 6 (application processor) > cpu3: Intel(R) Pentium(R) Silver N6005 @ 2.00GHz, 3292.88 MHz, 06-9c-00, > patch 24000026 > cpu3: smt 0, core 3, package 0, type E > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins > acpihpet0 at acpi0: 19200000 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (RP01) > acpiprt2 at acpi0: bus -1 (RP02) > acpiprt3 at acpi0: bus -1 (RP03) > acpiprt4 at acpi0: bus -1 (RP04) > acpiprt5 at acpi0: bus 7 (RP05) > acpiprt6 at acpi0: bus 8 (RP06) > acpiprt7 at acpi0: bus 9 (RP07) > acpiprt8 at acpi0: bus -1 (RP08) > acpiprt9 at acpi0: bus -1 (RP09) > acpiprt10 at acpi0: bus -1 (RP10) > acpiprt11 at acpi0: bus -1 (RP11) > acpiprt12 at acpi0: bus -1 (RP12) > acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001 > "INT34C8" at acpi0 not configured > acpicmos0 at acpi0 > "INTC1026" at acpi0 not configured > intelpmc0 at acpi0: PEPD > state 0: 0x7f:1:2:0x00:0x0000000000000060 > counter: 0x7f:64:0:0x00:0x0000000000000632 > frequency: 0 > state 1: 0x7f:1:2:0x00:0x0000000000000060 > counter: 0x00:32:0:0x03:0x00000000fe00193c > frequency: 0 > tpm0 at acpi0 TPM_ 2.0 (CRB) addr 0xfed40000/0x5000, device 0x00000000 rev 0x0 > acpicpu0 at acpi0: C3(200@253 mwait.1@0x33), C2(350@127 mwait.1@0x21), > C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: C3(200@253 mwait.1@0x33), C2(350@127 mwait.1@0x21), > C1(1000@1 mwait.1), PSS > acpicpu2 at acpi0: C3(200@253 mwait.1@0x33), C2(350@127 mwait.1@0x21), > C1(1000@1 mwait.1), PSS > acpicpu3 at acpi0: C3(200@253 mwait.1@0x33), C2(350@127 mwait.1@0x21), > C1(1000@1 mwait.1), PSS > "BOOT0000" at acpi0 not configured > cpu0: using VERW MDS workaround > cpu0: Enhanced SpeedStep 3292 MHz: speeds: 2001, 2000, 1800, 1600, 1400, > 1200, 1000, 800 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Jasper Lake Host" rev 0x00 > inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics" rev 0x01 > drm0 at inteldrm0 > inteldrm0: msi, JASPERLAKE, gen 11 > xhci0 at pci0 dev 20 function 0 "Intel Jasper Lake xHCI" rev 0x01: msi, xHCI > 1.10 > 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 Jasper Lake Shared SRAM" rev 0x01 at pci0 dev 20 function 2 not > configured > "Intel Jasper Lake HECI" rev 0x01 at pci0 dev 22 function 0 not configured > sdhc0 at pci0 dev 26 function 0 "Intel Jasper Lake eMMC" rev 0x01: apic 2 int > 16 > sdhc0: SDHC 3.00, 200 MHz base clock > sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, ddr52, dma > ppb0 at pci0 dev 28 function 0 "Intel Jasper Lake PCIE" rev 0x01: msi > pci1 at ppb0 bus 1 > ppb1 at pci1 dev 0 function 0 vendor "ASMedia", unknown product 0x2806 rev > 0x01 > pci2 at ppb1 bus 2 > ppb2 at pci2 dev 0 function 0 vendor "ASMedia", unknown product 0x2806 rev > 0x01: msi > pci3 at ppb2 bus 3 > igc0 at pci3 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues, > address 64:62:66:2f:5c:4a > ppb3 at pci2 dev 2 function 0 vendor "ASMedia", unknown product 0x2806 rev > 0x01: msi > pci4 at ppb3 bus 4 > igc1 at pci4 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues, > address 64:62:66:2f:5c:4b > ppb4 at pci2 dev 6 function 0 vendor "ASMedia", unknown product 0x2806 rev > 0x01: msi > pci5 at ppb4 bus 5 > igc2 at pci5 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues, > address 64:62:66:2f:5c:4c > ppb5 at pci2 dev 14 function 0 vendor "ASMedia", unknown product 0x2806 rev > 0x01: msi > pci6 at ppb5 bus 6 > ppb6 at pci0 dev 28 function 4 "Intel Jasper Lake PCIE" rev 0x01: msi > pci7 at ppb6 bus 7 > igc3 at pci7 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues, > address 64:62:66:2f:5c:4d > ppb7 at pci0 dev 28 function 5 "Intel Jasper Lake PCIE" rev 0x01: msi > pci8 at ppb7 bus 8 > igc4 at pci8 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues, > address 64:62:66:2f:5c:4e > ppb8 at pci0 dev 28 function 6 "Intel Jasper Lake PCIE" rev 0x01: msi > pci9 at ppb8 bus 9 > igc5 at pci9 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues, > address 64:62:66:2f:5c:4f > pcib0 at pci0 dev 31 function 0 "Intel Jasper Lake eSPI" rev 0x01 > azalia0 at pci0 dev 31 function 3 "Intel Jasper Lake HD Audio" rev 0x01: msi > azalia0: no supported codecs > ichiic0 at pci0 dev 31 function 4 "Intel Jasper Lake SMBus" rev 0x01: apic 2 > int 16 > iic0 at ichiic0 > "Intel Jasper Lake SPI" rev 0x01 at pci0 dev 31 function 5 not configured > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX/EPT > efifb at mainbus0 not configured > scsibus1 at sdmmc0: 2 targets, initiator 0 > sd0 at scsibus1 targ 1 lun 0: <Samsung, BJTD4R, 0000> removable > sd0: 29820MB, 512 bytes/sector, 61071360 sectors > uhub1 at uhub0 port 5 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" > rev 2.10/7.00 addr 2 > umass0 at uhub1 port 2 configuration 1 interface 0 "USB Flash DISK" rev > 2.00/11.00 addr 3 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > sd1 at scsibus2 targ 1 lun 0: <USB, Flash DISK, 1100> removable > serial.090c1000030020021727 > sd1: 3864MB, 512 bytes/sector, 7913472 sectors > ugen0 at uhub1 port 5 "VIA Labs, Inc. USB Billboard Device" rev 2.01/0.01 > addr 4 > uhub2 at uhub0 port 10 configuration 1 interface 0 "VIA Labs, Inc. USB3.0 > Hub" rev 3.20/7.00 addr 5 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > softraid0: sd2 was not shutdown properly > sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> > sd2: 29559MB, 512 bytes/sector, 60538255 sectors > root on sd2a (153b94209df9962f.a) swap on sd2b dump on sd2b > WARNING: / was not properly unmounted > inteldrm0: 1024x768, 32bpp > wsdisplay0 at inteldrm0 mux 1 > wsdisplay0: screen 0-5 added (std, vt100 emulation) > > 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: 2109:2817 VIA Labs, Inc., USB2.0 Hub > high speed, self powered, config 1, rev 7.00 > driver: uhub1 > addr 03: 090c:1000 USB, Flash DISK > high speed, power 200 mA, config 1, rev 11.00, iSerial 1406030020021727 > driver: umass0 > addr 04: 2109:8817 VIA Labs, Inc., USB Billboard Device > high speed, self powered, config 1, rev 0.01, iSerial 0000000000000001 > driver: ugen0 > addr 05: 2109:0817 VIA Labs, Inc., USB3.0 Hub > super speed, self powered, config 1, rev 7.00 > driver: uhub2 >
