Finding a rogue src/sys commit with bisection?
Alfred Perlstein
bright at mu.org
Sat Nov 15 19:48:08 UTC 2014
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 at 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 at AlfredMacbookAir.local)
~ %
More information about the freebsd-current
mailing list