From: George myglc2 Clemmer <myglc2@gmail.com>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 30467@debbugs.gnu.org
Subject: bug#30467: GuixSD fails to display login prompt on headless server
Date: Wed, 21 Feb 2018 20:35:34 -0500 [thread overview]
Message-ID: <86mv01iz6h.fsf@gmail.com> (raw)
In-Reply-To: <20180217180348.1961da18@scratchpost.org>
[-- Attachment #1: Type: text/plain, Size: 1764 bytes --]
Hi Danny,
I think we got side-tracked to the serial port when my real issue is
with the VGA port. Maybe my bug report was not clear. Let me clarify ...
My headless server stopped displaying the console tty login *on the VGA
port* somewhere between (GNU Guix) 0.13.0.4589-74bea6 (my G18) and (GNU
Guix) 0.13.0.5042-6e385 (My G19). In the later version, when I reboot
the VGA displays 1) the BIOS prompt, 2) the grub boot menu, 3) "Booting
GNU with Linuxlibre ..." for a couple seconds, and then 4) a blank.
In either version, this config ...
(agetty-service (agetty-configuration (tty "ttyS1")
(baud-rate "115200")))
... causes a login prompt to be raised on ttyS1 which, on my system, is
mapped to IPMI Serial over Lan (SOL). However recently you said ...
On 02/15/2018 at 15:54 Danny Milosavljevic writes:
> In the long run please remove your agetty-service, it should automatically appear
> (it recovers the settings from the "console" kernel-argument).
So I tried that with a build from today (guix (GNU Guix)
0.13.0.5116-e272), and *no login* is raised on ttyS1 (My G46, sys.scm
attached).
However, if I *ignore your advice* a login prompt *is raised* on ttyS1
(My G45).
So, IIUC, it's not working the way you said it would, but it's not a
problem for me because I can just use the agetty-service.
Not sure your questions are still relevant, but here is what I see ...
On 02/17/2018 at 17:05 Danny Milosavljevic writes:
> What does
>
> stty -F /dev/ttyS1
>
> say?
g1@g1 ~/www$ sudo stty -F /dev/ttyS1
speed 115200 baud; line = 0;
-brkint -imaxbel
On 02/17/2018 at 17:04 Danny Milosavljevic writes:
> Huh, please try
>
> strace -f agetty /dev/ttyS1 >log 2>&1
>
> and send the log to the list...
(log.gz attached)
HTH - George
[-- Attachment #2: log.gz --]
[-- Type: application/octet-stream, Size: 2937 bytes --]
[-- Attachment #3: sys.scm --]
[-- Type: application/octet-stream, Size: 2068 bytes --]
;;; GuixSD headless server
(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules
admin
base ; glibc-utf8-locales
certs
cups
disk
emacs
freeipmi
linux ; mdadm
virtualization ; qemu
rsync
screen
ssh
version-control ; git
wget
xorg ; xauth
)
(operating-system
(host-name "g1")
(timezone "America/New_York")
(locale "en_US.utf8")
(kernel-arguments '("console=ttyS1,115200"))
;; RAID1 root : NVMe M.2SSD + 2 HDs
(bootloader (grub-configuration (target "/dev/nvme0n1")
(terminal-outputs '(console))
(terminal-inputs '(serial console))
(serial-speed 115200)
))
(initrd (lambda (file-systems . rest) (apply base-initrd file-systems
#:extra-modules '("raid1")
rest)))
(mapped-devices (list (mapped-device
(source '("/dev/nvme0n1p1" "/dev/sda1" "/dev/sdb1"))
(target "/dev/md3")
(type raid-device-mapping))))
(file-systems (cons (file-system
(title 'device)
(device "/dev/md3")
(mount-point "/")
(type "ext4")
(dependencies mapped-devices))
%base-file-systems))
(swap-devices '("/dev/nvme0n1p2" ))
(users (cons* (user-account (name "g1")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory (string-append "/home/" name)))
(user-account (name "admin")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory (string-append "/home/" name)))
%base-user-accounts))
(packages (cons*
cups
emacs-no-x-toolkit
emacs-guix
emacs-zenburn-theme
freeipmi
git
glibc-utf8-locales
gnu-make
mdadm
magit
nss-certs ;for HTTPS access
openssh
parted
qemu
rsync
screen
smartmontools
tree
wget
xauth
%base-packages))
(services (cons* (dhcp-client-service)
(ntp-service)
(service openssh-service-type (openssh-configuration
(x11-forwarding? #t)))
%base-services)))
next prev parent reply other threads:[~2018-02-22 1:38 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-15 15:01 bug#30467: GuixSD fails to display login prompt on headless server George myglc2 Clemmer
2018-02-15 15:54 ` Danny Milosavljevic
2018-02-15 16:23 ` Leo Famulari
2018-02-15 21:29 ` George myglc2 Clemmer
2018-02-16 0:24 ` George myglc2 Clemmer
2018-02-16 0:53 ` Danny Milosavljevic
2018-02-16 1:38 ` George myglc2 Clemmer
2018-02-17 17:04 ` Danny Milosavljevic
2018-02-22 1:35 ` George myglc2 Clemmer [this message]
2018-02-22 3:29 ` George myglc2 Clemmer
2018-02-22 11:41 ` Danny Milosavljevic
2018-02-23 15:46 ` George myglc2 Clemmer
2018-02-24 14:51 ` Danny Milosavljevic
2018-02-26 17:02 ` George myglc2 Clemmer
2018-02-26 17:32 ` Danny Milosavljevic
2018-02-26 18:50 ` George myglc2 Clemmer
2018-02-27 12:08 ` Danny Milosavljevic
2018-02-27 13:39 ` George myglc2 Clemmer
2018-02-17 17:05 ` Danny Milosavljevic
2018-03-08 14:16 ` myglc2
2018-03-09 23:23 ` 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86mv01iz6h.fsf@gmail.com \
--to=myglc2@gmail.com \
--cc=30467@debbugs.gnu.org \
--cc=dannym@scratchpost.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).