From owner-freebsd-current@freebsd.org Fri Dec 28 10:45:53 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 717FA143484B for ; Fri, 28 Dec 2018 10:45:53 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B254852D2 for ; Fri, 28 Dec 2018 10:45:51 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([79.192.171.156]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lqm3a-1hGp1n3jOc-00eQ3r; Fri, 28 Dec 2018 11:45:46 +0100 Date: Fri, 28 Dec 2018 11:45:37 +0100 From: "O. Hartmann" To: Warner Losh Cc: FreeBSD Current Subject: Re: efibootmgr: Cannot translate unix loader path xxx\xxx\xxx to UEFI: No error: 0 Message-ID: <20181228114530.05154516@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: References: <20181227132944.0c391c09@hermann> <20181227154040.5d99ca98@thor.intern.walstatt.dynvpn.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:8FK/yFC+G4zS2yfw4GBtLx8jlw/J2t6vlqtCF+qumkgWkHTpYlp hEk4aiVFQt94ini3FmiRbYr+seLJN67wLAfE0lXx5+LpXCJ9jXLuLieL41gMxc7hTW4qUvf 5W6vREKULm6eYpet7HkNF3/R4g8H/wR10dZd/1o0lsuuK1DoqmeCdbpLbowZyqdRERuJ7bh pCf4IivikqPutz7rxARHQ== X-Spam-Flag: NO X-U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x1.freebsd.org X-Spamd-Result: default: False [-2.24 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.958,0]; IP_SCORE(-0.77)[ip: (-3.93), ipnet: 212.227.0.0/16(-0.38), asn: 8560(0.47), country: DE(-0.01)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[walstatt.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.99)[-0.993,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mx01.gmx.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.31)[-0.311,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[20.17.227.212.list.dnswl.org : 127.0.3.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[156.171.192.79.zen.spamhaus.org : 127.0.0.10] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2018 10:45:53 -0000 On Thu, 27 Dec 2018 08:38:20 -0700 Warner Losh wrote: > On Dec 27, 2018 7:42 AM, "O. Hartmann" wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Am Thu, 27 Dec 2018 13:29:44 +0100 > "Hartmann, O." 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=229191 > > 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 [...] The workaround (alternative mounting) given in the mentioned PR solved the problem. This is the second time I face crude problems with Fujitsu hardware/firmware and if I wouldn't solved a similar problem this summer for an Esprimo Q956, the problem would have cost me valuable time. So, my thinking is: couldn't there be a short paragraph in the handbook? Regards, o.h.