From owner-freebsd-current@FreeBSD.ORG Sat Nov 15 18:46:14 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A1E8DD for ; Sat, 15 Nov 2014 18:46:14 +0000 (UTC) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0745E95E for ; Sat, 15 Nov 2014 18:46:14 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id k14so2524882wgh.38 for ; Sat, 15 Nov 2014 10:46:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=I3d29KOT71K0DD2+DpdztECeMJCV/tlnarMVJ3QovDo=; b=MfSGSv9BMwSsnSPOsZKWsPVaN2sct6yuHoQ1dSgKAjj8pySfIOQoIjtcfm8MnqJJ9w O6YGrD1OHYWk34HhpF77yH21MGQHKnyX3eqpOE4KmVhZaAxrcAIvTdwBjzcbus4dV39h M/W4+RII1q0OW1aNnUN/Y+fmPzmCr3S+g5MfxvFoQECmwj6wWuYcxsmrqp2haXQIhamm vf8g72vZCSSnLXCQvn/oJtX8tqXZlPquqxOkhBjUxbZ2SUNa5crv6TVwER4uYdHei0Ku 0BLg4/VpM5tjwwhR/fMLV1SFGYq9xocFzMopanbGLhDDEV0wxSeXxFFfxQmfhxtM96rA ugJA== X-Received: by 10.180.95.74 with SMTP id di10mr18367115wib.54.1416077172434; Sat, 15 Nov 2014 10:46:12 -0800 (PST) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by mx.google.com with ESMTPSA id pl8sm3081001wic.1.2014.11.15.10.46.11 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 15 Nov 2014 10:46:11 -0800 (PST) Date: Sat, 15 Nov 2014 19:46:09 +0100 From: Mateusz Guzik To: Steve Kargl Subject: Re: Finding a rogue src/sys commit with bisection? Message-ID: <20141115184609.GB22467@dft-labs.eu> Mail-Followup-To: Mateusz Guzik , Steve Kargl , freebsd-current@freebsd.org References: <20141115184332.GA30344@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20141115184332.GA30344@troutmask.apl.washington.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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, 15 Nov 2014 18:46:14 -0000 On Sat, Nov 15, 2014 at 10:43:32AM -0800, Steve Kargl wrote: > Before I totally hose by /usr/src directory, does anyone > have some guidelines on doing a binary search for a rogue > commit in /usr/src/sys?. Either cam or usb (or acpi?) has > broken the ability to remove a external USB device once it > is plugged into a usb port on my Dell Latitude D530 laptop. > I know that a good kernel can be built with r271273 and > a bad kernel comes from (nearly) top of tree at r274456. > > I assume I need to do somthing along the lines > > % cd /usr/src/sys > % svn merge -r 274456:272864 (half way point between good and bad) > (build kernel and test) > % cd /usr/src/sys > % svn revert -R . > (assume 272864 builds working kernel) > % svn merge -r 274456:273660 (1/2 point between 272864 and 274456). > http://search.cpan.org/dist/App-SVN-Bisect/bin/svn-bisect Unteste though, they keyword to use bisect. In absolutely worst case yu can check out git tree and bisect that :-> -- Mateusz Guzik