From owner-freebsd-xen@FreeBSD.ORG Sat Nov 20 07:40:12 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 295E0106564A; Sat, 20 Nov 2010 07:40:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8C13B8FC08; Sat, 20 Nov 2010 07:40:11 +0000 (UTC) Received: by wwd20 with SMTP id 20so5320176wwd.31 for ; Fri, 19 Nov 2010 23:40:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=v51FMsKIiJfnWuweuqgm4e3YkZ0v1nfTfOrog4aW7Rw=; b=c88ivaPxgn2SAUZzitt6aiYqZebhpE5C6/L54bq7+2M0uXoiIbUrr8154JaC2zmUxa y//K/UiF9EAS7c8wWWS1S64+0qck3VpuoMeEwCtCLLvCJT/F4CnDBGJKZY/XaUn/n8ov XPeYRbV93aBJDLFc+GZGAConB0XGAUATggL/g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=dJCu0I8Ic+N35jD5Wd+PuwI9VmzmUEWz5IrYv6De8IPCZzsZW5NxN+QIyoVmZo8Aiz ijvCkktEPoV8RH8h+WWqdP90CGcNzHqxJ1ShKN6bgndXFC/Zq/zqBIjzAeLTUynPMhb5 Pbw3lqSGao9hW776uhjj3hhXvVxv0Ga82tQvM= MIME-Version: 1.0 Received: by 10.216.173.7 with SMTP id u7mr1862865wel.50.1290238809672; Fri, 19 Nov 2010 23:40:09 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.65.210 with HTTP; Fri, 19 Nov 2010 23:40:09 -0800 (PST) In-Reply-To: <4CE77AE7.3010106@freebsd.org> References: <4CE68CD7.10804@freebsd.org> <1290191413.1758.16.camel@localhost> <4CE77AE7.3010106@freebsd.org> Date: Sat, 20 Nov 2010 15:40:09 +0800 X-Google-Sender-Auth: ohnLxnV_9-fF4GtwFgiz76vNijw Message-ID: From: Adrian Chadd To: Colin Percival Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-xen@freebsd.org" Subject: Re: system stalls when wallclock/TOD nudged X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2010 07:40:12 -0000 I bet if you did some slicing of -head versions, you'll find an earlier version that doesn't do that. :-) ADrian On 20 November 2010 15:38, Colin Percival wrote: > On 11/19/10 10:30, Larry Maloney wrote: >> Does your motherboard have a hardware watchdog timer? > > Not one which is accessible from within a DomU. :-) > > It seems that this bug is related somehow to the idle thread sleeping -- = when > I comment out the call to idle_block from cpu_idle_hlt in i386/machdep.c = the > stalling goes away. > >> On Fri, 2010-11-19 at 06:42 -0800, Colin Percival wrote: >>> I'm seeing a weird bug here, and I'm wondering if anyone else has exper= ienced >>> this and/or has any clue how to fix it. >>> >>> During the boot process, in the middle of running rc.d scripts, my Free= BSD/Xen >>> instance stalls. =A0It does nothing until I send a shutdown signal, at = which point >>>> [XEN] hypervisor wallclock nudged; nudging TOD. >>> and a couple buffered lines of rc.d script output are printed. =A0From = there the >>> rc.shutdown script starts running, but it too stalls after a short time= ; then I >>> see >>>> [XEN] hypervisor wallclock nudged; nudging TOD. >>>> Nov 19 14:08:33 init: timeout expired for /bin/sh on /etc/rc.shutdown:= Interrupted system call; going to single user mode >>> printed, suggesting that the shutdown watchdog timer at least managed t= o not get >>> stuck even though everything else did. > > -- > Colin Percival > Security Officer, FreeBSD | freebsd.org | The power to serve > Founder / author, Tarsnap | tarsnap.com | Online backups for the truly pa= ranoid > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" >