From owner-freebsd-x11@freebsd.org Mon Oct 19 01:11:15 2015 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5242A18065 for ; Mon, 19 Oct 2015 01:11:15 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5FE0B1A5B; Mon, 19 Oct 2015 01:11:15 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from 91-159-15-56.elisa-laajakaista.fi ([91.159.15.56] helo=[192.168.255.112]) by mail.kapsi.fi with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Znyyl-0006PQ-3y; Mon, 19 Oct 2015 04:11:11 +0300 Subject: Re: Testing the new i915 driver To: Ed Maste References: <5615A42C.3080908@FreeBSD.org> <24fa3cba31bb8ef5594bde422bce5d09@kapsi.fi> Cc: "freebsd-x11@freebsd.org" From: Arto Pekkanen X-Enigmail-Draft-Status: N1110 Message-ID: <56244327.1090407@kapsi.fi> Date: Mon, 19 Oct 2015 04:11:03 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DwbUr0cn8ibwh6hbguLu54hn6cP6h4VsD" X-SA-Exim-Connect-IP: 91.159.15.56 X-SA-Exim-Mail-From: isoa@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 01:11:15 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DwbUr0cn8ibwh6hbguLu54hn6cP6h4VsD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I did 'lspci -lbcev' and found an unattached device that had the word UAR= T in the specs. The io-range of the device started at 0x50b0. So I put in my /boot/loader.conf console=3D"comconsole" comconsole_port=3D"0x50b0" hw.uart.console=3D"io:0x50b0,br:115200" just like you instructed and, yeah, I got SOL working! Really cool. Now I= can capture console output with amtterm even if system won't even boot. Thank you a lot for the instructions! :) On 13.10.2015 23:36, Ed Maste wrote: > On 13 October 2015 at 15:55, Arto Pekkanen wrote: >> >> Ah, so AMT is some firmware (SMM) resident program that provides acces= s to >> boot console? >> >> I do have a Thinkpad T430 so it probably includes the AMT feature, I g= otta >> check the documentation and see if I can get it working. >=20 > Yeah, I'm not sure of the exact details of the implementation, but > when it's enabled it captures TCP port 16994 and amtterm on another > machine connects to the serial port AMT provides (e.g. /dev/ttyu2). >=20 > To use it I set the following in loader.conf: > comconsole_port=3D"0x50b0" > hw.uart.console=3D"io:0x50b0,br:115200" >=20 > It was a bit awkward to configure -- here are some notes on the steps > I had to take: >=20 > - F1 at boot to enter X220 bios and enable AMT > - Ctrl+P at boot to enter AMT configuration > - Default password is 'admin' > - New password has annoying requirements for case/numbers/punctuation > - I could not get DHCP to work; I assigned a static address separate > from the one used by the OS > - I couldn't get it to work until I enabled legacy redirection >=20 --DwbUr0cn8ibwh6hbguLu54hn6cP6h4VsD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (MingW32) iF4EAREIAAYFAlYkQyoACgkQTBivhqtJa27cqgD9E+GLtw+MmN+wmPtdBQCU433t wddj3/sIt/eMxhGEOvEA/jdC16l7KZm80HV6HwsU0ByqPldYG8mCxMI53+4YIfYe =Ut2w -----END PGP SIGNATURE----- --DwbUr0cn8ibwh6hbguLu54hn6cP6h4VsD--