From owner-freebsd-current@freebsd.org Fri Aug 3 08:17:31 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 429161061688; Fri, 3 Aug 2018 08:17:31 +0000 (UTC) (envelope-from tsoome@me.com) Received: from mr11p00im-asmtp003.me.com (mr11p00im-asmtp003.me.com [17.110.69.254]) (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 C60637615B; Fri, 3 Aug 2018 08:17:30 +0000 (UTC) (envelope-from tsoome@me.com) Received: from process-dkim-sign-daemon.mr11p00im-asmtp003.me.com by mr11p00im-asmtp003.me.com (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) id <0PCV00100LGYU200@mr11p00im-asmtp003.me.com>; Fri, 03 Aug 2018 08:17:12 +0000 (GMT) Received: from icloud.com ([127.0.0.1]) by mr11p00im-asmtp003.me.com (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPSA id <0PCV00GWULOHJJ40@mr11p00im-asmtp003.me.com>; Fri, 03 Aug 2018 08:17:08 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-03_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=27 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1808030093 Content-type: text/plain; charset=utf-8 MIME-version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Unable to UEFI boot 11.2 via pxeboot From: Toomas Soome In-reply-to: Date: Fri, 03 Aug 2018 11:17:04 +0300 Cc: "freebsd-hackers@freebsd.org" , "freebsd-current@freebsd.org" Content-transfer-encoding: quoted-printable Message-id: References: <3DF39C46-977E-4D07-AF23-F0C7D5DAF2E6@fh-muenster.de> <9A67D337-ADC9-4B19-A44D-6C08135861D3@me.com> To: =?utf-8?Q?Timo_V=C3=B6lker?= X-Mailer: Apple Mail (2.3445.9.1) 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:17:31 -0000 > On 3 Aug 2018, at 10:28, Timo V=C3=B6lker = wrote: >=20 > Hi Toomas, >=20 > it seems your fix works here. Some of the error messages remain, but I = was able to (pxe)boot without a USB stick plugged in. >=20 > https://ibb.co/g8Bkfe >=20 > Right after the moment from the screenshot, the FreeBSD boot manager = showed up. >=20 > Thanks, >=20 > Timo Ok, so far so good. As seen from the screen dump, some cleanup is = required, I do not think we should print about efipart_inithandles() in = case of errno 2 - thats perfectly normal case if there are no block = devices. Update commited:) rgds, toomas >=20 >> On 2. Aug 2018, at 14:45, Toomas Soome wrote: >>=20 >> Could you check the current with = https://svnweb.freebsd.org/changeset/base/337131 >>=20 >> thanks, >> toomas >>=20 >>> On 2 Aug 2018, at 15:32, Toomas Soome wrote: >>>=20 >>>=20 >>>=20 >>>> On 2 Aug 2018, at 15:08, Timo V=C3=B6lker = wrote: >>>>=20 >>>> It seems this issue is related to current as well. I did a quick = test and got this output, while I tried to (pxe)boot FreeBSD current = (without a USB stick plugged in) >>>>=20 >>>> https://ibb.co/no8Fve >>>>=20 >>>> Best regards >>>>=20 >>>> Timo >>>=20 >>> the hint is about efipart_inithandles() returning 2, thats errno = code for ENOENT. congratz, you have hit the corner case:D >>>=20 >>> Since efinet_dev is part of devsw, we can not skip the devswitch = init with such error, we still need to walk the list. Let me see if I = can provide quick fix. >>>=20 >>> rgds, >>> toomas >>>=20 >>>=20 >>>>=20 >>>>> On 31. Jul 2018, at 14:16, Timo V=C3=B6lker = wrote: >>>>>=20 >>>>> Hi, >>>>>=20 >>>>> I'm unable to boot up the amd64 11.2 via pxeboot using UEFI on a = Dell PowerEdge R430. I get this output >>>>>=20 >>>>> https://ibb.co/h5ntuT >>>>>=20 >>>>> If I press a key to interrupt reboot, I get to the OK prompt. If I = enter lsdev -v, it prints nothing more than "net devices:". The variable = currdev is not set (show currdev prints variable 'currdev' not found). I = configured pxeboot to be the one and only boot medium in BIOS setup.=20 >>>>>=20 >>>>> However, I found a workaround that works for me. If I put an = (empty) USB stick in a USB port of the PowerEdge, it successfully boots = via pxeboot (which is still the one and only configured boot medium). I = then get this output >>>>>=20 >>>>> https://ibb.co/mU8SM8 >>>>>=20 >>>>> With FreeBSD 11.1 pxeboot worked on the Dell PowerEdge R430, even = without a USB stick plugged in. I couldn't test this with FreeBSD = 12-current. Hope this helps anyway to find an open issue. >>>>>=20 >>>>> I found this thread which seems to be related. >>>>>=20 >>>>> = https://lists.freebsd.org/pipermail/freebsd-current/2018-July/070082.html >>>>>=20 >>>>> Thanks, >>>>>=20 >>>>> Timo >>>>=20 >>>=20 >>=20 >=20