From nobody Tue Apr 12 22:57:43 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 D08E61AF8C5D for ; Tue, 12 Apr 2022 22:57:43 +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 4KdLj344btz3RLp for ; Tue, 12 Apr 2022 22:57:43 +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 6C8ED2041E for ; Tue, 12 Apr 2022 22:57:43 +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 23CMvhNo006950 for ; Tue, 12 Apr 2022 22:57:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23CMvhO4006949 for bugs@FreeBSD.org; Tue, 12 Apr 2022 22:57:43 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 262894] Kernel Panic (page fault) with 13.1-BETA2 in g_eli & httpd Date: Tue, 12 Apr 2022 22:57:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=1649804263; 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: in-reply-to:in-reply-to:references:references; bh=0qOACUufQILSEteWlXONaUZhs6JyzfsUD/HpAx1XwQ0=; b=btrHi9/hpne4EOrMDBOLtl8ToB1wyu8JlhOvSQ6KYPVAhbuvq5g3WHnaofzD93RM2SItuC Cw6GezK343Xg4EjqST4G6pS60MXNkIhg4UwR4iWugTCngiVhJJj2KniysZ6XHZg3gY6bsV Wzi8mJkNNWmm31AtqJ/jeCpgVRgSVobEIgCWb8Izca+az1vHzw9evCgX9w7SYrEw/zbgae nj7njAKL1uGlWOEhg4KuZurfUr1QuqzzugJYeS/AqFtPoGi1U3z+7zHvZpk0/uaGk2laE1 8jXidBm4pwKlcCX4OMrXHoIAJBOnogyQWkCtRkxwnyES7t0v3Cw+WERHR0XtaA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649804263; a=rsa-sha256; cv=none; b=kOI09ggNE4EBQI4zQxy9CQBSA1mGhOk54Jgi7uzR6rjrJNDruLg+CRIDElZldguUcksH2p 9aaeDjawwuqLZdUIlxnWojKwHUJRybkcrR8VWCXzWSuUqcOQGEM4/cuBLQRx749DBwlrrV K4a0B35xIoE1KepqDZ8wx0KIlesScGDfLanMH7Wh2WCO+2agUfoPadd4m8Ml8NmVK1WNhm MnAHbL0ecM42ARE4iP7Tm5DKG6ZwMJKJRFCSk/Ff6uLJLZs0Rd7w03jVcHUd5MG0QV0zm2 LRvDD3Nx7ypEB02z7hRHJcyEsMOJ44deBW6A/WeDsKK/cI0kCEsMR0fD3ALHyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262894 --- Comment #21 from Mark Johnston --- (In reply to Krautmaster from comment #20) Did this most recent crash happen with the patch from comment 5 applied? (In reply to Krautmaster from comment #19) You could simply run "dumpon /dev/" to configure it once.= =20 Use "dumpon -l" to verify that it reports the right device. Also you shoul= dn't configure a pool on the disk, just pass the raw disk device to dumpon. If you're willing to give me remote access, please mail me. Finally, I think your kernel does not have debugging assertions enabled. I= f it is possible to get a stock kernel build with "options INVARIANTS" enabled, please try testing it. The fault address should correspond to the buffer returned by aesni_cipher_alloc(). I'd guess that it's returned by crypto_contiguous_subsegment() and there's some kind of overflow condition occurring with the page array offset or length, but I can't see where. The= re is some fishy code, e.g., in g_disk_advance(): bp->bio_ma_offset +=3D off; bp->bio_ma_offset %=3D PAGE_SIZE; but this is only a problem for large (> 2GB) offsets, which shouldn't happe= n... --=20 You are receiving this mail because: You are the assignee for the bug.=