Re: Lenovo x220 - hangs on shutdown

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Mon, 22 Jul 2013 12:51:24 +0300
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_at_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.

Received on Mon Jul 22 2013 - 07:51:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC