From nobody Sun Sep 18 19:52:51 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MVz4N28q7z4dJQF for ; Sun, 18 Sep 2022 19:52:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MVz4M6wNJz3rXm for ; Sun, 18 Sep 2022 19:52:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MVz4M5xrpz185c for ; Sun, 18 Sep 2022 19:52:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28IJqpAE074503 for ; Sun, 18 Sep 2022 19:52:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28IJqpCZ074502 for bugs@FreeBSD.org; Sun, 18 Sep 2022 19:52:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Sun, 18 Sep 2022 19:52:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bcran@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663530772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ODkVUUiEJQuFHwaUu2ceA7aYOuvtGkB+NqDnxTk4jUA=; b=CgtNQ3nfyhnGx6nP1krDkPj5EWke0UNzm2tubkozGq5I7KfFxRLQpEZ613666tbxRKJzV+ NCWqKq+eqwASR9zrzAUtk2m2ryYTKqtsppTPEaxBGl6grMtNub4YslXwQZGd5eoWOs0l49 O4MftIDO+HB0ACrS3qXod52+Bu0HpP8Q/NXvBgbD6f1xbRuRiI5HhEVP0h8ErbVwUpFlAW 14OImvGVtH9wnnjZ99/xm39H3R4GW0SnQQPRopw1EeQIPUfK3/jJOMXgyFqzlsR5hBQF/w RE4LFuRImUQBo88ZaYGB0vYFk7FOcPVh+luVPEM/vtYWAWb5tewbe0MMom0Hdg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663530772; a=rsa-sha256; cv=none; b=aWH1YuwaPBnxZ5KANRlazaZDW9kKYhHzZLayxS+2jn/F7lqhfS8Q6MTvLo6o23V4S34h4Q DqIcwyzkGdkut82K9EA3y3np4GVt6ykxn0jjWvcra9pgMXcwH8/9ZnCcDQx5R7IKXiv/yw MOvGhovAysl7c2j2sPcbhIigsLEXe3RPGaC3JRm8bIbvnPo6ehL5UA4jCL0/mTad3lHZvV CQyug6RJ1mvVARNdtb6r9qgHlQEIVZ1pYv4Fh0SqejyleT3bzV0q9cAKH4Dqx2YoiiScop t8kdqOqgj9ckRPhWPu15POPlfka/Iwt2O4YMDFf0Uq6ChG+e2dvj8UGcRSAWcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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. ---<>--- 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 =20 Features2=3D0x7efa320b AMD Features=3D0x2e500800 AMD Features2=3D0x75c237ff Structured Extended Features=3D0x219c97a9 Structured Extended Features2=3D0x40069c Structured Extended Features3=3D0x10 XSAVE Features=3D0xf AMD Extended Feature Extensions ID EBX=3D0x91bef75f 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: 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 irqs 0-23 ioapic1 irqs 120-151 ioapic2 irqs 88-119 ioapic3 irqs 56-87 ioapic4 irqs 24-55 ioapic5 irqs 248-279 ioapic6 irqs 216-247 ioapic7 irqs 184-215 ioapic8 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: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: at iomem 0x69796000-0x6979601e smbios0: Version: 3.3, BCD Revision: 3.3 aesni0: acpi0: acpi0: Power Button (fixed) hpet0: 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: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: 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: on acpi0 pcib0: port 0xcf8-0xcff numa-domain 6 on acpi0 pci0: numa-domain 6 on pcib0 pci0: at device 0.2 (no driver attached) pcib1: at device 1.1 numa-domain 7 on pci0 pci1: numa-domain 7 on pcib1 AVAGO MegaRAID SAS FreeBSD mrsas driver version: 07.709.04.00-fbsd mrsas0: 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: at device 1.2 numa-domain 6 on pci0 pci2: numa-domain 6 on pcib2 ahci0: 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 ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich2: at channel 2 on ahci0 pcib3: at device 7.1 numa-domain 7 on pci0 pci3: numa-domain 7 on pcib3 pci3: at device 0.2 (no driver attached) pcib4: at device 8.1 numa-domain 7 on pci0 pci4: numa-domain 7 on pcib4 pci4: at device 0.2 (no driver attached) xhci0: 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: at device 20.3 numa-domain 6 on pci0 isa0: numa-domain 6 on isab0 pcib5: numa-domain 4 on acpi0 pci5: numa-domain 4 on pcib5 pci5: at device 0.2 (no driver attached) pcib6: at device 7.1 numa-domain 5 on pci5 pci6: numa-domain 5 on pcib6 pci6: at device 0.2 (no driver attached) pcib7: at device 8.1 numa-domain 5 on pci5 pci7: numa-domain 5 on pcib7 pci7: at device 0.1 (no driver attached) pci7: at device 0.2 (no driver attached) xhci1: 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: numa-domain 2 on acpi0 pci8: numa-domain 2 on pcib8 pci8: at device 0.2 (no driver attached) pcib9: at device 7.1 numa-domain 3 on pci8 pci9: numa-domain 3 on pcib9 pci9: at device 0.2 (no driver attached) pcib10: at device 8.1 numa-domain 3 on pci8 pci10: numa-domain 3 on pcib10 pci10: at device 0.2 (no driver attached) pcib11: numa-domain 0 on acpi0 pci11: numa-domain 0 on pcib11 pci11: at device 0.2 (no driver attached) pcib12: at device 3.1 numa-domain 1 on pci11 pci12: numa-domain 1 on pcib12 ixl0: 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.=