From owner-freebsd-hackers@freebsd.org Sat May 9 18:25:58 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 734572F2863 for ; Sat, 9 May 2020 18:25:58 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49KFxy1Ltfz4BLB for ; Sat, 9 May 2020 18:25:58 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 2E59D2F2862; Sat, 9 May 2020 18:25:58 +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 2E2352F2861 for ; Sat, 9 May 2020 18:25:58 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49KFxx0XPFz4BL9 for ; Sat, 9 May 2020 18:25:56 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 1EDAD5E7; Sat, 9 May 2020 14:25:55 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 09 May 2020 14:25:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=h pht66kuHqJjfGQLiKYkPLDpKEvoMh7uH4Mn1/9GS0Q=; b=hWnbKj2YrKSM9dwn+ J+t9kh86j7XuPfy3jAhnePSpgxxmjSD1/kiqzNdSpcV6qJka09YgnViO/GloolTC mdLN6Z3AdU1Qyig8Jn9ac/kdCbgH5nClVXZHpH9s7jSQfVxpSvIMC3ILzNINbibl 2fQHXzVk06KRpUbX4SFQVlauCQj1c7kCq7wVhazJa3v0QfmI7keoqeJ0QEHATgAv acczj8IV81G9aoGGX5YDgz9nDJ17kxXNuKL7mRSG3OSfG6WGQL9LEBkLJ5uzICvW 1kxYvi+7uhbCA8FVxBH+qmo8nZ+qEkx2aGoOMOkw/0F4wgpHvCZYa0QIaYaS95P6 NpLHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=hpht66kuHqJjfGQLiKYkPLDpKEvoMh7uH4Mn1/9GS 0Q=; b=PPhThEoe6wfyBN5f9101queoH2ronB2v1GkNFl1hOnlT1ys3MhdE0lljV u4CNhpvRmHiWuDxg6BH8+FS7A2trJJFikF5CR43RX3NZVdyjOjNUAoxiWwAorFmo Vy+3fM17xRbxttHeSzp6JrS+HWr+GsUm6oWz6MyO3MC+7pi80Y3L0xq41a9OdNb1 DsyP0bojaBib5kZ1jNi/hYGYjg5XiOSDb07umIS8b7h7WnKNC8IEjz+LK6rWrWpk 3JsnSLJ+Awq4yzLpMYFmzZf853bjnUGR/2BXyT2qOifxaaYxFgsxhAJ/RZcH65Tg wwV9GycFQR7fTZqOZ79gfDIhUIjMw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrkeehgdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepjghurhhi ucfrrghnkhhovhcuoeihphgrnhhkohhvsehfrghsthhmrghilhdrtghomheqnecuggftrf grthhtvghrnhepveetieelgffhffegffetfeeitddtgfduteeguddvtdfggfeuffdtieet lefhgeetnecukfhppeeivddrudekfedrudekrdeifeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeihphgrnhhkohhvsehfrghsthhmrghilhdr tghomh X-ME-Proxy: Received: from [192.168.1.6] (unknown [62.183.18.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 1057C3066240; Sat, 9 May 2020 14:25:52 -0400 (EDT) Subject: Re: Find specific changes between revisions To: Mario Lobo , hackers@freebsd.org References: From: Yuri Pankov Message-ID: <614e0ff9-1adc-1634-5711-ca032d6260bf@fastmail.com> Date: Sat, 9 May 2020 21:25:47 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49KFxx0XPFz4BL9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.com header.s=fm2 header.b=hWnbKj2Y; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=PPhThEoe; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@fastmail.com designates 64.147.123.25 as permitted sender) smtp.mailfrom=ypankov@fastmail.com X-Spamd-Result: default: False [-3.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; FREEMAIL_FROM(0.00)[fastmail.com]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[fastmail.com,none]; IP_SCORE(0.00)[ip: (-9.84), ipnet: 64.147.123.0/24(-4.92), asn: 11403(-2.69), country: US(-0.05)]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[25.123.147.64.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[25.123.147.64.rep.mailspike.net : 127.0.0.19]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[fastmail.com] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.32 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2020 18:25:58 -0000 Eugene Grosbein wrote: > 09.05.2020 23:41, Mario Lobo wrote: > >> Hi; >> >> I'm attempting to port VirtualBox 6.0.8 to FreeBSD. I managed do get it >> working perfectly up to >> >> 11.3-STABLE-amd64-r359971. >> >> After an svn up to 11.4-PRERELEASE-r360676M, VirtualBox 6.0.8 no longer >> works. Bringing world+kernel back to 11.3-STABLE-amd64-r359971 makes it >> work again, despite whatever ports I've got installed on my machines. This >> was tested on 2 physical machines (desktop and laptop) and it is true for >> both. >> >> When starting a VM on 11.4-PRERELEASE-r360676M, the VM console window shows >> up for 2 seconds and vanishes. Tha VM log shows this: >> >> -------------------------------------------------------------------------------------------------------- >> 00:00:02.343339 AssertLogRel >> /Vmachines/ports/emulators/virtualbox-ose/work/VirtualBox-6.0.8/src/VBox/Main/src-client/VMMDevInterface.cpp(960) >> int VMMDev::i_guestPropLoadAndConfigure(): timestampsOut.size() == cProps >> 00:00:02.343365 AssertLogRel >> /Vmachines/ports/emulators/virtualbox-ose/work/VirtualBox-6.0.8/src/VBox/Main/src-client/VMMDevInterface.cpp(1157) >> static int VMMDev::drvConstruct(PPDMDRVINS, PCFGMNODE, uint32_t): >> RT_SUCCESS_NP(rc) >> 00:00:02.343450 VERR_INTERNAL_ERROR_3 (-227) - Internal error no. 3. >> 00:00:02.345073 PDM: Failed to construct 'VMMDev'/0! VERR_INTERNAL_ERROR_3 >> (-227) - Internal error no. 3. >> 00:00:02.347293 GIM: HyperV: Resetting MMIO2 regions and MSRs >> 00:00:02.531769 VMSetError: >> /Vmachines/ports/emulators/virtualbox-ose/work/VirtualBox-6.0.8/src/VBox/VMM/VMMR3/VM.cpp(328) >> int VMR3Create(uint32_t, PCVMM2USERMETHODS, PFNVMATERROR, void *, >> PFNCFGMCONSTRUCTOR, void *, PVM *, PUVM *); rc=VERR_INTERNAL_ERROR_3 >> 00:00:02.531778 VMSetError: Internal error no. 3. >> 00:00:02.533693 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) >> aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} >> aText={Internal error no. 3. (VERR_INTERNAL_ERROR_3)}, preserve=false >> aResultDetail=-227 >> 00:00:02.534000 Console: Machine state changed to 'PoweredOff' >> -------------------------------------------------------------------------------------------------------- >> >> This is the same error that shows when trying to run it on >> 12.1-STABLE-amd64-r359985 by the way. >> >> I am no wiz. And on top of that, VBox is extremely complex but I don't >> think that the problem lies on the kernel or on vbox kernel modules. They >> all load correctly and without errors on both 11.4-PRERELEASE-r360676M and >> 12.1-STABLE-amd64-r359985. >> >> What looks like (to my poor lame eyes) is that some revision change in >> userland "broke" the connection between vbox and its modules/drivers. >> >> So my quest is to try to pinpoint the changes between >> 11.3-STABLE-amd64-r359971 and 11.4-PRERELEASE-r360676M that made VirtualBox >> 6.0.8 stop working, and I was wondering if anyone here could give me some >> direction on how to accomplish that. >> >> Thanks for any advice. > > You did not mention if you rebuild VirtualBox and its kernel modules after update of FreeBSD to 11.4-PRERELEASE. > If not, such behaviour is expected and first thing you need is rebuild VirtualBox using sources of 11.4-PRERELEASE > installed in /usr/src. > > If you already did that, you need to bisect revisions. Also, you may find useful output of "svnlite help diff" > that documents a way to find differences betwheen revisions: cd /usr/src/sys/some-subdir && svnlite diff -r NNNNNN:MMMMMM And if you are looking for the specific revision that broke it, look into the 'git bisect' using github's git mirror; there's also devel/p5-App-SVN-Bisect, but I have never used it.