From owner-freebsd-current@freebsd.org Sat Jul 28 19:55:09 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 69110105C223 for ; Sat, 28 Jul 2018 19:55:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (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 E9BF07D2F0 for ; Sat, 28 Jul 2018 19:55:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22e.google.com with SMTP id o22-v6so6825078ioh.6 for ; Sat, 28 Jul 2018 12:55:08 -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=OC7+XE3C/YzAKfodjQc3kR5PTd2eDk9QM+VQptf/oDU=; b=cDH1IWk6UdSxCoA7zAxrRrVtYCPy/Oh1RKwj+HSh8+oqFMBIuxoOZ8rRvZwjumBzMw ix8VZJd5LVEV3hG5YLQoB/UY81+4aHEDl+r6Y19R19Rhr9jtj0BKdKgd7NnOWC3E1qnh D17z191QbjCS7dLduc2ptLhGLdXJp2uKyKgI1YHavAmE16TFjxQuQEkiac8xBZWxFdvq BRpV9b4yeiHJOTufwxZSHwNONwvfnTRpd5c5xUuf6zsIWQ9UKZiVUpGIYFrmsJvR2oxL Er9Zxgw3meMTLDIvvORhcTFqW6JsHekdHo2NR4zwO5t10VHD5gYQkYOVly7PqRfv4BaW bHdA== 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=OC7+XE3C/YzAKfodjQc3kR5PTd2eDk9QM+VQptf/oDU=; b=MU6UITljhXvi7ZXue7xzTxaTTQob2n6Pcdipfu+wenSxMuke/ZqNDnnQ2aeJKvkI7V 7FlHqP2hYUP4eiV2z9xLzQSY1wjNOr3no00czfB06Z+HbsPJl+SxN9rhJehoTF5RwOhG EBoCZVdxZAQRzUEqHoz97BJmXvdkQVX0WCCpL79AhGduyGXY0s/Dw+iCWGuG0wbkEMkZ ZOJVC8GDdQvCOJqX25AgHMrk5ETgoXmVWYfDGw17rLS0ZQVs+Y2z4s4awya6SLSbjgct TlV56mJMstMjT4r4N/1+XVBP+iNSQX0+8QeNJJt6PFWut7WU1IBf20OqVtKnBT+rEa/I UfSA== X-Gm-Message-State: AOUpUlFy0/odP2pFj9bFKIPPIhqJi/ooxgV5KpEe8M0HriedhEUKW6PR 5M9N6cFSRjCMVIZwtgTHyMScoPujQTZXKZCZnPGIiA== X-Google-Smtp-Source: AAOMgpdWkuVG8dSkOyM1j8FcITdwrJgBDuxz3a2g7KxDxqyyOpOta6SxemK5RZW37imFRXZW6nTeKd6SL8GdN2Q2qD4= X-Received: by 2002:a6b:f719:: with SMTP id k25-v6mr9338531iog.37.1532807708261; Sat, 28 Jul 2018 12:55:08 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:4485:0:0:0:0:0 with HTTP; Sat, 28 Jul 2018 12:55:07 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <20180728215025.f5acbac48ab0969eff2e7545@bidouilliste.com> References: <20180728171745.e5g6dfrcjdn2mtg4@mutt-hbsd> <20180728202830.5ff22ce7b88c6cbf2cf25e18@bidouilliste.com> <20180728203431.4cb39877c0e1a9c55daf9641@bidouilliste.com> <20180728205218.ef2661f72f27709c5d829708@bidouilliste.com> <20180728215025.f5acbac48ab0969eff2e7545@bidouilliste.com> From: Warner Losh Date: Sat, 28 Jul 2018 13:55:07 -0600 X-Google-Sender-Auth: Gj_O2jLT7kWXIaI028P5AO-Avik Message-ID: Subject: Re: Booting arm64 uefi broken To: Emmanuel Vadot Cc: Shawn Webb , FreeBSD Current , Warner Losh , "freebsd-arm@freebsd.org" 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: Sat, 28 Jul 2018 19:55:09 -0000 On Sat, Jul 28, 2018 at 1:50 PM, Emmanuel Vadot wrote: > On Sat, 28 Jul 2018 13:27:08 -0600 > Warner Losh wrote: > > > Let me know the rev... all my fixes are in the tree... > > > > Warner > > Fixed by r336837 > Yea, I thought I'd pushed all my in-flight src/stand branches yesterday, but I had one on a different machine that wasn't, and it was this one. Sorry for the hassle, it had been ready to go for a couple days... Warner > Thanks, > > > On Sat, Jul 28, 2018, 12:52 PM Emmanuel Vadot > wrote: > > > > > On Sat, 28 Jul 2018 20:34:31 +0200 > > > Emmanuel Vadot wrote: > > > > > > > On Sat, 28 Jul 2018 20:28:30 +0200 > > > > Emmanuel Vadot wrote: > > > > > > > > > On Sat, 28 Jul 2018 13:17:45 -0400 > > > > > Shawn Webb wrote: > > > > > > > > > > > It appears with the latest 12-CURRENT/arm64, booting is broken. > The > > > > > > boot process gets stuck after the "Using DTB provided by..." > message. > > > > > > > > > > > > This is on my SoftIron OverDrive 1000: > > > > > > > > > > > > >> FreeBSD EFI boot block > > > > > > > > > Loader path: /boot/loader.efi > > > > > > > > > > > > > > > > > > Initializing modules: ZFS UFS > > > > > > > > > Load Path: \EFI\BOOT\BOOTAA64.EFI > > > > > > > > > Load Device: > > > PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/USB(0x2,0x0)/HD( > 1,GPT,73365FD5-9260-11E8-9F00-0026B93F5298,0x3,0x640) > > > > > > BootCurrent: 0002 > > > > > > > > > BootOrder: 0001 0005 0006 0000 0002[*] > > > > > > > > > Probing 7 block devices......+..* done > > > > > > > > > ZFS found the following pools: rpool > > > > > > > > > UFS found 1 partition > > > > > > > > > Consoles: EFI console > > > > > > > > > FreeBSD/arm64 EFI loader, Revision 1.1 > > > > > > > > > (Sat Jul 28 11:32:06 UTC 2018 root@nyi-01.build.hardenedbsd.org) > > > > > > > > > > > > > > > > > > Command line arguments: loader.efi > > > > > > > > > EFI version: 2.60 > > > > > > > > > EFI Firmware: SoftIron Overdrive 1000 (rev 1.00) > > > > > > > > > Console: efi (0) > > > > > > > > > Load Path: > > > HD(2,GPT,73365FE7-9260-11E8-9F00-0026B93F5298,0x643,0x107D00) > > > > > > Load Device: > > > PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/USB(0x2,0x0)/HD( > 2,GPT,73365FE7-9260-11E8-9F00-0026B93F5298,0x643,0x107D00) > > > > > > BootCurrent: 0002 > > > > > > > > > BootOrder: 0001 0005 0006 0000 0002[*] > > > > > > > > > BootInfo Path: > > > PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/USB(0x2,0x0) > > > > > > Ignoring Boot0002: Only one DP found > > > > > > > > > Trying ESP: > > > PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/USB(0x2,0x0)/HD( > 2,GPT,73365FE7-9260-11E8-9F00-0026B93F5298,0x643,0x107D00) > > > > > > Setting currdev to disk1p2: > > > > > > > > > Loading /boot/defaults/loader.conf > > > > > > > > > /boot/kernel/kernel text=0x8a7169 data=0x1384d0+0x7d39fc > > > syms=[0x8+0x11d108+0x8+0x10e646] > > > > > > /boot/entropy size=0x1000 > > > > > > > > > efi-autoresizecons: Neither Graphics Output Protocol nor > Universal > > > Graphics Adapter present > > > > > > > > > > > > > > > Hit [Enter] to boot immediately, or any other key for command > > > prompt. > > > > > > Booting [/boot/kernel/kernel]... > > > > > > > > > Using DTB provided by EFI at 0x801fe00000. > > > > > > > > > > > > Thanks, > > > > > > > > > > > > -- > > > > > > Shawn Webb > > > > > > Cofounder and Security Engineer > > > > > > HardenedBSD > > > > > > > > > > > > Tor-ified Signal: +1 443-546-8752 > > > > > > Tor+XMPP+OTR: lattera@is.a.hacker.sx > > > > > > GPG Key ID: 0x6A84658F52456EEE > > > > > > GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F > 5245 > > > 6EEE > > > > > > > > > > Latest kernel works for me : > > > > > > > > > > FreeBSD od1000.home.blih.net 12.0-CURRENT FreeBSD 12.0-CURRENT #3 > > > > > r336834: Sat Jul 28 20:23:33 CEST 2018 > > > > > root@od1000.home.blih.net:/usr/o bj/usr/src/arm64.aarch64/sys/ > GENERIC > > > > > arm64 > > > > > > > > > > I'll try with latest loader.efi > > > > > > > > > > -- > > > > > Emmanuel Vadot > > > > > _______________________________________________ > > > > > 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" > > > > > > > > Latest loader.efi fails for me the same way, Shawn did you start > > > > bisecting ? > > > > > > > > > > Problem is between 20180709 and 20180719 > > > > > > -- > > > Emmanuel Vadot > > > > > _______________________________________________ > > 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" > > > -- > Emmanuel Vadot >