From owner-freebsd-current@FreeBSD.ORG Thu Mar 13 09:18:32 2014 Return-Path: Delivered-To: freebsd-current@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 ESMTPS id 3541094B for ; Thu, 13 Mar 2014 09:18:32 +0000 (UTC) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1C332B43 for ; Thu, 13 Mar 2014 09:18:31 +0000 (UTC) Received: from delphij-macbook.local (unknown [IPv6:2001:470:83bf:0:e985:75dd:ac3e:e]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 3A59F1E9EE; Thu, 13 Mar 2014 02:18:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphij.net; s=anubis; t=1394702305; bh=KomH09ed0rs9uCccD+oGr3zg810jU4PtSglFqraMFyA=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=4PUfQcJN8FTpzh8lNmn2xYf/Btmpyup/hU6Dheg+XYFp3GO3TloSBwGTp7e/t/VMi tVS3eAgcTSTRc2aqZeHgLDkj5R6EqAot/NOxDg0HkQY7LgZdgrlOLTeC7iJ8uyiK26 hYtUNk0IC5g3otN4EeJgW2LFhwtGzhDrjLG9VaNk= Message-ID: <532177E0.5010905@delphij.net> Date: Thu, 13 Mar 2014 02:18:24 -0700 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: FreeBSD Current Subject: Re: processes stuck in vmo_de state References: <531EBFDC.3010608@delphij.net> In-Reply-To: <531EBFDC.3010608@delphij.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alexander Motin X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2014 09:18:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, It looks like there is a regression (or a regression that gets exposed by some new feature) that is related to time-keeping or timecounter, although I'm not yet familiar with the related code to tell if my conclusion was right or not. The problem I observed is that when system boots up, it sometimes hangs and pressing ^T on console tells me that sleep(1) is running with 0 second out of 1 second, but the 'real' part of the output is smaller than 1 or sometimes negative. For some reason the console may stop giving any output, but trapping into debugger would unblock it sometimes. When sh(1) stuck in 'vmo_de' state, it would never recover from that and a hard reset is necessary. It seems that commenting hint.apic.0.clock=0 from my loader.conf would mitigate the issue by the way. I'll let the system sit there and do a full universe build, etc. for a while and check it tomorrow. Cheers, -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJTIXfgAAoJEJW2GBstM+nsc1EP/1VbIXscDeufiuAOj+UmDWV1 LsEb7n2M6qVYuL7sTTqY7R5svUATcVRAxG/jjXTHObvvCdB/8Gjk+51K/cCN5wIV bKchxm2mv1ENbkFQJI3akntSbPeNk2iEAzORdvdcD/gkb5sIOxNGfeBp8/PtIO4x 3bKD2aRh7KdHzDWl4PdLiZSstLLuG1w6K0tFaoeWV0wu3e3GgMglK7kSq2H/ZWrn WCtcw9kJOFuRF2kIj1UMygvqL6IDt2UF8As7A4wO/HKCTMm3xj5tHQzn6JZFoRwR I2rILJtKrWRz8TUutV+ivD+2c0ZFpL6qn0ByQFtAPU3S1LQsgHZhgPNanvNVcmRQ zz35CTWYRdxIq1JTZTA9zd/At9jRJtRYenJxgK9btJfwF9TqtmWmwPcOIkaMPr5T uNHO5c+4gMQK96Km08cwkDCPoZTPNHJcAHgTlDMTM+TZ5vjVqyOI4wLcTwLecLca yFJIaBhYektAlPJZoNwNJJsv3ReBF77yKMNzaNAUAM5Cfu06I1DGsxmrFTpvx+t/ nnIjHF0djACuJq8CpVHe4r8gdEUSSc180gzgyyyCJc8cHGc8JphOdY10gNBc6Cki 4h5cAdGUNov0+NkqF0tmEwKvDoCb7ASph7yJbVymt+2t2gh4ay8T1BBH2k50deG8 rsO6gv8qzRZshwyXlZd0 =DaxI -----END PGP SIGNATURE-----