On Wed, Sep 14, 2016 at 09:46:35PM +0200, m...@belopuhov.com wrote:
> On Tue, Sep 13, 2016 at 08:50 +0000, Olivier Cherrier wrote:
> > >Synopsis:  crash with oce(4)
> > >Category:  network
> > >Environment:
> >     System      : OpenBSD 6.0
> >     Details     : OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26
> >     13:00:43 MDT 2016
> >                      
> > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > 
> >     Architecture: OpenBSD.amd64
> >     Machine     : amd64
> > >Description:
> > 
> > After upgrading systems from 5.9 (with patch 004) to 6.0, I am getting
> > crash after a few seconds the network is configured. The problem seems
> > to be linked to oce(4) and pool, at least not linked to carp/vlan since
> > I can reproduce the crash with just «ifconfig ocex up» commands as
> > shown here while booting in single user:
> > 
> 
> I didn't test CARP, but I cound't reproduce this with vlans on
> top of a trunk on top of two oce's with 6.0-release.  I will
> double check -current tomorrow.  I don't see a good reason for
> the "missing descriptor in rxeof" unless it's a stray interrupt
> with a valid completion queue entry which is a bit too weird.
> 
> Perhaps we're not filling the Rx ring with enough slots and get
> a heavily fragmented jumbo frame that the card has managed to
> only partially fit into provided space.  How about this diff?
> 
> diff --git sys/dev/pci/if_oce.c sys/dev/pci/if_oce.c
> index ee74185..a74b35b 100644
> --- sys/dev/pci/if_oce.c
> +++ sys/dev/pci/if_oce.c
> @@ -1078,7 +1078,7 @@ oce_init(void *arg)
>               rq->ring->index  = 0;
>  
>               /* oce splits jumbos into 2k chunks... */
> -             if_rxr_init(&rq->rxring, 8, rq->nitems);
> +             if_rxr_init(&rq->rxring, OCE_MAX_TX_ELEMENTS, rq->nitems);
>  
>               if (!oce_alloc_rx_bufs(rq)) {
>                       printf("%s: failed to allocate rx buffers\n",
> @@ -1560,8 +1560,8 @@ oce_rxeof(struct oce_rq *rq, struct oce_nic_rx_cqe *cqe)
>  
>       for (i = 0; i < cqe->u0.s.num_fragments; i++) {
>               if ((pkt = oce_pkt_get(&rq->pkt_list)) == NULL) {
> -                     printf("%s: missing descriptor in rxeof\n",
> -                         sc->sc_dev.dv_xname);
> +                     printf("%s: missing descriptor in rxeof, frag %d/%u\n",
> +                         sc->sc_dev.dv_xname, i, cqe->u0.s.num_fragments);
>                       goto exit;
>               }
>  
> 


        Hi Mike,

With Current and your patch, it is stable (no crash) and there is no
"missing descriptor in rxeof" message anymore.

But there is still the vlan part that is not working.
Here is the output:

$ dmesg 
OpenBSD 6.0-current (GENERIC.MP) #0: Thu Sep 15 09:58:00 CEST 2016
    oc@xxx:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 38627631104 (36838MB)
avail mem = 37452476416 (35717MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xf37fe000 (104 entries)
bios0: vendor HP version "I27" date 08/16/2015
bios0: HP ProLiant BL460c G7
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP SPCR MCFG HPET FFFF SPMI ERST APIC SRAT FFFF BERT HEST 
DMAR SSDT SSDT SSDT SSDT
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xf4000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 32 (boot processor)
cpu0: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.56 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 1
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.11 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNTcpu1:
 failed to identify
,AES,NXE,PAGE1GB,LONG,LAHFcpu2 at mainbus0,PERF,ITSC: apid 20 (application 
processor)
,SENSOR,ARAT
cpu1: 256KB 64b/line cpu2: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.11 MHz
cpu2: 
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC8-way
 L2 cache
,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 0, package 0
cpu2: failed to identify
cpu2: smt 0, core 10, package 0
cpu3 at mainbus0: apid 52 (application processor)
cpu3: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.11 MHz
cpu3: 
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,SMX,EST,TM2,SSSE3cpu3:
 failed to identify
,CX16cpu4 at mainbus0,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT: apid 34 
(application processor)
,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSCcpu4: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 
3200.11 MHz,SENSOR
cpu4: 
,ARATFPU,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,PBEcpu3: ,SSE3,PCLMULcpu4: failed 
to identify
256KB 64b/line 8-way L2 cache
,DTES64cpu5 at mainbus0cpu3: smt 0, core 10, package 1
: apid 18 (application processor)
,MWAIT,DS-CPL,VMX,SMX,EST,TM2cpu5: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 
3200.11 MHz
cpu5: 
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSCcpu5:
 failed to identify
,SENSOR,ARAT
cpu5: 256KB 64b/line 8-way L2 cache
cpu6 at mainbus0cpu5: smt 0, core 9, package 0
: apid 50 (application processor)
,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AEScpu6: Intel(R) Xeon(R) 
CPU X5672 @ 3.20GHz,NXE, 3200.11 MHz,PAGE1GB
cpu6: 
FPU,VME,LONG,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,LAHF,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PERFcpu6:
 failed to identify
,ITSC,PBE,SENSOR,ARAT
,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3cpu4: cpu7 at 
mainbus0,CX16256KB 64b/line : apid 2 (application processor)
,xTPR8-way L2 cache
,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSCcpu7: 
Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.11 MHz
cpu7: 
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNTcpu7:
 failed to identify
,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSCcpu8 at mainbus0,SENSOR,ARAT
cpu7: 256KB 64b/line 8-way L2 cache
cpu4: smt 0, core 1, package 1
cpu7: smt 0, core 1, package 0
,SENSOR: apid 33 (application processor)
,ARAT
cpu6: 256KB 64b/line 8-way L2 cachecpu8: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz
, 3200.11 MHzcpu6: smt 0, core 9, package 1

cpu8: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2cpu8:
 failed to identify
,SScpu9 at mainbus0,HTT: apid 1 (application processor)
,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSCcpu9:
 Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.11 MHz
cpu9: 
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,SENSOR,ARAT
cpu8: 256KB 64b/line 8-way L2 cache
cpu9: failed to identify
cpu8: smt 1, core 0, package 1
cpu10 at mainbus0,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC: apid 21 (application 
processor)
,SENSOR,ARAT
cpu9: 256KB 64b/line cpu10: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.11 MHz
cpu10: 
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,TM8-way,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2cpu10:
 failed to identify
,POPCNTcpu11 at mainbus0 L2 cache
: apid 53 (application processor)
,AEScpu9: smt 1, core 0, package 0
cpu11: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.11 MHz
cpu11: 
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,NXE,PAGE1GB,LONG,SENSOR,ARAT
cpu11: 256KB 64b/line 8-way L2 cache
,LAHF,PERF,ITSCcpu11: failed to identify
,SENSOR,ARAT
cpu12 at mainbus0cpu10: 256KB 64b/line 8-way L2 cache
: apid 35 (application processor)
cpu10: smt 1, core 10, package 0
cpu12: Intel(R) Xeon(R) CPU X5672 @ 3.20GHzcpu11: smt 1, core 10, package 1
, 3200.11 MHz
cpu12: 
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,TMcpu12:
 failed to identify
,PBEcpu13 at mainbus0,SSE3: apid 19 (application processor)
,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSCcpu13:
 Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.11 MHz
cpu13: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCAcpu13: failed to 
identify
,CMOVcpu14 at 
mainbus0,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT:
 apid 51 (application processor)
,AES,NXE,PAGE1GB,LONG,SENSOR,ARAT
cpu12: 256KB 64b/line 8-way L2 cache
,LAHF,PERF,ITSCcpu12: smt 1, core 1, package 1
,SENSOR,ARAT
cpu13: 256KB 64b/line 8-way L2 cache
cpu14: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.11 MHz
cpu14: 
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSCcpu13:
 smt 1, core 9, package 0
cpu14: failed to identify
,SENSORcpu15 at mainbus0,ARAT: apid 3 (application processor)

cpu14: 256KB 64b/line 8-waycpu15: Intel(R) Xeon(R) CPU X5672 @ 3.20GHz, 3200.11 
MHz
cpu15: 
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC
 L2 cache
,SENSOR,ARAT
cpu15: 256KB 64b/line 8-way L2 cache
cpu15: failed to identify
cpu15: smt 1, core 1, package 0
ioapic0 at mainbus0cpu14: smt 1, core 9, package 1
: apid 8 pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0: apid 0 pa 0xfec80000, version 20, 24 pins
acpiprt0 at acpi0: bus 12 (IPT1)
acpiprt1 at acpi0: bus 1 (IPT5)
acpiprt2 at acpi0: bus 3 (PT01)
acpiprt3 at acpi0: bus 2 (PT03)
acpiprt4 at acpi0: bus 6 (PT07)
acpiprt5 at acpi0: bus 9 (PT09)
acpiprt6 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu1 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu2 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu3 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu4 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu5 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu6 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu7 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu8 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu9 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu10 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu11 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu12 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu13 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu14 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu15 at acpi0: C3(350@96 mwait.1@0x20), C3(500@64 mwait.1@0x10), C1(1000@1 
mwait.1)
acpitz0 at acpi0: critical temperature is 31 degC
"IPI0001" at acpi0 not configured
"PNP0303" at acpi0 not configured
"PNP0F13" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0501" at acpi0 not configured
"ACPI000D" at acpi0 not configured
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 5520 Host" rev 0x13
ppb0 at pci0 dev 1 function 0 "Intel X58 PCIE" rev 0x13
pci1 at ppb0 bus 3
ppb1 at pci0 dev 2 function 0 "Intel X58 PCIE" rev 0x13
pci2 at ppb1 bus 13
ppb2 at pci0 dev 3 function 0 "Intel X58 PCIE" rev 0x13
pci3 at ppb2 bus 2
oce0 at pci3 dev 0 function 0 "ServerEngines BladeEngine3 10GbE" rev 0x01: apic 
0 int 0, address 00:17:a4:77:04:3e
oce1 at pci3 dev 0 function 1 "ServerEngines BladeEngine3 10GbE" rev 0x01: apic 
0 int 10, address 00:17:a4:77:04:40
vendor "ServerEngines", unknown product 0x0714 (class serial bus subclass Fiber 
Channel, rev 0x01) at pci3 dev 0 function 2 not configured
vendor "ServerEngines", unknown product 0x0714 (class serial bus subclass Fiber 
Channel, rev 0x01) at pci3 dev 0 function 3 not configured
oce2 at pci3 dev 0 function 4 "ServerEngines BladeEngine3 10GbE" rev 0x01: apic 
0 int 0, address 10:1f:74:35:60:52
oce3 at pci3 dev 0 function 5 "ServerEngines BladeEngine3 10GbE" rev 0x01: apic 
0 int 10, address 10:1f:74:35:60:56
oce4 at pci3 dev 0 function 6 "ServerEngines BladeEngine3 10GbE" rev 0x01: apic 
0 int 11, address 10:1f:74:35:60:53
oce5 at pci3 dev 0 function 7 "ServerEngines BladeEngine3 10GbE" rev 0x01: apic 
0 int 12, address 10:1f:74:35:60:57
ppb3 at pci0 dev 4 function 0 "Intel X58 PCIE" rev 0x13
pci4 at ppb3 bus 14
ppb4 at pci0 dev 5 function 0 "Intel X58 PCIE" rev 0x13
pci5 at ppb4 bus 15
ppb5 at pci0 dev 6 function 0 "Intel X58 PCIE" rev 0x13
pci6 at ppb5 bus 16
ppb6 at pci0 dev 7 function 0 "Intel X58 PCIE" rev 0x13
pci7 at ppb6 bus 6
ppb7 at pci0 dev 8 function 0 "Intel X58 PCIE" rev 0x13
pci8 at ppb7 bus 17
ppb8 at pci0 dev 9 function 0 "Intel X58 PCIE" rev 0x13
pci9 at ppb8 bus 9
ppb9 at pci0 dev 10 function 0 "Intel X58 PCIE" rev 0x13
pci10 at ppb9 bus 18
pchb1 at pci0 dev 13 function 0 vendor "Intel", unknown product 0x343a rev 0x13
pchb2 at pci0 dev 13 function 1 vendor "Intel", unknown product 0x343b rev 0x13
pchb3 at pci0 dev 13 function 2 vendor "Intel", unknown product 0x343c rev 0x13
pchb4 at pci0 dev 13 function 3 vendor "Intel", unknown product 0x343d rev 0x13
pchb5 at pci0 dev 13 function 4 "Intel 5520/X58 QuickPath" rev 0x13
pchb6 at pci0 dev 13 function 5 "Intel 5520 QuickPath" rev 0x13
pchb7 at pci0 dev 13 function 6 vendor "Intel", unknown product 0x341a rev 0x13
pchb8 at pci0 dev 14 function 0 vendor "Intel", unknown product 0x341c rev 0x13
pchb9 at pci0 dev 14 function 1 vendor "Intel", unknown product 0x341d rev 0x13
pchb10 at pci0 dev 14 function 2 vendor "Intel", unknown product 0x341e rev 0x13
pchb11 at pci0 dev 14 function 3 vendor "Intel", unknown product 0x341f rev 0x13
pchb12 at pci0 dev 14 function 4 vendor "Intel", unknown product 0x3439 rev 0x13
"Intel X58 Misc" rev 0x13 at pci0 dev 20 function 0 not configured
"Intel X58 GPIO" rev 0x13 at pci0 dev 20 function 1 not configured
"Intel X58 RAS" rev 0x13 at pci0 dev 20 function 2 not configured
ppb10 at pci0 dev 28 function 0 "Intel 82801JI PCIE" rev 0x00
pci11 at ppb10 bus 12
ciss0 at pci11 dev 0 function 0 "Hewlett-Packard Smart Array" rev 0x01: apic 8 
int 16
ciss0: 1 LD, HW rev 2, FW 6.64/6.63, 64bit fifo rro
scsibus1 at ciss0: 1 targets
sd0 at scsibus1 targ 0 lun 0: <HP, LOGICAL VOLUME, 6.64> SCSI3 0/direct fixed
sd0: 139980MB, 512 bytes/sector, 286679925 sectors
ppb11 at pci0 dev 28 function 4 "Intel 82801JI PCIE" rev 0x00
pci12 at ppb11 bus 1
"Hewlett-Packard iLO3 Slave" rev 0x05 at pci12 dev 0 function 0 not configured
vga1 at pci12 dev 0 function 1 "Matrox MGA G200eH" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Hewlett-Packard iLO3 Management" rev 0x05 at pci12 dev 0 function 2 not 
configured
uhci0 at pci12 dev 0 function 4 "Hewlett-Packard USB" rev 0x02: apic 8 int 17
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Hewlett-Packard UHCI root hub" rev 
1.00/1.00 addr 1
uhci1 at pci0 dev 29 function 0 "Intel 82801JI USB" rev 0x00: apic 8 int 20
uhci2 at pci0 dev 29 function 1 "Intel 82801JI USB" rev 0x00: apic 8 int 23
uhci3 at pci0 dev 29 function 2 "Intel 82801JI USB" rev 0x00: apic 8 int 22
uhci4 at pci0 dev 29 function 3 "Intel 82801JI USB" rev 0x00: apic 8 int 23
ehci0 at pci0 dev 29 function 7 "Intel 82801JI USB" rev 0x00: apic 8 int 20
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
ppb12 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x90
pci13 at ppb12 bus 19
pcib0 at pci0 dev 31 function 0 "Intel 82801JIB LPC" rev 0x00
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 
addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 
addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 
addr 1
usb5 at uhci4: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "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
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (9181307271e2d3e2.a) swap on sd0b dump on sd0b
uhidev0 at uhub0 port 1 configuration 1 interface 0 "HP Virtual Keyboard" rev 
1.10/0.02 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "HP Virtual Keyboard" rev 
1.10/0.02 addr 2
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons
wsmouse0 at ums0 mux 0
pfsync: failed to receive bulk update
$ 
$ 
$ ifconfig vlan
vlan1: flags=8103<UP,BROADCAST,PROMISC,MULTICAST> mtu 1500
        lladdr 00:00:00:00:00:00
        index 10 priority 0 llprio 3
        vlan: 1 parent interface: trunk0
        vnetid: 1
        parent: trunk0
        groups: vlan
        status: no carrier
vlan20: flags=8103<UP,BROADCAST,PROMISC,MULTICAST> mtu 1500
        lladdr 00:00:00:00:00:00
        index 11 priority 0 llprio 3
        vlan: 20 parent interface: trunk0
        vnetid: 20
        parent: trunk0
        groups: vlan
        status: no carrier
$ ifconfig trunk0
trunk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:17:a4:77:04:3e
        index 9 priority 0 llprio 3
        trunk: trunkproto loadbalance
                trunkport oce1 active
                trunkport oce0 master,active
        groups: trunk
        media: Ethernet autoselect
        status: active
$ 
$ 
$ doas sh /etc/netstart vlan20
ifconfig: SIOCSETVLAN: No buffer space available
ifconfig: SIOCAIFADDR: No buffer space available
$ doas sh /etc/netstart vlan1
ifconfig: SIOCSETVLAN: No buffer space available
ifconfig: SIOCAIFADDR: No buffer space available
$ 
$ 
$ cat /etc/hostname.vlan1
vlan 1 vlandev trunk0
inet xxx.xxx.xxx.xxx 255.255.252.0
up
$ 
$ cat /etc/hostname.vlan20
vlan 20 vlandev trunk0
inet xxx.xxx.xxx.xxx 255.255.255.0
up
$ 


During the boot, we can see:
«
pf enabled
net.inet.carp.preempt: 0 -> 1
net.inet.ip.forwarding: 0 -> 1
starting network
ifconfig: SIOCSETVLAN: No buffer space available
ifconfig: SIOCAIFADDR: No buffer space available
ifconfig: SIOCSETVLAN: No buffer space available
ifconfig: SIOCAIFADDR: No buffer space available
ifconfig: SIOCSVH: No buffer space available
ifconfig: SIOCAIFADDR: Invalid argument
ifconfig: SIOCSVH: No buffer space available
ifconfig: SIOCAIFADDR: Invalid argument
ifconfig: error in parsing address string: no address associated with
name
reordering libraries: done.
»


Thanks
Best
oc


-- 
Olivier Cherrier
mailto:o...@symacx.com

Reply via email to