From owner-freebsd-current@freebsd.org  Thu Jul  5 08:23:12 2018
Return-Path: <owner-freebsd-current@freebsd.org>
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 1442610333A3
 for <freebsd-current@mailman.ysv.freebsd.org>;
 Thu,  5 Jul 2018 08:23:12 +0000 (UTC) (envelope-from tsoome@me.com)
Received: from st13p35im-asmtp002.me.com (st13p35im-asmtp002.me.com
 [17.164.199.65])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id AF7A98F564;
 Thu,  5 Jul 2018 08:23:11 +0000 (UTC) (envelope-from tsoome@me.com)
Received: from process-dkim-sign-daemon.st13p35im-asmtp002.me.com by
 st13p35im-asmtp002.me.com
 (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun  7
 2017)) id <0PBD00I00WECJ300@st13p35im-asmtp002.me.com>; Thu,
 05 Jul 2018 08:23:11 +0000 (GMT)
Received: from icloud.com ([127.0.0.1]) by st13p35im-asmtp002.me.com
 (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun  7
 2017)) with ESMTPSA id <0PBD009FJWMI0N50@st13p35im-asmtp002.me.com>; Thu,
 05 Jul 2018 08:23:10 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,,
 definitions=2018-07-05_03:,, signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
 clxscore=1015 suspectscore=2 malwarescore=0 phishscore=0 adultscore=0
 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1707230000 definitions=main-1807050101
From: Toomas Soome <tsoome@me.com>
Message-id: <69DD5AC1-5FF8-4A6E-993B-F65070D484BF@me.com>
MIME-version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
Subject: Re: Unable to UEFI boot 11.2 ISO (latest 12.0 as well)
Date: Thu, 05 Jul 2018 11:23:06 +0300
In-reply-to: <aa47a1d4-64bb-5c57-8be7-203533eb6d16@loopia.se>
Cc: FreeBSD Current <freebsd-current@freebsd.org>, imp@freebsd.org
To: Linus Sundqvist <linus.sundqvist@loopia.se>
References: <86482bdb-60bd-b573-1a98-e14928f4537e@loopia.se>
 <CBB5DAB8-D05C-4B17-8DD5-0D2EDFD8D41B@me.com>
 <b507e7cf-4c16-aa44-4452-1351bcd2e524@loopia.se>
 <1E09B50A-8E4F-4E1E-BBE2-61B1570376D3@me.com>
 <d51cbc72-977f-9083-90d9-fd1718e8a2bd@loopia.se>
 <3FB4F603-03A7-4D54-87EA-633C08D8C5E7@me.com>
 <aa47a1d4-64bb-5c57-8be7-203533eb6d16@loopia.se>
X-Mailer: Apple Mail (2.3445.8.2)
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
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jul 2018 08:23:12 -0000



> On 5 Jul 2018, at 10:28, Linus Sundqvist <linus.sundqvist@loopia.se> =
wrote:
>=20
> Here's the output, variable 'currdev' not found:
> https://imgur.com/LlBygfr <https://imgur.com/LlBygfr>


Yes indeed, as you got the error, so the variable was not set at all. My =
suggestion would be to walk over the code in main.c, and to try to get =
more debug printouts from that dell system=E2=80=A6 Im myself mostly =
offline till next week.

rgds,
toomas

>=20
> And to answer Rodneys question from before, this is the emulated CD =
drive from a Dell iDRAC (remote console thingy).
>=20
> Med v=C3=A4nlig h=C3=A4lsning/Best Regards
> Linus Sundqvist
> System Engineer, Loopia AB
>=20
> On 05/07/18 09:17, Toomas Soome wrote:
>> Could you check, show currdev from OK prompt before setting it.
>>=20
>> 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.
>>=20
>> Rgds,
>> Toomas
>>=20
>> Sent from my iPhone
>>=20
>>> On 5 Jul 2018, at 09:32, Linus Sundqvist <linus.sundqvist@loopia.se> =
wrote:
>>>=20
>>> Running these commands makes the boot menu show up, and then takes =
me to the BSD installer!
>>>=20
>>> Med v=C3=A4nlig h=C3=A4lsning/Best Regards
>>> Linus Sundqvist
>>> System Engineer, Loopia AB
>>>=20
>>>> On 04/07/18 16:50, Toomas Soome wrote:
>>>> set currdev=3Dcd1:
>>>> include /boot/loader.rc
>>>>=20
>>>> This should give menu/boot.
>>>>=20
>>>> Rgds,
>>>> Toomas
>>>>=20
>>>> Sent from my iPhone
>>>>=20
>>>>> On 4 Jul 2018, at 16:25, Linus Sundqvist =
<linus.sundqvist@loopia.se> wrote:
>>>>>=20
>>>>> Hi,
>>>>>=20
>>>>> Sure, while using the 12.0 ISO here is lsdev -v and ls cd0:
>>>>> https://imgur.com/RmYpg7u
>>>>>=20
>>>>> and here is ls cd1:
>>>>> https://imgur.com/FPsixOw
>>>>>=20
>>>>> Med v=C3=A4nlig h=C3=A4lsning/Best Regards
>>>>> Linus Sundqvist
>>>>> System Engineer, Loopia AB
>>>>>=20
>>>>>> On 04/07/18 15:08, Toomas Soome wrote:
>>>>>> Can you post lsdev -v output?
>>>>>>=20
>>>>>> Also, could you try ls command? Like, ls cd0:  =20
>>>>>>=20
>>>>>> Rgds,
>>>>>> Toomas
>>>>>>=20
>>>>>> Sent from my iPhone
>>>>>>=20
>>>>>>> On 4 Jul 2018, at 12:28, Linus Sundqvist =
<linus.sundqvist@loopia.se> wrote:
>>>>>>>=20
>>>>>>> Hi,
>>>>>>>=20
>>>>>>> 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 =
R430 by getting this error:
>>>>>>> https://imgur.com/a/Idljfhm
>>>>>>>=20
>>>>>>> The bootonly ISOs seems to show the same error message.
>>>>>>>=20
>>>>>>> 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.
>>>>>>>=20
>>>>>>> The 11.1 ISO boots without any trouble at all using both UEFI =
and BIOS.
>>>>>>>=20
>>>>>>> I was helped by koobs in #freebsd @ Freenode who asked me to =
send an e-mail this way and linking to these commits as a reference:
>>>>>>>=20
>>>>>>> https://reviews.freebsd.org/D13784
>>>>>>> https://svnweb.freebsd.org/base?view=3Drevision&revision=3D332416
>>>>>>>=20
>>>>>>> So far I've tried to UEFI boot the 11.2 ISO and 12.0 ISO with =
the following Dell PowerEdge models without success:
>>>>>>>=20
>>>>>>> R440
>>>>>>> R630
>>>>>>> R430
>>>>>>> FC430
>>>>>>> R330
>>>>>>> R620
>>>>>>> R420
>>>>>>> R610
>>>>>>>=20
>>>>>>> --=20
>>>>>>> Med v=C3=A4nlig h=C3=A4lsning/Best Regards
>>>>>>> Linus Sundqvist
>>>>>>> System Engineer, Loopia AB
>>>>>>>=20
>>>>>> _______________________________________________
>>>>>> 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"
>>>>>>=20
>>>>>=20
>>>> _______________________________________________
>>>> 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"
>>>>=20
>>>=20
>> _______________________________________________
>> 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"
>>=20
>=20