From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 11 13:33:18 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 01615449 for ; Mon, 11 Nov 2013 13:33:18 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-vc0-x22f.google.com (mail-vc0-x22f.google.com [IPv6:2607:f8b0:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ABDE02785 for ; Mon, 11 Nov 2013 13:33:17 +0000 (UTC) Received: by mail-vc0-f175.google.com with SMTP id ht17so1161922vcb.20 for ; Mon, 11 Nov 2013 05:33:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yE5bm5WLn8gmrCFqwKMx77L7trFibWS9FGpl352sDAU=; b=JPnuJwBN+vZleFNx/lzlGECUOlOtynkO6/OsDhS3XTDIEgzeje/TxZ6oACUuPODGVf Gi5IgeTJJZD5LQzh9s8IccNdwjUVnK4ut3KSAAm74zhb8gHvchfl88Grac/MxcU8uYK+ 037MGbyvjPGqyoFXT6KctawbqPIydV+Q4ihgw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=yE5bm5WLn8gmrCFqwKMx77L7trFibWS9FGpl352sDAU=; b=ZtQE3sMuV4+C9N5ZgqPdF38ZR8lH9Kz3oHPWHnVtbVA8zvJx1TyUpnmnOrz8K+EqM/ kdXHDD4XkACPON5D/l37DamQRvzZUjoiXN2cTHdOfA4FoG2gtxof2BzcU7ym22VhQIXF IESaKI7BRI9VGSZoEnj3NWSxRdWDD2i0Ki+ZlT9MjC8DiLJX4v6tjhAmWd32wXX5lFC+ KRc+cyFLemUtg9BDVheIt42qDtK5UV11Ff06xZPoSraoKXjM7Miaue8TxDYa/54PXWFM RFBToWYa8CUKm4QVbFrKIjjLu1QuMxNW1+Q8mK4/iHCSj3a5kFELVh+MGibAfRHOozez vXsw== X-Gm-Message-State: ALoCoQmTiqmjQLkQC23fdEsItdoajyZ8+RzjYWQUCIpX8gvaY85pcO4fRy5MlMjKeNOVYEKE3hk8 MIME-Version: 1.0 X-Received: by 10.52.30.104 with SMTP id r8mr16177240vdh.18.1384176796604; Mon, 11 Nov 2013 05:33:16 -0800 (PST) Received: by 10.58.68.101 with HTTP; Mon, 11 Nov 2013 05:33:16 -0800 (PST) In-Reply-To: <527E6F25.7000101@gmail.com> References: <526944B2.4040308@gmail.com> <52711A32.1090507@gmail.com> <74691383232657@web1m.yandex.ru> <52727961.7060607@gmail.com> <341571383246363@web22m.yandex.ru> <52736A40.4070609@gmail.com> <52755C6D.1080507@gmail.com> <52776705.6000502@gmail.com> <5277BEC0.8070505@gmail.com> <527E6F25.7000101@gmail.com> Date: Mon, 11 Nov 2013 11:33:16 -0200 Message-ID: Subject: Re: [Call for Testers] VirtualBox 4.3.0 From: Mario Lobo To: "Mike C." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= , "freebsd-emulation@freebsd.org" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 11 Nov 2013 13:33:18 -0000 How about these? Any clues? I've been trying to figure this out for days and I'm still stuck. kBuild: Compiling VBoxVMM - /usr/ports/emulators/ virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/VMM/VMMR3/PATMA.asm /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/include/iprt/x86e= xtra.mac:143: error: (AssertCompileSizeML:2) cannot reference symbol `X86TSS16_size' in preprocessor /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/include/iprt/x86e= xtra.mac:143: warning: (AssertCompileSizeML:5) X86TSS16 is 1 bytes instead of 44 /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/include/iprt/x86e= xtra.mac:206: error: (AssertCompileSizeML:2) cannot reference symbol `X86TSS64_size' in preprocessor /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/include/iprt/x86e= xtra.mac:206: warning: (AssertCompileSizeML:5) X86TSS64 is 1 bytes instead of 136 kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/out/freebsd.amd6= 4/release/obj/VBoxVMM/VMMR3/PATMA.o] Error 1 Thanks, Mario Lobo 2013/11/9 Mike C. > > > On 11/09/13 07:00, Bernhard Fr=F6hlich wrote: > > > > Am 04.11.2013 16:35 schrieb "Mike C." > >: > >> > >> > >> > >> On 11/04/13 09:21, Volodymyr Kostyrko wrote: > >> > 02.11.2013 22:11, Mike C. wrote: > >> >>> Weird. VirtualBox is working for me on 10-STABLE (BETA2 right now = I > >> >>> suppose). `VBoxManage list ostypes` yields a lengthy list of > systems. > >> >>> > >> >>> Maybe this is something about build options? I'm building it only > with > >> >>> DBUS GUESTADDITIONS NLS QT4 X11. Can you share your list of build > >> >>> options? > >> >>> > >> >> > >> >> I used the same options to compile and it and the include change, I > was > >> >> able to compile and install, but I still get the same problem with > > 4.2... > >> >> I need to run "VirtualBox" with root or sudo -u myuser... > >> > > >> > Have you added your user to vboxusers group? What kind of errors you > >> > see? Is kernel module loaded? > >> > > >> > >> the user in the vboxusers and kernel modules are loaded. > >> > >> Its a very weird behavior, because with sudo -u myuser I still using m= y > >> regular user! > >> > >> What I guess is a segfault > >> pid 2941 (VirtualBox), uid 1001: exited on signal 11 > >> > >> gdb: > >> Copying output to gdb.txt. > >> (gdb) run > >> Starting program: /usr/local/bin/VirtualBox > >> (no debugging symbols found)...[New LWP 100371] > >> VirtualBox: Error -10 in SUPR3HardenedMain! > >> VirtualBox: Effective UID is not root (euid=3D1001 egid=3D1001 uid=3D1= 001 > >> gid=3D1001) > > > > This is it! Please have a look at /usr/local/lib/virtualbox and > > /usr/local/bin/VirtualBox and check that they are owned by root and the > > suid bit is set. I don't know yet who is stripping that but it could be > > that you are building the port as non-root or the ports staging does > > something stupid. > > > > I'M building with root and the permissions are the default (this was > reported before several times, its not just with 4.3, 4.2 had the same > behavior with FreeBSD10) > > -rwsr-xr-x 1 root vboxusers 27712 Nov 2 17:15 > /usr/local/lib/virtualbox/VirtualBox > > > lrwxr-xr-x 1 root wheel 36 Nov 2 17:15 /usr/local/bin/VirtualBox -> > /usr/local/lib/virtualbox/VirtualBox > > Thanks > > -- > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to " > freebsd-emulation-unsubscribe@freebsd.org" > --=20 Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE)