Hi Jon, This should be fixed in current as of r1.199 of src/sys/net/if_vlan.c
Sorry for the inconvenience. Cheers, dlg > On 11 Oct 2018, at 06:45, Jon Williams <[email protected]> wrote: > >> Synopsis: Running netstart 1x does not set PROMISC,ALLMULTI on parent >> interface of vlan members of bridges >> Category: system >> Environment: > System : OpenBSD 6.3 > Details : OpenBSD 6.3 (GENERIC.MP) #11: Thu Sep 20 16:05:37 CEST 2018 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 >> Description: > > em0 is a parent of vlan1 and vlan2. vlan1 is a member of bridge0. vlan2 is a > member of bridge2. > After system boot, em0 does not have PROMISC,ALLMULTI set in ifconfig - i.e. > it cannot forward > traffic correctly, until netstart is manually re-run by root user. > >> How-To-Repeat: > NB: have been unable to replicate inside vmd using a vio interface for vlan > parent. All vio > interfaces appear to be always PROMISC,ALLMULTI. > > (Even a temporary workaround would be helpful as this machine is a > gateway/bgp host.) > > /etc/hostname.em0 > description "nycmesh-lbe-1659" > group trunk > up > > /etc/hostname.vlan1 > description "nycmesh-lbe-1659 mgmt VLAN" > parent em0 vnetid 2 > group lan > group trusted > group bridged > up > > cat /etc/hostname.vlan2 > description "nycmesh-lbe-1659 WAN VLAN" > group nycmesh > group bridged > parent em0 vnetid 3 > up > > cat /etc/hostname.vlan2 > description "nycmesh-lbe-1659 WAN VLAN" > group nycmesh > group bridged > parent em0 vnetid 3 > up > > /etc/hostname.bridge0 > description "Bridged LAN" > group lan > group trusted > group bridge > add vether0 > add em1 > add em2 > add em3 > add em4 > add em5 > add vlan1 > # Try to stop the Airport express from sending weird arps > rule block on em1 src 28:37:37:3f:5:4c arp spa 10.70.145.50 > up > > cat /etc/hostname.bridge2 > description "Bridged WAN" > group wan > group bridge > add vether2 > add vlan2 > up > > SENDBUG: Run sendbug as root if this is an ACPI report! > SENDBUG: dmesg and usbdevs are attached. > SENDBUG: Feel free to delete or use the -D flag if they contain sensitive > information. > > dmesg: > OpenBSD 6.3 (GENERIC.MP) #11: Thu Sep 20 16:05:37 CEST 2018 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 8520617984 (8125MB) > avail mem = 8255311872 (7872MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x8e622000 (85 entries) > bios0: vendor American Megatrends Inc. version "5.12" date 07/01/2018 > bios0: Default string Default string > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT HPET SSDT SSDT UEFI > SSDT LPIT SSDT SSDT SSDT SSDT DBGP DBG2 SSDT DMAR ASF! WSMT > acpi0: wakeup devices PXSX(S3) RP09(S3) PXSX(S3) RP10(S3) PXSX(S3) RP11(S3) > PXSX(S3) RP12(S3) PXSX(S3) RP13(S3) PXSX(S3) RP01(S3) PXSX(S3) RP02(S3) > PXSX(S3) RP03(S3) [...] > 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) Celeron(R) CPU 3865U @ 1.80GHz, 1696.65 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB, > 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 24MHz > 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) Celeron(R) CPU 3865U @ 1.80GHz, 1696.06 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB, > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > 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 -1 (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 2 (RP02) > acpiprt11 at acpi0: bus 3 (RP03) > acpiprt12 at acpi0: bus 4 (RP04) > acpiprt13 at acpi0: bus 5 (RP05) > acpiprt14 at acpi0: bus 6 (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 (RP21) > acpiprt22 at acpi0: bus -1 (RP22) > acpiprt23 at acpi0: bus -1 (RP23) > acpiprt24 at acpi0: bus -1 (RP24) > acpiprt25 at acpi0: bus -1 (RP14) > acpiprt26 at acpi0: bus -1 (RP15) > acpiprt27 at acpi0: bus -1 (RP16) > acpiec0 at acpi0: not present > 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 > acpipwrres0 at acpi0: FN00, resource for FAN0 > acpipwrres1 at acpi0: FN01, resource for FAN1 > acpipwrres2 at acpi0: FN02, resource for FAN2 > acpipwrres3 at acpi0: FN03, resource for FAN3 > acpipwrres4 at acpi0: FN04, resource for FAN4 > acpitz0 at acpi0: critical temperature is 119 degC > acpitz1 at acpi0: critical temperature is 119 degC > "INT3F0D" at acpi0 not configured > "INT344B" at acpi0 not configured > acpibtn0 at acpi0: SLPB > "PNP0C14" at acpi0 not configured > "INT33A1" at acpi0 not configured > acpibtn1 at acpi0: PWRB > "INT340E" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > acpivideo0 at acpi0: GFX0 > acpivout0 at acpivideo0: DD1F > cpu0: Enhanced SpeedStep 1696 MHz: speeds: 1801, 1800, 1700, 1600, 1500, > 1400, 1300, 1200, 1100, 1000, 900, 800, 700, 600, 500, 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 610" 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: 1024x768, 32bpp > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) > wsdisplay0: screen 1-5 added (std, vt100 emulation) > "Intel Core GMM" rev 0x00 at pci0 dev 8 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 > "Intel 100 Series MEI" rev 0x21 at pci0 dev 22 function 0 not configured > ahci0 at pci0 dev 23 function 0 "Intel 100 Series AHCI" rev 0x21: msi, AHCI > 1.3.1 > ahci0: PHY offline on port 0 > ahci0: port 1: 6.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 1 lun 0: <ATA, Hoodisk SSD, SBFM> SCSI3 0/direct fixed > naa.0000000000000000 > sd0: 61057MB, 512 bytes/sector, 125045424 sectors, thin > ppb0 at pci0 dev 28 function 0 "Intel 100 Series PCIE" rev 0xf1: msi > pci1 at ppb0 bus 1 > em0 at pci1 dev 0 function 0 "Intel I211" rev 0x03: msi, address > 40:62:31:01:4e:18 > ppb1 at pci0 dev 28 function 1 "Intel 100 Series PCIE" rev 0xf1: msi > pci2 at ppb1 bus 2 > em1 at pci2 dev 0 function 0 "Intel I211" rev 0x03: msi, address > 40:62:31:01:4e:19 > ppb2 at pci0 dev 28 function 2 "Intel 100 Series PCIE" rev 0xf1: msi > pci3 at ppb2 bus 3 > em2 at pci3 dev 0 function 0 "Intel I211" rev 0x03: msi, address > 40:62:31:01:4e:1a > ppb3 at pci0 dev 28 function 3 "Intel 100 Series PCIE" rev 0xf1: msi > pci4 at ppb3 bus 4 > em3 at pci4 dev 0 function 0 "Intel I211" rev 0x03: msi, address > 40:62:31:01:4e:1b > ppb4 at pci0 dev 28 function 4 "Intel 100 Series PCIE" rev 0xf1: msi > pci5 at ppb4 bus 5 > em4 at pci5 dev 0 function 0 "Intel I211" rev 0x03: msi, address > 40:62:31:01:4e:1c > ppb5 at pci0 dev 28 function 5 "Intel 100 Series PCIE" rev 0xf1: msi > pci6 at ppb5 bus 6 > em5 at pci6 dev 0 function 0 "Intel I211" rev 0x03: msi, address > 40:62:31:01:4e:1d > vendor "Intel", unknown product 0x9d27 (class DASP subclass miscellaneous, > rev 0x21) at pci0 dev 30 function 0 not configured > sdhc0 at pci0 dev 30 function 4 vendor "Intel", unknown product 0x9d2b rev > 0x21: apic 2 int 21 > sdhc0: SDHC 3.0, 200 MHz base clock > sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma > sdhc1 at pci0 dev 30 function 6 vendor "Intel", unknown product 0x9d2d rev > 0x21: apic 2 int 23 > sdhc1: SDHC 3.0, 200 MHz base clock > sdmmc1 at sdhc1: 4-bit, sd high-speed, mmc high-speed, dma > 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: no supported codecs > 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 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com0: console > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX/EPT > efifb0 at mainbus0sdmmc0: can't enable card > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (cd6844955f21dab6.a) swap on sd0b dump on sd0b > > usbdevs: > Controller /dev/usb0: > addr 1: super speed, self powered, config 1, xHCI root hub(0x0000), > Intel(0x8086), rev 1.00 > port 1 disabled > port 2 disabled > port 3 disabled > port 4 disabled > port 5 disabled > port 6 disabled > port 7 disabled > port 8 disabled > port 9 disabled > port 10 disabled > port 11 disabled > port 12 disabled > porw 13 addr 2: super speed, power 126 mA, config 1, Patriot Memory(0x5500), > vendor 0x13fe(0x13fe), rev 1.10, iSerialNumber 070B8409BABFA493 > port 14 disabled > port 15 disabled > port 16 disabled >
