From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: Re: [PATCH 1/1] services: Add agetty service.
Date: Wed, 15 Feb 2017 14:38:06 -0500 [thread overview]
Message-ID: <20170215193806.GA6790@jasmine> (raw)
In-Reply-To: <20170215002417.GA19546@jasmine>
[-- Attachment #1.1: Type: text/plain, Size: 504 bytes --]
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.
>
> 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.
[-- Attachment #1.2: testing.diff --]
[-- Type: text/plain, Size: 1315 bytes --]
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
- terminal_output gfxterm
+ terminal_output console
"
""))
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")))
+ (agetty-service (agetty-configuration
+ (extra "-i")
+ (tty "ttyS0")
+ (baud-rate "115200,38400,9600")))
+
(login-service (login-configuration
(motd motd)))
@@ -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=ttyS0,115200n8 gfxpayload=text earlyprintk=serial,ttyS0,115200"))
(bootloader (grub-configuration
(device "/dev/sda")))
(file-systems
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-02-15 19:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-15 0:12 [PATCH 1/1] services: Add agetty service Leo Famulari
2017-02-15 0:24 ` Leo Famulari
2017-02-15 15:21 ` myglc2
2017-02-15 19:38 ` Leo Famulari [this message]
2017-02-16 7:06 ` [V2 PATCH " Leo Famulari
2017-02-17 7:48 ` Ricardo Wurmus
2017-02-17 14:24 ` Leo Famulari
2017-02-17 18:35 ` myglc2
2017-02-17 22:59 ` Leo Famulari
2017-02-18 1:23 ` myglc2
2017-03-07 14:43 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170215193806.GA6790@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.