From owner-freebsd-current@FreeBSD.ORG Mon Jul 22 17:52:57 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 A7D4F79E; Mon, 22 Jul 2013 17:52:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E79D82B71; Mon, 22 Jul 2013 17:52:56 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hq4so2208564wib.2 for ; Mon, 22 Jul 2013 10:52:55 -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=qUQXNf9s8t3lAbr/Flza1EMiVJL0/MsmXOCqUuJOvXg=; b=H/xcQfivhT/2I97g+WSkr96WXZPkSJjVd+KIEM0rkAGnzwNSUQqohYvQY7OAtXuxUE g0mz4Dhiv6Gdqz3KZGlpteN1Pugj9uMHwSKwWgrewA1SvdpiWSwYoqy5krIkcy3V6FLf SJCnwpJDc4cX/k4m+ctRMaeu3LNNr+1rBlAeJaw7JciqT7RW1SyyoCyG0ENzPBnSb7rq Mr6wdJVruX3Vd58BQqmdPt+FPP93N18ouxkMuk3iPaLo52i4a6cMmusx9AknP+DcTkht P6+t9xOvzyjWFXR4r+KyenFJ9MOUwcPiteaVAHCmcZv0PCT/5lvpd/reEzmN8Hs7Pp2c TgZg== MIME-Version: 1.0 X-Received: by 10.180.39.212 with SMTP id r20mr19449629wik.30.1374515575206; Mon, 22 Jul 2013 10:52:55 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Mon, 22 Jul 2013 10:52:55 -0700 (PDT) In-Reply-To: <20130722095124.GH5991@kib.kiev.ua> References: <20130721072045.GB56585@devbox.vnode.local> <20130721161233.GB5991@kib.kiev.ua> <20130721205218.GC56585@devbox.vnode.local> <20130722095124.GH5991@kib.kiev.ua> Date: Mon, 22 Jul 2013 10:52:55 -0700 X-Google-Sender-Auth: 3R01ncLsL0fDg66_mK-vYrzA5EI Message-ID: Subject: Re: Lenovo x220 - hangs on shutdown From: Adrian Chadd To: Konstantin Belousov Content-Type: text/plain; charset=ISO-8859-1 Cc: neel@freebsd.org, current@freebsd.org, Joel Dahl 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: Mon, 22 Jul 2013 17:52:57 -0000 Hi kib, Is there a wiki page or some other kind of documentation descibing how AMT works? 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. Thanks! -adrian On 22 July 2013 02:51, Konstantin Belousov wrote: > On Sun, Jul 21, 2013 at 10:52:18PM +0200, Joel Dahl wrote: >> On Sun, Jul 21, 2013 at 07:12:33PM +0300, Konstantin Belousov wrote: >> > On Sun, Jul 21, 2013 at 09:20:45AM +0200, Joel Dahl wrote: >> > > On Tue, Jul 16, 2013 at 10:48:35PM +0200, Joel Dahl wrote: >> > > > Hi, >> > > > >> > > > Yesterday I upgraded my Lenovo x220 to the latest current (r253368). Now it hangs when I do a shutdown from an xterm. The screen just goes black and the fan never spins down. It doesn't respond to ping. >> > > > >> > > > It didn't do this while I was running a current from mid-June. >> > > > >> > > > Any specific revision I should try to back out before I start a time consuming binary search? >> > > >> > > I found it. r252652 works. r252653 does not. >> > >> > What is the chipset on your machine ? >> >> Intel Core i7-2640M / Mobile Intel QM67 Express Chipset >> >> > Do you have AMT ? If yes, please configure serial over LAN using AMT >> > and use it for the console, to obtain the usual debugging information >> > from the kernel. At least, 'ps' output from ddb is needed. >> >> I found "Intel (R) AMT Control" in the BIOS. It's enabled. I haven't figured >> out how it works yet though. > > You need another machine, where you should install amtterm. > On the target, use the loader.conf to redirect console to > AMT Serial over LAN device. > > On my test machine, I have (output from pciconf -lv) > > uart2@pci0:0:22:3: class=0x070002 card=0x200a8086 chip=0x1c3d8086 rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = '6 Series/C200 Series Chipset Family KT Controller' > class = simple comms > subclass = UART > > and then I put into loader.conf > > console="comconsole" > comconsole_pcidev="0:22:3" > > Connect to the target with amtterm. Note that during the PCI bus scan > the connection could be lost, you would need to reconnect. > > You need to set up AMT in the BIOS, including enable of the SoL, remote > connections, password etc. Intel policy on the password strength is > distinctly annoying.