Unicast packet loss on bridge(4) in 6.3

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Unicast packet loss on bridge(4) in 6.3

David  Dahlberg
>Synopsis: Unicast packet loss on bridge(4) combinations
>Category: kernel amd64
>Environment:
        System      : OpenBSD 6.3
        Details     : OpenBSD 6.3 (GENERIC) #100: Sat Mar 24 14:17:45 MDT 2018
                         [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:

When using vether(4) in a bridge(4), unicast packets directed to the
vether are not received. I do not even see them at all in tcpdump. Neither
on the vether, the bridge, nor any of the physical devices. Other packets
can be seen.

Seems to have happened somewhere between 6.2 and 6.3; 6.2 was working, 6.3 is
not working, snapshots do not work either.

I encountered the phenomenon first when updating an APU2 with the following
setup to 6.3:

re0: up (this is the physical interface connected to the LAN switch)
vlan25: parent re0 vnetid 25 up
vether0: inet 10.4.25.1 255.255.255.0 10.4.25.255 up
athn0: down
bridge0: add vether0 add vlan25 add athn0 up

Packets to 10.4.25.1 which should be coming from re0 (vlan25) have been lost.

>How-To-Repeat:

To make it reproducible I tried a simpler setup.

Spin up a VBox as follows:

/etc/hostname.vio0 (this one is connected to the host network):
inet 10.0.2.17 255.255.255.0 10.0.2.255
up

/etc/hostname.vether0:
inet 10.0.2.15 255.255.255.0 10.0.2.255
up

/etc/hostname.bridge0:
add vether0
add vio0
up

From another machine:
$ ping 10.0.2.17 -> works.
$ ping 10.0.2.15 -> does not work

If using a second vio(4) instead of a vether(4) the effect stays the same.

One can see outgoing packets with tcpdump(8) on the machine and on the outside.
Other incoming packets can be seen on the devices where I would expect them,
but unicast packets 10.0.2.15 can be seen nowhere, not even on vio0.

A typical exchange as captured on a Linux box from the outside (10.0.2.16 was a vio1
which I put into the bridge to see whether or not the problem was vether specific):
0a:00:27:00:00:00 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 10.0.2.16 tell 10.0.2.20, length 28
08:00:27:a3:86:48 > 0a:00:27:00:00:00, ethertype ARP (0x0806), length 42: Reply 10.0.2.16 is-at 08:00:27:a3:86:48, length 28
0a:00:27:00:00:00 > 08:00:27:a3:86:48, ethertype IPv4 (0x0800), length 98: 10.0.2.20 > 10.0.2.16: ICMP echo request, id 19536, seq 1122, length 64
0a:00:27:00:00:00 > 08:00:27:a3:86:48, ethertype IPv4 (0x0800), length 98: 10.0.2.20 > 10.0.2.16: ICMP echo request, id 19536, seq 1122, length 64
0a:00:27:00:00:00 > 08:00:27:a3:86:48, ethertype IPv4 (0x0800), length 98: 10.0.2.20 > 10.0.2.16: ICMP echo request, id 19536, seq 1122, length 64
0a:00:27:00:00:00 > 08:00:27:a3:86:48, ethertype IPv4 (0x0800), length 98: 10.0.2.20 > 10.0.2.16: ICMP echo request, id 19536, seq 1122, length 64
[...]

From the inside (captured on "uplink" vio0):
0a:99:27:00:00:00 > ff:ff:ff:ff:ff:ff, 0806 42: arp who-has 10.0.2.16 tell 10.0.2.20
0a:99:27:00:00:00 > ff:ff:ff:ff:ff:ff, 0806 42: arp who-has 10.0.2.16 tell 10.0.2.20
08:00:27:a3:86:48 > 0a:00:27:00:00:00, 0806 42: arp reply 10.0.2.16 is-at 08:00:27:a3:86:48
[end of conversation]

You see there that broadcast ethernet frames are coming through, while
unicast is not.

On the bridge itself, I see only the learned address of the outside
machine (see ifconfig
output below).

>Fix:

In the simplified VBox setup:
No fix. Do not use a bridge, configure the IP directly on the connected
device.

In the original APU2 setup:
Strangely packet capturing makes this setup work temporarily - probably
because of implicitly setting the devices into PROMISCUOUS mode. Issuing
a second "ifconfig bridge0 up" command also works there.

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
        index 4 priority 0 llprio 3
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
vio0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        lladdr 08:00:27:25:02:e4
        index 1 priority 0 llprio 3
        media: Ethernet autoselect
        status: active
        inet 10.0.2.15 netmask 0xffffff00 broadcast 10.0.2.255
vio1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        lladdr 08:00:27:a3:86:48
        index 2 priority 0 llprio 3
        media: Ethernet autoselect
        status: active
        inet 10.0.2.16 netmask 0xffffff00 broadcast 10.0.2.255
enc0: flags=0<>
        index 3 priority 0 llprio 3
        groups: enc
        status: active
bridge0: flags=41<UP,RUNNING>
        index 5 llprio 3
        groups: bridge
        priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
        vether0 flags=3<LEARNING,DISCOVER>
                port 6 ifpriority 0 ifcost 0
        vio0 flags=3<LEARNING,DISCOVER>
                port 1 ifpriority 0 ifcost 0
        vio1 flags=3<LEARNING,DISCOVER>
                port 2 ifpriority 0 ifcost 0
vether0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr fe:e1:ba:d0:2b:c1
        index 6 priority 0 llprio 3
        groups: vether
        media: Ethernet autoselect
        status: active
        inet 10.0.2.17 netmask 0xffffff00 broadcast 10.0.2.255
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
        index 7 priority 0 llprio 3
        groups: pflog

dmesg:
OpenBSD 6.3 (GENERIC) #100: Sat Mar 24 14:17:45 MDT 2018
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1056899072 (1007MB)
avail mem = 1017950208 (970MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (10 entries)
bios0: vendor innotek GmbH version "VirtualBox" date 12/01/2006
bios0: innotek GmbH VirtualBox
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP APIC SSDT
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 3408.65 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,MWAIT,SSSE3,CX16,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,RDRAND,NXE,RDTSCP,LONG,LAHF,ABM,3DNOWP,ITSC,FSGSBASE,AVX2,INVPCID,RDSEED,CLFLUSHOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
acpitimer0: recalibrated TSC frequency 3407976314 Hz
cpu0: smt 0, core 0, package 0
mtrr: CPU supports MTRRs but not enabled by BIOS
cpu0: apic clock running at 999MHz
cpu0: mwait min=64, max=64
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
acpiac0 at acpi0: AC unit online
acpivideo0 at acpi0: GFX0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <VBOX HARDDISK>
wd0: 128-sector PIO, LBA, 16384MB, 33554432 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <VBOX, CD-ROM, 1.0> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
vga1 at pci0 dev 2 function 0 "InnoTek VirtualBox Graphics Adapter" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio0: address 08:00:27:25:02:e4
virtio0: apic 1 int 19
"InnoTek VirtualBox Guest Service" rev 0x00 at pci0 dev 4 function 0 not configured
auich0 at pci0 dev 5 function 0 "Intel 82801AA AC97" rev 0x01: apic 1 int 21, ICH
ac97: codec id 0x83847600 (SigmaTel STAC9700)
audio0 at auich0
ohci0 at pci0 dev 6 function 0 "Apple Intrepid USB" rev 0x00: apic 1 int 22, version 1.0
piixpm0 at pci0 dev 7 function 0 "Intel 82371AB Power" rev 0x08: apic 1 int 23
iic0 at piixpm0
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
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Apple OHCI root hub" rev 1.00/1.00 addr 1
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (c1b4d18c5c9e1aad.a) swap on wd0b dump on wd0b

usbdevs:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), Apple(0x106b), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
 port 7 powered
 port 8 powered
 port 9 powered
 port 10 powered
 port 11 powered
 port 12 powered

pcidump:
Domain /dev/pci0:
 0:0:0: Intel 82441FX
        0x0000: Vendor ID: 8086 Product ID: 1237
        0x0004: Command: 0000 Status: 0000
        0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 02
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
        0x0000: 12378086 00000000 06000002 00000000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 00000000
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:1:0: Intel 82371SB ISA
        0x0000: Vendor ID: 8086 Product ID: 7000
        0x0004: Command: 0007 Status: 0200
        0x0008: Class: 06 Subclass: 01 Interface: 00 Revision: 00
        0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
        0x0000: 70008086 02000007 06010000 00800000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 00000000
        0x0040: 00000000 00000000 00000000 0003004d
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 0b090a0b 00000000 00000200 00000000
        0x0070: 00000080 0c0c0000 00000002 00000000
        0x0080: 00020000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000008 00000000 0000000f 0000ef00
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00be0000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:1:1: Intel 82371AB IDE
        0x0000: Vendor ID: 8086 Product ID: 7111
        0x0004: Command: 0005 Status: 0000
        0x0008: Class: 01 Subclass: 01 Interface: 8a Revision: 01
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR io addr: 0x0000d000/0x0010
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
        0x0000: 71118086 00000005 01018a01 00000000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 0000d001 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 00000000
        0x0040: a307a307 00000000 02020005 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:2:0: InnoTek VirtualBox Graphics Adapter
        0x0000: Vendor ID: 80ee Product ID: beef
        0x0004: Command: 0007 Status: 0000
        0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 00
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR mem prefetchable 32bit addr: 0xe0000000/0x01000000
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00
        0x0000: beef80ee 00000007 03000000 00000000
        0x0010: e0000008 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 0000010a
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:3:0: Qumranet Virtio Network
        0x0000: Vendor ID: 1af4 Product ID: 1000
        0x0004: Command: 0005 Status: 0010
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 00
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR io addr: 0x0000d020/0x0020
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 0001
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 09 Min Gnt: 00 Max Lat: 00
        0x0080: Capability 0x00: Reserved
        0x0000: 10001af4 00100005 02000000 00000000
        0x0010: 0000d021 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00011af4
        0x0030: 00000000 00000080 00000000 00000109
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:4:0: InnoTek VirtualBox Guest Service
        0x0000: Vendor ID: 80ee Product ID: cafe
        0x0004: Command: 0003 Status: 0000
        0x0008: Class: 08 Subclass: 80 Interface: 00 Revision: 00
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR io addr: 0x0000d040/0x0020
        0x0014: BAR mem 32bit addr: 0xf0000000/0x00400000
        0x0018: BAR mem prefetchable 32bit addr: 0xf0400000/0x00004000
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
        0x0000: cafe80ee 00000003 08800000 00000000
        0x0010: 0000d041 f0000000 f0400008 00000000
        0x0020: 00000000 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 0000010b
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:5:0: Intel 82801AA AC97
        0x0000: Vendor ID: 8086 Product ID: 2415
        0x0004: Command: 0005 Status: 0280
        0x0008: Class: 04 Subclass: 01 Interface: 00 Revision: 01
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR io addr: 0x0000d100/0x0100
        0x0014: BAR io addr: 0x0000d200/0x0040
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 8086 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
        0x0000: 24158086 02800005 04010001 00000000
        0x0010: 0000d101 0000d201 00000000 00000000
        0x0020: 00000000 00000000 00000000 00008086
        0x0030: 00000000 00000000 00000000 0000010b
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:6:0: Apple Intrepid USB
        0x0000: Vendor ID: 106b Product ID: 003f
        0x0004: Command: 0006 Status: 0010
        0x0008: Class: 0c Subclass: 03 Interface: 10 Revision: 00
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR mem 32bit addr: 0xf0404000/0x00001000
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00
        0x0000: 003f106b 00100006 0c031000 00000000
        0x0010: f0404000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 0000010a
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:7:0: Intel 82371AB Power
        0x0000: Vendor ID: 8086 Product ID: 7113
        0x0004: Command: 0000 Status: 0280
        0x0008: Class: 06 Subclass: 80 Interface: 00 Revision: 08
        0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 09 Min Gnt: 00 Max Lat: 00
        0x0000: 71138086 02800000 06800008 00800000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 00000109
        0x0040: 00004001 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00004101 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00090000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000

acpidump:
begin-base64 644 APIC.3
QVBJQ1QAAAACYVZCT1ggIFZCT1hBUElDAQAAAEFTTCBhAAAAAADg/gEAAAACCgAAAgAAAAAAAgoA
CQkAAAAPAAAIAAABAAAAAQwBAAAAwP4AAAAA
====
begin-base64 644 DSDT.2
RFNEVP8hAAAChFZCT1ggIFZCT1hCSU9TAgAAAElOVEwJAhggW4BEQkcwAQsAMAoEW4ELREJHMAFE
SEUxCFuBC0RCRzACREhFMhBbgQtEQkcwA0RIRTQgW4ENREJHMAEACERDSFIIFAxIRVhfAXBoREhF
MRQMSEVYMgFwaERIRTIUDEhFWDQBcGhESEU0FAxTTEVOAXBoYKSHYBQkUzJCRglwaGByU0xFTmAB
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ktBABINBAz//wkAAUxOS0IAEg4EDP//CQAKAkxOS0MA
Eg4EDP//CQAKA0xOS0QAEg0EDP//CgAATE5LQgASDQQM//8KAAFMTktDABIOBAz//woACgJMTktE
ABIOBAz//woACgNMTktBABINBAz//wsAAExOS0MAEg0EDP//CwABTE5LRAASDgQM//8LAAoCTE5L
QQASDgQM//8LAAoDTE5LQgASDQQM//8MAABMTktEABINBAz//wwAAUxOS0EAEg4EDP//DAAKAkxO
S0IAEg4EDP//DAAKA0xOS0MAEg0EDP//DQAATE5LQQASDQQM//8NAAFMTktCABIOBAz//w0ACgJM
TktDABIOBAz//w0ACgNMTktEABINBAz//w4AAExOS0IAEg0EDP//DgABTE5LQwASDgQM//8OAAoC
TE5LRAASDgQM//8OAAoDTE5LQQASDQQM//8PAABMTktDABINBAz//w8AAUxOS0QAEg4EDP//DwAK
AkxOS0EAEg4EDP//DwAKA0xOS0IAEg0EDP//EAAATE5LRAASDQQM//8QAAFMTktBABIOBAz//xAA
CgJMTktCABIOBAz//xAACgNMTktDABINBAz//xEAAExOS0EAEg0EDP//EQABTE5LQgASDgQM//8R
AAoCTE5LQwASDgQM//8RAAoDTE5LRAASDQQM//8SAABMTktCABINBAz//xIAAUxOS0MAEg4EDP//
EgAKAkxOS0QAEg4EDP//EgAKA0xOS0EAEg0EDP//EwAATE5LQwASDQQM//8TAAFMTktEABIOBAz/
/xMACgJMTktBABIOBAz//xMACgNMTktCABINBAz//xQAAExOS0QAEg0EDP//FAABTE5LQQASDgQM
//8UAAoCTE5LQgASDgQM//8UAAoDTE5LQwASDQQM//8VAABMTktBABINBAz//xUAAUxOS0IAEg4E
DP//FQAKAkxOS0MAEg4EDP//FQAKA0xOS0QAEg0EDP//FgAATE5LQgASDQQM//8WAAFMTktDABIO
BAz//xYACgJMTktEABIOBAz//xYACgNMTktBABINBAz//xcAAExOS0MAEg0EDP//FwABTE5LRAAS
DgQM//8XAAoCTE5LQQASDgQM//8XAAoDTE5LQgASDQQM//8YAABMTktEABINBAz//xgAAUxOS0EA
Eg4EDP//GAAKAkxOS0IAEg4EDP//GAAKA0xOS0MAEg0EDP//GQAATE5LQQASDQQM//8ZAAFMTktC
ABIOBAz//xkACgJMTktDABIOBAz//xkACgNMTktEABINBAz//xoAAExOS0IAEg0EDP//GgABTE5L
QwASDgQM//8aAAoCTE5LRAASDgQM//8aAAoDTE5LQQASDQQM//8bAABMTktDABINBAz//xsAAUxO
S0QAEg4EDP//GwAKAkxOS0EAEg4EDP//GwAKA0xOS0IAEg0EDP//HAAATE5LRAASDQQM//8cAAFM
TktBABIOBAz//xwACgJMTktCABIOBAz//xwACgNMTktDABINBAz//x0AAExOS0EAEg0EDP//HQAB
TE5LQgASDgQM//8dAAoCTE5LQwASDgQM//8dAAoDTE5LRAASDQQM//8eAABMTktCABINBAz//x4A
AUxOS0MAEg4EDP//HgAKAkxOS0QAEg4EDP//HgAKA0xOS0EAEg0EDP//HwAATE5LQwASDQQM//8f
AAFMTktEABIOBAz//x8ACgJMTktBABIOBAz//x8ACgNMTktCAAhQUjAxEk9deBILBAz//wIAAAAK
EhILBAz//wIAAQAKExIMBAz//wIACgIAChQSDAQM//8CAAoDAAoVEgsEDP//AwAAAAoTEgsEDP//
AwABAAoUEgwEDP//AwAKAgAKFRIMBAz//wMACgMAChYSCwQM//8EAAAAChQSCwQM//8EAAEAChUS
DAQM//8EAAoCAAoWEgwEDP//BAAKAwAKFxILBAz//wUAAAAKFRILBAz//wUAAQAKFhIMBAz//wUA
CgIAChcSDAQM//8FAAoDAAoQEgsEDP//BgAAAAoWEgsEDP//BgABAAoXEgwEDP//BgAKAgAKEBIM
BAz//wYACgMAChESCwQM//8HAAAAChcSCwQM//8HAAEAChASDAQM//8HAAoCAAoREgwEDP//BwAK
AwAKEhILBAz//wgAAAAKEBILBAz//wgAAQAKERIMBAz//wgACgIAChISDAQM//8IAAoDAAoTEgsE
DP//CQAAAAoREgsEDP//CQABAAoSEgwEDP//CQAKAgAKExIMBAz//wkACgMAChQSCwQM//8KAAAA
ChISCwQM//8KAAEAChMSDAQM//8KAAoCAAoUEgwEDP//CgAKAwAKFRILBAz//wsAAAAKExILBAz/
/wsAAQAKFBIMBAz//wsACgIAChUSDAQM//8LAAoDAAoWEgsEDP//DAAAAAoUEgsEDP//DAABAAoV
EgwEDP//DAAKAgAKFhIMBAz//wwACgMAChcSCwQM//8NAAAAChUSCwQM//8NAAEAChYSDAQM//8N
AAoCAAoXEgwEDP//DQAKAwAKEBILBAz//w4AAAAKFhILBAz//w4AAQAKFxIMBAz//w4ACgIAChAS
DAQM//8OAAoDAAoREgsEDP//DwAAAAoXEgsEDP//DwABAAoQEgwEDP//DwAKAgAKERIMBAz//w8A
CgMAChISCwQM//8QAAAAChASCwQM//8QAAEAChESDAQM//8QAAoCAAoSEgwEDP//EAAKAwAKExIL
BAz//xEAAAAKERILBAz//xEAAQAKEhIMBAz//xEACgIAChMSDAQM//8RAAoDAAoUEgsEDP//EgAA
AAoSEgsEDP//EgABAAoTEgwEDP//EgAKAgAKFBIMBAz//xIACgMAChUSCwQM//8TAAAAChMSCwQM
//8TAAEAChQSDAQM//8TAAoCAAoVEgwEDP//EwAKAwAKFhILBAz//xQAAAAKFBILBAz//xQAAQAK
FRIMBAz//xQACgIAChYSDAQM//8UAAoDAAoXEgsEDP//FQAAAAoVEgsEDP//FQABAAoWEgwEDP//
FQAKAgAKFxIMBAz//xUACgMAChASCwQM//8WAAAAChYSCwQM//8WAAEAChcSDAQM//8WAAoCAAoQ
EgwEDP//FgAKAwAKERILBAz//xcAAAAKFxILBAz//xcAAQAKEBIMBAz//xcACgIAChESDAQM//8X
AAoDAAoSEgsEDP//GAAAAAoQEgsEDP//GAABAAoREgwEDP//GAAKAgAKEhIMBAz//xgACgMAChMS
CwQM//8ZAAAAChESCwQM//8ZAAEAChISDAQM//8ZAAoCAAoTEgwEDP//GQAKAwAKFBILBAz//xoA
AAAKEhILBAz//xoAAQAKExIMBAz//xoACgIAChQSDAQM//8aAAoDAAoVEgsEDP//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0MDA0LTB4NDAwNQoJUE0yX1RNUl9CTEs9MHg0MDA4LTB4NDAwYgoJUE0yX0dQRTBfQkxL
PTB4NDAyMC0weDQwMjEKCVBfTFZMMl9MQVQ9MTAxbXMsIFBfTFZMM19MQVQ9MTAwMW1zCglGTFVT
SF9TSVpFPTAsIEZMVVNIX1NUUklERT0wCglEVVRZX09GRlNFVD0wLCBEVVRZX1dJRFRIPTAKCURB
WV9BTFJNPTAsIE1PTl9BTFJNPTAsIENFTlRVUlk9MAoJRmxhZ3M9e1dCSU5WRCxGSVhfUlRDLFRN
Ul9WQUxfRVhUfQoKCkRTRFQ6IExlbmd0aD04NzAzLCBSZXZpc2lvbj0yLCBDaGVja3N1bT0xMzIs
CglPRU1JRD1WQk9YLCBPRU0gVGFibGUgSUQ9VkJPWEJJT1MsIE9FTSBSZXZpc2lvbj0weDIsCglD
cmVhdG9yIElEPUlOVEwsIENyZWF0b3IgUmV2aXNpb249MHgyMDE4MDIwOQoKCkFQSUM6IExlbmd0
aD04NCwgUmV2aXNpb249MiwgQ2hlY2tzdW09OTcsCglPRU1JRD1WQk9YLCBPRU0gVGFibGUgSUQ9
VkJPWEFQSUMsIE9FTSBSZXZpc2lvbj0weDEsCglDcmVhdG9yIElEPUFTTCwgQ3JlYXRvciBSZXZp
c2lvbj0weDYxCgoKU1NEVDogTGVuZ3RoPTQ2MCwgUmV2aXNpb249MSwgQ2hlY2tzdW09MTgzLAoJ
T0VNSUQ9VkJPWCwgT0VNIFRhYmxlIElEPVZCT1hDUFVULCBPRU0gUmV2aXNpb249MHgyLAoJQ3Jl
YXRvciBJRD1JTlRMLCBDcmVhdG9yIFJldmlzaW9uPTB4MjAxODAyMDkKCg==
====

Reply | Threaded
Open this post in threaded view
|

Re: Unicast packet loss on bridge(4) in 6.3

Stefan Sperling-5
On Fri, Apr 20, 2018 at 09:59:34AM +0000, [hidden email] wrote:
> When using vether(4) in a bridge(4), unicast packets directed to the
> vether are not received. I do not even see them at all in tcpdump. Neither
> on the vether, the bridge, nor any of the physical devices. Other packets
> can be seen.


Please compile a kernel from the latest 6.3-stable sources
and let us know whether this fixes your problem.
See https://marc.info/?l=openbsd-cvs&m=152399103702472&w=2

Reply | Threaded
Open this post in threaded view
|

Re: Unicast packet loss on bridge(4) in 6.3

David  Dahlberg
Am Freitag, den 20.04.2018, 14:44 +0200 schrieb Stefan Sperling:
> On Fri, Apr 20, 2018 at 09:59:34AM +0000, [hidden email]
> er.de wrote:
> > When using vether(4) in a bridge(4), unicast packets directed to
> > the
> > vether are not received.
>
> Please compile a kernel from the latest 6.3-stable sources
> and let us know whether this fixes your problem.
> See https://marc.info/?l=openbsd-cvs&m=152399103702472&w=2

Does not look like it was that one. The behaviour in my reduced setup
stays the same: Unicast packets directed to an bridged interface do not
show up, unless the addressed interface is the ingress interface.

But before digging further into it, let me first try to confirm this on
the real machine. Sometimes the VBox networking does funny stuff.

Reply | Threaded
Open this post in threaded view
|

Re: Unicast packet loss on bridge(4) in 6.3

David Dahlberg-2
Am Friday, den 20.04.2018, 15:26 +0000 schrieb Dahlberg, David:
> let me first try to confirm this on
> the real machine. Sometimes the VBox networking does funny stuff.

I cannot find any differences in the behaviour between 6.3-release and
6.3-stable. But indeed VBox is weird. I cannot reproduce the behaviour
that I saw there, neither on my APU, my Shuttle Barebone, nor under
vmd(8).

So here is what happens on the APU2:

Configuration:
/etc/hostname.em2: up
/etc/hostname.vlan25: parent em2 vnetid 25 up
/etc/hostname.vether0: inet 10.4.25.1 255.255.255.0 10.4.25.255
/etc/hostname.bridge0: add vether0 add vlan25 up

The APU comes up with vether0 and vlan25 in PROMISC, but not em2.
Therefore of course the card won't receive any PDUs that are neither
directed to itself, nor broadcast.

The current workaround is to issue "ifconfig vlan25 up" in rc.local
which in turn will the em2 to PROMISC.

Funnily, if I configure the same setup in vmd(8) with a vio(4) instead
of an em(4), the vio(4) will be in PROMISC mode after startup.

My current amateur speculation: Maybe a race condition (e* vs. v*)? But
/etc/netstart shows me that the interfaces should be started en-bloc by
type. Maybe something on the hardware side of the Intel NIC?

Reply | Threaded
Open this post in threaded view
|

Re: Unicast packet loss on bridge(4) in 6.3

David Dahlberg-2
Am Saturday, den 21.04.2018, 11:36 +0200 schrieb David Dahlberg:
> Maybe something on the hardware side of the Intel NIC?

If I utter such words, I owe you at least a dmesg(8) from the machine,
where this happens. But my Shuttle with re(4) also needs an additional
invitation ("ifconfig vlanNN up")  for the PROMISC to propagate.


APU2:
OpenBSD 6.3-stable (GENERIC.MP) #0: Fri Apr 20 23:06:27 CEST 2018
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENE
RIC.MP
real mem = 4261015552 (4063MB)
avail mem = 4124798976 (3933MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xcff9f020 (7 entries)
bios0: vendor coreboot version "v4.6.0" date 07/24/2017
bios0: PC Engines PC Engines apu2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S2 S4 S5
acpi0: tables DSDT FACP SSDT TCPA APIC HEST SSDT SSDT HPET
acpi0: wakeup devices PWRB(S4) PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4)
PBR8(S4) UOH1(S3) UOH2(S3) UOH3(S3) UOH4(S3) UOH5(S3) UOH6(S3) XHC0(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD GX-412TC SOC, 998.25 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36
,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.
2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LA
HF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPE
XT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully
associative
acpitimer0: recalibrated TSC frequency 998010297 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD GX-412TC SOC, 998.11 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36
,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.
2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LA
HF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPE
XT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully
associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD GX-412TC SOC, 998.10 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36
,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.
2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LA
HF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPE
XT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1
cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully
associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD GX-412TC SOC, 998.11 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36
,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.
2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LA
HF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPE
XT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1
cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully
associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
ioapic1 at mainbus0: apid 5 pa 0xfec20000, version 21, 32 pins
, remapped to apid 5
acpihpet0 at acpi0: 14318180 Hz
acpihpet0: recalibrated TSC frequency 998134202 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PBR4)
acpiprt2 at acpi0: bus 2 (PBR5)
acpiprt3 at acpi0: bus 3 (PBR6)
acpiprt4 at acpi0: bus 4 (PBR7)
acpiprt5 at acpi0: bus -1 (PBR8)
acpicpu0 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu1 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu2 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu3 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
"BOOT0000" at acpi0 not configured
cpu0: 998 MHz: speeds: 1000 800 600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 16h Root Complex" rev 0x00
pchb1 at pci0 dev 2 function 0 "AMD AMD64 16h Host" rev 0x00
ppb0 at pci0 dev 2 function 1 "AMD AMD64 16h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
athn0 at pci1 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 5 int 0
athn0: AR9285 rev 2 (1T1R), ROM rev 14, address 78:e4:00:71:25:ef
ppb1 at pci0 dev 2 function 2 "AMD AMD64 16h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 "Intel I210" rev 0x03: msi, address
00:0d:b9:49:06:24
ppb2 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
em1 at pci3 dev 0 function 0 "Intel I210" rev 0x03: msi, address
00:0d:b9:49:06:25
ppb3 at pci0 dev 2 function 4 "AMD AMD64 16h PCIE" rev 0x00: msi
pci4 at ppb3 bus 4
em2 at pci4 dev 0 function 0 "Intel I210" rev 0x03: msi, address
00:0d:b9:49:06:26
"AMD CCP" rev 0x00 at pci0 dev 8 function 0 not configured
xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x11: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev
3.00/1.00 addr 1
ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x39: msi, AHCI
1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, SATA SSD, SBFM> SCSI3 0/direct
fixed naa.5000000000000000
sd0: 15272MB, 512 bytes/sector, 31277232 sectors, thin
ehci0 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4
int 18
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "AMD EHCI root hub" rev
2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMBus
disabled
pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
sdhc0 at pci0 dev 20 function 7 "AMD Bolton SD/MMC" rev 0x01: apic 4
int 16
sdhc0: SDHC 2.0, 63 MHz base clock
sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed, dma
pchb2 at pci0 dev 24 function 0 "AMD AMD64 16h Link Cfg" rev 0x00
pchb3 at pci0 dev 24 function 1 "AMD AMD64 16h Address Map" rev 0x00
pchb4 at pci0 dev 24 function 2 "AMD AMD64 16h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 16h Misc Cfg" rev 0x00
pchb5 at pci0 dev 24 function 4 "AMD AMD64 16h CPU Power" rev 0x00
pchb6 at pci0 dev 24 function 5 "AMD AMD64 16h Misc Cfg" rev 0x00
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
com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x53
vmm0 at mainbus0: SVM/RVI
uhub2 at uhub1 port 1 configuration 1 interface 0 "Advanced Micro
Devices product 0x7900" rev 2.00/0.18 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (578a0a3249d16238.a) swap on sd0b dump on sd0b


Reply | Threaded
Open this post in threaded view
|

Re: Unicast packet loss on bridge(4) in 6.3

Stuart Henderson
In reply to this post by David Dahlberg-2
Adding to bugs@ for the non misc@ readers, it seems this is still
a problem:

https://marc.info/?l=openbsd-misc&m=152710944022541&w=2

Summarised: vlan on em, vlan has no IP, unless vlan has a second
"ifconfig up" the parent interface does not get put in promisc.



On 2018/04/21 11:36, David Dahlberg wrote:

> Am Friday, den 20.04.2018, 15:26 +0000 schrieb Dahlberg, David:
> > let me first try to confirm this on
> > the real machine. Sometimes the VBox networking does funny stuff.
>
> I cannot find any differences in the behaviour between 6.3-release and
> 6.3-stable. But indeed VBox is weird. I cannot reproduce the behaviour
> that I saw there, neither on my APU, my Shuttle Barebone, nor under
> vmd(8).
>
> So here is what happens on the APU2:
>
> Configuration:
> /etc/hostname.em2: up
> /etc/hostname.vlan25: parent em2 vnetid 25 up
> /etc/hostname.vether0: inet 10.4.25.1 255.255.255.0 10.4.25.255
> /etc/hostname.bridge0: add vether0 add vlan25 up
>
> The APU comes up with vether0 and vlan25 in PROMISC, but not em2.
> Therefore of course the card won't receive any PDUs that are neither
> directed to itself, nor broadcast.
>
> The current workaround is to issue "ifconfig vlan25 up" in rc.local
> which in turn will the em2 to PROMISC.
>
> Funnily, if I configure the same setup in vmd(8) with a vio(4) instead
> of an em(4), the vio(4) will be in PROMISC mode after startup.
>
> My current amateur speculation: Maybe a race condition (e* vs. v*)? But
> /etc/netstart shows me that the interfaces should be started en-bloc by
> type. Maybe something on the hardware side of the Intel NIC?
>