Hi, I have a problem with svlan(4) and bge(4) (Broadcom BCM5721).
With TCO : ---------------------------- denis@jigai:~$ ssh root@10.20.30.210 root@10.20.30.210's password: Last login: Sun Jan 10 13:22:27 2016 from 192.168.10.10 OpenBSD 5.9-beta (GENERIC) #1: Sun Jan 10 13:25:07 CET 2016 Welcome to OpenBSD: The proactively secure Unix-like operating system. Please use the sendbug(1) utility to report bugs in the system. Before reporting a bug, please try to reproduce it with the latest version of the code. With bug reports, please try to ensure that enough information to reproduce the problem is enclosed, and if a known fix for it exists, include that as well. # ping 185.22.128.253 PING 185.22.128.253 (185.22.128.253): 56 data bytes --- 185.22.128.253 ping statistics --- 13 packets transmitted, 0 packets received, 100.0% packet loss ---------------------------- Comment lines 3022-3023 of if_bge.c to disable TCO, make && make install and reboot. (network/system/pf config are the same) Without TCO : ---------------------------- $ ssh root@10.20.30.210 root@10.20.30.210's password: Last login: Sun Jan 10 13:27:43 2016 from 192.168.10.10 OpenBSD 5.9-beta (GENERIC) #2: Sun Jan 10 13:30:31 CET 2016 Welcome to OpenBSD: The proactively secure Unix-like operating system. Please use the sendbug(1) utility to report bugs in the system. Before reporting a bug, please try to reproduce it with the latest version of the code. With bug reports, please try to ensure that enough information to reproduce the problem is enclosed, and if a known fix for it exists, include that as well. # ping 185.22.128.253 PING 185.22.128.253 (185.22.128.253): 56 data bytes 64 bytes from 185.22.128.253: icmp_seq=0 ttl=254 time=0.292 ms 64 bytes from 185.22.128.253: icmp_seq=1 ttl=254 time=0.215 ms 64 bytes from 185.22.128.253: icmp_seq=2 ttl=254 time=0.339 ms 64 bytes from 185.22.128.253: icmp_seq=3 ttl=254 time=0.312 ms --- 185.22.128.253 ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.215/0.289/0.339/0.046 ms ---------------------------- dmesg : ---------------------------- OpenBSD 5.9-beta (GENERIC) #2: Sun Jan 10 13:30:31 CET 2016 r...@test.lab.ledeuns.net:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 8571977728 (8174MB) avail mem = 8308101120 (7923MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.33 @ 0xbfeea000 (36 entries) bios0: vendor IBM version "IBM BIOS Version 1.45-[PAE145AUS-1.45]-" date 01/23/2009 bios0: IBM IBM eServer 306m -[8849PAU]- acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP SPCR MCFG APIC BOOT SSDT acpi0: wakeup devices PEG_(S4) EXP1(S4) EXP5(S4) EXP6(S4) PCIB(S5) COM1(S4) COM2(S4) KBC0(S1) MSE0(S1) AC97(S1) USB1(S1) USB2(S1) USB3(S1) USB4(S1) EUSB(S1) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xe0000000, bus 0-9 acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz, 2992.86 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,DTES64,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR,NXE,LONG,LAHF,PERF cpu0: 1MB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64 cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEG_) acpiprt2 at acpi0: bus 3 (PXHV) acpiprt3 at acpi0: bus 4 (EXP5) acpiprt4 at acpi0: bus 5 (EXP6) acpiprt5 at acpi0: bus 10 (PCIB) acpicpu0 at acpi0: C1(@1 halt!) acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0x81 ppb0 at pci0 dev 1 function 0 "Intel E7230 PCIE" rev 0x81: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: msi pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 "Intel 6702PXH PCIE-PCIX" rev 0x09 pci3 at ppb2 bus 3 "Intel IOxAPIC" rev 0x09 at pci2 dev 0 function 1 not configured ppb3 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: msi pci4 at ppb3 bus 4 bge0 at pci4 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1 (0x4101): apic 2 int 16, address 00:14:5e:84:0b:06 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb4 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: msi pci5 at ppb4 bus 5 bge1 at pci5 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1 (0x4101): apic 2 int 17, address 00:14:5e:84:0b:07 brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci6 at ppb5 bus 10 radeondrm0 at pci6 dev 4 function 0 "ATI ES1000" rev 0x02 drm0 at radeondrm0 radeondrm0: apic 2 int 16 pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01 pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <TSSTcorp, CD-ROM TS-L162C, IB02> ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x01: msi, AHCI 1.1 ahci0: port 0: 3.0Gb/s scsibus2 at ahci0: 32 targets sd0 at scsibus2 targ 0 lun 0: <ATA, ST3160815AS, 3.AA> SCSI3 0/direct fixed t10.ATA_ST3160815AS_5RX586FF sd0: 152627MB, 512 bytes/sector, 312581808 sectors ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: SMBus disabled usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 uhidev0 at uhub1 port 1 configuration 1 interface 0 "Logitech Logitech USB Keyboard" rev 2.00/60.00 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhidev1 at uhub1 port 1 configuration 1 interface 1 "Logitech Logitech USB Keyboard" rev 2.00/60.00 addr 2 uhidev1: iclass 3/0, 4 report ids uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (befa19fc92cec73d.a) swap on sd0b dump on sd0b radeondrm0: 1280x1024 wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation)