From owner-freebsd-current@FreeBSD.ORG Fri Jun 24 17:14:41 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDC80106566C for ; Fri, 24 Jun 2011 17:14:40 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id BEAE88FC15 for ; Fri, 24 Jun 2011 17:14:40 +0000 (UTC) Received: by pvg11 with SMTP id 11so2517719pvg.13 for ; Fri, 24 Jun 2011 10:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=pzJPE2HTHrIP93qeGR4j9k10zkH4eLp0aoTcvx2ovFg=; b=B958kpAU9D83+mHdKEMWdjfcx6qkBHKTBFGDFFj6IxZQMCJcdZOd+fOSEufjg6zHxt CvC2/PgoQR46nwd+jZ+RTkYzT7oJ4WoeUBbx6oBMAxnJkzoNZwu9Aa8eoO4FuOEwMLhx 7444lPxi1FvHC2SXvN4sgv3iuUWG2sSwrcpyA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=mbHXJK0cxQMpbLP6xuwIXGpg/owYUuFF8VzOyDNFzDijYFKPxCiM5DfHWppF3EBYNC uO60zxnVJCF8E76E3PLMOeL0g7R9XhMsWes74uURuFm+gLkysLfSY3rnihXBalRtwMzh xQBKUpRZvSlsVakmjCXP0X280RxpXE6P04GYU= Received: by 10.68.60.225 with SMTP id k1mr1825674pbr.443.1308935680265; Fri, 24 Jun 2011 10:14:40 -0700 (PDT) Received: from sidhe.local ([75.101.87.90]) by mx.google.com with ESMTPS id g8sm2190035pba.37.2011.06.24.10.14.37 (version=SSLv3 cipher=OTHER); Fri, 24 Jun 2011 10:14:38 -0700 (PDT) Message-ID: <4E04C5FA.90905@gmail.com> Date: Fri, 24 Jun 2011 10:14:34 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110502 Thunderbird/3.1.10 MIME-Version: 1.0 To: George Kontostanos References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: Re: virtualbox-ose 4.0.8 fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2011 17:14:41 -0000 On 06/24/11 09:41, George Kontostanos wrote: > Hi everyone, > > I am trying to compile virtualbox-ose 4.0.8 but it fails with > > /out/freebsd.amd64/debug -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE > -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING > -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\" > -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" > -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" > -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" > -DRT_LOCK_STRICT -DRT_LOCK_STRICT_ORDER -DDEBUG -DDEBUG_gkontos > -DDEBUG_USERNAME=gkontos -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 > -D__AMD64__ -DIN_RING3 -DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM > -DVBOX_MAIN_SETTINGS_ADDONS -DIN_VMM_STATIC > -DVBOX_WITH_SYS_V_IPC_SESSION_WATCHER -DVBOX_WITH_RAW_MODE > -DVBOX_WITH_NETFLT -DVBOX_WITH_CROGL -DVBOX_WITH_GUEST_PROPS > -DVBOX_WITH_GUEST_CONTROL -DVBOX_WITH_HOSTNETIF_API -DVBOX_WITH_VDE > -DVBOX_WITH_NEW_SYS_V_KEYGEN -DVBOX_WITH_VBOXSDL -DVBOX_WITH_HEADLESS > -DVBOX_WITH_QTGUI -DVBOX_WITH_HGCM -DVBOX_WITH_ALSA -DVBOX_WITH_E1000 > -DVBOX_WITH_VIRTIO -DVBOX_WITH_AHCI -DVBOX_WITH_LSILOGIC > -DVBOX_WITH_RESOURCE_USAGE_API -DVBOX_WITH_PDM_ASYNC_COMPLETION > -DVBOX_WITH_EXTPACK -DVBOX_WITH_VUSB -DVBOX_WITH_S3 -DVBOX_WITH_USB > -DVBOX_WITH_NEW_USB_CODE_ON_DARWIN -DVBOX_WITH_HOSTNETIF_API > -DVBOX_USE_LIBHAL > -Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.8_OSE/out/freebsd.amd64/debug/obj/VBoxSVC/src-server/freebsd/HostHardwareFreeBSD.o.dep > -Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.8_OSE/out/freebsd.amd64/debug/obj/VBoxSVC/src-server/freebsd/HostHardwareFreeBSD.o > -Wp,-MP -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.8_OSE/out/freebsd.amd64/debug/obj/VBoxSVC/src-server/freebsd/HostHardwareFreeBSD.o > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.8_OSE/src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp > kmk: *** Waiting for unfinished jobs.... > kmk: *** Exiting with status 2 > *** Error code 2 > > Stop in /usr/ports/emulators/virtualbox-ose. > *** Error code 1 > > Stop in /usr/ports/emulators/virtualbox-ose. > > I have even try to build with debug symbols but I don't see anything > different. The system is running GENERIC kernel with debug options > disabled. > > options COMPAT_FREEBSD32 > > Is included in the kernel as I saw that this has caused similar > problems in the past. > > Any help would be appreciated It fails a couple ways actually, first on an isDVD in a disk system request...commenting out the inq_(something, not in front of machine with recent svn) parts of that code yields virtualbox compiling, but failing during kmod compile due to the recent change (without revision bump) from cpumask_t to cpuset_t. It seems like recent CAM changes and CPU change are going to require some changes to virtualbox in HostHardwareFreeBSD.c and mp-r0drv.c at least. Even though OS revision was not bumped, perhaps Makefile can switch on presence of cpuset userland utility? Luckily I only csup'd a machine I don't really need Vbox on, so I'm holding back all other machines until Vbox maintainers sort out the issue. Matt