From owner-freebsd-current@FreeBSD.ORG Tue Jul 23 05:54:32 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1DE3EC81; Tue, 23 Jul 2013 05:54:32 +0000 (UTC) (envelope-from joel@freebsd.org) Received: from mail.vnode.se (mail.vnode.se [212.247.52.13]) by mx1.freebsd.org (Postfix) with ESMTP id D2FF2284B; Tue, 23 Jul 2013 05:54:31 +0000 (UTC) Received: from mail.vnode.se (localhost [127.0.0.1]) by mail.vnode.se (Postfix) with ESMTP id 419F9E3F07B; Tue, 23 Jul 2013 07:54:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at vnode.se Received: from mail.vnode.se ([127.0.0.1]) by mail.vnode.se (mail.vnode.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L+jW7yJuAv9F; Tue, 23 Jul 2013 07:54:22 +0200 (CEST) Received: from devbox.vnode.local (unknown [83.223.1.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.vnode.se (Postfix) with ESMTPSA id 62062E3F079; Tue, 23 Jul 2013 07:54:21 +0200 (CEST) Date: Tue, 23 Jul 2013 07:54:19 +0200 From: Joel Dahl To: Neel Natu Subject: Re: Lenovo x220 - hangs on shutdown Message-ID: <20130723055419.GD56585@devbox.vnode.local> References: <20130721072045.GB56585@devbox.vnode.local> <20130721161233.GB5991@kib.kiev.ua> <20130721205218.GC56585@devbox.vnode.local> <20130722095124.GH5991@kib.kiev.ua> <20130722203603.GO5991@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Konstantin Belousov , Adrian Chadd , neel@freebsd.org, current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 23 Jul 2013 05:54:32 -0000 On Mon, Jul 22, 2013 at 02:32:06PM -0700, Neel Natu wrote: > Hi Joel, > > On Mon, Jul 22, 2013 at 1:36 PM, Konstantin Belousov > wrote: > > On Mon, Jul 22, 2013 at 10:52:55AM -0700, Adrian Chadd wrote: > >> Hi kib, > >> > >> Is there a wiki page or some other kind of documentation descibing how > >> AMT works? > > It is Intel documentation for vPro. Setting up AMT on the motherboard > > is specific to the motherboard BIOS, you should look at the hardware > > vendor documentation. > > > > Random googling for you revealed e.g. http://wiki.debian.org/AMT > > which is actually good introduction (i.e. there is not much to say > > about AMT usage in fact). > > > >> > >> I'd like to set this up at home on some newer machines (read: buy > >> machines that have this) but I don't know what/where to start. > > For the controlling side of things, I use amttools, available in > > ports collection as comms/amtterm. The manual pages are brief > > but useful. > > > > Amttools provide amttool(1) for power control, and amtterm/gamt for console. > > Could you apply the following patch to amd64/amd64/pmap.c and see if it helps? > http://people.freebsd.org/~neel/patches/pmap_remove_pages.patch Yes, it helps. I can shutdown the machine from X again. -- Joel