Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 08:38:20 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        "O. Hartmann" <ohartmann@walstatt.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: efibootmgr: Cannot translate unix loader path xxx\xxx\xxx to UEFI: No error: 0
Message-ID:  <CANCZdfrZxPraZxA=KMU_JfRzdfxtGiDJ1E3NB-PUiFkXXcL-Eg@mail.gmail.com>
In-Reply-To: <20181227154040.5d99ca98@thor.intern.walstatt.dynvpn.de>
References:  <20181227132944.0c391c09@hermann> <20181227154040.5d99ca98@thor.intern.walstatt.dynvpn.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 27, 2018 7:42 AM, "O. Hartmann" <ohartmann@walstatt.org> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am Thu, 27 Dec 2018 13:29:44 +0100
"Hartmann, O." <ohartmann@walstatt.org> schrieb:


> Updated Fujitsu Celsius M740 to its lates UEFI firmware today.
> After this update, the box won't boot FreeBSD 12-STABLE anymore! With
> disabled CSM, the firmware doesn't recognise the boot SSD's freebsd-efi
> partition for UEFI boot anymore - which was no problem before.
>
> When trying FreeBSD 13-CURRENT (USB image from 26.12.2018 as of the
> snapshot site) I receive a malloc arena error when trying to set boot
> vars via efibootmgr utility. So I tried the recent 12-STABLE snapshot
> as of 26th December 2018, the same as CURRENT USB Image, and I receive
> a weird error:
>
> efibootmgr -c -l /mnt/EFI/BOOT/BOOTX64.EFI -L FreeBSD
>
> efibootmgr: Cannot translate unix loader path
> '\mnt\EFI\BOOT\BOOTX64.EFI' to UEFI: No error: 0
>
> What the heck is that?
>
> What does this error mean? No error: 0?
>
> The box is unusable.
>
>
> Kind regards,
>
> O. Hartmann
>
>
>

I found this PR, Bug 229191, from June, 2018:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229191

It seems the problem has not been fixed. Indeed did I mount the ESP
via a GEOM label, /dev/gpt/efiboot0.


There is some code that tries to cope, but I ran out of time before it was
bulletproof.  You can use nda0p9:/path/in/fs instead. Assuming the esp is
on /dev/nda0p9.

Warner

- --
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).
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXCTkaAAKCRA4N1ZZPba5
RwvZAP9tQ8nuYp77A2XB8MLuolpeyBKrO0M79UlnCGfTYlLkOwEArbSpsQ2+aZ0S
I5I1pwuBaTuiV1gJ0E6l4bRxhbUmXgA=3D
=3DeYQj
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrZxPraZxA=KMU_JfRzdfxtGiDJ1E3NB-PUiFkXXcL-Eg>