From owner-freebsd-current@freebsd.org Thu Jul 5 18:42:46 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 B1DEF10227D9 for ; Thu, 5 Jul 2018 18:42:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FF1D8FFE6 for ; Thu, 5 Jul 2018 18:42:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22f.google.com with SMTP id v26-v6so8648416iog.5 for ; Thu, 05 Jul 2018 11:42:46 -0700 (PDT) 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=5zXZgro6OdRkAWOZfBNqCUOdDS44TTu1Wt9Z7vLXwMs=; b=fg1RijzBETEH7zGyc2XOelA0fjamXPH9JTAS/DEf9K+ZxA5dH5cit+Nfl0e+I1SFCL nJdRpSEjOPW54RWAEYhUsuwuQsZG1sygeEmkdXjvQJpphU04A+E6CH48vCP5sDSyILP5 LhggWNbwNpHDJVFOCakAH+bxNeOxyVVIUobH1wgc9KQOkmqgfXc1uJzZ2chAVk3p5XDK KPRreN603zVi9N0XDrRyaS4p3FHWtxNK+1KD6cK4of25rIjudGhEGtyaT/4H21WTlgAc tcEr/mEyQ0DE35UyNmxUh2pxby43vsueLJ/jyUPbbKC9RFLYZUeL/rwxFLvJFEOeZFzb +IJA== 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=5zXZgro6OdRkAWOZfBNqCUOdDS44TTu1Wt9Z7vLXwMs=; b=dcYIkQZqxfprbPGMkqWcq55PmUqtD0hIr1z6Gzn5dRLddyhb5x3QwVfEdCUXgFA/ng Qh4+dm2a2Iw9KfrdvYf1mUNr2qJwRzFUrj5lFMHpCf7aciyRXPXAMF6US9hvmDRw2ZDi AKj2kPQRc8JdV/cnvl//5dGOEkku98cDkHCRfGZ9YUXt91NY7gKiSvZeJk/OX3klOEx6 jRkup7WnP5X4rCpQB5OxcgENuynUgUh2rODjiepx31PeZKOiLGEEt1jbIQ0a2IWia8mr eSfDYlSfPg0s9n7TjBlw2NdE5iRBzWLFRscAkh1Q4oqXtiOo7L10pG0c/fhJuCxfKPoq CV+Q== X-Gm-Message-State: APt69E0pU0dwLX0lTNATZKAE/F1QDA4mY/e3hVRvIpQ0kx9ywB+chyEW 34YGEC3GTIJSdTSrX0KoEhTFA8Hv4VRD8tklH8PDWQ== X-Google-Smtp-Source: AAOMgpeZvN4Gra/AQBANRfCrsfvaczhDKzMSKOdNgw3kxPqW2L4dAD1BicCKKVNt6YCTuxpHCafTvFIIhGiR4Tw5g04= X-Received: by 2002:a6b:280a:: with SMTP id o10-v6mr5937142ioo.168.1530816154608; Thu, 05 Jul 2018 11:42:34 -0700 (PDT) MIME-Version: 1.0 References: <86482bdb-60bd-b573-1a98-e14928f4537e@loopia.se> <1E09B50A-8E4F-4E1E-BBE2-61B1570376D3@me.com> <3FB4F603-03A7-4D54-87EA-633C08D8C5E7@me.com> <69DD5AC1-5FF8-4A6E-993B-F65070D484BF@me.com> In-Reply-To: From: Warner Losh Date: Thu, 5 Jul 2018 12:42:23 -0600 Message-ID: Subject: Re: Unable to UEFI boot 11.2 ISO (latest 12.0 as well) To: Linus Sundqvist Cc: Toomas Soome , FreeBSD Current , imp@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Thu, 05 Jul 2018 18:42:47 -0000 I think I know what is going on... I may have some changes that fixes this. Warner On Thu, Jul 5, 2018, 9:12 AM Linus Sundqvist wrote: > I have no idea how to do that or where to begin, but if anyone would like > to assist with those steps I'll gladly run commands or a test ISO on one = of > our Dell servers. > > Med v=C3=A4nlig h=C3=A4lsning/Best Regards > Linus Sundqvist > System Engineer, Loopia AB > > On 05/07/18 10:23, Toomas Soome wrote: > > > > > >> On 5 Jul 2018, at 10:28, Linus Sundqvist > wrote: > >> > >> Here's the output, variable 'currdev' not found: > >> https://imgur.com/LlBygfr > > > > > > Yes indeed, as you got the error, so the variable was not set at all. M= y > suggestion would be to walk over the code in main.c, and to try to get mo= re > debug printouts from that dell system=E2=80=A6 Im myself mostly offline t= ill next > week. > > > > rgds, > > toomas > > > >> > >> And to answer Rodneys question from before, this is the emulated CD > drive from a Dell iDRAC (remote console thingy). > >> > >> Med v=C3=A4nlig h=C3=A4lsning/Best Regards > >> Linus Sundqvist > >> System Engineer, Loopia AB > >> > >> On 05/07/18 09:17, Toomas Soome wrote: > >>> Could you check, show currdev from OK prompt before setting it. > >>> > >>> Somehow the boot device path is shown but we fail to recognize it (as > seen by error message). However, the lsdev -v does show the path, so the > efipart.c seems to do its work correctly. I feel, there should be some > corner case in efi/loader/main.c where we detect the boot device. > >>> > >>> Rgds, > >>> Toomas > >>> > >>> Sent from my iPhone > >>> > >>>> On 5 Jul 2018, at 09:32, Linus Sundqvist > wrote: > >>>> > >>>> Running these commands makes the boot menu show up, and then takes m= e > to the BSD installer! > >>>> > >>>> Med v=C3=A4nlig h=C3=A4lsning/Best Regards > >>>> Linus Sundqvist > >>>> System Engineer, Loopia AB > >>>> > >>>>> On 04/07/18 16:50, Toomas Soome wrote: > >>>>> set currdev=3Dcd1: > >>>>> include /boot/loader.rc > >>>>> > >>>>> This should give menu/boot. > >>>>> > >>>>> Rgds, > >>>>> Toomas > >>>>> > >>>>> Sent from my iPhone > >>>>> > >>>>>> On 4 Jul 2018, at 16:25, Linus Sundqvist > wrote: > >>>>>> > >>>>>> Hi, > >>>>>> > >>>>>> Sure, while using the 12.0 ISO here is lsdev -v and ls cd0: > >>>>>> https://imgur.com/RmYpg7u > >>>>>> > >>>>>> and here is ls cd1: > >>>>>> https://imgur.com/FPsixOw > >>>>>> > >>>>>> Med v=C3=A4nlig h=C3=A4lsning/Best Regards > >>>>>> Linus Sundqvist > >>>>>> System Engineer, Loopia AB > >>>>>> > >>>>>>> On 04/07/18 15:08, Toomas Soome wrote: > >>>>>>> Can you post lsdev -v output? > >>>>>>> > >>>>>>> Also, could you try ls command? Like, ls cd0: > >>>>>>> > >>>>>>> Rgds, > >>>>>>> Toomas > >>>>>>> > >>>>>>> Sent from my iPhone > >>>>>>> > >>>>>>>> On 4 Jul 2018, at 12:28, Linus Sundqvist < > linus.sundqvist@loopia.se> wrote: > >>>>>>>> > >>>>>>>> Hi, > >>>>>>>> > >>>>>>>> I'm unable to boot up the amd64 11.2 disk1 ISO as well as the > latest amd64 12.0 disk1 ISO (20180628) using UEFI on a Dell PowerEdge R43= 0 > by getting this error: > >>>>>>>> https://imgur.com/a/Idljfhm > >>>>>>>> > >>>>>>>> The bootonly ISOs seems to show the same error message. > >>>>>>>> > >>>>>>>> Changing the server to boot via BIOS loads the setup correctly, > however, I want to use UEFI on all our servers, which I have done before. > >>>>>>>> > >>>>>>>> The 11.1 ISO boots without any trouble at all using both UEFI an= d > BIOS. > >>>>>>>> > >>>>>>>> I was helped by koobs in #freebsd @ Freenode who asked me to sen= d > an e-mail this way and linking to these commits as a reference: > >>>>>>>> > >>>>>>>> https://reviews.freebsd.org/D13784 > >>>>>>>> https://svnweb.freebsd.org/base?view=3Drevision&revision=3D33241= 6 > >>>>>>>> > >>>>>>>> So far I've tried to UEFI boot the 11.2 ISO and 12.0 ISO with th= e > following Dell PowerEdge models without success: > >>>>>>>> > >>>>>>>> R440 > >>>>>>>> R630 > >>>>>>>> R430 > >>>>>>>> FC430 > >>>>>>>> R330 > >>>>>>>> R620 > >>>>>>>> R420 > >>>>>>>> R610 > >>>>>>>> > >>>>>>>> -- > >>>>>>>> Med v=C3=A4nlig h=C3=A4lsning/Best Regards > >>>>>>>> Linus Sundqvist > >>>>>>>> System Engineer, Loopia AB > >>>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> 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" > >>>>>>> > >>>>>> > >>>>> _______________________________________________ > >>>>> 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" > >>>>> > >>>> > >>> _______________________________________________ > >>> 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" > >>> > >> > > > > _______________________________________________ > > 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" > > > >