From nobody Sat Apr 02 16:23:28 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 E288F1A59A35 for ; Sat, 2 Apr 2022 16:23:28 +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 4KW2Qm1WVqz3mj0 for ; Sat, 2 Apr 2022 16:23:28 +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 152F14810 for ; Sat, 2 Apr 2022 16:23:28 +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 232GNSuY069852 for ; Sat, 2 Apr 2022 16:23:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 232GNSd7069851 for bugs@FreeBSD.org; Sat, 2 Apr 2022 16:23:28 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 263008] smartpqi: panic: malloc(M_WAITOK) with sleeping prohibited Date: Sat, 02 Apr 2022 16:23:28 +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: yuri@aetern.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=1648916608; 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=SE9eZgy8iXY5/18EWk+yEcFJedSkW8SMdvcnqiRFnwM=; b=NzWR3IJtTQSelws/BK1FQfaa+fExJihrgPeg7ZPpeIbooSJsIRvsoIWB2hWrVMVlXbVgt3 IO81iLymBXDR1xQYo1MpEgTME6R3EndVd5Tz+yeCd6cSAwd5Ft7BR7ZJH0faqtWqGYrFa5 EoNVMEv50+ISwWyLsPR3NZO8o+sPA69KEH3fH/ZpQ7AXZtjMYyP+KF3Lk0GxsSxMLGuO/a Bcr9i8/LPdiuStvM4S2AXIem2wUSBJK8TgYG1CkAq67PY9U7n5Kpsh0uJSGYqc9EHZabWU iJh5ZIHcUZMSr+Q94f+0pTe7PKm5IfI3D9Gs83nirC4pmmWm148aKK50kL6DLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648916608; a=rsa-sha256; cv=none; b=nM/4aHIjMywxOw6AKZZbZvrmGQW6nq82q9Oqs0wuvSr9tXW6wXKoobOiIg6e0FQh05hdB3 xD05F2/pW9cHkHcBs73/bH0xAp/nnuMzhmC9oy/TWGv7E8aq0kAdTVEQ67JKOg/8dhFPqJ wzKsJRI0f+NYtLwL6UcH/2YSEXP2jsaeZFe/VM5WzaM8u+gtWEtoTBEnsQzo7pdY7fj93t HJdty9k1tHVnY6GqCOi7CsQuQzLdas+BW5PQV3YY8M8cdApniZGsepwiannKH8JpamNa3+ jF9j1qOy7Dcw+HgejYSB/rDhiTWpPRsVHBJ3MdqPCcRYfQykcrXFcHHLcGAPog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263008 Bug ID: 263008 Summary: smartpqi: panic: malloc(M_WAITOK) with sleeping prohibited Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: yuri@aetern.org Hitting the following panic on boot, changing BUS_DMA_WAITOK to BUS_DMA_NOWAIT in os_dma_mem_alloc() helps. panic: malloc(M_WAITOK) with sleeping prohibited cpuid =3D 3 time =3D 1643658859 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00c7b20ae0 vpanic() at vpanic+0x17f/frame 0xfffffe00c7b20b30 panic() at panic+0x43/frame 0xfffffe00c7b20b90 malloc_dbg() at malloc_dbg+0xd4/frame 0xfffffe00c7b20bb0 malloc_domainset() at malloc_domainset+0x36/frame 0xfffffe00c7b20c20 bounce_bus_dmamem_alloc() at bounce_bus_dmamem_alloc+0x5b/frame 0xfffffe00c7b20c50 os_dma_mem_alloc() at os_dma_mem_alloc+0xe3/frame 0xfffffe00c7b20c90 pqisrc_build_send_raid_request() at pqisrc_build_send_raid_request+0x78/frame 0xfffffe00c7b20d30 pqisrc_write_current_time_to_host_wellness() at pqisrc_write_current_time_to_host_wellness+0xff/frame 0xfffffe00c7b20df0os_wellness_periodic() at os_wellness_periodic+0x1a/frame 0xfffffe00c7b20e10 softclock_call_cc() at softclock_call_cc+0x14d/frame 0xfffffe00c7b20ec0 softclock_thread() at softclock_thread+0xc6/frame 0xfffffe00c7b20ef0 fork_exit() at fork_exit+0x80/frame 0xfffffe00c7b20f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00c7b20f30 --=20 You are receiving this mail because: You are the assignee for the bug.=