From owner-freebsd-arch@FreeBSD.ORG Sun Feb 12 20:43:44 2012 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52A14106566B for ; Sun, 12 Feb 2012 20:43:44 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id BA8AA8FC0A for ; Sun, 12 Feb 2012 20:43:42 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q1CKhbLG014337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Feb 2012 22:43:37 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q1CKhb3V066260; Sun, 12 Feb 2012 22:43:37 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q1CKhb9V066259; Sun, 12 Feb 2012 22:43:37 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 12 Feb 2012 22:43:37 +0200 From: Konstantin Belousov To: Ivan Klymenko Message-ID: <20120212204337.GD3283@deviant.kiev.zoral.com.ua> References: <20120203193719.GB3283@deviant.kiev.zoral.com.ua> <4f381dc3.4c300e0a.1364.429eSMTPIN_ADDED@mx.google.com> <20120212202413.GC3283@deviant.kiev.zoral.com.ua> <4f382325.031d0e0a.194a.ffff93bbSMTPIN_ADDED@mx.google.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="I0l8kuPOEar4fhrJ" Content-Disposition: inline In-Reply-To: <4f382325.031d0e0a.194a.ffff93bbSMTPIN_ADDED@mx.google.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: arch@freebsd.org Subject: Re: Prefaulting for i/o buffers X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2012 20:43:44 -0000 --I0l8kuPOEar4fhrJ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 12, 2012 at 10:37:54PM +0200, Ivan Klymenko wrote: > =F7 Sun, 12 Feb 2012 22:24:13 +0200 > Konstantin Belousov =D0=C9=DB=C5=D4: >=20 > > On Sun, Feb 12, 2012 at 10:14:56PM +0200, Ivan Klymenko wrote: > > > =F7 Fri, 3 Feb 2012 21:37:19 +0200 > > > Konstantin Belousov =D0=C9=DB=C5=D4: > > >=20 > > > > http://people.freebsd.org/~kib/misc/vm1.3.patch > > >=20 > > > I have FreeBSD 10.0-CURRENT #0 r231526M: Sat Feb 11 23:06:18 EET > > > 2012 ivan@nonamehost:/usr/obj/usr/src/sys/mk10 amd64 > > >=20 > > > my system is patched > > > http://people.freebsd.org/~kib/drm/all.13.2.patch (I do not know is > > > the important point is whether or not) > > >=20 > > > When using this patch vm1.3.patch or 1.4 or 1.5 or ... including > > > http://people.freebsd.org/~kib/misc/vm1.9.patch the system works > > > fine in the console, but when loaded into a graphical environment - > > > a system gets of global lock (even the mouse cursor does not move) > > > - only reset helps > > >=20 > > > I'm using Gnome GUI + compiz... > >=20 > > I cannot make anything with this report, since it obviously misses any > > data on the deadlock. >=20 > Definitely yes :) but >=20 > >=20 > > BTW, I just put vm1.10 which allows buildworld over NFS to finish > > successfully. >=20 > my kernel config file is assembled with the options > options KDB_TRACE > options KDB # Enable kernel debugger support. > options DDB > also use the patch http://people.freebsd.org/ ~ kib/drm/all.13.2.patch > where not yet implemented the transition to the console - how do I get > at least some data using the break-to-debugger Ctrl + Alt + ESC? Switching the virtual consoles probably would not work on the deadlocked system anyway, since X server needs to process this operation regardless of the presence of KMS. The more important, but not yet realized premise of KMS is the ability to enter the kernel debugger on the graphical console without switching X session console. But this indeed not implemented. I suspect that the serial console, or software watchdog and some ddb script (see ddb(8)) are the only ways forward. --I0l8kuPOEar4fhrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk84JHkACgkQC3+MBN1Mb4jqjgCghHZ7koafxSaurlR9CA2bVQwP woEAnj9cqYz8ly8xuAbUXksABMesNOLU =IK5/ -----END PGP SIGNATURE----- --I0l8kuPOEar4fhrJ--