From nobody Thu Jul 27 20:00:54 2023 X-Original-To: current@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 4RBhTp5w25z4pXSF for ; Thu, 27 Jul 2023 20:01:02 +0000 (UTC) (envelope-from yuri@aetern.org) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4RBhTp0kf7z3HRt for ; Thu, 27 Jul 2023 20:01:02 +0000 (UTC) (envelope-from yuri@aetern.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aetern.org header.s=fm3 header.b=MD6hiYp4; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=VjIWbtB2; spf=pass (mx1.freebsd.org: domain of yuri@aetern.org designates 64.147.123.24 as permitted sender) smtp.mailfrom=yuri@aetern.org Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id BAD61320092B for ; Thu, 27 Jul 2023 16:00:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 27 Jul 2023 16:00:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aetern.org; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm3; t=1690488059; x=1690574459; bh=ps jYY7S8pFY+BibSYRUZjJJMKGBxdtXZ/4LecZahs9w=; b=MD6hiYp4VfBcGp9WT9 Jgvy9Pigsa5rZkqtMLMd2dm0++hFxg8UA/bTrLeCCFlDRzmw19a01pyPZ6TTtde1 qsRRIetT9KWjJ+2u3y7tUnheAU2CR3XpDmWF9lUhvvtGR//Y2xE28auM+/WBb1qg ZgYC/+xSsQ+4MfJRSiVpKFLnfS4XqGRxxN6TOJCDGALLMoxnNk5pioJaJmXZ5ALc lEjDHpGsH5LE4RC4f2Eto+UpSIKQ4hMI3Wxui8r7lTdh3PqAIITWb6BK9FPv8bK2 Fw9BZNreyP9OGIeWOsSU/jaKjcNYGcz0DH+5ly5Xd2pR6va3b3+4Y8YIPReScPAF TctQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1690488059; x=1690574459; bh=psjYY7S8pFY+B ibSYRUZjJJMKGBxdtXZ/4LecZahs9w=; b=VjIWbtB2fgMnMVxr2fBkayrtS8ar3 tAAaDAFxInc7LetHo0SDYrSKaiHdaVxg0APbK2nwd8qO+PrcfQpyavvyqJwpNlwk +P390XpJvXqBv38Bbmqf1dR+AFgerpujMOTjLMwArvBeow37kJJTzUpgXdJqqFrZ T+/dS4CBL0FJ9eyL6WlYeOsyKomGe+xAOw3c2ff+swmA5MY9SLX8TH0svA06tMuK 5tFOYJkIiqi4GXK+QoUrEESWYEuD8SlFl2Sz6Z8mEU3HTepcHEvbxwf6Za6Vyfna zF4crZWgpIbKkPPgDlROo786iX0u0i7Wvk1FJ4ETCaS2sSPwyA79OdhiQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrieeggdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvhffutgfgsehtjeertd dtvdejnecuhfhrohhmpegjuhhrihcuoeihuhhrihesrggvthgvrhhnrdhorhhgqeenucgg tffrrghtthgvrhhnpeegveekgeeufeduheejleeltddvfeeivddvfefhvdejgfefjeelge ehhedutedtueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpeihuhhrihesrggvthgvrhhnrdhorhhg X-ME-Proxy: Feedback-ID: i0d79475b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 27 Jul 2023 16:00:58 -0400 (EDT) Message-ID: <217425d1-de2f-a1c0-7f26-9c95963f03f5@aetern.org> Date: Thu, 27 Jul 2023 22:00:54 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: current@freebsd.org From: Yuri Subject: panic: Segment size is not aligned (smartpqi related) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4RBhTp0kf7z3HRt X-Spamd-Bar: / X-Spamd-Result: default: False [-0.39 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; R_DKIM_ALLOW(-0.20)[aetern.org:s=fm3,messagingengine.com:s=fm3]; XM_UA_NO_VERSION(0.01)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; local_wl_from(0.00)[yuri@aetern.org]; DKIM_TRACE(0.00)[aetern.org:+,messagingengine.com:+]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_from Hi, I'm getting the panic below trying to install latest current snapshot (20230720) on HPE Proliant 380 Gen10. There don't seem to be any recent changes to smartpqi driver itself so it's likely something else changed as this HBA didn't have *this* specific problem previously on this system. The panic happens after selecting the disk for ZFS pool and confirming that its contents are going to be destroyed. What's interesting, doing `gpart destroy -F da0` from installer shell didn't trigger this. I have not tried to bisect this yet as it's very time consuming (uploading iso images to remote site takes hours) and hoping someone could point out the problem. panic: Segment size is not aligned cpuid = 53 KDB: stack backtrace vpanic() panic() bounce_bus_dmamap_load_ma() at bounce_bus_dmamap_load_ma+0x402 bus_dmamap_load_mem() at bus_dmamap_load_mem+034a bus_dmamap_load_ccb() at bus_dmamap_load_ccb+05d pqi_map_request() at pqi_map_request+0x54 smartpqi_cam_action() at smartpqi_cam_action+0xca1 xpt_run_devq() at xpt_run_devq+0x2e9 xpt_action_default() at xpt_action_default+0x3fd dastart() at dastart+0x327 xpt_run_allocq() at xpt_run_allocq+0x9f dastrategy() at dastrategy+0x6d g_disk_start() at g_disk_start+0x36f g_io_request() at 0x2c2 g_io_request() at 0x2c2 g_io_request() at 0x2c2 g_dev_strategy() at g_dev_strategy+0x155 physio() at physio+0x4a1 devfs_write_f() at devfs_write_f+0xf3 dofilewrite(() at dofilewrite+0x82 sys_write() at sys_write+0xc2 amd64_syscall() at amd64_syscall+0x138 fast_syscall_common() at fast_syscall_common+0xf8 --- syscall (4, FreeBSD ELF64, write), rip = 0x2899740792ba, rsp = 0x289971621568, rbp = 0x289971621c00 ---