From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 1/1] services: Add agetty service. Date: Wed, 15 Feb 2017 14:38:06 -0500 Message-ID: <20170215193806.GA6790@jasmine> References: <8b9a83141665a7a86aa3d3c9ba6363c1ba2e93cd.1487117562.git.leo@famulari.name> <20170215002417.GA19546@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ce5P3-0000bY-Eo for guix-devel@gnu.org; Wed, 15 Feb 2017 14:38:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ce5Oy-0003h2-HQ for guix-devel@gnu.org; Wed, 15 Feb 2017 14:38:13 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39834) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ce5Oy-0003gV-9W for guix-devel@gnu.org; Wed, 15 Feb 2017 14:38:08 -0500 Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 29C067E1B5 for ; Wed, 15 Feb 2017 14:38:07 -0500 (EST) Content-Disposition: inline In-Reply-To: <20170215002417.GA19546@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --GRPZ8SYKNexpdSJ7 Content-Type: multipart/mixed; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 14, 2017 at 07:24:17PM -0500, Leo Famulari wrote: > When I connect to my physical device using the Keyspan USA-19H > serial-to-USB converter, I can watch the system boot, but Shepherd never > reports that the 'term-ttyS0' service has started, and I never see the > MOTD or login prompt. >=20 > Any advice or debugging ideas? Good news, it works! My method of testing was no good. I just successfully booted and logged in using attached diff on top of the agetty-service patch. --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="testing.diff" Content-Transfer-Encoding: quoted-printable diff --git a/gnu/system/grub.scm b/gnu/system/grub.scm index b18b8be6d..d94b1a266 100644 --- a/gnu/system/grub.scm +++ b/gnu/system/grub.scm @@ -197,7 +197,7 @@ system string---e.g., \"x86_64-linux\"." insmod efi_uga fi =20 - terminal_output gfxterm + terminal_output console " "")) =20 diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 3ec343570..55020b147 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -275,6 +275,11 @@ You have been warned. Thanks for being so brave. (tty "tty1") (auto-login "root"))) =20 + (agetty-service (agetty-configuration + (extra "-i") + (tty "ttyS0") + (baud-rate "115200,38400,9600"))) + (login-service (login-configuration (motd motd))) =20 @@ -340,6 +345,9 @@ Use Alt-F2 for documentation. (host-name "gnu") (timezone "Europe/Paris") (locale "en_US.utf8") + (kernel linux-libre-4.1) + (kernel-arguments + '("console=3DttyS0,115200n8 gfxpayload=3Dtext earlyprintk=3Dserial,tt= yS0,115200")) (bootloader (grub-configuration (device "/dev/sda"))) (file-systems --Qxx1br4bt0+wmkIi-- --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlikrh0ACgkQJkb6MLrK fwitphAAr4P5pHC0bEXeinYviZEDZfdGgz5+Hq9EZJW32RdOg0ANLkCmwu/ax4C3 6TqnCCyXPHcwHcAtvIp/FI1HP0YEOlQXRCZYPfDyanf0Rf31zdRAzKjcX2+N2b3t aSlevMwTXyszE3xAGdePmoeAH9kupYbLMJuWFiBX/dDJF4LIuQGwMs0J8RWstrNn LBuNl+BEr0ONAKl4Gagibg/93WAG4KV4hBSs1BYbuzfjumayBItYTxoZyVIAoHoi J6s1TpYmquqbXAjTjp/ikxyAKBRYNPXZ1/fs4f1RsOOzaEZiy/Dm3+QRvcIpi810 drYf082t3CZDXfSVLyWOWjf/JvG+dCtEvegFBll9U2hRm8eaP+dZKpgVsNH/5Kqo h57K8bvjEpmp2BLuTx3k6tPKWhbSwmF5hjpQSek+WI5R56hcv3JZRfs5w5cz3KZl yRJnw2AREjalsJv+iMmK4myL+al7jS1xWZfTki6NwMuJndcSByN9cr29SYcSmOBZ Pmvu3Xjyq/aw+RTDAYpH4oqdZ1D3pgomvJKSfuNkhVY3Dp1CDtZN7t7rZ0fmVSpI P9BN6BGiAM9nx11/o2kaOHwy+UmtP+E9Op7GEVDvqOdjTVAXxaNkUve5AM9R1qNP M5YNLARJrgWYprfrT8LZIET9gd892JaDHOvHVNj/OrcN3fg4S14= =Dxf2 -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7--