On 7.7.2023. 11:24, Jonathan Matthew wrote: > One of the problems described here: > https://www.mail-archive.com/tech@openbsd.org/msg71790.html > amounts to ix(4) not checking that it allocated a dma map before trying to > free it. > > ok? > >
Hi, with this diff box won't panic if I have em multiqueue diff and bring ix(4) up... without diff x3550m4# ifconfig ix0 up ix0: Unable to create Pack DMA map uvm_fault(0xfffffd877edf6180, 0xc, 0, 1) -> e kernel: page fault trap, code=0 Stopped at _bus_dmamap_destroy+0xd: movl 0xc(%rsi),%eax TID PID UID PRFLAGS PFLAGS CPU COMMAND * 11781 20784 0 0x3 0 1K ifconfig _bus_dmamap_destroy(ffffffff824a5a40,0) at _bus_dmamap_destroy+0xd ixgbe_free_receive_buffers(ffff8000000e8910) at ixgbe_free_receive_buffers+0xb2 ixgbe_init(ffff8000000e6000) at ixgbe_init+0x788 ixgbe_ioctl(ffff8000000e6048,80206910,ffff800021bb6d80) at ixgbe_ioctl+0x327 ifioctl(fffffd87809651f8,80206910,ffff800021bb6d80,ffff800021bed8a0) at ifioctl+0x7cc sys_ioctl(ffff800021bed8a0,ffff800021bb6e90,ffff800021bb6ef0) at sys_ioctl+0x2c4 syscall(ffff800021bb6f60) at syscall+0x3d4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7931b1531760, count: 7 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> with diff x3550m4# ifconfig ix0 up ix0: Unable to create Pack DMA map ix0: Could not setup receive structures x3550m4# ifconfig ix1 up ix1: Unable to create Pack DMA map ix1: Could not setup receive structures x3550m4# x3550m4# vmstat -iz interrupt total rate irq144/com0 3537 11 irq145/com1 0 0 irq96/acpi0 0 0 irq97/ppb0 0 0 irq98/ppb1 0 0 irq99/ppb2 0 0 irq114/ix0:0 0 0 irq115/ix0:1 0 0 irq116/ix0:2 0 0 irq117/ix0:3 0 0 irq118/ix0:4 0 0 irq119/ix0:5 0 0 irq120/ix0:6 0 0 irq121/ix0:7 0 0 irq122/ix0:8 0 0 irq123/ix0:9 0 0 irq124/ix0:10 0 0 irq125/ix0:11 0 0 irq126/ix0 0 0 irq127/ix1:0 0 0 irq128/ix1:1 0 0 irq129/ix1:2 0 0 irq130/ix1:3 0 0 irq131/ix1:4 0 0 irq132/ix1:5 0 0 irq133/ix1:6 0 0 irq134/ix1:7 0 0 irq135/ix1:8 0 0 irq136/ix1:9 0 0 irq137/ix1:10 0 0 irq138/ix1:11 0 0 irq139/ix1 0 0 irq100/ppb3 0 0 irq101/mfii0 42327 135 irq102/ehci0 23 0 irq103/ppb5 0 0 irq140/em0:0 873 2 irq141/em0:1 326 1 irq142/em0:2 1 0 irq143/em0:3 23 0 irq146/em0:4 55 0 irq147/em0:5 0 0 irq148/em0:6 24 0 irq149/em0:7 6 0 irq150/em0 2 0 irq151/em1:0 2 0 irq152/em1:1 0 0 irq153/em1:2 0 0 irq154/em1:3 0 0 irq155/em1:4 0 0 irq156/em1:5 0 0 irq157/em1:6 0 0 irq158/em1:7 0 0 irq159/em1 2 0 irq160/em2:0 2 0 irq161/em2:1 0 0 irq162/em2:2 0 0 irq163/em2:3 0 0 irq164/em2:4 0 0 irq165/em2:5 0 0 irq166/em2:6 0 0 irq167/em2:7 0 0 irq168/em2 2 0 irq169/em3:0 2 0 irq170/em3:1 0 0 irq171/em3:2 0 0 irq172/em3:3 0 0 irq173/em3:4 0 0 irq174/em3:5 0 0 irq175/em3:6 0 0 irq176/em3:7 0 0 irq177/em3 2 0 irq104/ppb6 0 0 irq105/ehci1 122 0 irq106/ichiic0 0 0 irq107/ppb13 0 0 irq0/clock 732682 2340 irq0/ipi 3065 9 Total 783078 2501 x3550m4# OpenBSD 7.3-current (GENERIC.MP) #35: Sat Jul 8 09:32:16 CEST 2023 hrvoje@x3550m4.netlab:/sys/arch/amd64/compile/GENERIC.MP real mem = 34297651200 (32708MB) avail mem = 33238515712 (31698MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7e67b000 (84 entries) bios0: vendor IBM version "-[D7E174BUS-3.20]-" date 06/15/2020 bios0: IBM IBM System x3550 M4 -[791425Z]- acpi0 at bios0: ACPI 4.0 acpi0: sleep states S0 S5 acpi0: tables DSDT FACP TCPA ERST HEST HPET APIC MCFG OEM1 SLIT SLIC SSDT SSDT SSDT SSDT DMAR acpi0: wakeup devices MRP1(S4) DCC0(S4) MRP3(S4) MRP5(S4) EHC2(S5) PEX0(S5) PEX7(S5) EHC1(S5) IP2P(S3) MRPB(S4) MRPC(S4) MRPD(S4) MRPF(S4) MRPG(S4) MRPH(S4) MRPI(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.01 MHz, 06-3e-04 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,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 100MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.02 MHz, 06-3e-04 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,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.06 MHz, 06-3e-04 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,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.05 MHz, 06-3e-04 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,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu3: smt 0, core 3, package 0 cpu4 at mainbus0: apid 8 (application processor) cpu4: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.10 MHz, 06-3e-04 cpu4: 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,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu4: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu4: smt 0, core 4, package 0 cpu5 at mainbus0: apid 10 (application processor) cpu5: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.13 MHz, 06-3e-04 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,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu5: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu5: smt 0, core 5, package 0 cpu6 at mainbus0: apid 32 (application processor) cpu6: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.04 MHz, 06-3e-04 cpu6: 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,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu6: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu6: smt 0, core 0, package 1 cpu7 at mainbus0: apid 34 (application processor) cpu7: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.06 MHz, 06-3e-04 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,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu7: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu7: smt 0, core 1, package 1 cpu8 at mainbus0: apid 36 (application processor) cpu8: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.15 MHz, 06-3e-04 cpu8: 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,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu8: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu8: smt 0, core 2, package 1 cpu9 at mainbus0: apid 38 (application processor) cpu9: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.15 MHz, 06-3e-04 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,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu9: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu9: smt 0, core 3, package 1 cpu10 at mainbus0: apid 40 (application processor) cpu10: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.23 MHz, 06-3e-04 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,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu10: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu10: smt 0, core 4, package 1 cpu11 at mainbus0: apid 42 (application processor) cpu11: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.30 MHz, 06-3e-04 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,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu11: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu11: smt 0, core 5, package 1 ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins ioapic1 at mainbus0: apid 9 pa 0xfec01000, version 20, 24 pins ioapic2 at mainbus0: apid 10 pa 0xfec40000, version 20, 24 pins acpimcfg0 at acpi0 acpimcfg0: addr 0x80000000, bus 0-255 acpiprt0 at acpi0: bus 0 (IOH0) acpiprt1 at acpi0: bus 12 (MRP1) acpiprt2 at acpi0: bus 17 (DCC0) acpiprt3 at acpi0: bus 22 (MRP3) acpiprt4 at acpi0: bus 27 (MRP5) acpiprt5 at acpi0: bus 6 (PEX0) acpiprt6 at acpi0: bus 128 (IOH1) acpiprt7 at acpi0: bus 134 (MRPD) acpipci0 at acpi0 IOH0: 0x00000010 0x00000011 0x00000000 "PNP0003" at acpi0 not configured acpicmos0 at acpi0 com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo com0: console com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0x4e/0x2, device 0xffffffff rev 0xff acpipci1 at acpi0 IOH1: 0x00000010 0x00000011 0x00000000 acpicpu0 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu1 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu2 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu3 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu4 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu5 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu6 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu7 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu8 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu9 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu10 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) acpicpu11 at acpi0: C2(500@59 mwait.3@0x10), C1(1000@3 mwait.1) ipmi at mainbus0 not configured cpu0: using VERW MDS workaround (except on vmm entry) pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel E5 v2 Host" rev 0x04 ppb0 at pci0 dev 1 function 0 "Intel E5 v2 PCIE" rev 0x04: msi pci1 at ppb0 bus 12 ppb1 at pci0 dev 2 function 0 "Intel E5 v2 PCIE" rev 0x04: msi pci2 at ppb1 bus 17 ppb2 at pci0 dev 3 function 0 "Intel E5 v2 PCIE" rev 0x04: msi pci3 at ppb2 bus 22 22:0:0: rom address conflict 0xfff80000/0x80000 22:0:1: rom address conflict 0xfff80000/0x80000 ix0 at pci3 dev 0 function 0 "Intel 82599" rev 0x01, msix, 12 queues, address a0:36:9f:2e:96:a0 ix1 at pci3 dev 0 function 1 "Intel 82599" rev 0x01, msix, 12 queues, address a0:36:9f:2e:96:a1 ppb3 at pci0 dev 3 function 2 "Intel E5 v2 PCIE" rev 0x04: msi pci4 at ppb3 bus 27 mfii0 at pci4 dev 0 function 0 "Symbios Logic MegaRAID SAS2208" rev 0x05: msi mfii0: "ServeRAID M5110", firmware 23.34.0-0023, 512MB cache scsibus1 at mfii0: 64 targets sd0 at scsibus1 targ 0 lun 0: <IBM, ServeRAID M5110, 3.46> naa.600605b006c3a0b01a582bd010e4c053 sd0: 952720MB, 512 bytes/sector, 1951170560 sectors scsibus2 at mfii0: 256 targets "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 0 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 1 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 2 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 3 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 4 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 5 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 6 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 7 not configured "Intel E5 v2 Address Map" rev 0x04 at pci0 dev 5 function 0 not configured "Intel E5 v2 IIO RAS" rev 0x04 at pci0 dev 5 function 2 not configured ppb4 at pci0 dev 17 function 0 "Intel C600 Virtual PCIE" rev 0x06 pci5 at ppb4 bus 32 ehci0 at pci0 dev 26 function 0 "Intel C600 USB" rev 0x06: apic 8 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 28 function 0 "Intel C600 PCIE" rev 0xb6: msi pci6 at ppb5 bus 6 em0 at pci6 dev 0 function 0 "Intel I350" rev 0x01, msix, 8 queues, address 40:f2:e9:ec:b4:12 em1 at pci6 dev 0 function 1 "Intel I350" rev 0x01, msix, 8 queues, address 40:f2:e9:ec:b4:13 em2 at pci6 dev 0 function 2 "Intel I350" rev 0x01, msix, 8 queues, address 40:f2:e9:ec:b4:14 em3 at pci6 dev 0 function 3 "Intel I350" rev 0x01, msix, 8 queues, address 40:f2:e9:ec:b4:15 ppb6 at pci0 dev 28 function 7 "Intel C600 PCIE" rev 0xb6: msi pci7 at ppb6 bus 1 ppb7 at pci7 dev 0 function 0 "Renesas SH7757 PCIE Switch" rev 0x00 pci8 at ppb7 bus 2 ppb8 at pci8 dev 0 function 0 "Renesas SH7757 PCIE Switch" rev 0x00 pci9 at ppb8 bus 3 ppb9 at pci9 dev 0 function 0 "Renesas SH7757 PCIE-PCI" rev 0x00 pci10 at ppb9 bus 4 vga1 at pci10 dev 0 function 0 "Matrox MGA G200eR" rev 0x00 wsdisplay at vga1 not configured ppb10 at pci8 dev 1 function 0 "Renesas SH7757 PCIE Switch" rev 0x00 pci11 at ppb10 bus 5 ehci1 at pci0 dev 29 function 0 "Intel C600 USB" rev 0x06: apic 8 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb11 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa6 pci12 at ppb11 bus 33 pcib0 at pci0 dev 31 function 0 "Intel C600 LPC" rev 0x06 ichiic0 at pci0 dev 31 function 3 "Intel C600 SMBus" rev 0x06: apic 8 int 11 iic0 at ichiic0 isa0 at pcib0 isadma0 at isa0 kbc selftest: ffffffff pcppi0 at isa0 port 0x61 spkr0 at pcppi0 pci13 at mainbus0 bus 128 ppb12 at pci13 dev 0 function 0 "Intel E5 v2 PCIE" rev 0x04 pci14 at ppb12 bus 129 ppb13 at pci13 dev 2 function 0 "Intel E5 v2 PCIE" rev 0x04: msi pci15 at ppb13 bus 134 "Intel E5 v2 I/OAT" rev 0x04 at pci13 dev 4 function 0 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci13 dev 4 function 1 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci13 dev 4 function 2 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci13 dev 4 function 3 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci13 dev 4 function 4 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci13 dev 4 function 5 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci13 dev 4 function 6 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci13 dev 4 function 7 not configured "Intel E5 v2 Address Map" rev 0x04 at pci13 dev 5 function 0 not configured "Intel E5 v2 IIO RAS" rev 0x04 at pci13 dev 5 function 2 not configured vmm0 at mainbus0: VMX/EPT uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub4 at uhub3 port 1 configuration 1 interface 0 "no manufacturer Gadget USB HUB" rev 2.00/0.00 addr 3 uhub4: device problem, disabling port 5 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (c1aa6fe2c9e6520c.a) swap on sd0b dump on sd0b urndis0 at uhub4 port 5 configuration 2 interface 0 "IBM RNDIS/Ethernet Gadget" rev 2.00/3.25 addr 4 urndis0: using Vendor, address 42:f2:e9:ec:b4:11 ix0: Unable to create Pack DMA map ix0: Could not setup receive structures ix1: Unable to create Pack DMA map ix1: Could not setup receive structures ix1: Unable to create Pack DMA map ix1: Could not setup receive structures ix0: Unable to create Pack DMA map ix0: Could not setup receive structures x3550m4# > Index: if_ix.c > =================================================================== > RCS file: /cvs/src/sys/dev/pci/if_ix.c,v > retrieving revision 1.197 > diff -u -p -r1.197 if_ix.c > --- if_ix.c 1 Jun 2023 09:05:33 -0000 1.197 > +++ if_ix.c 7 Jul 2023 09:22:30 -0000 > @@ -3094,8 +3094,11 @@ ixgbe_free_receive_buffers(struct rx_rin > m_freem(rxbuf->buf); > rxbuf->buf = NULL; > } > - bus_dmamap_destroy(rxr->rxdma.dma_tag, rxbuf->map); > - rxbuf->map = NULL; > + if (rxbuf->map != NULL) { > + bus_dmamap_destroy(rxr->rxdma.dma_tag, > + rxbuf->map); > + rxbuf->map = NULL; > + } > } > free(rxr->rx_buffers, M_DEVBUF, > sc->num_rx_desc * sizeof(struct ixgbe_rx_buf)); >