Just thought I'd post a quick update.

I've installed a dual port Intel Pro 100S server nic in the sole PCI slot of the D945GCLF and moved the connection over from the on-board 8101e based Nic.

Using the same VLAN configuration and the same Switch configuration as before everything now _works_ without issue.

Given this I can say 100% that when using an 8101e based card with RE(4) under 4.7 AMD64 vlan tagging is broken.

New DMESG below.

OpenBSD 4.7 (GENERIC) #112: Wed Mar 17 20:43:49 MDT 2010
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2135109632 (2036MB)
avail mem = 2068836352 (1972MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe3590 (23 entries)
bios0: vendor Intel Corp. version "LF94510J.86A.0038.2008.0427.2223" date 04/27/2008
bios0: Intel Corporation D945GCLF
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC WDDT MCFG ASF!
acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S4) UAR2(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) EHCI(S3) AC9M(S4) AZAL(S4)
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) Atom(TM) CPU 230 @ 1.60GHz, 1596.31 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR,NXE,LONG
cpu0: 512KB 64b/line 16-way L2 cache
cpu0: apic clock running at 133MHz
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P32_)
acpiprt2 at acpi0: bus 1 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus 2 (PEX2)
acpiprt5 at acpi0: bus 3 (PEX3)
acpiprt6 at acpi0: bus -1 (PEX4)
acpiprt7 at acpi0: bus -1 (PEX5)
acpicpu0 at acpi0
acpibtn0 at acpi0: SLPB
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0x80000000, size 0x10000000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 2 int 17 (irq 255)
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8101E" rev 0x02: RTL8102EL (0x2480), apic 2 int 16 (irq 11), address 00:1c:c0:45:3e:65
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x01: apic 2 int 18 (irq 255)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x01: apic 2 int 19 (irq 255)
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23 (irq 9) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 16 (irq 11) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23 (irq 9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci4 at ppb3 bus 4
ppb4 at pci4 dev 0 function 0 "Intel 21154AE/BE PCI-PCI" rev 0x00
pci5 at ppb4 bus 5
fxp0 at pci5 dev 4 function 0 "Intel 8255x" rev 0x0d, i82550: apic 2 int 21 (irq 9), address 00:02:b3:c8:d6:69
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci5 dev 5 function 0 "Intel 8255x" rev 0x0d, i82550: apic 2 int 22 (irq 10), address 00:02:b3:c8:d6:6a
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01
pciide0 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 2 int 19 (irq 10) for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD1600BEKT-00A25T0>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 2 int 19 (irq 10)
iic0 at ichiic0
admtm0 at iic0 addr 0x2d: 47m192
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5
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
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

On 16/11/2010 18:52, Simon Slaytor wrote:
Thanks for the reply, no I'm not saying anything 'broke' or 'did or din't' work, I'm just reporting what I'm observing just in case anyone goes 'ah yes' that's a problem with X. To sumarise my original e-mail:

4.7 AMD64 RE(4) does 'not' function with tagging enabled, the nic works fine otherwise.

4.8 i386 DC(4) tagging works fine with the same port on the switch with 'no' changes to the switch configuration.

The OpenBSD vlan configuration is consistent between the two, all be it with a change from re(4) to dc(4)

I will perform a 4.8 AMD64 upgrade on the 4.7 box tonight and attempt again the vlan configuration to see if this solves the problem. I also have an 8169 based adapter to hand, I'll try installing that an moving the vlan config over.

Cheers for the patch, if all else fails I'll try this against thre re(4) driver.



On 16/11/2010 13:53, Claudio Jeker wrote:
On Mon, Nov 15, 2010 at 11:46:25PM +0000, Simon Slaytor wrote:
Hey Folks,

I've been pulling my hair out on this one for a little while now, I
have a 4.7 AMD64 release firewall based around an Intel D945GCLF
using the on-board 8101E based Realtek Nic which is connected to a
Netgear FSM726v1 L2 Managed switch.

I've been trying to configure the Firewall/Switch to run multiple
.1q vlans over the single interface without any luck. Configs listed
below. So in a fit of desperation I pulled out an old Nokia IP440,
installed 4.8 i386 release and configured up the 'same' vlan
interface, the Nokia uses the dc nic driver. In this configuration
with this device the tagging works!

Both devices where plugged into the same port on the switch, the
configuration of which wasn't changed.

So my question is this, is the problem with 4.7AMD64 the Realtek Nic
or the Intel D945GCLF board? Given the teething problems of BSD of
the Intel board I suspect its this but thought I'd try and save
myself the time in re-installing etc if someone in the know could
point out whats fubar'd.

Cheers guys, 4.8 yet another fantastic release ;)

Hmm. If I read this correctly you claim that VLAN support started to fail
between OpenBSD 4.7 and 4.8. Did you ever try to attach an other system
directly to the re(4) and do a tcpdump of the packets sent out/received by
re(4)? It would be interesting if TX or RX is affected.

The following diff disabled HW VLAN tagging support, maybe do a test with
this and see if this solves your problems.

Reply via email to