From owner-freebsd-emulation@freebsd.org Sat May 9 16:41:29 2020 Return-Path: Delivered-To: freebsd-emulation@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 67D192F03D2 for ; Sat, 9 May 2020 16:41:29 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (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 49KCdN07Rsz44QK for ; Sat, 9 May 2020 16:41:27 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-io1-xd42.google.com with SMTP id d7so5013544ioq.5 for ; Sat, 09 May 2020 09:41:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:from:date:message-id:subject:to; bh=JnMD2ztA+hlhM8sU5T2qTdysP3VEhwlV4q4GBJnAm10=; b=Quwu5hL58GVt1rcnYgk3CGOUyEX7kblwZeWfcyx4C0Wt71llSbY6vS5yEvQoMc9Wyd FUUThBZ9F5sBY/T2xxK8CFVOVqFeO9Yxtgu4+BR2VogAuEz6eqbVly49umnvftk9wqJN p2xbV5cd96yq+c/28kB2YBSunVzlZcw8hetUo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JnMD2ztA+hlhM8sU5T2qTdysP3VEhwlV4q4GBJnAm10=; b=MrTslMLKUBV8+AII7nz8/2/ngvcxFujNaoZ7QAxOrt/82e/oFshw8/0j2JdHPjRmCR C69ihBUZ4jOikpZadvkvGV0kR5CPPyuXqYKd52SmQg04ZMvpegy3cMimuX+4PpZhBamR 9ENwyL9KA3LgxvP5sTveRXLAeHJShUL00EpugJYGogNdQj5Hscsntpd5wI714UDZnr09 8+N/tfKcos+nlCcp3QoMkD8mV/92/KalpRG2I3UPuba09xTmSWFVWvcIaf+KtRc9PZsv yBrqplpFquV2B9hU/y+t+PG/oVgt2P/Ded3us4+KvyVIzhJ2Q6mlZC3mfNJHUp1oondi J6Xg== X-Gm-Message-State: AGi0PuaMeqF2Tdcpx1nst1SZX5T745bc1x2xeIHgPyOfTrxPryhpGsnS ufuAHQ7Rbfk2L7um/KWOqQ1S6uhd8o8h5/9wXSBC0LKyTk4= X-Google-Smtp-Source: APiQypKpd1pc4C9KubcuHBjXfH6egp6Dk170WbxjMABGFsUL+hlSmmIw/HL+3ctTM7J2CiZovDDEgwzYNu8zsS32j+Q= X-Received: by 2002:a5d:9244:: with SMTP id e4mr7771587iol.133.1589042487153; Sat, 09 May 2020 09:41:27 -0700 (PDT) MIME-Version: 1.0 From: Mario Lobo Date: Sat, 9 May 2020 13:41:15 -0300 Message-ID: Subject: Find specific changes between revisions To: vbox@freebsd.org, hackers@freebsd.org, "freebsd-emulation@freebsd.org" X-Rspamd-Queue-Id: 49KCdN07Rsz44QK X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=Quwu5hL5; dmarc=none; spf=pass (mx1.freebsd.org: domain of lobo@bsd.com.br designates 2607:f8b0:4864:20::d42 as permitted sender) smtp.mailfrom=lobo@bsd.com.br X-Spamd-Result: default: False [-2.61 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-emulation@freebsd.org]; DMARC_NA(0.00)[bsd.com.br]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsd.com.br:+]; RCVD_IN_DNSWL_NONE(0.00)[2.4.d.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]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.11)[ip: (0.23), 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)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.32 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.32 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2020 16:41:29 -0000 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. -- Mario Lobo FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]