From owner-freebsd-current@FreeBSD.ORG Wed Sep 19 21:08:24 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63E771065675; Wed, 19 Sep 2012 21:08:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2DA848FC1C; Wed, 19 Sep 2012 21:08:23 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so3823665pbb.13 for ; Wed, 19 Sep 2012 14:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=P27BZO7cyDkhkoorUK2jawM20D2h6S1uc6XpTRnCOfY=; b=NFteFls6l1AznZ/I5WVCab/TRB9lqMqkjlTQdDOhYttGmsrr6kzWWYnJfRX8BL9ExB OHcuHZmAkIPeueGOudVM8wCdkxeQvFyk6biihQ3ZbMvY7Qknevm04eLmihrOt91kpDgf nU7Hd/C1wErVMsvqKLCpudDZHrHYx1BJBezdoFOiiQLU7CzvRAqnHGVSC7kgMfroats2 i1Af2iJl6iwXG11LxWvmuGr/tQecXvq627QVvFt8aG+ia+lBbBN2cf1Isw5kd0/GPXXO nQwp9w2Nb6tnqyG2LIxnTlC2P6WB0gNwdMptqoZovvygGjCcAzmp4ceLxxWoPmDK+lVr RP8Q== MIME-Version: 1.0 Received: by 10.66.85.4 with SMTP id d4mr392596paz.11.1348088903842; Wed, 19 Sep 2012 14:08:23 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Wed, 19 Sep 2012 14:08:23 -0700 (PDT) In-Reply-To: <1348088706.95562.61.camel@revolution.hippie.lan> References: <80840563.20120920002200@serebryakov.spb.ru> <1252171344.20120920003724@serebryakov.spb.ru> <1348087584.95562.55.camel@revolution.hippie.lan> <1859311530.20120920005449@serebryakov.spb.ru> <1348088706.95562.61.camel@revolution.hippie.lan> Date: Wed, 19 Sep 2012 14:08:23 -0700 X-Google-Sender-Auth: DjRHPMTxyoP6u8XMcLjSC3sCZLc Message-ID: From: Adrian Chadd To: Ian Lepore Content-Type: text/plain; charset=ISO-8859-1 Cc: 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 21:08:24 -0000 On 19 September 2012 14:05, Ian Lepore wrote: >> Add something to atrtc_start() to only loop over that loop say, 64k >> times before dropping out; and print an error if it hits that >> condition. >> >> Also, what's that RTCSA_8192 bit do? > > That should set the interrupt rate really high, to minimize the time > wasted waiting for the status bit to change in the register. Maybe > that's the part that vbox isn't emulating well and so it never simulates > an interrupt and leaves that loop. Or maybe because the loop is a tight > busy-wait the emulator never gets control to simulate the occurance of > the interrupt. Right. Being totally clueless, is atrc_start() called just at probe/attach, or during normal operation? adrian