Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2022 14:51:19 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Free BSD <freebsd-arm@freebsd.org>
Subject:   Re: Mountroot problems on RPi3/aarch64
Message-ID:  <20220625215119.GA17770@www.zefox.net>
In-Reply-To: <47AFE262-8425-4A4D-A425-41CF39AA381E@yahoo.com>
References:  <20220602045202.GA44686@www.zefox.net> <1B845A0C-EDDC-407C-96A8-AAF4E92C2A4D@yahoo.com> <20220613153325.GA12588@www.zefox.net> <50CE21C4-CBE5-4ECB-A27E-42B7AAF71822@yahoo.com> <CE0A908C-EFF3-455D-B303-BCC56C95EAB1@yahoo.com> <20220619042225.GA2267@www.zefox.net> <3458F90E-CFC9-4B91-8C4A-DD5788239172@yahoo.com> <20220621192448.GA1874@www.zefox.net> <54365257-9DA2-4058-9354-B5D76E7AAC70@yahoo.com> <47AFE262-8425-4A4D-A425-41CF39AA381E@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 23, 2022 at 06:43:24PM -0700, Mark Millard wrote:
> There is another checkin to main for superblock handling:
> 
> QUOTE
> The branch main has been updated by mckusick:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=50dc4c7df4156863148e6a9609c03e852e2aeb35
> 

Here's the tail of the boot transcript:

Root mount waiting for: CAM
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <ASMT ASM105x 0> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number 12345678D558
da0: 40.000MB/s transfers
da0: 953869MB (1953525168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
Mounting from ufs:/dev/da0s2a failed with error 22; retrying for 3 more seconds
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
Mounting from ufs:/dev/da0s2a failed with error 22: Invalid fstype.

Loader variables:
  vfs.root.mountfrom=ufs:/dev/da0s2a
  vfs.root.mountfrom.options=rw

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:zroot/ROOT/default
        cd9660:/dev/cd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot> 

Rebooting using a kernel of:
 
FreeBSD 14.0-CURRENT #74 main-n255816-e26ef41f799: Wed May 25 15:05:14 PDT 2022
    bob@www.zefox.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64

stops in single user with:
Root mount waiting for: CAM
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <ASMT ASM105x 0> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number 12345678D558
da0: 40.000MB/s transfers
da0: 953869MB (1953525168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
Warning: no time-of-day clock registered, system time will not be set accurately
Dual Console: Serial Primary, Video Secondary
Setting hostuuid: 30303030-3030-3030-3064-626136386435.
Setting hostid: 0x5cd40a6a.
Starting file system checks:
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
Cannot find file system superblock
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
Cannot find file system superblock
Warning! Some of the devices might not be available; retrying
Restarting file system checks:
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
Cannot find file system superblock
UFS2 superblock failed: fs->fs_csaddr (806456) != cgdmin(fs, 0) (5056)
Cannot find file system superblock
Unknown error 3; help!
ERROR: ABORTING BOOT (sending SIGTERM to parent)!
2022-06-25T14:23:46.792050-07:00 - init 1 - - /bin/sh on /etc/rc terminated abnormally, going to single user mode
Enter full pathname of shell or RETURN for /bin/sh: 
root@:/ # 

However, simply exiting the single-user shell seems to bring up
normal multi-user operation. 

Network connectivity remains sporadic, but is much helped by an outgoing
ping process. 

Could it be significant that this filesystem was created on June 4, 2020?

Thanks for writing!

bob prohaska

 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220625215119.GA17770>