From owner-freebsd-current@FreeBSD.ORG Wed Sep 19 22:24:03 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C93611065670; Wed, 19 Sep 2012 22:24:03 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF368FC15; Wed, 19 Sep 2012 22:24:02 +0000 (UTC) Received: by lbbgg13 with SMTP id gg13so1989812lbb.13 for ; Wed, 19 Sep 2012 15:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=eUpypO4JkfAIbu/I0uoGbjTqakmGQIzx4XP4QdgZXqM=; b=m15axXiKAmc1d/VHE+vNhjSy4LKPNpPGdE0dMZGalRAubbHo/Xe0vXpPbm4gxr5ofD Rh2mFJq+ItQt/DvjO/TImruOwrFgq+aFlmNrqYfRmdpd7VsPlQ6XgFbg8VJtTduo55nq Bpg9VYfaBg59ingWPZJoPvYmDmbNk6ja+zZZFKXFH1pM3Zgm0OFYALKa9cunspHj1eTO X6HE2vtYtYm77ua1WOXgHyM5FdrxtlgdF4up6RJZ+GkndAuFG/lpvCLJmqaim7x9hIRp /n5/oR6XBfacMCiwx3iK+egDG8YL9FxdNPsyMm0ZhhpzzfWejM5zVJB/RNa4+YrcOq3l XrlA== Received: by 10.152.111.227 with SMTP id il3mr3779258lab.23.1348093441494; Wed, 19 Sep 2012 15:24:01 -0700 (PDT) Received: from ?IPv6:2001:470:28:4ba:bd0d:c674:d614:f7e2? (altair.xvoid.org. [2001:470:28:4ba:bd0d:c674:d614:f7e2]) by mx.google.com with ESMTPS id gd18sm990723lab.1.2012.09.19.15.23.58 (version=SSLv3 cipher=OTHER); Wed, 19 Sep 2012 15:24:00 -0700 (PDT) Message-ID: <505A4604.5030306@gmail.com> Date: Thu, 20 Sep 2012 02:24:04 +0400 From: Yuri Pankov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Garrett Cooper References: <80840563.20120920002200@serebryakov.spb.ru> <1252171344.20120920003724@serebryakov.spb.ru> <1348087584.95562.55.camel@revolution.hippie.lan> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Ian Lepore , lev@freebsd.org, freebsd-current@freebsd.org Subject: Re: Latest -CURRENT/i386 could not start under VirutalBox 4.1.18 and 4.2 (Windows host): hangs up after atrtc0 detection 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: Wed, 19 Sep 2012 22:24:03 -0000 On Wed, 19 Sep 2012 14:57:30 -0700, Garrett Cooper wrote: > On Wed, Sep 19, 2012 at 1:46 PM, Ian Lepore > wrote: > > ... > >> Yes, exactly. I updated the PR to request that my patch not get >> committed because it locks up virtualbox. I hope to find time soon to >> learn enough about installing/configuring virtualbox to figure out what >> the problem is (offhand,I suspect it hangs in the loop that probes for >> the need to re-index, because vbox doesn't quite emulate the hardware >> behavior fully). > > Why not just detect VBox and disable that functionality? VMware at > least has a sane way of determining whether or not you're running it > based on the SMBios ident.. VMware (as well as KVM and Xen) provides reliable way to detect its presence by checking "hypervisor present" CPUID's bit or accessing its I/O port, while VirtualBox doesn't do that, and matching SMBios ident doesn't seem to be really useful. Are there better and reliable ways of detecting VirtualBox?