From owner-freebsd-current@FreeBSD.ORG Sat Nov 15 19:48:08 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E9FCE63; Sat, 15 Nov 2014 19:48:08 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id E1147EA6; Sat, 15 Nov 2014 19:48:07 +0000 (UTC) Received: from AlfredMacbookAir.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id 6210F341F87B; Sat, 15 Nov 2014 11:48:07 -0800 (PST) Message-ID: <5467ADF7.1020503@mu.org> Date: Sat, 15 Nov 2014 11:48:07 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Steve Kargl Subject: Re: Finding a rogue src/sys commit with bisection? References: <20141115184332.GA30344@troutmask.apl.washington.edu> <5467A1F2.8000703@mu.org> <20141115190133.GA30576@troutmask.apl.washington.edu> <5467A37B.8010506@mu.org> <1416079949.4781.156.camel@revolution.hippie.lan> <5467ABF5.7070807@mu.org> <20141115194215.GA30774@troutmask.apl.washington.edu> In-Reply-To: <20141115194215.GA30774@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-current@freebsd.org, Ian Lepore 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 19:48:08 -0000 On 11/15/14, 11:42 AM, Steve Kargl wrote: > On Sat, Nov 15, 2014 at 11:39:33AM -0800, Alfred Perlstein wrote: >> This is really over the top. >> >> It's not evangelism, the guy asked "how do I do X?" I showed him how to >> do it in a few simple steps. > The guy, that would be me, asked how to do it with svn. > Nope. You showed some svn commands to not do it, you weren't explicit in asking for ways to do it in svn, go ahead, look: ~ % grep -i svn > foo.out 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). Rinse and repeat. .(11:46:36)(alfred@AlfredMacbookAir.local) ~ % cat foo.out % svn merge -r 274456:272864 (half way point between good and bad) % svn revert -R . % svn merge -r 274456:273660 (1/2 point between 272864 and 274456). .(11:46:38)(alfred@AlfredMacbookAir.local) ~ %