From owner-freebsd-current@freebsd.org Fri Dec 28 17:16:08 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 10008141A842 for ; Fri, 28 Dec 2018 17:16:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D0F4092433 for ; Fri, 28 Dec 2018 17:16:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x834.google.com with SMTP id y20so23923852qtm.13 for ; Fri, 28 Dec 2018 09:16:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BLRY4xwZiMvNpv1yurJ2qOzn7RWjs85NRRzDQmN7t5k=; b=xN6zLwarkBWj2CpGcfr7m7uhvmzIXF/zCXjaBUYRP/Ptz4uHXQQ5ne64JO7d/7THtC 1QllRs7ZP84HRiXxvVbNpHD5t7Cs/rYrcBuGilvBosIeBZa0Js8LTh5mUP1wfQJ68G3P hW4Gcp7LX3ZTJ39dfsjLDQsbvJeFxIpqmv/FR1DGTpAh09Ixu3kZzE1qpdiJDebE6oAm sn+nY9/U9l/FuQks+oZuLSLA3cZyccPXAc2bflCIFjJFCvCEVu6Hn8W9AfAKUUZrkF0i L9zCuhbgUiNjlR5szuTi9fXcghnSDXqHwJYZr1AibFA21L5kWki/gEbc4tQbIwH9EtF1 0DIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BLRY4xwZiMvNpv1yurJ2qOzn7RWjs85NRRzDQmN7t5k=; b=K5LWiMDDG6NybDlHHmkjDyONzWi75I1vAmE6YkDrG6671HIo6h8CNQ1UTkm4NKMVTo sIdqFV4OKcBvPRp7ntYZP+6omXTWCrJfXre1ptFy3cpJhWRlXvinLSw3eTmfVIuPuYZ/ BOVaEXAbzIyjh9uASC0nBR1LrD7egSvKsnUA4tZGwWn4zGcjsLygRuGMo4sSdykCk30U Dgw3pDERyU6CNdlgAib3H0NsQ4BMeILnHdict4pcWmMEs9q7xm/8/luBb+Xhbid+3icJ Kyu9tdkeypFBPCxOde+9OVyq91XOCaC069hTtj+oBv9phhIq0vmV+Y8q6K0LePyAqKx7 /tzA== X-Gm-Message-State: AA+aEWZh7HWYRM18hYZiQmby0ATLzwtGCulemW+SGzTd2p/+Tuye2KTu vCbN0F234La1tRJEWQP0b3Zz0jQONzgA+KewZg/R0o3j X-Google-Smtp-Source: AFSGD/X8GQsh61JBjOx+VK7zHHI9vfVgTMYahgs7DqKW3jBXmZ5DrFE/weQmdHhY5WbCs9gfLXP8vZV9MrqkC4/ALss= X-Received: by 2002:aed:3881:: with SMTP id k1mr25607496qte.345.1546017366136; Fri, 28 Dec 2018 09:16:06 -0800 (PST) MIME-Version: 1.0 References: <20181227132944.0c391c09@hermann> <20181227154040.5d99ca98@thor.intern.walstatt.dynvpn.de> <20181228114530.05154516@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <20181228114530.05154516@freyja.zeit4.iv.bundesimmobilien.de> From: Warner Losh Date: Fri, 28 Dec 2018 10:15:54 -0700 Message-ID: Subject: Re: efibootmgr: Cannot translate unix loader path xxx\xxx\xxx to UEFI: No error: 0 To: "O. Hartmann" Cc: FreeBSD Current X-Rspamd-Queue-Id: D0F4092433 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=xN6zLwar X-Spamd-Result: default: False [-4.79 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.93)[-0.927,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; IP_SCORE(-1.85)[ip: (-5.78), ipnet: 2607:f8b0::/32(-1.88), asn: 15169(-1.52), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 17:16:08 -0000 On Fri, Dec 28, 2018, 5:45 AM O. Hartmann 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? > Until it's fixed, sure. Labels and mirrors are not as well supported as I'd like... knowing the device + path workaround is the way we should document in the meantime. Warner Warner >