Date: Fri, 06 Dec 2024 18:06:03 +0000 From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 283027] kernel panic: malloc(M_WAITOK) with sleeping prohibited Message-ID: <bug-283027-21060-mUh6FsoIvk@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-283027-21060@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283027 John Baldwin <jhb@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jhb@FreeBSD.org --- Comment #5 from John Baldwin <jhb@FreeBSD.org> --- We can't allocate a new PCI device on the fly here from a callout. The new PCI device being allocated is probably for the parent PCI-e root port which iwl_trans_pcie_dump_regs() tries to access here: /* Print parent device registers next */ if (!pdev->bus->self) goto out; pdev = pdev->bus->self; I think structurally what should be happening is that instead of allocating the LinuxKPI shim device for the PCI bridge on the fly, we should allocate LinuxKPI shim devices for the full PCI hierarchy down to any device while it is attached to a LinuxKPI driver. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283027-21060-mUh6FsoIvk>
