From owner-freebsd-current@freebsd.org Thu Dec 27 15:38:34 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 ACFB71362DED for ; Thu, 27 Dec 2018 15:38:34 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (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 01A0E8089D for ; Thu, 27 Dec 2018 15:38:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x731.google.com with SMTP id a1so11010414qkc.5 for ; Thu, 27 Dec 2018 07:38:32 -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=iqQEx2fHwpj4ibvLA1dQBPhZ+/bzPXddWPavOa8IBQM=; b=TYubKKBbRurPpp6euQqeEx8jE3F3hQGVBGygcbWtpApHS4bcyfLIgzB4SZN00urPAo YDnOQOoHF/Z0sMbZSZ5zY9lUqU+/UYHaPT26OLA1oC15CvoZVftG/MsSlmDj1krwQJXf 53cFNKSE5UBzhBox5a2Qg865nO7iYq1Y9/g5ILIKx3nZYYWMRbORCUr7TVBoLFa5/p0I OYPHpZLkHbyTYWttKiShHhTUIpgfvMXzNSNdWxZafKiodJz6QSgVjtX4e/fPoHVN+uCw SdIvwGBVxCOsTtbqAs4uu5IJcgQ0QPatiLz7ZF3Jh7Io4DgQMq6zOGMpf7yNb4LXGpl7 ruNA== 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=iqQEx2fHwpj4ibvLA1dQBPhZ+/bzPXddWPavOa8IBQM=; b=M+4cQTPrWLWLk2GvixRc5nTQHu4YFyJ3CBXCul0Dju3/m6V7M3uLW/khLtFdBOoHop WklcbTbKv0cst2rAN/HfwbeRoaoZJhdGpsZJ6F2yXignV2Y9BpjwbvyMrHsZtYeoABQC quADeX/jIs3JUIcamlacoBa3kyQV4zA0+lphHYO0SdNoq+yWCYjjPHiA1Wjejhlfm3CX nmyYPBK4YincXNpO/aRu3LMX1HH/UK6KaX6auJw4QW1Twm2AtvD7+A+fPxsvMRfLCP7B gtr51SVTJbLMaWYL+DQEz6bB9NS2SeP6Q9m44ZSJOXzXlv3TNNPprcrVETcC7VwvH92y oy3Q== X-Gm-Message-State: AJcUukfl2tGV7Jdui/2eYCYpykNSfxPh3qPOFr4EDgaJ6vpnO9dW0cSd JGhUuLHutWxh1qO4oQnMT5tYdpCdTHCOjidHivlW9Q== X-Google-Smtp-Source: ALg8bN5LXWefV2/+09y1fsiYNfnV/b5WFhDKw3Sc9GOmmMbRVOI2XTjIbgN0pevlr7eGnAai8bUwNoRNlrOQ0oVLfbM= X-Received: by 2002:a37:9604:: with SMTP id y4mr22438170qkd.279.1545925112196; Thu, 27 Dec 2018 07:38:32 -0800 (PST) MIME-Version: 1.0 References: <20181227132944.0c391c09@hermann> <20181227154040.5d99ca98@thor.intern.walstatt.dynvpn.de> In-Reply-To: <20181227154040.5d99ca98@thor.intern.walstatt.dynvpn.de> From: Warner Losh Date: Thu, 27 Dec 2018 08:38:20 -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: 01A0E8089D X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=TYubKKBb X-Spamd-Result: default: False [-4.88 / 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.934,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)[1.3.7.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.93)[ip: (-6.20), ipnet: 2607:f8b0::/32(-1.89), asn: 15169(-1.50), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Thu, 27 Dec 2018 15:38:34 -0000 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=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"