quick-keyboard-83126
03/02/2023, 5:42 PMMar 2 17:41:24 alpine <http://daemon.info|daemon.info> init: process '/sbin/getty -L 0 ttyS0 vt100' (pid 5836) exited. Scheduling for restart.
Mar 2 17:41:24 alpine <http://daemon.info|daemon.info> supervise-daemon[6021]: Child command line: /usr/local/bin/rancher-desktop-guestagent -kubernetes=false -iptables=false -debug
Mar 2 17:41:24 alpine daemon.warn supervise-daemon[3443]: /usr/local/bin/rancher-desktop-guestagent, pid 6021, exited with return code 0
Mar 2 17:41:25 alpine <http://daemon.info|daemon.info> init: starting pid 6047, tty '/dev/ttyS0': '/sbin/getty -L 0 ttyS0 vt100'
Mar 2 17:41:25 alpine auth.err getty[6047]: tcgetattr: I/O error^M
Mar 2 17:41:29 alpine <http://daemon.info|daemon.info> supervise-daemon[6084]: Child command line: /usr/local/bin/rancher-desktop-guestagent -kubernetes=false -iptables=false -debug
Mar 2 17:41:29 alpine daemon.warn supervise-daemon[3443]: /usr/local/bin/rancher-desktop-guestagent, pid 6084, exited with return code 0
Mar 2 17:41:35 alpine <http://daemon.info|daemon.info> supervise-daemon[6144]: Child command line: /usr/local/bin/rancher-desktop-guestagent -kubernetes=false -iptables=false -debug
Mar 2 17:41:35 alpine <http://daemon.info|daemon.info> init: process '/sbin/getty -L 0 ttyS0 vt100' (pid 6047) exited. Scheduling for restart.
Mar 2 17:41:35 alpine daemon.warn supervise-daemon[3443]: /usr/local/bin/rancher-desktop-guestagent, pid 6144, exited with return code 0
Mar 2 17:41:36 alpine <http://daemon.info|daemon.info> init: starting pid 6152, tty '/dev/ttyS0': '/sbin/getty -L 0 ttyS0 vt100'
Mar 2 17:41:36 alpine auth.err getty[6152]: tcgetattr: I/O error^M
Mar 2 17:41:40 alpine <http://daemon.info|daemon.info> supervise-daemon[6156]: Child command line: /usr/local/bin/rancher-desktop-guestagent -kubernetes=false -iptables=false -debug
Mar 2 17:41:40 alpine daemon.warn supervise-daemon[3443]: /usr/local/bin/rancher-desktop-guestagent, pid 6156, exited with return code 0
Mar 2 17:41:45 alpine <http://daemon.info|daemon.info> supervise-daemon[6165]: Child command line: /usr/local/bin/rancher-desktop-guestagent -kubernetes=false -iptables=false -debug
Mar 2 17:41:45 alpine daemon.warn supervise-daemon[3443]: /usr/local/bin/rancher-desktop-guestagent, pid 6165, exited with return code 0
Mar 2 17:41:46 alpine <http://daemon.info|daemon.info> init: process '/sbin/getty -L 0 ttyS0 vt100' (pid 6152) exited. Scheduling for restart.
Mar 2 17:41:47 alpine <http://daemon.info|daemon.info> init: starting pid 6172, tty '/dev/ttyS0': '/sbin/getty -L 0 ttyS0 vt100'
Mar 2 17:41:47 alpine auth.err getty[6172]: tcgetattr: I/O error^M
calm-sugar-3169
03/02/2023, 6:10 PMquick-keyboard-83126
03/02/2023, 6:10 PMcalm-sugar-3169
03/02/2023, 6:21 PMquick-keyboard-83126
03/02/2023, 6:22 PMcalm-sugar-3169
03/02/2023, 6:22 PMquick-keyboard-83126
03/02/2023, 6:23 PMlima-rancher-desktop:/home/jsoref.linux# grep tty /etc/inittab
# Set up a couple of getty's
#tty1::respawn:/sbin/getty 38400 tty1
#tty2::respawn:/sbin/getty 38400 tty2
#tty3::respawn:/sbin/getty 38400 tty3
#tty4::respawn:/sbin/getty 38400 tty4
#tty5::respawn:/sbin/getty 38400 tty5
#tty6::respawn:/sbin/getty 38400 tty6
# Put a getty on the serial port
#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
ttyAMA0::respawn:/sbin/getty -L 0 ttyAMA0 vt100
#ttyS0::respawn:/sbin/getty -L 0 ttyS0 vt100
calm-sugar-3169
03/02/2023, 6:27 PMquick-keyboard-83126
03/02/2023, 6:27 PMtail -f /var/log/messages
calm-sugar-3169
03/02/2023, 6:28 PMquick-keyboard-83126
03/02/2023, 6:28 PMcalm-sugar-3169
03/02/2023, 6:29 PMquick-keyboard-83126
03/02/2023, 6:29 PMstrace
and tcpdump
to do some debugging...calm-sugar-3169
03/02/2023, 6:30 PMx86_64
intelquick-keyboard-83126
03/02/2023, 6:30 PMLinux lima-rancher-desktop 5.15.78-0-virt #1-Alpine SMP Fri, 11 Nov 2022 10:19:45 +0000 aarch64 Linux
calm-sugar-3169
03/02/2023, 6:31 PMquick-keyboard-83126
03/02/2023, 6:31 PMcalm-sugar-3169
03/02/2023, 6:33 PMdmesg
?quick-keyboard-83126
03/02/2023, 6:33 PMcalm-sugar-3169
03/02/2023, 6:36 PMM1
machine? can you check if you see the logs mentioned above in /var/log/messages
I can’t see them on my machine, I’m wondering if it’s arch
specific issue that we might be seeing here.fast-garage-66093
03/02/2023, 6:45 PMMar 2 18:44:28 alpine <http://daemon.info|daemon.info> init: process '/sbin/getty -L 0 ttyS0 vt100' (pid 5939) exited. Scheduling for restart.
Mar 2 18:44:29 alpine <http://daemon.info|daemon.info> init: starting pid 5953, tty '/dev/ttyS0': '/sbin/getty -L 0 ttyS0 vt100'
Mar 2 18:44:29 alpine auth.err getty[5953]: tcgetattr: I/O error^M
quick-keyboard-83126
03/02/2023, 6:45 PMcalm-sugar-3169
03/02/2023, 6:45 PMfast-garage-66093
03/02/2023, 6:46 PMcalm-sugar-3169
03/02/2023, 6:47 PMquick-keyboard-83126
03/02/2023, 6:47 PMcalm-sugar-3169
03/02/2023, 6:47 PMMar 2 18:44:29 alpine auth.err getty[5953]: tcgetattr: I/O error^M
everything else is info
or warn
quick-keyboard-83126
03/02/2023, 6:48 PMfast-garage-66093
03/02/2023, 6:48 PMMar 2 17:41:40 alpine <http://daemon.info|daemon.info> supervise-daemon[6156]: Child command line: /usr/local/bin/rancher-desktop-guestagent -kubernetes=false -iptables=false -debug
Mar 2 17:41:40 alpine daemon.warn supervise-daemon[3443]: /usr/local/bin/rancher-desktop-guestagent, pid 6156, exited with return code 0
calm-sugar-3169
03/02/2023, 6:52 PMMar 2 17:41:40 alpine <http://daemon.info|daemon.info> supervise-daemon[6156]: Child command line: /usr/local/bin/rancher-desktop-guestagent -kubernetes=false -iptables=false -debug
Mar 2 17:41:40 alpine daemon.warn supervise-daemon[3443]: /usr/local/bin/rancher-desktop-guestagent, pid 6156, exited with return code 0
? I thought these were just from a restart or something?quick-keyboard-83126
03/02/2023, 6:52 PMfast-garage-66093
03/02/2023, 6:52 PMquick-keyboard-83126
03/02/2023, 6:53 PMjsoref@jsoref-mbp ~ % docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fast-garage-66093
03/02/2023, 6:55 PMcalm-sugar-3169
03/02/2023, 6:55 PMquick-keyboard-83126
03/02/2023, 6:55 PMfast-garage-66093
03/02/2023, 6:56 PMsocat
on serial.sock
to connect to the VM when ssh
is broken. But maybe we no longer need this (and it doesn't work with vz anyways)quick-keyboard-83126
03/02/2023, 6:57 PMfast-garage-66093
03/02/2023, 6:57 PMserial.log
if we disable the tty, so not sure I want to do thatquick-keyboard-83126
03/02/2023, 7:01 PMlima-rancher-desktop:~# ls /var/log/
acpid.log dmesg lima-init.log openresty wtmp
cloud-init-output.log docker.log messages rancher-desktop-guestagent.log
fast-garage-66093
03/02/2023, 7:22 PM~/Library/Logs/rancher-desktop/lima.serial.log
quick-keyboard-83126
03/02/2023, 7:23 PMfast-garage-66093
03/02/2023, 7:24 PM-chardev socket,id=char-serial,path=/Users/jan/Library/Application Support/rancher-desktop/lima/0/serial.sock,server=on,wait=off,logfile=/Users/jan/Library/Application Support/rancher-desktop/lima/0/serial.log
serial.log
is empty:
--- mkimg.lima.sh
+++ mkimg.lima.sh
@@ -10,8 +10,7 @@ profile_lima() {
initfs_cmdline="modules=loop,squashfs,sd-mod,usb-storage"
kernel_addons=
kernel_flavors="virt"
- kernel_cmdline="console=tty0 console=ttyS0,115200"
- syslinux_serial="0 115200"
+ kernel_cmdline="console=tty0"
apkovl="genapkovl-lima.sh"
apks="$apks openssh-server-pam"
if [ "${LIMA_INSTALL_CA_CERTIFICATES}" == "true" ]; then
quick-keyboard-83126
03/02/2023, 7:43 PMfast-garage-66093
03/02/2023, 7:43 PM$ ls -l ~/.lima/rd/serial.log
-rw-r--r-- 1 jan staff 0 2 Mar 11:39 /Users/jan/.lima/rd/serial.log
quick-keyboard-83126
03/02/2023, 7:43 PMconsole=ttyS0,...
part and leave syslinux_serial=....
?fast-garage-66093
03/02/2023, 7:45 PM$ cat ~/.lima/rd/serial.log
ISOLINUX 6.04 6.04-pre1 Copyright (C) 1994-2015 H. Peter Anvin et al
boot:
Loading /boot/vmlinuz-virt... ok
Loading /boot/initramfs-virt...ok
/etc/inittab
and it will stop?quick-keyboard-83126
03/02/2023, 7:50 PMfast-garage-66093
03/02/2023, 7:50 PMquick-keyboard-83126
03/02/2023, 7:50 PMfast-garage-66093
03/02/2023, 7:51 PMquick-keyboard-83126
03/02/2023, 7:52 PMfast-garage-66093
03/02/2023, 7:52 PMquick-keyboard-83126
03/02/2023, 7:53 PMfast-garage-66093
03/02/2023, 7:53 PM