From owner-freebsd-hackers@freebsd.org Mon May 11 21:05:49 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7293C2EC82B for ; Mon, 11 May 2020 21:05:49 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49LYPS6MJ2z4B6M for ; Mon, 11 May 2020 21:05:48 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mailman.nyi.freebsd.org (Postfix) id DA39A2EC829; Mon, 11 May 2020 21:05:48 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D9FF22EC828 for ; Mon, 11 May 2020 21:05:48 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49LYPR3hgLz4B6K for ; Mon, 11 May 2020 21:05:46 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-il1-x143.google.com with SMTP id c18so10144310ile.5 for ; Mon, 11 May 2020 14:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=6kRdWZ5OO9COhRq+LekzxQMzLd8hAs18ADtePDqmsmk=; b=TYu0aijYCcPh+L+XzgD7sJzKF9V1K3RdbcIFYU/sOtt/i7fDfkIJlQgI691GK1t7g4 bND/GsNE33rvmquGu1yjlhEHjhDCyTh30Vhhvd7YWBegU5ds/lGb2sGed4S9qtaJzFH6 WU1Bqngh2Jv3JTtrh3kyV0OZs9EnIw9rKoZ9k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=6kRdWZ5OO9COhRq+LekzxQMzLd8hAs18ADtePDqmsmk=; b=UCOeEZWdp0zwP7aom/VUUSqAVDJotxN9FyieV8x7MaTwEAdhDPqW50b85l9UAw/fVK m0pSGEOPYEaGlSu81xh3GP4QX1Aj70ezFr+4n07AZtCb1SLS0TkCZJfvkMBazRbSxhQl BpgCD2MD+mQs3ELA/jhs/RMRAflrbWt4JWs8tnFCg89y6szydOhTUPz7aSnitzDURPr/ Cj3Dg6TIIlQXs4EG7QL/+UxDCQj3iaXfbSQyp0lr+t23tG5zcq7ZsX5//5HjnOXIp43q sWj32oK3nubg4HERSYULAKLZzB0BVTcuTMZX0CIV2bJUZG02uGLzl4gzVPpBdsbgjQfv cHig== X-Gm-Message-State: AGi0PuYfFsP7DixxJTkrWU1OD42V6AGXNt/exOTOsAv8VryFQOVy/7RH BrxCY4jzgrDLmUdNZg8ORI/ITQPfoFW4rJFHSCo1FNYz X-Google-Smtp-Source: APiQypLyyppgYdrIHE7Ry3CNUtaWMdimkygJhsnfLZt5x8sleFjrI6W9BrY5poKxE06nAQvi1KsZWmiLfJJifu0Ct3I= X-Received: by 2002:a92:8c0d:: with SMTP id o13mr5475754ild.117.1589231145580; Mon, 11 May 2020 14:05:45 -0700 (PDT) MIME-Version: 1.0 References: <614e0ff9-1adc-1634-5711-ca032d6260bf@fastmail.com> <91d3b015-3708-eacd-3706-5729e0b96e9e@grosbein.net> <20200510160327.r5x5j5mkrrcmmy4k@nerd-thinkpad.local> In-Reply-To: <20200510160327.r5x5j5mkrrcmmy4k@nerd-thinkpad.local> From: Mario Lobo Date: Mon, 11 May 2020 18:05:33 -0300 Message-ID: Subject: Re: Find specific changes between revisions To: hackers@freebsd.org X-Rspamd-Queue-Id: 49LYPR3hgLz4B6K X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=TYu0aijY; dmarc=none; spf=pass (mx1.freebsd.org: domain of lobo@bsd.com.br designates 2607:f8b0:4864:20::143 as permitted sender) smtp.mailfrom=lobo@bsd.com.br X-Spamd-Result: default: False [-1.61 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.5.128.228,0.5.126.35]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[15]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[bsd.com.br]; DKIM_TRACE(0.00)[bsd.com.br:+]; RCVD_IN_DNSWL_NONE(0.00)[3.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.12)[ip: (0.18), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; SH_EMAIL_ZRD(0.00)[0.5.126.35,0.5.128.228] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2020 21:05:49 -0000 On Sun, May 10, 2020 at 1:03 PM Daniel Ebdrup Jensen wrote: > On Sun, May 10, 2020 at 10:41:24PM +0700, Eugene Grosbein wrote: > >10.05.2020 5:52, Mario Lobo wrote: > > > >> The command: > >> > >> svn diff https://svn.freebsd.org/base/stable/11@359971 > >> https://svn.freebsd.org/base/stable/11@360676 > >> > >> yielded a 170 Mbytes file!! > >> > >> It will be like looking for a needle in a haystack, in the dark, with > just > >> a hunch of where the needle was dropped. > >> > >> Well ... at least I have the haystack. > >> > >> Thanks everyone for the tips! > > > >You don't really need to study source code to bisect the problem, > >just use "svnlite update -rZZZZZ" to move your source tree to the middle > point > >between known working and non-working revisions. Then rebuild and > reinstall > >kernel and world, reboot and re-do the test. If it works, you get new > (higher) > >working revision and if not, you get new (lower) non-working one. > > > >Repeat until you have only single revision between working and > non-working. > >This procedure takes time and effort but this is not like looking for a > needle in a haystack, much easier. > >_______________________________________________ > >freebsd-hackers@freebsd.org mailing list > >https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org > " > > If you're going to be doing this kind of rebuilding from revision to > revision, I > feel obliged to mention that you can put MetaMode [1] to great use. > > Essentially, it ensures that you only rebuild whatever's changed from one > revision to another, and on the source tree it can make a HUGE difference > when > jumping small revision amounts (and even if large numbers of revisions are > jumped over, it still has some impact. > It's sort of like ccache, except much more efficient. > > Yours, > Daniel Ebdrup Jensen > > [1]: https://wiki.freebsd.org/MetaMode > Thanks mates. I've been using meta mode for a while. I'll follow the svn up -rNNNNNN procedure. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]