From nobody Sun Jun 5 07:11:44 2022 X-Original-To: fs@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 122E41BE470B for ; Sun, 5 Jun 2022 07:11: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 4LG78g32v5z4fCJ for ; Sun, 5 Jun 2022 07:11:47 +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 63F025987 for ; Sun, 5 Jun 2022 07:11:44 +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 2557BiGA085199 for ; Sun, 5 Jun 2022 07:11:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2557BidY085198 for fs@FreeBSD.org; Sun, 5 Jun 2022 07:11:44 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: fs@FreeBSD.org Subject: [Bug 264450] ufs: Partition recognized on 12.3 not recognized on CURRENT (2573e6ced996): Cannot find file system superblock .. Invalid fstype: Invalid argument Date: Sun, 05 Jun 2022 07:11:44 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654413107; 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=+a+xeuNp6Hr+HthOXb0HvcS20o3R9MQ81MJ3jpcIxF4=; b=Sqt0UasAd1/frBfp7gWRIW0EDiugxLT8kG26AhnolgeLeZqO64nJ93S7DTRTO24HV/6mxh NV/ayyoFcqmBgE30UoAnsPMziObtjYfKIIWNf+3e7jqYApiOViMxUprH75Bju+TFQjeU3w IE3+pZGBdQrhUpqztnpWqzX57qYsyntYmHHwShsc14FMUzDU0x5IWSTQ/Wv+1Le+OaNdsa QlgSOd+MTJE8e08DVxw/PjZSsOe49dEjXHfTZ3UZoWWnCo4/RQZPBGdXpF4brzDRr7oWZQ KSmczmI2J4dnABpYNMlYp3TiisLQs3mIytWuOfTHUhsDzWutk5ngj5tJrWvtTA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654413107; a=rsa-sha256; cv=none; b=Kw3WFU+IC9DrdYFUPiFZzgN4OsgNn/P/ceVVm04QEbu9m8rV+6jJRjZDIPUwb7BtXb9oBT w+JUzqaZ4DK9SeqNc+UAO7aXanjno61iN89QBU2Ec8epo2+vlmUOKdkw81NllvNaGqSPLj ARZ9j0+u7SCQMcriNXmvvNcKcxgg349gsyS8gJ4dcs+2T/NlGaYJFr1ARvQlSkF1wCB5ws V4V6iSjEc7F1gweBDIUDAIR92T9/m+Q9QTkThatinOgdxtdLfSlGC4MYO25L1HDV6a1M+/ QGYfOVTsIkqZu2g9i1bYcVu/SRt//yL//IyKLQHclN2/McBMva5fhS8QBj58cA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264450 --- Comment #7 from Martin Birgmeier --- (In reply to Kirk McKusick from comment #5) I recompile using buildworld buildkernel -DNO_CLEAN. The following files differed from the installation and were reinstalled (I first install into a temporary location and then do a compare): boot/kernel/kernel boot/kernel/ufs.ko boot/loader boot/loader.efi boot/loader.kboot boot/loader_4th boot/loader_4th.efi boot/loader_lua boot/loader_lua.efi boot/loader_simp boot/loader_simp.efi boot/pxeboot boot/userboot.so boot/userboot_4th.so boot/userboot_lua.so boot/zfsloader lib/libufs.so.7 (everything in rescue) sbin/fsdb usr/lib/debug/boot/kernel/kernel.debug usr/lib/debug/boot/kernel/ufs.ko.debug usr/lib/libufs.a usr/lib/libufs.so usr/lib32/libufs.a usr/lib32/libufs.so usr/lib32/libufs.so.7 It is interesting to note that libsa was not recompiled. When attaching the disk, the console shows the following: da1 at iscsi2 bus 0 scbus4 target 0 lun 0 da1: s/n RPI-B_DISK26 detached (da1:iscsi2:0:0:0): Periph destroyed da1 at iscsi3 bus 0 scbus4 target 0 lun 0 da1: Fixed Direct Access SPC-5 SCSI device da1: Serial Number HAL_P0026 da1: 150.000MB/s transfers da1: Command Queueing enabled da1: 476940MB (976773168 512 byte sectors) Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Failed code 3 Fsck'ing is interesting - it now proceeds on da1s4d (it is now da1 because = of a different way of booting): [0]# ll /dev/da1*=20=20=20=20 crw-r----- 1 root operator 0x6c Jun 5 08:59 /dev/da1 crw-r----- 1 root operator 0x6e Jun 5 08:59 /dev/da1s1 crw-r----- 1 root operator 0x6f Jun 5 08:59 /dev/da1s4 crw-r----- 1 root operator 0x73 Jun 5 08:59 /dev/da1s4a crw-r----- 1 root operator 0x74 Jun 5 08:59 /dev/da1s4b crw-r----- 1 root operator 0x75 Jun 5 08:59 /dev/da1s4d [0]# fsck /dev/da1s4a ** /dev/da1s4a ADD SUPERBLOCK CHECK-HASH PROTECTION? [yn] n ADD INODE CHECK-HASH PROTECTION? [yn] n ** Last Mounted on /mnt ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 3627 files, 131623 used, 376160 free (3256 frags, 46613 blocks, 0.6% fragmentation) ***** FILE SYSTEM IS CLEAN ***** [0]# fsck /dev/da1s4d ** /dev/da1s4d ADD SUPERBLOCK CHECK-HASH PROTECTION? [yn] n ADD INODE CHECK-HASH PROTECTION? [yn] n ** Last Mounted on /mnt/usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1269131 files, 10661916 used, 13593544 free (15728 frags, 1697227 blocks, 0= .1% fragmentation) ***** FILE SYSTEM IS CLEAN ***** fsck /dev/da1s4d 1.65s user 10.11s system 2% cpu 7:56.92 total [0]# gpart show da1 =3D> 63 976773105 da1 MBR (466G) 63 1985 - free - (993K) 2048 761726968 1 ntfs (363G) 761729016 215044152 4 freebsd [active] (103G) [0]# gpart show da1s4 =3D> 0 215044152 da1s4 BSD (103G) 0 16 - free - (8.0K) 16 4194304 1 freebsd-ufs (2.0G) 4194320 10485760 2 freebsd-swap (5.0G) 14680080 200364072 4 freebsd-ufs (96G) [0]#=20 -- Martin --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=