From owner-svn-src-head@freebsd.org Sat Sep 24 20:56:07 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25406BE8DC3 for ; Sat, 24 Sep 2016 20:56:07 +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 E8EA9AB4 for ; Sat, 24 Sep 2016 20:56:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22f.google.com with SMTP id e66so59727673iod.1 for ; Sat, 24 Sep 2016 13:56:06 -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=ckzD2YGytesyDF9XlS7IESZzo+Cc7w6t5eFvooCvEro=; b=tPtNFDhJDpb62Fx/2JnlGa5jHq9t9AYg6mIQEePxmGxY2oKS+53p4Bu3sDt80xjrJ/ a+T6+KdXWnRwM2Y7elr4rE4yCFD1phSsmjD/cJ4m2VXu5XM/XlUXPnnJcqzFngS/fOuN Q9KYXrBP0LuDJ2MsafprLP5FWPtPt1frt9CKvS2EaHKx1iMkrnCQVUcgoVJgjMKNzaNW oBls+9NNLKrYhLrM5lvdVCrr+VQl+Uia4zA53L9rh7ap2pdlJNstnhOsivntHVuoEc9O S27NMC67OQm9/wZtJN0aCpSVMyCDg2BKL75qMk1N6AhjuEWmI4fHwyHalEoaKEBg5FTM yg/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ckzD2YGytesyDF9XlS7IESZzo+Cc7w6t5eFvooCvEro=; b=WhvAE+IWHAEbd9SYdqRkguVLwhZcC5C3YcIpBVeC+0jsd59irGIKuxm6xDGQ0VvcaR XHgzE5vN24f+6++nTJYl5qBlo2+scweBnLim6vk+AhuC0vaPjewWc9iQcqN9o/uY7kkb IfNIZFWUXKIA30yUBNC0DFZWvrvuIAYXpGiTd7WC9eLMIr1S8VbM8ME9qaVm0E+qw+I3 42RVuHJVVKQY3Ds5/upeem7PupNuDdhnbB+CVg4kaIfhvUXUMryn9efnpJi8qr1y8Pp4 TjaIs4Nfjy3Q3FGufGkeBMYB5V0oc4UEMNN5wdOiXrFVgQqjZSA8v1q/WOPFaiuscrub caLA== X-Gm-Message-State: AE9vXwM5i3710yEObqBSgtDbApoBYzBy+lJggzPIUR+kwQWGXdWtEB2FYiIKLXFdNIcuIoDZOdhSoT8rNRJfQw== X-Received: by 10.107.184.131 with SMTP id i125mr17502162iof.167.1474750566115; Sat, 24 Sep 2016 13:56:06 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.36.65.7 with HTTP; Sat, 24 Sep 2016 13:56:05 -0700 (PDT) X-Originating-IP: [69.53.245.200] In-Reply-To: <4af03d4b-5e5e-2482-c21f-538d95e921b6@freebsd.org> References: <201609031526.u83FQSCZ017350@repo.freebsd.org> <4af03d4b-5e5e-2482-c21f-538d95e921b6@freebsd.org> From: Warner Losh Date: Sat, 24 Sep 2016 14:56:05 -0600 X-Google-Sender-Auth: AcZQ2OGyidtyhHgAnt6AEvzF-tw Message-ID: Subject: Re: svn commit: r305353 - in head/sys/boot: i386 i386/boot0 i386/boot2 i386/btx/btx i386/btx/btxldr i386/cdboot i386/gptboot i386/gptzfsboot i386/mbr i386/pmbr i386/pxeldr i386/zfsboot pc98 pc98/boot0 ... To: Allan Jude Cc: Warner Losh , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" , Ed Maste Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2016 20:56:07 -0000 On Fri, Sep 23, 2016 at 4:17 PM, Allan Jude wrote: > On 09/03/16 11:26 AM, Warner Losh wrote: >> Author: imp >> Date: Sat Sep 3 15:26:28 2016 >> New Revision: 305353 >> URL: https://svnweb.freebsd.org/changeset/base/305353 >> >> Log: >> Don't use -N to set the OMAGIC with data and text writeable and data >> not page aligned. To do this, use the ld script gnu ld installs on my >> system. >> >> This is imperfect: LDFLAGS_BIN and LD_FLAGS_BIN describe different >> things. The loader script could be better named and take into account >> other architectures. And having two different mechanisms to do >> basically the same thing needs study. However, it's blocking forward >> progress on lld, so I'll work in parallel to sort these out. >> >> Differential Revision: https://reviews.freebsd.org/D7409 >> Reviewed by: emaste >> > > This breaks booting on my Lenovo laptop. The BTX client crashes and > dumps the registers. > > Reverting this commit solved it. > > Is there something I can do to help investigate this? I assume you bisected all boot loader changes and it fails across this commit? If not, that's the first step. If so, perhaps the place to start is with the dump? Warner