Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2013 12:51:24 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Joel Dahl <joel@freebsd.org>
Cc:        current@freebsd.org, neel@freebsd.org
Subject:   Re: Lenovo x220 - hangs on shutdown
Message-ID:  <20130722095124.GH5991@kib.kiev.ua>
In-Reply-To: <20130721205218.GC56585@devbox.vnode.local>
References:  <E6983629-AD08-42F4-91B3-D07FA1999B21@vnode.se> <20130721072045.GB56585@devbox.vnode.local> <20130721161233.GB5991@kib.kiev.ua> <20130721205218.GC56585@devbox.vnode.local>

next in thread | previous in thread | raw e-mail | index | archive | help

--QdA8+0Hc+u1HcecE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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,
> > > >=20
> > > > Yesterday I upgraded my Lenovo x220 to the latest current (r253368)=
=2E Now it hangs when I do a shutdown from an xterm. The screen just goes b=
lack and the fan never spins down. It doesn't respond to ping.
> > > >=20
> > > > It didn't do this while I was running a current from mid-June.
> > > >=20
> > > > Any specific revision I should try to back out before I start a tim=
e consuming binary search?
> > >=20
> > > I found it. r252652 works. r252653 does not.
> >=20
> > What is the chipset on your machine ?
>=20
> Intel Core i7-2640M / Mobile Intel QM67 Express Chipset
>=20
> > 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.
>=20
> I found "Intel (R) AMT Control" in the BIOS. It's enabled. I haven't figu=
red
> 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=20
AMT Serial over LAN device.

On my test machine, I have (output from pciconf -lv)

uart2@pci0:0:22:3:   class=3D0x070002 card=3D0x200a8086 chip=3D0x1c3d8086 r=
ev=3D0x04 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D '6 Series/C200 Series Chipset Family KT Controller'
    class      =3D simple comms
    subclass   =3D UART

and then I put into loader.conf

console=3D"comconsole"
comconsole_pcidev=3D"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.

--QdA8+0Hc+u1HcecE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iQIcBAEBAgAGBQJR7QCcAAoJEJDCuSvBvK1ByAIP/jmGCKUpcMtifeLiHbXx1C+b
Q26igffDy7u6kCsye6ZAjQYVBGwuaqwRTEWTi772+FEPu9zs3caKlOyczcr/2h2o
f0sCwKu93zRwVg1UjdJGhdwptYc/hPIg7LQg4Hqc+8TBoLa7QD/tI5WGIP+vMdKu
AnR0smRshmP7Kp047o5i/aMkLBfGGyY+fPZY7lCRr6GFwDKZpVZEuceNJIzDMMxX
kW4AYa2WmC5EXPB0Cwbe9jlkPlkABMtTmgvNfX4ngqI9DBJo2pd8LsJjUfUB2WR/
AtIXft0XX45ObXNiULYWW+0EHgbx6h8lgzYPeFHCjmEauJ85VuZrEPaZdiWj36bz
fGkllYZfcPgaJnKQAFrokDz5tK45S5cTGzNMmQoVH4BndcFaTj5VanX8uH/x28OO
b812GyPBiMUOc/PIny03b4Ty0ZzCaOXsxLgEfPZ+r6zBA7e/mBRt7T+ClyMRVtN4
9tXpt9FclcD6sFJyQxbKEY8RB3ur71Jne4vgVGHRycbt4ZudmMWs4v2FwamJ/Rna
Mwpk3+CUd6RqxAcm7m2GLVBqLtEOKEvI72oj2iWNuvJ+WN/mxaX6QXPH3YjA58Ai
1x3WZWVzjkGDxjV9yBo3MymHC4X50oill6BYInU9exjyvuQmxLP4L+ELf2DeEg9/
BEomWvs5tmXjyFLV97ye
=q4CO
-----END PGP SIGNATURE-----

--QdA8+0Hc+u1HcecE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130722095124.GH5991>