Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2017 15:10:08 +0200
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   r324353: boot failure: failed with error 19
Message-ID:  <20171006151008.04af417d@thor.intern.walstatt.dynvpn.de>

next in thread | raw e-mail | index | archive | help
--Sig_/DZDOD3yG_/_/GEbiZMSo5xA
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I run a small appliance on an APU from PCengines. This box is bootet via SD=
 card, the
image is created by a modified NanoBSD, which creates GPT/UEFI partitioning=
 and booting
images.

That worked until two days ago (I do not track the revision numer) when I w=
rote (via dd)
the last image out. Today, I tried to boot r324353 and it fails at tthe boo=
t loader:


mountroot: waiting for device /dev/ufs/dsks1a...
Mounting from ufs:/dev/ufs/dsks1a failed with error 19.


I can proceed by manually issuing at the loader propmpt

ufs:/dev/gpt/dsks1a

and booting proceeds as expected. =20


Something seems wrong with the UFS labeling lately.

The gpt layout looks like this:

gpart show -l:

=3D>      40  60751792  mmcsd0  GPT  (29G)
        40       130       1  boot  (65K)
       170         6          - free -  (3.0K)
       176   2057288       2  dsks1a  [bootme]  (1.0G)
   2057464   2061725       3  dsks2a  (1.0G)
   4119189   1048576       4  dsks3  (512M)
   5167765  55584067          - free -  (27G)

=46rom dmesg. I can provide this last output:

[...]
mmcsd0: 31GB <SDHC SD32G 3.0 SN 01801299 MFG 09/2015 by 39 PH> at mmc0
50.0MHz/4bit/65535-block Trying to mount root from ufs:/dev/ufs/dsks1a [ro]=
...
uhub0: 4 ports with 4 removable, self powered
Root mount waiting for: usbus1
uhub1: 2 ports with 2 removable, self powered
Root mount waiting for: usbus1
ugen1.2: <vendor 0x0438 product 0x7900> at usbus1
uhub2 on uhub1
uhub2: <vendor 0x0438 product 0x7900, class 9/0, rev 2.00/0.18, addr 2> on =
usbus1
uhub2: 4 ports with 4 removable, self powered
mountroot: waiting for device /dev/ufs/dsks1a...
Mounting from ufs:/dev/ufs/dsks1a failed with error 19.

Loader variables:
  vfs.root.mountfrom=3Dufs:/dev/ufs/dsks1a
  vfs.root.mountfrom.options=3Dro

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

    eg. ufs:/dev/da0s1a
        zfs:tank
        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> Trying to mount root from ufs:/dev/ufs/dsk1a\^[[D\^[[D\^[[D\^[[C=
s []...
mountroot: waiting for device /dev/ufs/dsk1a\^[[D\^[[D\^[[D\^[[Cs...
random: unblocking device.
arc4random: no preloaded entropy cache
Mounting from ufs:/dev/ufs/dsk1a\^[[D\^[[D\^[[D\^[[Cs failed with error 19.

mountroot> Invalid file system specification.

mountroot> Trying to mount root from ufs:/dev/gpt/dsks1a []...
arc4random: no preloaded entropy cache
GEOM_ELI: Device gpt/swap.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI:     Crypto: hardware
Link state changed to up

[...]


Can someone look into this?

Kind regards,

Oliver
--=20
O. Hartmann

Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr
Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.=
 4 BDSG).

--Sig_/DZDOD3yG_/_/GEbiZMSo5xA
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWdeAsAAKCRDS528fyFhY
lITnAgCEK4ywBIP3QEURpYM+O7Ey3CEro54G2CfVPCGtZqW+NpNYVdVt/RbgLQcm
PsgCaT6wK//PwxZRRPHJ4M8fn74LAf4qA63fiSqOESQqHSYme+0BwbTdmNBvcFPP
OJy/ljwov/I4CRPu7EplRn/uziZV+uUCVoE4csirkMFiOkOsRwId
=UiQz
-----END PGP SIGNATURE-----

--Sig_/DZDOD3yG_/_/GEbiZMSo5xA--



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