[Bug 283027] kernel panic: malloc(M_WAITOK) with sleeping prohibited
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Dec 2024 18:06:03 UTC
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.