From nobody Sun Jul 30 23:10:02 2023 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 4RDcXp52tYz4pZ5Q for ; Sun, 30 Jul 2023 23:10:17 +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 4RDcXV5hH8z3yBc for ; Sun, 30 Jul 2023 23:10:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690758602; 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=blBEFZyPoO7vjor2maZiAuztN8KOPavGX8+uPmA+pOM=; b=l8/BxP6m4Zn21S6JbKYROgEyqtakYMSOKhql1HlNHmaFW5SAKigOOpl7jr7YLD8DhzLvfC vYGwPkWKygPH+R1tpGWEXHCbHJKy2xi4QoVpZrac9j3Qp7tJc4SRSMGxdwoEqN5dGi8sjX pkwWQplq27eq8i94lflporAKmG4yMDlxKAcE3vHQrdxFKKP9SSDZLoi/bJOHYHzN3zngrR Ya7jjUC/knhzkgKRNrlxbQnhoONHyJg5vqj5dQFd3rKzJhjASoMKZJmUxMqk0+YXyyCvTm 5i4qs5GUrcjgXo00sZbojgFMJsT2eABxvixLC5FdH3dUvgh+13RjfugXR0/G6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690758602; a=rsa-sha256; cv=none; b=GTiWPlTE1BvDJjsiG5attzJkMYg1LPRDv+er4VO26eOw/mTLFAXX9A4UnyaR1WAb43FpuN vOo0ytYEnv0xqWHHkQhwF9kweBaJqr2kbEGk5lxKrD7OifARIGF9oLy6Sh4qd2pD9feJtN QG7xExMZlRwZtAPBdREW27a99LXiCmqvxgGO/Ikw33P3ie3B8VOIN+CfIXfKMSPZ4f9w6n g/B4bdN729Ye1u3Abm/+CLAsnM2dHP8h0lvl5N3CL0Pl8WG74lWmGPQ8pnd1AC07tFPkeP nLEUTBhy6VhmMPdesPfvQu7ff3gpBitazyFFJFnKQSqdlipVNRWCDcpEYRUYdw== 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 4RDcXV326QzXpF for ; Sun, 30 Jul 2023 23:10:02 +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 36UNA2q8007194 for ; Sun, 30 Jul 2023 23:10:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36UNA23D007193 for bugs@FreeBSD.org; Sun, 30 Jul 2023 23:10:02 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 272833] System becomes unbootable if fstab contains a ext2 entry which is marked dirty Date: Sun, 30 Jul 2023 23:10:02 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: doctorwhoguy@gmail.com 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272833 Bug ID: 272833 Summary: System becomes unbootable if fstab contains a ext2 entry which is marked dirty Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: doctorwhoguy@gmail.com I multiboot with Windows 10, Gentoo Linux, and FreeBSD. I have a second dri= ve formatted to ext4 for storage, and I have an fstab entry for that second dr= ive. I added an /etc/fstab entry for that secondary drive on my FreeBSD system. = For whatever reason, it was marked dirty. When I booted into FreeBSD, it froze during the boot process when it tried to mount that drive. The only immediate solution for me to successfully boot into FreeBSD was fo= r me to reboot into single-user mode, edit the fstab to comment out that entry, = and reboot into FreeBSD. The longer-term solution was to reboot into Gentoo and run fsck because FreeBSD's fsck would not deal with the problem. Frankly, I think that if FreeBSD is going to offer support for ext2/3/4 filesystems, it's fsck should also support those filesystems. And I'm sure those developers would help if asked. I realize that introducing support to fsck will be work. But, in the interi= m, mounting failures should fail with very clear and vocal error messages about why the boot process failed. As it is, the boot process simply froze with no messages whatsoever. It was simply a lucky guess, on my part, to figure out= why the boot process halted. Request: At MINIMUM, add informative messages to why the boot process faile= d. Next, add fsck support to ext2/3/4 filesystems. Finally, perhaps allow moun= ting to fail, with descriptive error messages, and allow the boot process to continue. --=20 You are receiving this mail because: You are the assignee for the bug.=