From nobody Wed Jan 12 01:17:48 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 6CF4C195347C for ; Wed, 12 Jan 2022 01:17:48 +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 4JYV6h0Gghz3qk4 for ; Wed, 12 Jan 2022 01:17:48 +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 DE5B7239D7 for ; Wed, 12 Jan 2022 01:17:47 +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 20C1HlNN001201 for ; Wed, 12 Jan 2022 01:17:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20C1HluT001200 for bugs@FreeBSD.org; Wed, 12 Jan 2022 01:17:47 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 260793] 'swapon -a' can crash the system Date: Wed, 12 Jan 2022 01:17:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.3-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=1641950268; 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=b8oX29xM7WWTG/DIKgclyfb/kD5w4BBOhkHkvGUUDW8=; b=Wad7sBcH92/zw63BVfU6ID5hI/Ulg9ZmY4Zp5FqEck35UC7GVQ+wIo+KDXe6t517Ru2+xk tKbCdHUQSAYYETPYqiSw050DErPJ/5VXQ0veLT7kFKFaW4zkEceOroTFybZiqpIC/27Qem u1VIPrXChGygmZqipRHvXkMQGWHPocTK3D9xc2hDK1VROfL1fw8oG0YDDORf4gVttvZUw8 D6T+3Xt2l8GbAfKbRevhWFUQ0lQ2hK39pu1t+H0/ftpOX+Ma4JMUkiVFUaSlXwlyct3MbC HdoZ5ggsG0aVZzmZPV95lP3+00gVlW16iZ8zPGJ0BoeXCylj+VB3DjOqqL/Oxg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641950268; a=rsa-sha256; cv=none; b=U5ErFWnpe6jwo3chxbAoG3XmKTuvd3kwH7aqCjgOJ2Pu3IVjUNeRxaeOCKocxkeHifyqQH Wg9KW0wYLbPTdIn7LP3WmHicwenDxglaWKHcErgW7SfjE04sadrFRicPXsfZuhf3eMP95o 9k6tI8BwMZpjX4cX2YYh+zboVjoCKcMRwJN9Og8b/Q41JqiDzDQ8XDF2yK5oE654CV3DY7 alMqYuntYq6vGvOouiSrTHMXd0EtItkcbrLsbz8NjVboHFmn2Y8aU3JOQg5p1/6fVn9mt5 Te0y9BbR4VYXK+grwj3wl7RH8jzoLQMFjL2CUuic9G5pyvNbq18U+VSNZd4Xlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260793 --- Comment #6 from Mark Johnston --- (In reply to Peter Much from comment #5) If trimonce is not set, then savecore will most likely be able to recover a kernel dump from a dump (swap) device, after which it clears metadata on the device. This clearing is what prevents the swap pager from being able to exclusively "claim" a device. The kernel has no idea whether swapon intend= s to trim the device or not. --=20 You are receiving this mail because: You are the assignee for the bug.=