[artix-general] [s6] random boot error -> setfont: ERROR kdfontop.c:232 put_font_kdfontop: ioctl(KDFONTOP): Input/output error

Javier je-vv at e.email
Mon Feb 15 03:58:13 CET 2021


On 2/14/21 8:55 PM, Javier wrote:
> On 2/14/21 8:33 PM, Jeff Pohlmeyer wrote:
>> Don't know if this helps, but....
>> https://lists.gnu.org/archive/html/guix-devel/2018-07/msg00062.html
> 
> It looks pretty interesting, this is the commit mentioned to fix the mingetty behavior:
> 
> https://github.com/lfam/guix/commit/a043b5b81a080c47e24298c80857919b9ea21bb2
> 
> However, looking into what is being used by Artix/S6:
> 
>> % sudo grep -r getty /etc/s6 /etc/s6/sv/agetty-tty2/run:3:envfile /etc/s6/sv/agetty-tty2/conf
>> /etc/s6/sv/agetty-tty2/run:8:   { exec agetty -L -8 tty2 115200 } exec agetty -L -8 tty2 115200 -a ${USER}
>> /etc/s6/sv/agetty-tty2/conf:1:# Option to actually spawn the getty when the service starts. Set to "yes" to enable.
>> /etc/s6/sv/agetty-tty4/run:3:envfile /etc/s6/sv/agetty-tty4/conf
>> /etc/s6/sv/agetty-tty4/run:8:   { exec agetty -L -8 tty4 115200 } exec agetty -L -8 tty4 115200 -a ${USER}
>> /etc/s6/sv/agetty-tty4/conf:1:# Option to actually spawn the getty when the service starts. Set to "yes" to enable.
>> /etc/s6/sv/early-getty-down/up:2:exec s6-svc -d /run/service/s6-linux-init-early-getty
>> /etc/s6/sv/early-getty-down/dependencies:1:agetty-tty1
>> /etc/s6/sv/agetty-tty5/run:3:envfile /etc/s6/sv/agetty-tty5/conf
>> /etc/s6/sv/agetty-tty5/run:8:   { exec agetty -L -8 tty5 115200 } exec agetty -L -8 tty5 115200 -a ${USER}
>> /etc/s6/sv/agetty-tty5/conf:1:# Option to actually spawn the getty when the service starts. Set to "yes" to enable.
>> /etc/s6/sv/agetty-tty6/run:3:envfile /etc/s6/sv/agetty-tty6/conf
>> /etc/s6/sv/agetty-tty6/run:8:   { exec agetty -L -8 tty6 115200 } exec agetty -L -8 tty6 115200 -a ${USER}
>> /etc/s6/sv/agetty-tty6/conf:1:# Option to actually spawn the getty when the service starts. Set to "yes" to enable.
>> /etc/s6/sv/setup/contents:2:early-getty-down
>> /etc/s6/sv/setup/contents:3:getty
>> /etc/s6/sv/agetty-tty1/run:3:envfile /etc/s6/sv/agetty-tty1/conf
>> /etc/s6/sv/agetty-tty1/run:8:   { exec agetty -L -8 tty1 115200 } exec agetty -L -8 tty1 115200 -a ${USER}
>> /etc/s6/sv/agetty-tty1/conf:1:# Option to actually spawn the getty when the service starts. Set to "yes" to enable.
>> /etc/s6/sv/agetty-tty3/run:3:envfile /etc/s6/sv/agetty-tty3/conf
>> /etc/s6/sv/agetty-tty3/run:8:   { exec agetty -L -8 tty3 115200 } exec agetty -L -8 tty3 115200 -a ${USER}
>> /etc/s6/sv/agetty-tty3/conf:1:# Option to actually spawn the getty when the service starts. Set to "yes" to enable.
>> /etc/s6/sv/getty/contents:1:agetty-tty1
>> /etc/s6/sv/getty/contents:2:agetty-tty2
>> /etc/s6/sv/getty/contents:3:agetty-tty3
>> /etc/s6/sv/getty/contents:4:agetty-tty4
>> /etc/s6/sv/getty/contents:5:agetty-tty5
>> /etc/s6/sv/getty/contents:6:agetty-tty6
>> /etc/s6/current/run-image/service/s6-linux-init-early-getty/run:3:/usr/bin/agetty -L -8 tty1 115200
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty2/run:3:envfile /etc/s6/sv/agetty-tty2/conf
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty2/run:8:   { exec agetty -L -8 tty2 115200 } exec agetty -L -8 tty2 115200 -a ${USER}
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty4/run:3:envfile /etc/s6/sv/agetty-tty4/conf
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty4/run:8:   { exec agetty -L -8 tty4 115200 } exec agetty -L -8 tty4 115200 -a ${USER}
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty5/run:3:envfile /etc/s6/sv/agetty-tty5/conf
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty5/run:8:   { exec agetty -L -8 tty5 115200 } exec agetty -L -8 tty5 115200 -a ${USER}
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty6/run:3:envfile /etc/s6/sv/agetty-tty6/conf
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty6/run:8:   { exec agetty -L -8 tty6 115200 } exec agetty -L -8 tty6 115200 -a ${USER}
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty1/run:3:envfile /etc/s6/sv/agetty-tty1/conf
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty1/run:8:   { exec agetty -L -8 tty1 115200 } exec agetty -L -8 tty1 115200 -a ${USER}
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty3/run:3:envfile /etc/s6/sv/agetty-tty3/conf
>> /etc/s6/rc/compiled-1613197926/servicedirs/agetty-tty3/run:8:   { exec agetty -L -8 tty3 115200 } exec agetty -L -8 tty3 115200 -a ${USER}
> 
> So Artix/S6 is using agetty instead of mingetty...  And by looking at its man page, it seems that "--nohangup" is the default behavior, since there's NO option for that, but there's an option for the opposite (to hangup):
> 
>>        -R, --hangup
>>               Call vhangup() to do a virtual hangup of the specified terminal.
> 
> So I'm not sure the hangup thing is related at all.
> 
> Thanks !
> 
> 

BTW, sorry for the spam, please remove "Though there's something weird with" from my prior post...  Fixing it...

-- 
Javier

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20210214/808ad01d/attachment.sig>


More information about the artix-general mailing list