From owner-freebsd-hackers@freebsd.org Sun May 10 16:03:30 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 5621E2EB73B for ; Sun, 10 May 2020 16:03:30 +0000 (UTC) (envelope-from debdrup@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49Kpl61fRLz4LyF for ; Sun, 10 May 2020 16:03:30 +0000 (UTC) (envelope-from debdrup@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 38AB62EB73A; Sun, 10 May 2020 16:03:30 +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 387092EB739 for ; Sun, 10 May 2020 16:03:30 +0000 (UTC) (envelope-from debdrup@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Kpl60j0vz4LyD for ; Sun, 10 May 2020 16:03:30 +0000 (UTC) (envelope-from debdrup@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1471) id E636518821; Sun, 10 May 2020 16:03:29 +0000 (UTC) Date: Sun, 10 May 2020 18:03:27 +0200 From: Daniel Ebdrup Jensen To: hackers@freebsd.org Subject: Re: Find specific changes between revisions Message-ID: <20200510160327.r5x5j5mkrrcmmy4k@nerd-thinkpad.local> Mail-Followup-To: Daniel Ebdrup Jensen , hackers@freebsd.org References: <614e0ff9-1adc-1634-5711-ca032d6260bf@fastmail.com> <91d3b015-3708-eacd-3706-5729e0b96e9e@grosbein.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kaozxhlbd5xwwgfb" Content-Disposition: inline In-Reply-To: <91d3b015-3708-eacd-3706-5729e0b96e9e@grosbein.net> 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: Sun, 10 May 2020 16:03:30 -0000 --kaozxhlbd5xwwgfb Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 ju= st >> 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 p= oint >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 (hig= her) >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 ne= edle 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 revisi= on, I=20 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= =20 revision to another, and on the source tree it can make a HUGE difference w= hen=20 jumping small revision amounts (and even if large numbers of revisions are= =20 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 --kaozxhlbd5xwwgfb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEDonNJPbg/JLIMoS6Ps5hSHzN87oFAl64Jc9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDBF ODlDRDI0RjZFMEZDOTJDODMyODRCQTNFQ0U2MTQ4N0NDREYzQkEACgkQPs5hSHzN 87qfSQf/T3LeKV3n3YTUYGQV4CesTUJc4kzQqwXSRWF/SChmsm6DZtAq3fH5d39l oIDiSd/UvVoGZR+r3cX/VOtJEMPDFC0oVKH119/ttud0SdedPV0mZETyGEQ3Eo6L 9uFUoFV5niKbhGES/R8fKdzZQPD0BSO2zOljiHs/9++OvZm1RosRHbHJX1i7juy0 +IvEJj8oROSqpNC2uNy6e4KsWSb/EjT7IrBsruc9GtCmsGUJuD89tZx8RBOBaUSW 6IWAfXywHTfoCJyVNHRb7J0gnTpuaNGgJ8Sh7lTjJsXA9gmPINAReg8wtHajAM4N w/2eRw6FKwKxjBDQ3y+Ktr/EjPi8uw== =LW04 -----END PGP SIGNATURE----- --kaozxhlbd5xwwgfb--