Date: Sun, 18 Sep 2022 19:52:51 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266486] panic in iflib: Assertion CPU_COUNT(&ctx->ifc_cpus) > 0 failed at /usr/src/sys/net/iflib.c:5150 Message-ID: <bug-266486-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266486 Bug ID: 266486 Summary: panic in iflib: Assertion CPU_COUNT(&ctx->ifc_cpus) > 0 failed at /usr/src/sys/net/iflib.c:5150 Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bcran@FreeBSD.org Machine: PowerEdge R7525 with 2x EPYC 7713 FreeBSD 14.0-CURRENT #0 main-n257957-975407b1d8d-dirty: Sun Sep 18 10:05:52= MDT 2022 After bumping MAXMEMDOM in acpica from 8 to 16 in an attempt to resolve the boot message "SRAT: Too many memory domains", FreeBSD panics on boot. ---<<BOOT>>--- Copyright (c) 1992-2022 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 main-n257957-975407b1d8d-dirty: Sun Sep 18 10:05:52= MDT 2022 bcran@timp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) WARNING: WITNESS option enabled, expect reduced performance. VT(efifb): resolution 1024x768 CPU: AMD EPYC 7713 64-Core Processor (1996.37-MHz K8-class = CPU) Origin=3D"AuthenticAMD" Id=3D0xa00f11 Family=3D0x19 Model=3D0x1 Stepp= ing=3D1 =20 Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,= MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> =20 Features2=3D0x7efa320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,PCID,SSE4.1,SSE4.2= ,x2APIC,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=3D0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> AMD Features2=3D0x75c237ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW= ,IBS,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX,ADMSKX> Structured Extended Features=3D0x219c97a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,PQE,RDS= EED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA> Structured Extended Features2=3D0x40069c<UMIP,PKU,OSPKE,VAES,VPCLMULQDQ,R= DPID> Structured Extended Features3=3D0x10<FSRM> XSAVE Features=3D0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> AMD Extended Feature Extensions ID EBX=3D0x91bef75f<CLZERO,IRPerf,XSaveErPtr,RDPRU,MCOMMIT,WBNOINVD,IBPB,IBRS,= STIBP,STIBP_ALWAYSON,PREFER_IBRS,PPIN,SSBD> SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768 TSC: P-state invariant, performance statistics real memory =3D 277021196288 (264188 MB) avail memory =3D 267217731584 (254838 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <DELL PE_SC3 > FreeBSD/SMP: Multiprocessor System Detected: 256 CPUs FreeBSD/SMP: 2 package(s) x 8 cache groups x 8 core(s) x 2 hardware threads random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 <Version 2.1> irqs 0-23 ioapic1 <Version 2.1> irqs 120-151 ioapic2 <Version 2.1> irqs 88-119 ioapic3 <Version 2.1> irqs 56-87 ioapic4 <Version 2.1> irqs 24-55 ioapic5 <Version 2.1> irqs 248-279 ioapic6 <Version 2.1> irqs 216-247 ioapic7 <Version 2.1> irqs 184-215 ioapic8 <Version 2.1> irqs 152-183 Launching APs: 53 59 50 55 58 54 63 51 49 62 48 61 56 60 57 52 37 39 35 43 = 36 42 38 34 46 44 47 33 45 32 41 25 40 29 22 27 23 28 19 26 18 30 17 31 16 24 = 20 4 2 21 9 3 6 10 7 1 11 8 15 12 14 5 13 105 106 104 102 107 103 98 111 99 110 = 108 96 109 97 101 120 122 115 100 121 123 118 126 119 114 127 125 112 124 113 1= 16 69 67 75 70 74 66 71 78 65 79 117 68 76 72 64 77 73 93 90 82 86 83 92 87 91= 95 80 94 81 84 89 85 88 181 180 186 179 177 187 183 176 182 178 190 185 191 188 184 189 165 170 162 164 168 171 167 160 166 175 163 161 174 172 169 173 216= 218 210 214 213 219 211 209 215 208 220 223 221 222 212 217 207 203 198 202 195= 199 196 194 197 205 206 193 204 192 200 244 250 245 251 246 243 247 242 254 240= 255 253 241 252 248 201 249 228 234 227 231 235 226 230 239 225 229 238 237 224= 236 233 148 154 159 150 155 146 145 147 151 144 157 158 156 153 149 152 232 137= 132 138 133 140 139 136 135 128 141 134 142 131 129 143 130 random: entropy device external interface kbd0 at kbdmux0 efirtc0: <EFI Realtime Clock> efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: <System Management BIOS> at iomem 0x69796000-0x6979601e smbios0: Version: 3.3, BCD Revision: 3.3 aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256> acpi0: <DELL PE_SC3> acpi0: Power Button (fixed) hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed001ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 350 Event timer "HPET1" frequency 14318180 Hz quality 350 Event timer "HPET2" frequency 14318180 Hz quality 350 attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 apei0: <ACPI Platform Error Interface> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff numa-domain 6 on acpi0 pci0: <ACPI PCI bus> numa-domain 6 on pcib0 pci0: <base peripheral, IOMMU> at device 0.2 (no driver attached) pcib1: <ACPI PCI-PCI bridge> at device 1.1 numa-domain 7 on pci0 pci1: <ACPI PCI bus> numa-domain 7 on pcib1 AVAGO MegaRAID SAS FreeBSD mrsas driver version: 07.709.04.00-fbsd mrsas0: <BROADCOM AERO-10E2 SAS Controller> port 0x2000-0x20ff mem 0x9ec00000-0x9ecfffff,0x9ed00000-0x9edfffff,0x9f200000-0x9f2fffff at device= 0.0 numa-domain 7 on pci1 mrsas0: FW now in Ready state mrsas0: Using MSI-X with 128 number of vectors mrsas0: FW supports <128> MSIX vector,Online CPU 256 Current MSIX <128> mrsas0: mrsas_init_adapter: sc->reply_q_depth 0x27e0,sc->request_alloc_sz 0x9f60, sc->reply_alloc_sz 0x13f00,sc->io_frames_alloc_sz 0x13ee00 mrsas0: max sge: 0x106, max chain frame size: 0x1000, max fw cmd: 0x13ec sc->chain_frames_alloc_sz: 0x13ec000 mrsas0: Issuing IOC INIT command to FW. mrsas0: IOC INIT response received from FW. mrsas0: FW supports atomic descriptor: Yes mrsas0: NVME page size : (4096) mrsas0: FW supports JBOD Map=20 mrsas0: FW supports JBOD Map Ext=20 mrsas0: Jbod map is supported mrsas0: VD created target ID: 0xef mrsas0: VD created target ID: 0x4 mrsas0: VD created target ID: 0x2 mrsas0: VD created target ID: 0x1 mrsas0: VD created target ID: 0x3 mrsas0: FW supports: UnevenSpanSupport=3D1 mrsas0: max_fw_cmds: 5100 max_scsi_cmds: 5084 mrsas0: MSI-x interrupts setup success mrsas0: mrsas_ocr_thread pcib2: <ACPI PCI-PCI bridge> at device 1.2 numa-domain 6 on pci0 pci2: <ACPI PCI bus> numa-domain 6 on pcib2 ahci0: <Marvell 88SE9230 AHCI SATA controller> port 0x1028-0x102f,0x1034-0x1037,0x1020-0x1027,0x1030-0x1033,0x1000-0x101f mem 0x9f100000-0x9f1007ff at device 0.0 numa-domain 6 on pci2 ahci0: AHCI v1.20 with 3 6Gbps ports, Port Multiplier not supported ahci0: quirks=3D0x1000900<NOBSYRES,ALTSIG,IOMMU_BUSWIDE> ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 ahcich2: <AHCI channel> at channel 2 on ahci0 pcib3: <ACPI PCI-PCI bridge> at device 7.1 numa-domain 7 on pci0 pci3: <ACPI PCI bus> numa-domain 7 on pcib3 pci3: <encrypt/decrypt> at device 0.2 (no driver attached) pcib4: <ACPI PCI-PCI bridge> at device 8.1 numa-domain 7 on pci0 pci4: <ACPI PCI bus> numa-domain 7 on pcib4 pci4: <encrypt/decrypt> at device 0.2 (no driver attached) xhci0: <AMD Starship USB 3.0 controller> mem 0x9ee00000-0x9eefffff at device 0.3 numa-domain 7 on pci4 xhci0: 64 bytes context size, 64-bit DMA usbus0 numa-domain 7 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 isab0: <PCI-ISA bridge> at device 20.3 numa-domain 6 on pci0 isa0: <ISA bus> numa-domain 6 on isab0 pcib5: <ACPI Host-PCI bridge> numa-domain 4 on acpi0 pci5: <ACPI PCI bus> numa-domain 4 on pcib5 pci5: <base peripheral, IOMMU> at device 0.2 (no driver attached) pcib6: <ACPI PCI-PCI bridge> at device 7.1 numa-domain 5 on pci5 pci6: <ACPI PCI bus> numa-domain 5 on pcib6 pci6: <encrypt/decrypt> at device 0.2 (no driver attached) pcib7: <ACPI PCI-PCI bridge> at device 8.1 numa-domain 5 on pci5 pci7: <ACPI PCI bus> numa-domain 5 on pcib7 pci7: <encrypt/decrypt> at device 0.1 (no driver attached) pci7: <encrypt/decrypt> at device 0.2 (no driver attached) xhci1: <AMD Starship USB 3.0 controller> mem 0x94d00000-0x94dfffff at device 0.3 numa-domain 5 on pci7 xhci1: 64 bytes context size, 64-bit DMA usbus1 numa-domain 5 on xhci1 usbus1: 5.0Gbps Super Speed USB v3.0 pcib8: <ACPI Host-PCI bridge> numa-domain 2 on acpi0 pci8: <ACPI PCI bus> numa-domain 2 on pcib8 pci8: <base peripheral, IOMMU> at device 0.2 (no driver attached) pcib9: <ACPI PCI-PCI bridge> at device 7.1 numa-domain 3 on pci8 pci9: <ACPI PCI bus> numa-domain 3 on pcib9 pci9: <encrypt/decrypt> at device 0.2 (no driver attached) pcib10: <ACPI PCI-PCI bridge> at device 8.1 numa-domain 3 on pci8 pci10: <ACPI PCI bus> numa-domain 3 on pcib10 pci10: <encrypt/decrypt> at device 0.2 (no driver attached) pcib11: <ACPI Host-PCI bridge> numa-domain 0 on acpi0 pci11: <ACPI PCI bus> numa-domain 0 on pcib11 pci11: <base peripheral, IOMMU> at device 0.2 (no driver attached) pcib12: <ACPI PCI-PCI bridge> at device 3.1 numa-domain 1 on pci11 pci12: <ACPI PCI bus> numa-domain 1 on pcib12 ixl0: <Intel(R) Ethernet Controller X710 for 10GBASE-T - 2.3.2-k> mem 0x9a000000-0x9affffff,0x9b808000-0x9b80ffff at device 0.0 numa-domain 1 on pci12 ixl0: fw 8.84.67010 api 1.14 nvm 8.40 etid 8000b1f9 oem 20.5120.13 ixl0: PF-ID[0]: VFs 64, MSI-X 129, VF MSI-X 5, QPs 768, MDIO shared ixl0: Using 1024 TX descriptors and 1024 RX descriptors panic: Assertion CPU_COUNT(&ctx->ifc_cpus) > 0 failed at /usr/src/sys/net/iflib.c:5150 cpuid =3D 10 time =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff82dc9= 790 vpanic() at vpanic+0x151/frame 0xffffffff82dc97e0 panic() at panic+0x43/frame 0xffffffff82dc9840 iflib_device_register() at iflib_device_register+0xeed/frame 0xffffffff82dc= 98d0 iflib_device_attach() at iflib_device_attach+0xbb/frame 0xffffffff82dc9900 device_attach() at device_attach+0x3ca/frame 0xffffffff82dc9940 device_probe_and_attach() at device_probe_and_attach+0x70/frame 0xffffffff82dc9970 bus_generic_attach() at bus_generic_attach+0x18/frame 0xffffffff82dc9990 pci_attach() at pci_attach+0xe1/frame 0xffffffff82dc99c0 acpi_pci_attach() at acpi_pci_attach+0x17/frame 0xffffffff82dc9a00 device_attach() at device_attach+0x3ca/frame 0xffffffff82dc9a40 device_probe_and_attach() at device_probe_and_attach+0x70/frame 0xffffffff82dc9a70 bus_generic_attach() at bus_generic_attach+0x18/frame 0xffffffff82dc9a90 acpi_pcib_pci_attach() at acpi_pcib_pci_attach+0x9e/frame 0xffffffff82dc9ac0 device_attach() at device_attach+0x3ca/frame 0xffffffff82dc9b00 device_probe_and_attach() at device_probe_and_attach+0x70/frame 0xffffffff82dc9b30 bus_generic_attach() at bus_generic_attach+0x18/frame 0xffffffff82dc9b50 pci_attach() at pci_attach+0xe1/frame 0xffffffff82dc9b80 acpi_pci_attach() at acpi_pci_attach+0x17/frame 0xffffffff82dc9bc0 device_attach() at device_attach+0x3ca/frame 0xffffffff82dc9c00 device_probe_and_attach() at device_probe_and_attach+0x70/frame 0xffffffff82dc9c30 bus_generic_attach() at bus_generic_attach+0x18/frame 0xffffffff82dc9c50 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x430/frame 0xffffffff82dc= 9cb0 device_attach() at device_attach+0x3ca/frame 0xffffffff82dc9cf0 device_probe_and_attach() at device_probe_and_attach+0x70/frame 0xffffffff82dc9d20 bus_generic_attach() at bus_generic_attach+0x18/frame 0xffffffff82dc9d40 acpi_probe_children() at acpi_probe_children+0x209/frame 0xffffffff82dc9da0 acpi_attach() at acpi_attach+0x9a6/frame 0xffffffff82dc9e30 device_attach() at device_attach+0x3ca/frame 0xffffffff82dc9e70 device_probe_and_attach() at device_probe_and_attach+0x70/frame 0xffffffff82dc9ea0 bus_generic_attach() at bus_generic_attach+0x18/frame 0xffffffff82dc9ec0 device_attach() at device_attach+0x3ca/frame 0xffffffff82dc9f00 device_probe_and_attach() at device_probe_and_attach+0x70/frame 0xffffffff82dc9f30 bus_generic_new_pass() at bus_generic_new_pass+0xfd/frame 0xffffffff82dc9f60 bus_set_pass() at bus_set_pass+0x4c/frame 0xffffffff82dc9f90 configure() at configure+0x9/frame 0xffffffff82dc9fa0 mi_startup() at mi_startup+0x1f8/frame 0xffffffff82dc9ff0 btext() at btext+0x23 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x32: movq $0,0x1277e83(%rip) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266486-227>