From owner-freebsd-current@freebsd.org Fri Aug 3 08:40: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 E0D091062072 for ; Fri, 3 Aug 2018 08:40:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 7391076D90 for ; Fri, 3 Aug 2018 08:40:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x235.google.com with SMTP id i18-v6so4325910ioj.13 for ; Fri, 03 Aug 2018 01:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=j5gof52vQnrzZXrvewO0qR/autX+lEzx/eBTz20ZTmI=; b=uZ7WpE2hJot34RmJgNnGy/EEgS274Y+ZeDfOnDzQr3pImvqvkyPXPC112I+zYGFuKd iwdnlaFEJfsKCrxpng78DPxTnRMseicYMpCqOiSEQfGkdTfLklN1Y/27OF+KcosUay34 3LQGR/KNrh3ptOiVAAs+84cx2xeLpeNz5gEQcHG3VwlQYtM/xIh6nXy17QMC0MburvRB i6sOcBm7CThfy+yUJEebhLXRVlTl8E3eDZaFH6AERgpCa4soEacMrb1XnkAd7A0lGOKL d9T+5HMXVB9jNV+S5QjH4qQteOfE47Xwj2yYtvZl6huenZZGtl8R95NlRvnzxiZXWy8l QSOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=j5gof52vQnrzZXrvewO0qR/autX+lEzx/eBTz20ZTmI=; b=VS798p2C4VLhXcze8VmnRkUxMON886jyWjOjHxeIp1+OhVKDBW4g2WMhe0BFbzKR4P 6zguI+i9uhgdVr4+yAv6l7q9Ffm5QnjECDdLKzexztS7LHCcqILHm18H21cDgeLmJBe1 2vH8lY6FvM+wBKmyqMcIXHpBbK8t9syQYBnWCixTc1eusZDpADG7Zvgk7JsnR3t6mmFP rlH7npppNI1PK85SMPBT5/zdqZIwuyCBxGuPnb1pNpybFWl9ofeTgRJQQiWY84CTors1 wUEuKIQwods1VAw7bVgMoQyDG8Sg5LXJG16HSgEH3sL3W7wTtqSOGJSTw0kgBpIyaKN7 w+MQ== X-Gm-Message-State: AOUpUlHh57fPOE6BPaXaRllwyIFLRgnCae42z2vS9PuG8Avof3rw+/jw KLk2HHkGtcVZ8wKvz3cosJotN3UetTDK2ExWibqzsw== X-Google-Smtp-Source: AA+uWPwyBLpKNx5CaibjkRjr6+Gc3h9ch0f1gzH8AdGfz0H3KpSF9InbYctS/O4EB3uM4K35dqEfofUBBV6wCB3Yk40= X-Received: by 2002:a6b:d004:: with SMTP id x4-v6mr5058616ioa.299.1533285632650; Fri, 03 Aug 2018 01:40:32 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:4485:0:0:0:0:0 with HTTP; Fri, 3 Aug 2018 01:40:32 -0700 (PDT) X-Originating-IP: [86.153.210.77] In-Reply-To: <20180729143529.16bad01a@thor.intern.walstatt.dynvpn.de> References: <20180728072938.GA28778@kloomba> <20180729094502.180dabc0@thor.intern.walstatt.dynvpn.de> <20180729080957.GB2216@kloomba> <20180729105550.4ac8711a@thor.intern.walstatt.dynvpn.de> <20180729111751.GC2216@kloomba> <20180729143529.16bad01a@thor.intern.walstatt.dynvpn.de> From: Warner Losh Date: Fri, 3 Aug 2018 02:40:32 -0600 X-Google-Sender-Auth: NPJiDvMB3PQ3qT_dXUb9WrQAgn4 Message-ID: Subject: Re: EFI issues To: "O. Hartmann" Cc: Roman Bogorodskiy , FreeBSD Current , Toomas Soome , "Rodney W. Grimes" , Allan Jude Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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, 03 Aug 2018 08:40:34 -0000 On Sun, Jul 29, 2018 at 6:35 AM, O. Hartmann wrote: > > > > 'efibootmgr -v' output: > > > > > > > > BootCurrent: 0004 > > > > Timeout : 1 seconds > > > > BootOrder : 0001, 0002, 0003, 0004 > > > > Boot0001* Hard Drive BBS(HD,,0x0) > > > > Boot0002* Network Card BBS(Network,,0x0) > > > > Boot0003* UEFI OS > > > > HD(1,GPT,78459ec0-9303-11e8-97e6-98ded0009b1c,0x28, > 0x64000)/File(\EFI\BOOT\BOOTX64.EFI) > > > > ada0p1:/EFI/BOOT/BOOTX64.EFI (null) > > > > Path(0,0,ae84b11df581724e85442bab0c2cac5c020000020000) +Boot0004* > UEFI: SanDisk > > > > PciRoot(0x0)/Pci(0x1d,0x0)/USB(0x1,0x0)/USB(0x4,0x0)/HD( > 1,MBR,0x90909090,0x1,0x640) > > > > VenHw(2d6447ef-3bc9-41a0-ac19-4d51d01b4ce6, > 530061006e004400690073006b000000) > ... > > I've updated BIOS (which alone didn't change anything) and executed > > commands you suggested, and it helped! Thanks! > > > > Now 'efibootmgr -v' output looks like this: > > > > BootCurrent: 0000 > > Timeout : 1 seconds > > BootOrder : 0000, 0004, 0006, 0003, 0007 > > +Boot0000* FreeBSD > > HD(1,GPT,78459ec0-9303-11e8-97e6-98ded0009b1c,0x28, > 0x64000)/File(\efi\boot\BOOTx64.efi) > > ada0p1:/efi/boot/BOOTx64.efi (null) Boot0004* Hard Drive BBS(HD,,0x0) > > Boot0006* Network Card BBS(Network,,0x0) > > Boot0003* UEFI OS > > HD(1,GPT,78459ec0-9303-11e8-97e6-98ded0009b1c,0x28, > 0x64000)/File(\EFI\BOOT\BOOTX64.EFI) > > ada0p1:/EFI/BOOT/BOOTX64.EFI (null) > > Path(0,0,ef47642dc93ba041ac194d51d01b4ce65200650061006c00740065006b00 > 200042006f006f00740020004100670065006e0074000000) > > Boot0007* UEFI: SanDisk > > PciRoot(0x0)/Pci(0x14,0x0)/USB(0x9,0x0)/HD(1,MBR,0x90909090,0x1,0x640) > > VenHw(2d6447ef-3bc9-41a0-ac19-4d51d01b4ce6, > 340043003500330031003000300031003500340031003000310035003100 > 300039003000390035000000) > > > > > > Unreferenced Variables: > > > > This is strange, because the only difference I see is that Boot0000 has > > lowercase filenames ('/efi/boot/BOOTx64.efi' vs > > '/EFI/BOOT/BOOTX64.EFI'). I'm wondering if that's the only reason it > > wasn't working before? > > > > > - -- > > > O. Hartmann > [...] > > > > > Roman Bogorodskiy > > I'm glad to be of help. But it was a "wild guess", not experience or > decend knowledge. > Maybe there is an issue with recent UEFI/boot/stand implementation since > this portion of > FreeBSD is under heavy development or has been under such ... > > Ypu shpuld consider contacting Warner Losh or Toomas Soome (on the current@ > list, there > is a thread entitelt "[UEFI] Boot issues on some UEFI implementations" > started by myself > targetting some weird FreeBSD/UEFI issues. Toomas Soome gave me the hint > with > efibootmgr(8) and I figured out by learning from the definitions, that on > specific UEFI > implementations, the boot path "/efi/boot/bootx64.efi" is considered the > default for > changeable media (like USB flash drives) and not necessaryly the default > for SATA/SAS > devices. Case shouldn't matter. If it does, I've done something wrong. Internally, we convert to lower case and the filesystem is case insensitive in this case. The whole default file thing is something I thought I understood really, really well, but it's becoming clear that there's issues that are clear as mud. We should be coping with this junk in the installer... Warner